body[data-page="projects"] .ambient-grid{display:none}
body[data-page="projects"]{background:#f4f3ee}
body[data-page="projects"] main{min-height:70vh}
.project-wrap{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.project-crumb{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;align-items:center;padding-block:32px;color:inherit;opacity:.7}
.project-crumb a:hover{text-decoration:underline}
.project-kicker,.feature-number,.project-facts,.card-top,.card-bottom,.console-top,.console-bottom{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace}
.project-kicker{font-size:11px;letter-spacing:.13em;display:flex;align-items:center;gap:10px}
.project-index{padding-bottom:80px}
.project-index-header{padding:44px 0 56px}
.project-index-header h1{font-size:clamp(38px,6vw,74px);line-height:1.18;letter-spacing:-.04em;margin:22px 0 24px;font-weight:650}
.project-index-header h1 span{color:#607260}
.project-index-header>p:last-child{color:#677069;line-height:1.9;font-size:16px}
.project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.project-card{display:grid;gap:24px;padding:32px;color:#f5f8fc;min-width:0;position:relative;isolation:isolate;overflow:hidden;transition:transform .2s}
.project-card:hover{transform:translateY(-5px)}
.card-industrial{background:#1c2427;border-radius:6px;border-top:3px solid #eea45e}
.card-tech{background:radial-gradient(ellipse at 75% 0%,#283a6b,#101b30 70%);border-radius:28px}
.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#b5bdc8}
.card-top b{font-size:26px;color:#fff}
.card-art{height:130px;display:flex;align-items:center;justify-content:center;gap:28px}
.card-art>span{font-size:76px}
.card-art>i{width:65px;border-top:1px dashed currentColor;opacity:.4}
.card-art code{font-size:28px}
.industrial-art{color:#f4aa63}
.tech-art{color:#8fe6e7}
.tech-art>span{animation:project-turn 24s linear infinite}
.project-card small{font-size:12px;color:#b4c4cc}
.project-card h2{font-size:36px;letter-spacing:-.035em;margin:10px 0 12px;color:#fff;overflow-wrap:anywhere}
.project-card p{font-size:15px;color:#d1d9df;line-height:1.8}
.card-bottom{border-top:1px solid #ffffff25;padding-top:22px}
.index-note{font-size:13px;color:#677069;margin-top:32px;line-height:1.9}
.project-page{--project-accent:#f2ae68;--project-muted:#a9b4b7;color:#eef3f5;background:#172024;position:relative;isolation:isolate;overflow:hidden}
.project-industrial{background-image:linear-gradient(#91a1a508 1px,transparent 1px),linear-gradient(90deg,#91a1a508 1px,transparent 1px);background-size:44px 44px}
.project-tech{--project-accent:#8ce8e2;--project-muted:#afbcd4;background:radial-gradient(ellipse at 78% 20%,#253d654d,transparent 50%),radial-gradient(ellipse at 60% 60%,#50348422,transparent 55%),#0d172a}
.project-hero{display:grid;grid-template-columns:1.08fr 1fr;gap:60px;align-items:center;padding:64px 0 90px}
.project-intro h1{font-size:clamp(40px,4.6vw,66px);font-weight:650;line-height:1.22;letter-spacing:-.04em;margin:26px 0}
.project-intro h1 span{color:var(--project-accent)}
.project-lead{font-size:16px;line-height:1.9;color:#c5cfd8}
.project-facts{display:flex;flex-wrap:wrap;gap:10px 18px;color:var(--project-muted);font-size:11px;margin-top:28px}
.project-facts span+span{border-left:1px solid #ffffff30;padding-left:18px}
.signal{width:7px;height:7px;border-radius:50%;background:var(--project-accent);box-shadow:0 0 15px color-mix(in srgb,var(--project-accent),transparent 30%)}
.project-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.project-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:12px 20px;border:1px solid #ffffff40;border-radius:5px;font-size:13px;font-weight:650;transition:background .2s}
.project-button.primary{background:var(--project-accent);border-color:var(--project-accent);color:#111d25}
.project-button:hover{background:#ffffff18}
.project-button.primary:hover{background:#ffe0b5;color:#14242b}
.project-tech .project-button{border-radius:30px}
.project-tech .project-button.primary:hover{background:#bdf9f2}
.project-page a:focus-visible,.project-page button:focus-visible,.project-index a:focus-visible{outline:3px solid var(--project-accent,#5a7a66);outline-offset:5px}
.drive-console{background:#10171b;border:1px solid #ffffff30;box-shadow:14px 14px 0 #0002;transform:rotate(-1deg)}
.console-top,.console-bottom{display:flex;justify-content:space-between;gap:10px;padding:17px 22px;font-size:11px;color:#adb7bc;border-bottom:1px solid #ffffff20}
.console-top span:first-child{color:#f2ae68}
.console-bottom{border-bottom:0;border-top:1px solid #ffffff20}
.console-bottom span:last-child{color:#f2ae68;letter-spacing:4px}
.drive-schematic{display:flex;align-items:center;justify-content:center;height:165px;color:#efa65f}
.drive-stack{width:110px;display:grid;gap:8px;transform:skewY(-8deg)}
.drive-stack i{height:24px;display:block;border:1px solid #dca56e;background:linear-gradient(90deg,#c58c4c25,transparent);position:relative}
.drive-stack i:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;right:9px;top:8px;background:#f2ae68}
.drive-connection{border-top:1px dashed #eca46280;width:65px}
.drive-label{font:10px/1.4 monospace;letter-spacing:.15em;text-align:center}
.drive-label strong{font-size:28px}
.terminal-lines{padding:0 24px 24px;font:13px/2 ui-monospace,monospace}
.terminal-lines p>span{color:#f2ae68;margin-right:10px}
.terminal-folder{display:flex;gap:12px;color:#a8b7c0;border-top:1px solid #ffffff10;margin-top:10px;padding-top:8px}
.terminal-folder>span{color:#f2ae68}
.terminal-folder small{margin-left:auto;font-size:10px;color:#7f929c}
.project-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #ffffff25;padding:36px 0;gap:40px}
.feature-number{font-size:10px;letter-spacing:.1em;color:var(--project-accent)}
.project-features h2{font-size:20px;font-weight:600;margin:16px 0 12px}
.project-features p{font-size:14px;line-height:1.9;color:var(--project-muted)}
.project-bottom{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:64px 0 48px}
.project-bottom h2{font-size:clamp(23px,3vw,34px);margin:16px 0}
.project-bottom p:last-child{font-size:13px;line-height:1.9;color:var(--project-muted);max-width:560px}
.project-bottom>a{flex-shrink:0}
.project-footnote{padding-bottom:32px;color:var(--project-muted);font-size:11px;line-height:1.9}
.project-footnote a{text-decoration:underline;text-underline-offset:4px}
.link-demo{position:relative;min-width:0}
.orbit-ring{position:absolute;width:115%;aspect-ratio:1;left:-7.5%;top:-10%;border:1px solid #a2c4ff20;border-radius:50%;z-index:-1}
.orbit-ring:before{content:"";position:absolute;inset:30px;border:1px dashed #a2c4ff16;border-radius:50%}
.chat-window{border:1px solid #a6d2ff45;border-radius:24px;background:linear-gradient(145deg,#253752e8,#142036f5);box-shadow:0 18px 90px #50c7c418;overflow:hidden}
.chat-top{display:flex;align-items:center;gap:12px;padding:22px;border-bottom:1px solid #ffffff18}
.assistant-mark{display:grid;place-items:center;width:40px;height:40px;background:#83e5dd20;border:1px solid #83e5dd50;border-radius:12px;color:#92ece8;font-size:30px}
.chat-top strong{font-size:14px;letter-spacing:.02em}
.chat-top small{display:block;color:#a6b8ce;font-size:10px;margin-top:4px}
.chat-status{margin-left:auto;color:#91c9c4;font-size:10px}
.chat-messages{padding:24px;display:grid;gap:16px;min-height:280px;align-content:start}
.chat-user{justify-self:end;background:#b9ebdf;color:#17373a;border-radius:15px 15px 3px 15px;max-width:90%;padding:12px 16px;font-size:13px;line-height:1.8}
.chat-file{display:flex;gap:10px;align-items:center;padding:8px 14px;justify-self:end;border:1px solid #ffffff25;border-radius:10px}
.chat-file>span{font-size:24px;color:#89d5d6}
.chat-file strong{font-size:11px;font-weight:500}
.chat-file small{display:block;color:#a6b8ce;font-size:9px;margin-top:5px}
.chat-assistant{font-size:13px;color:#d7e4f5;line-height:1.9;max-width:92%}
.chat-delivery{display:flex;align-items:center;gap:10px;font-size:11px;color:#99e5e0;padding:10px 12px;border:1px solid #95e7e72e;border-radius:8px;background:#7be7ce08}
.chat-delivery i{margin-left:auto;font-style:normal}
.chat-tabs{display:flex;gap:6px;padding:14px;border-top:1px solid #ffffff18}
.chat-tabs button{background:transparent;color:#b3c2d6;border:1px solid transparent;border-radius:20px;min-height:40px;flex:1;font-family:inherit;font-size:11px;cursor:pointer}
.chat-tabs button[aria-pressed="true"]{color:#bdf4eb;background:#8de1dc15;border-color:#8de1dc40}
.demo-caption{font-size:10px;color:#a6b8ce;text-align:center;margin:18px 0 0;line-height:1.8}
@keyframes project-turn{to{transform:rotate(360deg)}
}

@media(min-width:1500px){.project-hero{padding-block:90px 120px}
.project-wrap{width:min(1280px,calc(100% - 96px))}
}

@media(max-width:900px){.project-hero{gap:32px}
.project-intro h1{font-size:42px}
.project-wrap{width:calc(100% - 40px)}
.project-features{gap:24px}
.project-card{padding:24px}
.card-art{gap:15px}
.card-art>i{width:35px}
.card-art code{font-size:22px}
}

@media(max-width:680px){.project-wrap{width:calc(100% - 40px)}
.project-crumb{font-size:10px;padding-block:22px;gap:8px}
.project-index-header{padding:24px 0 36px}
.project-index-header h1{font-size:39px;margin-block:20px}
.project-index-header>p:last-child{font-size:14px}
.project-cards{grid-template-columns:1fr;gap:18px}
.project-card{gap:20px;padding:24px}
.card-art{height:90px}
.project-card h2{font-size:30px}
.project-hero{grid-template-columns:1fr;gap:45px;padding:30px 0 48px}
.project-intro h1{font-size:clamp(35px,9vw,48px);margin-block:22px}
.project-lead{font-size:14px}
.project-kicker{font-size:9px;letter-spacing:.1em}
.project-actions{margin-top:25px}
.project-button{min-height:46px;padding-inline:18px}
.project-facts{font-size:10px;gap:10px 13px;margin-top:22px}
.project-facts span+span{padding-left:13px}
.drive-console{transform:none;box-shadow:8px 8px 0 #0002}
.drive-schematic{height:130px}
.terminal-lines{font-size:12px}
.project-features{grid-template-columns:1fr;gap:0;padding-block:8px}
.project-features>div{padding:24px 0}
.project-features>div+div{border-top:1px solid #ffffff15}
.project-features h2{font-size:19px;margin:12px 0 8px}
.project-features p{font-size:13px}
.project-bottom{flex-direction:column;align-items:flex-start;padding:40px 0 32px;gap:24px}
.project-footnote{font-size:10px}
.chat-messages{min-height:275px;padding:20px}
.chat-top{padding:18px}
.orbit-ring{width:100%;left:0;top:0}
.project-index{padding-bottom:48px}
.chat-tabs button{font-size:11px}
}

@media(prefers-reduced-motion:reduce){.project-card,.project-button{transition:none}
.tech-art>span{animation:none}
}
