/* NullPraxis shared device frames. No external images or fonts required. */
:root{--device-metal-light:#99929f;--device-metal-mid:#48414e;--device-metal-dark:#141119;--phone-width:177px;--laptop-width:350px}
.device-mount{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}
.device-frame{position:relative;flex-shrink:0;box-sizing:border-box}
.device-screen{position:relative;overflow:hidden;background:#15101d;isolation:isolate}
.device-content{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden}
.device-live-content{flex:1;min-height:0;position:relative}
.device-screen-image{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:2;background:#100c18;object-fit:contain;object-position:top center}
.has-screen-image .device-content{visibility:hidden}
.phone-frame{width:var(--phone-width);aspect-ratio:9/19.5;padding:5px;border-radius:29px;border:1px solid #c4b9cf66;background:linear-gradient(120deg,#aaa1b0 0%,#514857 7%,#15121b 17%,#302936 76%,#83758f 94%,#211c29 100%);box-shadow:2px 2px 0 #57475f,4px 4px 0 #19121f,7px 14px 23px #0009,inset 1px 0 1px #efe6ff80,inset -1px 0 1px #000;transform:perspective(950px) rotateY(-13deg) rotateZ(-5deg);transform-origin:50% 60%}
.phone-frame::before{content:'';position:absolute;inset:3px;border-radius:26px;border:1px solid #050408;pointer-events:none;z-index:6}
.phone-screen{width:100%;height:100%;border-radius:23px;background:linear-gradient(155deg,#272033,#15101e 75%);box-shadow:0 0 0 2px #09070c}
.phone-button{position:absolute;width:2px;border-radius:2px;background:linear-gradient(#c0b0cd,#5c4f68,#9c8aa8);box-shadow:1px 0 1px #08050e}
.phone-button-left{left:-2px;top:73px;height:34px}
.phone-button-right{right:-3px;top:105px;height:40px}
.phone-island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:42px;height:11px;border-radius:10px;background:#050407;box-shadow:inset 0 1px 1px #ffffff0b;z-index:8}
.phone-island i{position:absolute;right:5px;top:4px;width:4px;height:4px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#43576b,#07111b 70%)}
.phone-home-indicator{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);height:2px;width:48px;background:#ece4f67a;border-radius:4px;z-index:8}
.device-reflection{position:absolute;inset:4px;border-radius:25px;background:linear-gradient(118deg,#ffffff06,transparent 35%,transparent 73%,#ffffff03 100%);pointer-events:none;z-index:5}
.phone-status-bar{height:31px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:3px 12px 0;font:6px Arial,sans-serif;color:#d7cce2}
.phone-status-icons{display:flex;align-items:center;gap:3px}
.phone-status-icons>i:first-child{display:block;width:7px;height:5px;background:linear-gradient(90deg,#d7cce2 0 1px,transparent 1px 2px,#d7cce2 2px 4px,transparent 4px 5px,#d7cce2 5px);clip-path:polygon(0 65%,30% 65%,30% 35%,65% 35%,65% 0,100% 0,100% 100%,0 100%)}
.phone-status-icons>i:nth-child(2){display:block;width:6px;height:5px;border:1px solid #d7cce2;border-bottom:0;border-radius:50% 50% 0 0;transform:scaleY(.8)}
.phone-status-icons>b{width:9px;height:4px;border:1px solid #d7cce2;border-radius:1px;background:linear-gradient(90deg,#d7cce2 70%,transparent 70%)}
.phone-app-nav{height:35px;flex-shrink:0;margin:0 10px 9px;padding:8px 7px 5px;border-top:1px solid #ffffff0b;display:flex;align-items:center;justify-content:space-around;color:#8d7d9f}
.phone-app-nav>span{display:grid;place-items:center;width:21px;height:18px;border-radius:5px}
.phone-app-nav .current{color:var(--accent);background:rgba(var(--accent-rgb),.1)}
.phone-app-nav svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.1;stroke-linejoin:round;stroke-linecap:round}
/* All existing concept interfaces live in the same full-height screen slot. */
.phone-frame .app-surface{position:relative;transform:none!important;width:100%;height:100%;max-width:none;background:none;border:0;border-radius:0;padding:9px 12px 8px;box-shadow:none;display:flex;flex-direction:column;overflow:hidden}
.phone-frame .app-top{font-size:9px;gap:7px;line-height:1.5;flex-shrink:0}
.phone-frame .app-top b{font-size:10px}
.phone-frame .app-logo{width:27px;height:27px;border-radius:7px;font-size:15px}
.phone-frame .app-logo svg{width:16px}
.phone-frame .three-dots{font-size:7px;letter-spacing:1px}
.phone-frame .app-caption{font-size:6px;letter-spacing:.8px;margin:28px 0 10px}
.phone-frame .job-line{padding:15px 0;gap:6px;align-items:flex-start;flex-shrink:0}
.phone-frame .job-line b{font-size:8px;white-space:nowrap}
.phone-frame .job-line div>span{font-size:6px;line-height:1.5;margin-top:5px}
.phone-frame .job-line em{font-size:7px;margin-top:2px}
.phone-frame .job-check{width:12px;height:12px;flex-shrink:0;font-size:7px;margin-top:1px}
.phone-frame .app-bottom{margin-top:auto;padding-top:18px;gap:8px;font-size:6px;line-height:1.6;color:#a18bb3}
.phone-frame .app-bottom>span:first-child{max-width:105px}
.phone-frame .bills-amount{font-size:27px;line-height:1.1;margin:30px 0 20px;letter-spacing:-.9px}
.phone-frame .bills-amount span{display:block;margin-top:4px}
.phone-frame .bill-row{font-size:7px;padding:14px 0;gap:6px;flex-shrink:0}
.phone-frame .bill-row>span:last-child{font-size:6px}
.phone-frame .bill-dot{width:4px;height:4px;flex-shrink:0}
.phone-frame .calendar-surface .app-logo{font-size:11px}
.phone-frame .week{margin:35px 0 28px;row-gap:17px;font-size:8px;flex-shrink:0}
.phone-frame .week>b{line-height:21px}
.phone-frame .week>span{font-size:6px}
.phone-frame .calendar-event{padding:10px 6px;gap:6px;align-items:flex-start;flex-wrap:wrap;flex-shrink:0}
.phone-frame .calendar-event b{font-size:7px}
.phone-frame .calendar-event div>span{font-size:6px}
.phone-frame .calendar-event .avatars{margin-left:9px;margin-top:4px}
.phone-frame .calendar-event .avatars i{font-size:6px;width:15px;height:15px}
/* A single stage style makes the app collection feel like one family. */
.project[data-category="app"] .project-art{height:430px;padding:24px 18px 32px;perspective:1100px;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,rgba(var(--accent-rgb),.13),transparent 68%),linear-gradient(155deg,#1d142855,#0b081166)}
.project[data-category="app"] .project-art::before{content:'';position:absolute;left:12%;right:12%;height:70px;bottom:18px;background:radial-gradient(ellipse,#0008,transparent 67%);transform:rotate(-6deg)}
.project[data-category="app"] .project-art::after{content:'';position:absolute;bottom:19px;left:22%;right:22%;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--accent-rgb),.35),transparent)}
.project[data-category="app"] .concept-label{bottom:12px;left:17px;font-size:6px;letter-spacing:1.2px}
.bills-art .phone-screen{background:linear-gradient(155deg,#2f2035,#1b1223 80%)}
.bills-art .phone-frame{transform:perspective(950px) rotateY(-13deg) rotateZ(3deg)}
.calendar-art .phone-screen{background:linear-gradient(155deg,#27283e,#161321 80%)}
.calendar-art .phone-frame{transform:perspective(950px) rotateY(-13deg) rotateZ(-4deg)}
/* Laptop has a separate screen slot and reusable machined-metal base. */
.laptop-frame{width:var(--laptop-width);transform:perspective(1400px) rotateY(-9deg) rotateZ(-3deg);transform-origin:50% 80%;filter:drop-shadow(0 18px 18px #0007)}
.laptop-lid{position:relative;padding:10px 9px 17px;border-radius:10px 10px 5px 5px;border:1px solid #b8a9c36b;background:linear-gradient(130deg,#4f455a,#0e0b13 8%,#09070f 88%,#64536e);box-shadow:1px 0 0 #a495b44d,inset 0 0 0 2px #09060e}
.laptop-screen{width:100%;aspect-ratio:16/10;border:1px solid #ffffff0e;border-radius:3px;background:linear-gradient(135deg,#241b31,#13101d)}
.laptop-camera{position:absolute;top:4px;left:50%;width:3px;height:3px;background:radial-gradient(circle at 35% 35%,#718391,#101522 60%);border-radius:50%}
.laptop-chin{position:absolute;bottom:5px;left:0;right:0;text-align:center;font:4px monospace;letter-spacing:1.6px;color:#92809f}
.laptop-base{position:relative;width:112%;margin-left:-6%;height:12px;background:linear-gradient(180deg,#90849c 0%,#4a4057 28%,#6f627c 48%,#211a2d 92%);border-radius:2px 2px 40% 40% / 2px 2px 9px 9px;box-shadow:inset 0 1px 0 #e4d6f4a6,0 1px 0 #0b070e}
.laptop-base>span{display:block;position:absolute;top:0;left:40%;width:20%;height:3px;background:linear-gradient(#40324b,#74617f);border-radius:0 0 5px 5px;box-shadow:inset 0 -1px 0 #c7b3d14d}
.laptop-foot{width:86%;margin:auto;height:2px;background:#0a0611;border-radius:0 0 50% 50%}
.laptop-frame .chart-window{transform:none;width:100%;height:100%;padding:17px 17px 13px;border:0;border-radius:0;box-shadow:none;background:none;display:flex;flex-direction:column}
.laptop-frame .chart-top{font-size:6px;gap:6px}
.laptop-frame .chart-grid{height:auto;flex:1;margin-top:17px;min-height:50px}
.laptop-frame .chart-footer{font-size:5px;margin-top:12px}
.laptop-frame .chart-bars{gap:10px}
.device-pair{position:relative;display:flex;align-items:center;justify-content:center;min-height:320px;width:100%;max-width:510px;padding:20px 38px 20px 5px;isolation:isolate}
.software-project .software-art{height:auto;min-height:360px;padding:25px 30px 30px;overflow:hidden;background:radial-gradient(ellipse at 65% 70%,rgba(var(--accent-rgb),.15),transparent 75%),#100c1866}
.companion-device{position:absolute;right:0;bottom:28px;z-index:3;--phone-width:99px}
.companion-device .phone-frame{padding:3px;border-radius:17px;transform:perspective(700px) rotateY(-10deg) rotateZ(6deg);box-shadow:1px 1px 0 #6f5a7b,3px 3px 0 #160d1f,5px 8px 14px #000a}
.companion-device .phone-frame::before{inset:2px;border-radius:14px}
.companion-device .phone-screen{border-radius:13px;box-shadow:0 0 0 1px #09070c}
.companion-device .phone-island{top:7px;width:26px;height:6px}
.companion-device .phone-island i{width:2px;height:2px;right:3px;top:2px}
.companion-device .phone-button-left{height:18px;top:40px}
.companion-device .phone-button-right{height:23px;top:58px}
.companion-device .phone-home-indicator{width:29px;bottom:6px;height:1px}
.companion-device .device-reflection{inset:3px;border-radius:15px}
.companion-device .phone-status-bar{height:20px;padding:2px 7px 0;font-size:4px}
.companion-device .phone-status-icons{gap:2px;transform:scale(.7);transform-origin:right center}
.companion-device .app-surface{padding:6px 7px}
.companion-device .app-top{font-size:5px;gap:4px}
.companion-device .app-top b{font-size:6px}
.companion-device .app-logo{width:17px;height:17px;border-radius:4px}
.companion-device .app-logo svg{width:11px;stroke-width:1.5}
.companion-device .app-caption{font-size:4px;letter-spacing:.25px;margin:10px 0 8px;white-space:nowrap}
.companion-device .app-bottom{font-size:4px;padding-top:7px}
.companion-device .app-bottom>span:last-child{font-size:9px}
.companion-device .phone-app-nav{height:20px;margin:0 5px 5px;padding:4px 2px}
.companion-device .phone-app-nav>span{height:12px;width:15px;border-radius:3px}
.companion-device .phone-app-nav svg{width:8px;height:8px}
.mobile-chart{height:45px;display:flex;gap:5px;align-items:flex-end;border-bottom:1px solid #ffffff16;flex-shrink:0;background:repeating-linear-gradient(to top,#ffffff06 0 1px,transparent 1px 18px)}
.mobile-chart>i{height:var(--height);flex:1;border-radius:2px 2px 0 0;background:linear-gradient(to top,rgba(var(--accent-rgb),.3),rgba(var(--accent-rgb),.8))}
.mobile-legend{display:flex;align-items:center;gap:3px;margin-top:5px;font:3px Arial,sans-serif;color:#bdabd0}
.mobile-legend i{width:2px;height:2px;background:var(--accent);border-radius:50%}
@media(max-width:1150px){:root{--phone-width:163px;--laptop-width:300px}.project[data-category="app"] .project-art{height:405px}.phone-frame .app-surface{padding-left:10px;padding-right:10px}.phone-frame .job-line{gap:5px}.phone-frame .job-line b{font-size:7px}.software-project .software-art{padding-left:20px;padding-right:20px;min-height:335px}.device-pair{min-height:285px;padding-right:35px}.companion-device{--phone-width:90px;bottom:28px}.software-project .software-art .concept-label{font-size:5px}}
@media(max-width:850px){:root{--phone-width:177px;--laptop-width:205px}.project[data-category="app"] .project-art{height:425px}.software-project .software-art{height:425px;min-height:0;padding:22px 20px}.device-pair{min-height:300px;padding:0 25px 0 0}.companion-device{--phone-width:83px;bottom:35px;right:-2px}.laptop-lid{padding:8px 6px 14px;border-radius:7px 7px 4px 4px}.laptop-camera{top:3px;width:2px;height:2px}.laptop-chin{font-size:3px;bottom:4px}.laptop-base{height:9px}.laptop-frame .chart-window{padding:10px}.laptop-frame .chart-top{font-size:4px;letter-spacing:.5px}.laptop-frame .chart-grid{margin-top:10px}.laptop-frame .chart-bars{gap:6px}.laptop-frame .chart-footer{font-size:3px;margin-top:8px}.laptop-frame .chart-footer>span:last-child{font-size:8px}.phone-frame .job-line b{font-size:8px}.phone-frame .app-surface{padding-left:12px;padding-right:12px}}
@media(max-width:600px){:root{--phone-width:183px;--laptop-width:220px}.project[data-category="app"] .project-art{height:435px;padding-top:22px;padding-bottom:28px}.software-project .software-art{height:340px;padding-left:20px;padding-right:20px}.device-pair{min-height:270px;padding-right:27px}.companion-device{--phone-width:86px;right:-1px;bottom:23px}.phone-frame{transform:perspective(950px) rotateY(-13deg) rotateZ(-5deg)}.project[data-category="app"] .concept-label{bottom:13px}.software-project .software-art .concept-label{font-size:5px;letter-spacing:.6px}}
@media(max-width:360px){:root{--laptop-width:194px;--phone-width:174px}.companion-device{--phone-width:78px;right:-7px;bottom:34px}.software-project .software-art{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:no-preference){.device-frame{transition:transform .45s cubic-bezier(.2,.65,.3,1)}.project:hover .app-device .phone-frame{transform:perspective(950px) rotateY(-8deg) rotateZ(-2deg) translateY(-4px)}.software-project:hover .laptop-frame{transform:perspective(1400px) rotateY(-6deg) rotateZ(-2deg) translateY(-3px)}}
