/* =========================================================
   PIXELFOLIO DESIGN TOKENS
   Change these variables to quickly customize the template.
   ========================================================= */
:root {
  --font-pixel: "Press Start 2P", monospace;
  --font-body: "Space Mono", monospace;
  --ink: #24213d;
  --paper: #fff1c7;
  --surface: #fff9e8;
  --muted: #665f72;
  --line: #24213d;
  --primary: #ef5b5b;
  --secondary: #55c1c3;
  --accent: #f5b700;
  --extra: #74569b;
  --green: #8bac0f;
  --shadow: 7px 7px 0 var(--line);
  --radius: 0px;
  --container: 1200px;
  --section-space: 120px;
}

[data-theme="dark"] {
  --ink: #fff1c7;
  --paper: #19172b;
  --surface: #24213d;
  --muted: #c2b9cb;
  --line: #fff1c7;
  --primary: #ff7272;
  --secondary: #62d9dc;
  --accent: #ffd447;
  --extra: #a98bdb;
  --shadow: 7px 7px 0 #090812;
}

.theme-handheld { --primary:#306230; --secondary:#8bac0f; --accent:#9bbc0f; --extra:#546d2e; --paper:#dbe7a2; --surface:#edf2c2; --ink:#0f380f; --line:#0f380f; --muted:#306230; }
html[data-theme="dark"] body.theme-handheld { --paper:#0f380f; --surface:#173f17; --ink:#dbe7a2; --line:#9bbc0f; --muted:#9bbc0f; --primary:#9bbc0f; --secondary:#8bac0f; --accent:#dbe7a2; --extra:#306230; }
.theme-cyber { --primary:#ff3cac; --secondary:#00e5ff; --accent:#ffe600; --extra:#834dff; --paper:#f7f2ff; --surface:#ffffff; --ink:#161026; --line:#161026; --muted:#5e536d; }
html[data-theme="dark"] body.theme-cyber { --paper:#0c0714; --surface:#181026; --ink:#f7f2ff; --line:#00e5ff; --muted:#bcaec9; --primary:#ff3cac; --secondary:#00e5ff; --accent:#ffe600; --extra:#9c74ff; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin:0; overflow-x:hidden; color:var(--ink); background:var(--paper); font-family:var(--font-body); transition:color .25s,background .25s; }
body::before { content:""; position:fixed; inset:0; z-index:-2; background-image:linear-gradient(color-mix(in srgb,var(--ink) 7%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--ink) 7%,transparent) 1px,transparent 1px); background-size:24px 24px; }
a { color:inherit; text-decoration:none; }
button,input,textarea { font:inherit; }
img { display:block; max-width:100%; }
.scanlines { position:fixed; inset:0; z-index:100; pointer-events:none; opacity:.025; background:repeating-linear-gradient(0deg,transparent 0 3px,var(--ink) 4px); }
.skip-link { position:fixed; z-index:200; top:-100px; left:20px; padding:12px; color:var(--paper); background:var(--ink); }.skip-link:focus{top:20px}

.site-header { position:fixed; inset:0 0 auto; z-index:50; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px max(20px,calc((100vw - var(--container))/2)); border-bottom:3px solid var(--line); background:color-mix(in srgb,var(--paper) 92%,transparent); backdrop-filter:blur(10px); }
.brand { display:flex; align-items:center; gap:8px; font:9px var(--font-pixel); }.brand-logo{display:block;width:34px;height:34px;object-fit:contain;image-rendering:auto}.brand span{display:grid;place-items:center;width:30px;height:30px;color:#fff;background:var(--primary)}.brand span:nth-child(2){color:#161026;background:var(--secondary)}.brand strong{margin-left:4px}
.nav { display:flex; align-items:center; gap:23px; font:7px var(--font-pixel); }.nav>a{padding:12px 0}.nav>a:hover{color:var(--primary)}.demo-links{display:flex;gap:4px}.demo-links a{padding:9px 7px;border:2px solid var(--line);font-size:6px}.demo-links a:hover{background:var(--accent);color:#161026}
.header-actions{display:flex;gap:8px}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:3px solid var(--line);color:var(--ink);background:var(--surface);box-shadow:3px 3px 0 var(--line);cursor:pointer}.menu-toggle{display:none!important}

.section { width:min(var(--container),calc(100% - 40px)); margin:0 auto; padding:var(--section-space) 0; }
.section-heading{max-width:760px;margin-bottom:52px}.section-kicker,.eyebrow{font:8px/1.8 var(--font-pixel);color:var(--primary);letter-spacing:1px}.section-kicker{margin-bottom:16px}
h1,h2,h3,p{margin-top:0}h1{margin:28px 0;font:clamp(42px,7vw,90px)/1.12 var(--font-pixel);letter-spacing:-4px;text-shadow:6px 6px 0 var(--accent)}h2{margin:0 0 22px;font:clamp(28px,4.5vw,56px)/1.3 var(--font-pixel);letter-spacing:-2px}h2 span,h1 span{color:var(--primary)}h3{font:13px/1.6 var(--font-pixel)}p{line-height:1.8}.lead,.large-copy{font-size:clamp(17px,2vw,22px);line-height:1.7}.section-heading>p:last-child{max-width:620px;color:var(--muted)}
.pixel-button{display:inline-block;padding:15px 18px;border:3px solid var(--line);color:var(--ink);background:var(--surface);box-shadow:5px 5px 0 var(--line);font:8px var(--font-pixel);cursor:pointer;transition:transform .12s,box-shadow .12s,background .2s,color .2s}.pixel-button:hover{color:#161026;background:var(--accent);transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--line)}.pixel-button:active{transform:translate(5px,5px);box-shadow:0 0}.pixel-button.primary{color:#fff;background:var(--primary)}.pixel-button.primary:hover{color:#161026;background:var(--secondary)}.button-row{display:flex;flex-wrap:wrap;gap:16px;margin-top:30px}.text-link{display:inline-block;margin-top:18px;border-bottom:2px solid;font-weight:bold}

.hero{min-height:100vh;padding-top:160px;display:grid;grid-template-columns:1.12fr .88fr;gap:75px;align-items:center}.eyebrow{display:flex;align-items:center;gap:12px}.status-dot{width:10px;height:10px;background:var(--secondary);box-shadow:14px 0 0 var(--primary);animation:blink 1s steps(1) infinite}.typed-line{min-height:27px;color:var(--extra);font:clamp(9px,1.2vw,13px)/1.7 var(--font-pixel)}.cursor{animation:blink .7s steps(1) infinite}.hero-copy .lead{max-width:680px}.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:48px}.status-grid div{padding:16px;border:3px solid var(--line);background:var(--surface)}.status-grid span{display:block;margin-bottom:8px;color:var(--muted);font-size:10px}.status-grid strong{font:7px/1.6 var(--font-pixel)}
.hero-visual{position:relative}.console-card{position:relative;padding:20px;border:6px solid var(--line);border-radius:16px 16px 50px 16px;background:var(--extra);box-shadow:14px 14px 0 var(--primary);animation:float 4s ease-in-out infinite}.console-card img{width:100%;aspect-ratio:1;object-fit:cover;border:5px solid #161026;filter:contrast(1.08)}.console-bar{display:flex;justify-content:space-between;margin-bottom:14px;color:#fff;font:6px var(--font-pixel)}.console-controls{display:flex;align-items:center;gap:14px;margin-top:16px;color:#fff;font:5px var(--font-pixel)}.console-controls .dpad{margin-right:auto;font:bold 35px monospace}.console-controls i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--primary);font-style:normal}.pixel{position:absolute;width:18px;height:18px;background:var(--accent);animation:pixelMove 3s steps(3) infinite}.pixel-one{top:-40px;right:20%}.pixel-two{bottom:5%;left:-35px;background:var(--secondary);animation-delay:.8s}.pixel-three{top:30%;right:-35px;background:var(--primary);animation-delay:1.4s}
.ticker{overflow:hidden;border-block:4px solid var(--line);color:#161026;background:var(--accent);font:8px var(--font-pixel);white-space:nowrap}.ticker div{width:max-content;padding:17px 0;animation:ticker 25s linear infinite}

.split-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.prose>p{font-size:16px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:35px}.stats-grid article{padding:22px;border:3px solid var(--line);background:var(--surface);box-shadow:4px 4px 0 var(--line)}.stats-grid article:nth-child(2){background:var(--secondary);color:#161026}.stats-grid article:nth-child(3){background:var(--accent);color:#161026}.stats-grid article:nth-child(4){background:var(--extra);color:#fff}.stats-grid strong{display:block;margin-bottom:12px;font:20px var(--font-pixel)}.stats-grid span{font-size:11px;font-weight:bold}
.card-grid,.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature-card,.journal-card{position:relative;padding:28px 23px;border:3px solid var(--line);background:var(--surface);box-shadow:var(--shadow);transition:transform .2s,background .2s}.feature-card:hover,.journal-card:hover{transform:translate(-4px,-6px);background:color-mix(in srgb,var(--secondary) 30%,var(--surface))}.feature-card>b{position:absolute;top:14px;right:14px;font:7px var(--font-pixel)}.card-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:35px;border:3px solid var(--line);color:#161026;background:var(--accent);font-size:25px}.feature-card p,.feature-card li,.journal-card p{font-size:12px}.feature-card ul,.price-card ul{padding-left:18px;line-height:1.9}
.panel-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));color:#fff;background:#24213d}.panel-section h2 span{color:var(--secondary)}.filter-row{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px}.filter-button{padding:11px 13px;border:2px solid currentColor;color:inherit;background:transparent;font:7px var(--font-pixel);cursor:pointer}.filter-button.active,.filter-button:hover{color:#161026;background:var(--accent)}.skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.skill-card{padding:22px;border:3px solid #fff;background:#302c50;box-shadow:5px 5px 0 var(--secondary)}.skill-card.hidden,.style-handheld .skill-card.hidden,.style-cyber .skill-card.hidden{display:none}.skill-card img,.text-icon{width:48px;height:48px;margin-bottom:22px}.text-icon{display:grid;place-items:center;border:3px solid #fff;color:#161026;background:var(--accent);font:11px var(--font-pixel)}.skill-card h3{margin-bottom:8px}.skill-card p{font-size:10px}.meter{height:9px;border:2px solid #fff}.meter span{display:block;height:100%;background:var(--primary);transform-origin:left;animation:load 1.2s steps(6)}

.projects-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.project-card{border:3px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.project-large{grid-column:1/-1;display:grid;grid-template-columns:1.2fr .8fr}.project-art{position:relative;display:grid;place-items:center;min-height:330px;overflow:hidden;border-bottom:3px solid var(--line);color:#161026}.project-large .project-art{border-right:3px solid var(--line);border-bottom:0}.project-art::before,.project-art::after{content:"";position:absolute;width:140px;height:140px;border:20px solid currentColor;transform:rotate(45deg)}.project-art::after{width:50px;height:50px;transform:translate(90px,70px)}.project-art span{position:absolute;top:18px;left:18px;font:8px var(--font-pixel)}.project-art strong{position:relative;z-index:1;font:clamp(25px,4vw,50px)/1.4 var(--font-pixel);text-align:center}.art-one{background:var(--secondary)}.art-two{background:var(--primary)}.art-three{background:var(--accent)}.project-copy{padding:28px}.project-copy>p,.journal-card>span{color:var(--muted);font:7px/1.8 var(--font-pixel)}.project-copy a,.journal-card a{font:7px var(--font-pixel);border-bottom:2px solid}.tag-row{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.tag-row span{padding:6px 8px;border:2px solid var(--line);font-size:9px}
.project-preview{width:100%;padding:0;border:0;border-bottom:3px solid var(--line);cursor:zoom-in;background:var(--line)}.project-large .project-preview{border-right:3px solid var(--line);border-bottom:0}.project-preview::before,.project-preview::after{display:none}.project-preview img{width:100%;height:100%;min-height:330px;object-fit:cover;transition:transform .3s,filter .3s}.project-preview span{z-index:2;padding:8px;border:2px solid var(--line);color:#161026;background:var(--accent);box-shadow:3px 3px 0 var(--line)}.project-preview:hover img,.project-preview:focus-visible img{transform:scale(1.04);filter:brightness(.82)}.project-preview:focus-visible{outline:4px solid var(--accent);outline-offset:4px}.preview-modal{position:fixed;inset:0;z-index:200;display:none;place-items:center;padding:28px;background:rgba(12,7,20,.88)}.preview-modal.open{display:grid}.preview-dialog{position:relative;width:min(1100px,100%);max-height:calc(100vh - 56px);padding:14px;border:4px solid var(--line);background:var(--surface);box-shadow:12px 12px 0 var(--primary)}.preview-dialog img{display:block;width:100%;max-height:calc(100vh - 135px);object-fit:contain;background:#0c0714}.preview-dialog figcaption{padding:14px 60px 2px 2px;font:8px/1.7 var(--font-pixel)}.preview-close{position:absolute;top:-18px;right:-18px;z-index:2;width:48px;height:48px;border:3px solid var(--line);color:#161026;background:var(--accent);box-shadow:4px 4px 0 var(--line);font:10px var(--font-pixel);cursor:pointer}.preview-modal.style-handheld .preview-dialog{border-radius:8px 8px 35px 8px}.preview-modal.style-cyber .preview-dialog{border-color:var(--secondary);clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);background:#181026;color:#f7f2ff;box-shadow:12px 12px 0 var(--primary)}
.project-card.carousel-hidden{display:none!important}.project-carousel-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:38px}.project-carousel-button{display:grid;place-items:center;width:48px;height:48px;border:3px solid var(--line);color:var(--ink);background:var(--surface);box-shadow:4px 4px 0 var(--line);font-size:20px;cursor:pointer}.project-carousel-button:hover,.project-carousel-button:focus-visible{color:#161026;background:var(--accent);transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--line)}.project-carousel-button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:2px 2px 0 var(--line)}.project-carousel-status{min-width:70px;font:7px var(--font-pixel);text-align:center}.project-carousel-dots{display:flex;align-items:center;gap:7px}.project-carousel-dot{width:12px;height:12px;padding:0;border:2px solid var(--line);background:transparent;cursor:pointer}.project-carousel-dot.active{background:var(--primary)}.project-carousel-controls.style-handheld{padding:14px;border:3px solid var(--line);background:var(--surface);box-shadow:5px 5px 0 var(--line)}.project-carousel-controls.style-handheld .project-carousel-button:hover,.project-carousel-controls.style-handheld .project-carousel-button:focus-visible{color:#dbe7a2;background:#0f380f}.project-carousel-controls.style-cyber{padding:12px;border:1px solid var(--secondary);clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);background:#181026;color:#f7f2ff}.project-carousel-controls.style-cyber .project-carousel-button{border-color:var(--secondary);color:var(--secondary);background:#10091c;box-shadow:4px 4px 0 var(--primary)}.project-carousel-controls.style-cyber .project-carousel-dot{border-color:var(--secondary)}.project-carousel-controls.style-cyber .project-carousel-dot.active{background:var(--primary)}
.process-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));background:color-mix(in srgb,var(--secondary) 22%,var(--paper))}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:3px solid var(--line)}.process-card{min-height:250px;padding:25px;border-right:3px solid var(--line);background:var(--surface)}.process-card:last-child{border:0}.process-card b{display:block;margin-bottom:55px;color:var(--primary);font:24px var(--font-pixel)}.process-card p{font-size:12px}
.timeline{border-top:3px solid var(--line)}.timeline-item{display:grid;grid-template-columns:180px 1fr 110px;gap:35px;padding:35px 20px;border-bottom:3px solid var(--line);transition:background .2s}.timeline-item:hover{background:var(--surface)}.timeline-item time,.timeline-item>span,.timeline-item div>p:first-child{color:var(--muted);font:7px/1.8 var(--font-pixel)}.timeline-item>span{align-self:center;color:var(--primary)}.timeline-item div>p:last-child{font-size:13px}
.testimonial-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));color:#fff;background:#24213d}.testimonial-slider{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px}.testimonial-track{min-height:280px}.testimonial{display:none;margin:0;padding:55px;border:4px solid #fff;background:#302c50;box-shadow:10px 10px 0 var(--primary)}.testimonial.active{display:block}.testimonial blockquote{margin:0 0 35px;font:clamp(16px,2.3vw,25px)/1.7 var(--font-pixel)}.testimonial figcaption{display:grid;gap:6px}.testimonial figcaption span{color:var(--secondary);font-size:12px}.slider-button{width:45px;height:45px;border:3px solid #fff;color:#fff;background:transparent;font-size:20px;cursor:pointer}.slider-button:hover{color:#161026;background:var(--accent)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.price-card{position:relative;padding:32px 25px;border:3px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.price-card.featured{transform:translateY(-14px);background:color-mix(in srgb,var(--secondary) 30%,var(--surface))}.price-card>p{font:8px var(--font-pixel);color:var(--primary)}.price-card h3{font-size:25px}.price-card>span{font-size:12px;color:var(--muted)}.price-card ul{min-height:150px;margin:25px 0;font-size:12px}.popular{position:absolute;top:-15px;right:15px;padding:8px;color:#161026;background:var(--accent);border:3px solid var(--line);font:6px var(--font-pixel)}
.accordion details{border-top:3px solid var(--line)}.accordion details:last-child{border-bottom:3px solid var(--line)}.accordion summary{display:flex;justify-content:space-between;gap:20px;padding:25px 5px;cursor:pointer;font:9px/1.8 var(--font-pixel);list-style:none}.accordion summary span{color:var(--primary);font-size:18px}.accordion details p{padding:0 35px 25px 5px;color:var(--muted);font-size:13px}.journal-grid{grid-template-columns:repeat(3,1fr)}.journal-card{min-height:300px}.journal-card h3{margin:30px 0 20px}.journal-card a{display:inline-block;margin-top:20px}
.contact-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));}.contact-panel{padding:clamp(35px,7vw,90px);border:5px solid var(--line);color:#fff;background:var(--extra);box-shadow:14px 14px 0 var(--primary)}.contact-panel h2 span{color:var(--accent)}.contact-panel>p:not(.section-kicker){max-width:680px}.social-row{display:flex;flex-wrap:wrap;gap:20px;margin-top:50px;padding-top:25px;border-top:3px solid #fff;font:7px var(--font-pixel)}
footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:28px max(20px,calc((100vw - var(--container))/2));border-top:4px solid var(--line);background:var(--surface);font:6px/1.8 var(--font-pixel)}.back-to-top{position:fixed;right:20px;bottom:20px;z-index:40;display:grid;place-items:center;width:43px;height:43px;border:3px solid var(--line);opacity:0;pointer-events:none;color:#161026;background:var(--accent);box-shadow:4px 4px 0 var(--line);cursor:pointer;transition:opacity .2s}.back-to-top.show{opacity:1;pointer-events:auto}.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s,transform .6s}.reveal.visible{opacity:1;transform:none}

/* Inner pages, forms, and marketplace preview components */
.page-hero{padding-top:170px;padding-bottom:75px;border-bottom:4px solid var(--line)}.page-hero .lead{max-width:780px}.breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px;color:var(--muted);font:7px var(--font-pixel)}.demo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.demo-card{overflow:hidden;border:4px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.demo-preview{display:grid;place-items:center;min-height:280px;border-bottom:4px solid var(--line);color:#161026;font:clamp(22px,3vw,38px)/1.5 var(--font-pixel);text-align:center}.demo-preview.arcade{background:#ef5b5b}.demo-preview.handheld{background:#9bbc0f}.demo-preview.cyber{color:#fff;background:#834dff}.demo-copy{padding:25px}.demo-copy p{font-size:12px}.demo-copy .pixel-button{margin-top:12px}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:70px}.article-content{font-size:16px}.article-content h2{margin-top:65px;font-size:clamp(22px,3vw,38px)}.article-content h3{margin-top:40px}.article-content p,.article-content li{line-height:1.9}.article-content blockquote{margin:45px 0;padding:30px;border:4px solid var(--line);background:var(--accent);color:#161026;font:14px/1.9 var(--font-pixel);box-shadow:var(--shadow)}.article-content pre{overflow:auto;padding:24px;border:3px solid var(--line);color:#fff;background:#24213d}.article-sidebar{align-self:start;position:sticky;top:110px;padding:24px;border:3px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.article-sidebar p{font-size:12px}.article-sidebar a{display:block;padding:12px 0;border-bottom:2px solid var(--line);font:7px/1.6 var(--font-pixel)}.case-visual{display:grid;place-items:center;min-height:480px;border:5px solid var(--line);color:#161026;background:var(--secondary);box-shadow:14px 14px 0 var(--primary);font:clamp(35px,8vw,100px)/1.2 var(--font-pixel);text-align:center}.results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.results-grid article{padding:30px;border:3px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.results-grid strong{display:block;margin-bottom:15px;color:var(--primary);font:25px var(--font-pixel)}
.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:55px}.contact-form{padding:30px;border:4px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field-group{display:grid;gap:8px}.field-group.full{grid-column:1/-1}.field-group label{font:7px/1.6 var(--font-pixel)}.field-group input,.field-group textarea,.field-group select{width:100%;padding:14px;border:3px solid var(--line);color:var(--ink);background:var(--paper);outline:none}.field-group textarea{min-height:150px;resize:vertical}.field-group input:focus,.field-group textarea:focus,.field-group select:focus{box-shadow:4px 4px 0 var(--secondary)}.field-group [aria-invalid="true"]{border-color:var(--primary);box-shadow:4px 4px 0 var(--primary)}.field-error{min-height:16px;color:var(--primary);font-size:10px}.form-status{display:none;margin-top:20px;padding:14px;border:3px solid var(--line);font-size:12px}.form-status.success,.form-status.error{display:block}.form-status.success{color:#161026;background:var(--secondary)}.form-status.error{color:#161026;background:var(--primary)}.honeypot{position:absolute!important;left:-9999px!important}
.style-block{margin-bottom:70px}.swatch-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.swatch{min-height:120px;padding:14px;border:3px solid var(--line);color:#161026;font-size:10px}.swatch:nth-child(1){background:var(--primary)}.swatch:nth-child(2){background:var(--secondary)}.swatch:nth-child(3){background:var(--accent)}.swatch:nth-child(4){color:#fff;background:var(--extra)}.swatch:nth-child(5){background:var(--surface)}.swatch:nth-child(6){color:var(--paper);background:var(--ink)}.component-row{display:flex;flex-wrap:wrap;align-items:center;gap:20px}.error-page{min-height:100vh;display:grid;place-items:center;padding:100px 20px;text-align:center}.error-code{font:clamp(100px,25vw,260px)/1 var(--font-pixel);color:var(--primary);text-shadow:10px 10px 0 var(--accent)}

/* Handheld edition: compact menu-list components */
.layout-handheld{--container:980px;--section-space:95px}.style-handheld .site-header{left:18px;right:auto;top:50%;bottom:auto;width:165px;min-height:420px;padding:20px 14px;transform:translateY(-50%);flex-direction:column;justify-content:flex-start;border:4px solid var(--line);border-radius:12px 12px 28px 12px;box-shadow:8px 8px 0 var(--line);background:var(--surface)}.style-handheld .brand strong{display:none}.style-handheld .nav{width:100%;flex-direction:column;align-items:stretch;gap:4px;margin-top:25px}.style-handheld .nav>a{padding:11px 7px}.style-handheld .nav>a:hover{color:var(--surface);background:var(--line)}.style-handheld .demo-links{display:grid;width:100%;grid-template-columns:1fr}.style-handheld .header-actions{margin-top:auto}.style-handheld main,.style-handheld footer,.style-handheld .ticker{margin-left:195px}.style-handheld .section{width:min(var(--container),calc(100% - 32px))}
.style-handheld .hero{min-height:100vh;padding-top:70px;grid-template-columns:.8fr 1.2fr}.style-handheld .hero-copy{order:2}.style-handheld h1{font-size:clamp(34px,5vw,62px);text-shadow:4px 4px 0 var(--secondary)}.style-handheld .hero-visual{max-width:520px}.style-handheld .console-card{padding:34px 34px 70px;border-radius:18px 18px 70px 18px;background:var(--surface);box-shadow:10px 10px 0 var(--line);animation:none}.style-handheld .console-card img{filter:grayscale(1) sepia(1) hue-rotate(35deg) saturate(2) contrast(1.2)}.style-handheld .console-bar,.style-handheld .console-controls{color:var(--ink)}.style-handheld .console-controls{position:absolute;left:38px;right:38px;bottom:15px}.style-handheld .status-grid{grid-template-columns:1fr;gap:5px}.style-handheld .status-grid div{display:flex;justify-content:space-between;gap:15px;padding:10px 12px;box-shadow:none}
.style-handheld .split-section{grid-template-columns:1fr;gap:35px}.style-handheld .section-intro{padding-bottom:20px;border-bottom:4px double var(--line)}.style-handheld .stats-grid{grid-template-columns:repeat(4,1fr);gap:0;border:3px solid var(--line)}.style-handheld .stats-grid article{border:0;border-right:3px solid var(--line);box-shadow:none;background:transparent!important;color:var(--ink)!important}.style-handheld .services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;padding:25px;border:5px solid var(--line);border-radius:18px 18px 55px 18px;background:var(--secondary);box-shadow:10px 10px 0 var(--line)}.style-handheld .feature-card{position:relative;display:block;min-height:300px;padding:70px 24px 25px;border:4px solid var(--line);border-radius:10px 10px 32px 10px;box-shadow:5px 5px 0 var(--line);background:var(--surface)}.style-handheld .feature-card::before{content:"SERVICE CARTRIDGE";position:absolute;top:17px;left:20px;right:20px;padding-bottom:12px;border-bottom:3px double var(--line);font:6px var(--font-pixel);letter-spacing:1px}.style-handheld .feature-card::after{content:"INSERT ▾";position:absolute;right:17px;bottom:14px;font:5px var(--font-pixel)}.style-handheld .feature-card:hover{transform:translateY(-6px);background:var(--accent)}.style-handheld .feature-card>b{top:16px;right:18px}.style-handheld .feature-card .card-icon{margin:0 0 24px;width:55px;height:55px;border-radius:50%;background:var(--secondary)}.style-handheld .feature-card h3{padding-bottom:14px;border-bottom:3px solid var(--line)}.style-handheld .feature-card ul{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin-top:20px;list-style:none}.style-handheld .feature-card li{padding:5px 7px;border:2px solid var(--line);font-size:8px}
html[data-theme="dark"] body.style-handheld .feature-card:hover{color:#0f380f;background:#dbe7a2;border-color:#9bbc0f;box-shadow:5px 5px 0 #9bbc0f}html[data-theme="dark"] body.style-handheld .feature-card:hover::before,html[data-theme="dark"] body.style-handheld .feature-card:hover h3,html[data-theme="dark"] body.style-handheld .feature-card:hover li{border-color:#0f380f}html[data-theme="dark"] body.style-handheld .feature-card:hover .card-icon{color:#dbe7a2;background:#306230;border-color:#0f380f}
.style-handheld .panel-section{width:min(var(--container),calc(100% - 32px));padding-inline:35px;border:8px solid var(--line);border-radius:20px 20px 60px 20px;color:var(--ink);background:var(--secondary);box-shadow:10px 10px 0 var(--line)}.style-handheld .skills-grid{display:block;border:3px solid var(--line);background:var(--surface)}.style-handheld .skill-card{display:grid;grid-template-columns:55px 1fr 80px 1fr;align-items:center;gap:15px;padding:14px;border:0;border-bottom:2px solid var(--line);color:var(--ink);background:transparent;box-shadow:none}.style-handheld .skill-card img,.style-handheld .skill-card .text-icon{width:34px;height:34px;margin:0}.style-handheld .skill-card h3,.style-handheld .skill-card p{margin:0}.style-handheld .meter{border-color:var(--line)}
.style-handheld .projects-grid{display:block}.style-handheld .project-card,.style-handheld .project-large{display:grid;grid-template-columns:220px 1fr;margin-bottom:25px;border:4px solid var(--line);box-shadow:7px 7px 0 var(--line)}.style-handheld .project-art,.style-handheld .project-large .project-art{min-height:220px;border:0;border-right:4px solid var(--line);filter:grayscale(1)}.style-handheld .project-art strong{font-size:22px}.style-handheld .process-section{width:min(var(--container),calc(100% - 32px));padding-inline:0;background:transparent}.style-handheld .process-grid{display:block}.style-handheld .process-card{display:grid;grid-template-columns:90px 180px 1fr;align-items:center;min-height:0;border:0;border-bottom:3px solid var(--line)}.style-handheld .process-card b{margin:0}.style-handheld .timeline{border:4px solid var(--line);background:var(--surface);box-shadow:8px 8px 0 var(--line)}.style-handheld .timeline-item{grid-template-columns:130px 1fr;padding:25px;border-bottom:3px dashed var(--line)}.style-handheld .timeline-item>span{display:none}
.style-handheld .testimonial-section{width:min(var(--container),calc(100% - 32px));padding-inline:35px;border:8px solid var(--line);border-radius:18px 18px 55px 18px;background:var(--secondary);color:var(--ink)}.style-handheld .testimonial{padding:30px;border-color:var(--line);background:var(--surface);box-shadow:none}.style-handheld .slider-button{border-color:var(--line);color:var(--ink)}.style-handheld .pricing-grid{display:block}.style-handheld .price-card{display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:25px;margin-bottom:18px;padding:20px;box-shadow:5px 5px 0 var(--line)}.style-handheld .price-card.featured{transform:none}.style-handheld .price-card ul,.style-handheld .price-card>span{display:none}.style-handheld .contact-panel{border-radius:20px 20px 65px 20px;color:var(--ink);background:var(--secondary);box-shadow:10px 10px 0 var(--line)}.style-handheld .social-row{border-color:var(--line)}

/* Cyber edition: asymmetric neon terminal components */
.layout-cyber{--container:1320px;--section-space:130px}.style-cyber .site-header{top:14px;left:20px;right:20px;border:2px solid var(--secondary);clip-path:polygon(0 0,97% 0,100% 35%,100% 100%,3% 100%,0 65%);background:color-mix(in srgb,var(--paper) 82%,transparent);box-shadow:0 0 20px color-mix(in srgb,var(--secondary) 45%,transparent)}.style-cyber .brand span{clip-path:polygon(20% 0,100% 0,80% 100%,0 100%)}.style-cyber .nav>a::before{content:"//";color:var(--secondary)}.style-cyber .hero{grid-template-columns:1fr 1.15fr;padding-top:170px}.style-cyber h1{font-size:clamp(50px,8vw,105px);text-shadow:8px 0 0 var(--secondary),-4px 0 0 var(--primary)}.style-cyber .console-card{clip-path:polygon(8% 0,100% 0,100% 88%,88% 100%,0 100%,0 8%);border:2px solid var(--secondary);border-radius:0;background:color-mix(in srgb,var(--extra) 75%,transparent);box-shadow:15px 15px 0 var(--primary)}.style-cyber .console-card img{clip-path:polygon(5% 0,100% 0,100% 90%,90% 100%,0 100%,0 5%);border-color:var(--secondary)}.style-cyber .status-grid{grid-template-columns:1.4fr .8fr 1fr}.style-cyber .status-grid div{border:2px solid var(--secondary);clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);box-shadow:inset 3px 0 var(--primary)}
.style-cyber .ticker{transform:rotate(-1deg) scale(1.02);border-color:var(--secondary);background:var(--primary)}.style-cyber .split-section{grid-template-columns:1.25fr .75fr}.style-cyber .section-intro{position:sticky;top:130px;align-self:start}.style-cyber .stats-grid{grid-template-columns:1fr}.style-cyber .stats-grid article{display:flex;align-items:center;justify-content:space-between;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);border:2px solid var(--secondary);box-shadow:none}.style-cyber .services-grid{grid-template-columns:1.25fr .75fr .75fr 1.25fr;grid-template-rows:repeat(2,minmax(190px,auto))}.style-cyber .feature-card{clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);border:2px solid var(--secondary);box-shadow:8px 8px 0 var(--primary)}.style-cyber .feature-card:nth-child(1),.style-cyber .feature-card:nth-child(4){grid-row:span 2}
.style-cyber .panel-section{clip-path:polygon(4% 0,100% 0,100% 94%,96% 100%,0 100%,0 6%);background:#10091c}.style-cyber .skills-grid{grid-template-columns:repeat(8,1fr)}.style-cyber .skill-card{min-width:0;padding:15px 10px;border:1px solid var(--secondary);clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);box-shadow:3px 3px 0 var(--primary);text-align:center}.style-cyber .skill-card img,.style-cyber .skill-card .text-icon{margin-inline:auto}.style-cyber .skill-card h3{font-size:7px}.style-cyber .projects-grid{grid-template-columns:1.2fr .8fr .8fr;align-items:start}.style-cyber .project-large{grid-column:auto;display:block;transform:translateY(45px)}.style-cyber .project-card{clip-path:polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px);border:2px solid var(--secondary);box-shadow:10px 10px 0 var(--primary)}.style-cyber .project-large .project-art{border-right:0;border-bottom:2px solid var(--secondary)}
.style-cyber .process-section{background:#10091c;color:#fff;clip-path:polygon(3% 0,100% 0,100% 90%,97% 100%,0 100%,0 10%)}.style-cyber .process-grid{border:0;gap:16px}.style-cyber .process-card{position:relative;border:1px solid var(--secondary)!important;clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px);background:#181026}.style-cyber .process-card::after{content:"SYSTEM READY";position:absolute;right:12px;bottom:10px;color:var(--secondary);font:5px var(--font-pixel)}.style-cyber .timeline{border:0}.style-cyber .timeline-item{margin-bottom:15px;border:1px solid var(--secondary);clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px)}.style-cyber .timeline-item:nth-child(even){margin-left:80px}
.style-cyber .testimonial-section{clip-path:polygon(5% 0,100% 0,100% 92%,95% 100%,0 100%,0 8%);background:#10091c}.style-cyber .testimonial{clip-path:polygon(25px 0,100% 0,100% calc(100% - 25px),calc(100% - 25px) 100%,0 100%,0 25px);border:1px solid var(--secondary);background:#181026;box-shadow:12px 12px 0 var(--primary)}.style-cyber .pricing-grid{align-items:end;margin-top:38px}.style-cyber .price-card{clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);border:2px solid var(--secondary);box-shadow:8px 8px 0 var(--primary)}.style-cyber .price-card.featured{clip-path:none}.style-cyber .price-card.featured .popular{top:-34px;right:auto;left:-2px;z-index:2;padding:9px 14px;border-color:var(--secondary);color:#161026;background:var(--accent);box-shadow:4px 4px 0 var(--primary)}.style-cyber .price-card:nth-child(1){transform:translateY(30px)}.style-cyber .price-card:nth-child(3){transform:translateY(-20px)}.style-cyber .accordion details{margin-bottom:8px;border:1px solid var(--secondary);clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);background:var(--surface)}.style-cyber .journal-grid{grid-template-columns:1.3fr .85fr .85fr}.style-cyber .journal-card{clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);border:2px solid var(--secondary);box-shadow:8px 8px 0 var(--primary)}.style-cyber .journal-card:first-child{min-height:390px}.style-cyber .contact-panel{clip-path:polygon(5% 0,100% 0,100% 85%,92% 100%,0 100%,0 15%);border:2px solid var(--secondary);background:#181026;box-shadow:16px 16px 0 var(--primary)}

@keyframes blink{50%{opacity:0}}@keyframes float{50%{transform:translateY(-10px) rotate(-1deg)}}@keyframes pixelMove{50%{transform:translate(8px,-12px) rotate(90deg)}}@keyframes ticker{to{transform:translateX(-50%)}}@keyframes load{from{transform:scaleX(0)}}

@media(max-width:1050px){.nav{gap:12px}.demo-links{display:none}.hero{grid-template-columns:1fr}.hero-copy{order:1}.hero-visual{width:min(540px,90%);margin:auto}.services-grid{grid-template-columns:repeat(2,1fr)}.skills-grid{grid-template-columns:repeat(3,1fr)}.process-grid{grid-template-columns:repeat(2,1fr)}.process-card{border-bottom:3px solid var(--line)}.project-large{display:block}.project-large .project-art{border-right:0;border-bottom:3px solid var(--line)}.demo-grid{grid-template-columns:1fr}.article-layout,.contact-layout{grid-template-columns:1fr}.article-sidebar{position:static}.swatch-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){:root{--section-space:80px}.site-header{padding:12px 16px}.brand strong{display:none}.menu-toggle{display:block!important}.nav{position:absolute;top:calc(100% + 3px);left:12px;right:12px;display:flex;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-10px);flex-direction:column;align-items:stretch;padding:12px;border:3px solid var(--line);background:var(--surface);box-shadow:6px 6px 0 var(--primary);transition:.2s}.nav.open{visibility:visible;opacity:1;pointer-events:auto;transform:none}.nav a{padding:13px!important}.demo-links{display:flex}.section{width:min(100% - 28px,var(--container))}.hero{padding-top:120px;gap:55px}h1{font-size:clamp(35px,12vw,55px);letter-spacing:-2px}h2{font-size:clamp(25px,8vw,40px)}.status-grid,.stats-grid,.skills-grid,.projects-grid,.pricing-grid,.journal-grid,.results-grid,.form-grid,.swatch-grid{grid-template-columns:1fr}.split-section{grid-template-columns:1fr;gap:35px}.services-grid{grid-template-columns:1fr}.process-grid{grid-template-columns:1fr}.process-card{border-right:0}.timeline-item{grid-template-columns:1fr;gap:10px}.testimonial-slider{grid-template-columns:1fr}.slider-button{display:none}.testimonial{padding:30px 22px}.price-card.featured{transform:none}.contact-panel{box-shadow:8px 8px 0 var(--primary)}.field-group.full{grid-column:auto}.case-visual{min-height:300px;box-shadow:8px 8px 0 var(--primary)}footer{flex-direction:column;align-items:flex-start}.hero .button-row .pixel-button,.contact-panel .pixel-button{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.carousel-hidden{display:none!important}.carousel-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important}.carousel-grid>*{transform:none!important}.style-cyber .carousel-grid .feature-card{grid-row:auto}
@media(max-width:1050px){
  .carousel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .style-handheld .site-header{position:fixed;inset:0 0 auto;width:auto;min-height:0;transform:none;flex-direction:row;border-radius:0;box-shadow:none}.style-handheld main,.style-handheld footer,.style-handheld .ticker{margin-left:0}.style-handheld .nav{width:auto;flex-direction:row;margin:0}.style-handheld .hero{grid-template-columns:1fr}.style-handheld .hero-copy{order:1}.style-handheld .stats-grid{grid-template-columns:repeat(2,1fr)}
  .style-cyber .skills-grid{grid-template-columns:repeat(4,1fr)}.style-cyber .services-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}.style-cyber .feature-card:nth-child(1),.style-cyber .feature-card:nth-child(4){grid-row:auto}.style-cyber .projects-grid{grid-template-columns:1fr 1fr}.style-cyber .project-large{grid-column:1/-1;transform:none}
}
@media(max-width:760px){
  .style-handheld .site-header{top:0;left:0;right:0;bottom:auto;width:auto;min-height:0;padding:12px 16px;transform:none;flex-direction:row;justify-content:space-between;border-width:0 0 3px;border-radius:0;box-shadow:none}.style-handheld .brand{margin-right:auto}.style-handheld .header-actions{margin-top:0;margin-left:auto;align-items:center}.style-handheld .theme-toggle{display:grid}.style-handheld .menu-toggle{display:block!important}.style-handheld .nav{position:absolute;top:calc(100% + 3px);left:12px;right:12px;width:auto;flex-direction:column;margin:0;padding:12px;border:3px solid var(--line);background:var(--surface);box-shadow:6px 6px 0 var(--line)}.style-handheld .services-grid{grid-template-columns:1fr;padding:16px;border-radius:14px 14px 35px 14px;box-shadow:7px 7px 0 var(--line)}.style-handheld .feature-card{display:block;min-height:0;padding:65px 20px 48px}.style-handheld .feature-card .card-icon{margin-bottom:18px}.style-handheld .process-card,.style-handheld .project-card,.style-handheld .project-large,.style-handheld .price-card{display:block}.style-handheld .project-art,.style-handheld .project-large .project-art{border-right:0;border-bottom:4px solid var(--line)}.style-handheld .stats-grid{grid-template-columns:1fr}.style-handheld .stats-grid article{border-right:0;border-bottom:3px solid var(--line)}.style-handheld .skill-card{grid-template-columns:40px 1fr 55px}.style-handheld .skill-card .meter{grid-column:1/-1}.style-handheld .panel-section,.style-handheld .testimonial-section,.style-handheld .process-section{width:min(100% - 28px,var(--container));padding-inline:20px}
  .style-cyber .skills-grid,.style-cyber .services-grid,.style-cyber .projects-grid,.style-cyber .journal-grid{grid-template-columns:1fr}.style-cyber .timeline-item:nth-child(even){margin-left:0}.style-cyber .price-card:nth-child(1),.style-cyber .price-card:nth-child(3){transform:none}.style-cyber .split-section{grid-template-columns:1fr}.style-cyber .section-intro{position:static}
}

/* Cyber mobile refinement */
@media(max-width:760px){
  .layout-cyber{--section-space:75px}
  .style-cyber .site-header{top:0;left:0;right:0;padding:10px 12px;border-width:0 0 2px;clip-path:none;box-shadow:0 4px 0 color-mix(in srgb,var(--primary) 65%,transparent)}
  .style-cyber .nav{top:calc(100% + 2px);left:8px;right:8px;border:2px solid var(--secondary);clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);box-shadow:5px 5px 0 var(--primary)}
  .style-cyber .nav>a::before{content:"> ";color:var(--secondary)}
  .style-cyber .hero{grid-template-columns:1fr;min-height:auto;padding-top:115px;gap:38px}
  .style-cyber h1{font-size:clamp(37px,12vw,52px);line-height:1.2;text-shadow:4px 0 0 var(--secondary),-2px 0 0 var(--primary)}
  .style-cyber .eyebrow{align-items:flex-start;font-size:6px}
  .style-cyber .typed-line{font-size:8px;overflow-wrap:anywhere}
  .style-cyber .hero-visual{width:calc(100% - 10px);max-width:430px;margin-right:10px}
  .style-cyber .console-card{padding:12px;clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);box-shadow:7px 7px 0 var(--primary);animation:none}
  .style-cyber .console-card img{border-width:3px;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
  .style-cyber .console-controls{gap:8px;font-size:4px}.style-cyber .console-controls .dpad{font-size:25px}.style-cyber .console-controls i{width:21px;height:21px}
  .style-cyber .pixel{display:none}
  .style-cyber .status-grid{display:block;margin-top:30px}
  .style-cyber .status-grid div{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;padding:12px;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}
  .style-cyber .ticker{transform:none;font-size:6px}
  .style-cyber .ticker div{padding-block:12px}
  .style-cyber .section-heading{margin-bottom:35px}.style-cyber .section-kicker{font-size:6px}
  .style-cyber .stats-grid article{padding:15px;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}
  .style-cyber .panel-section,.style-cyber .process-section,.style-cyber .testimonial-section,.style-cyber .contact-section{width:100%;padding-left:20px;padding-right:20px;clip-path:none}
  .style-cyber .feature-card,.style-cyber .skill-card,.style-cyber .project-card,.style-cyber .process-card,.style-cyber .timeline-item,.style-cyber .testimonial,.style-cyber .price-card,.style-cyber .journal-card,.style-cyber .accordion details,.style-cyber .contact-panel{clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
  .style-cyber .feature-card,.style-cyber .project-card,.style-cyber .price-card,.style-cyber .journal-card{box-shadow:5px 5px 0 var(--primary)}
  .style-cyber .skills-grid{grid-template-columns:repeat(2,1fr)}
  .style-cyber .skill-card{padding:17px 10px}.style-cyber .skill-card h3{font-size:7px}
  .style-cyber .project-art{min-height:220px}.style-cyber .project-art strong{font-size:24px}
  .style-cyber .process-card{min-height:210px;padding-bottom:40px}
  .style-cyber .timeline-item{padding:23px 18px}
  .style-cyber .testimonial-track{min-height:0}.style-cyber .testimonial{padding:25px 18px;box-shadow:6px 6px 0 var(--primary)}.style-cyber .testimonial blockquote{font-size:12px;line-height:1.8}
  .style-cyber .pricing-grid{gap:22px}.style-cyber .price-card ul{min-height:0}
  .style-cyber .journal-card:first-child{min-height:300px}
  .style-cyber .contact-panel{padding:38px 20px;box-shadow:7px 7px 0 var(--primary)}
  .style-cyber footer{padding-inline:20px}
}
@media(max-width:390px){
  .style-cyber .skills-grid{grid-template-columns:1fr}
  .style-cyber .console-bar span:last-child{display:none}
  .style-cyber .status-grid strong{font-size:6px}
  .style-cyber .contact-panel h2{font-size:23px}
}

/* =========================================================
   HANDHELD REFRESH
   Clean portable OS layout without a desktop sidebar.
   ========================================================= */
.layout-handheld{--container:1120px;--section-space:105px}
.style-handheld .site-header{position:fixed;inset:0 0 auto;width:auto;min-height:0;padding:14px max(20px,calc((100vw - var(--container))/2));transform:none;flex-direction:row;justify-content:space-between;border-width:0 0 4px;border-radius:0;box-shadow:none;background:color-mix(in srgb,var(--paper) 94%,transparent)}
.style-handheld .brand strong{display:block}.style-handheld .nav{width:auto;flex-direction:row;align-items:center;gap:20px;margin:0}.style-handheld .nav>a{padding:10px 0;border-bottom:3px solid transparent}.style-handheld .nav>a:hover{color:var(--ink);background:transparent;border-color:var(--primary)}.style-handheld .demo-links{display:flex;width:auto;grid-template-columns:none}.style-handheld .header-actions{margin:0}
.style-handheld main,.style-handheld footer,.style-handheld .ticker{margin-left:0}.style-handheld .section{width:min(var(--container),calc(100% - 40px))}
.style-handheld .hero{min-height:100vh;padding-top:145px;grid-template-columns:1.08fr .92fr;gap:70px}.style-handheld .hero-copy{order:0}.style-handheld h1{font-size:clamp(42px,6vw,76px);text-shadow:4px 4px 0 var(--secondary)}.style-handheld .hero-visual{max-width:none}.style-handheld .console-card{padding:18px;border:5px solid var(--line);border-radius:8px;background:var(--secondary);box-shadow:9px 9px 0 var(--line)}.style-handheld .console-card img{border-width:4px}.style-handheld .console-controls{position:static;margin-top:14px}.style-handheld .status-grid{grid-template-columns:repeat(3,1fr);gap:8px}.style-handheld .status-grid div{display:block;padding:14px;border:3px solid var(--line);background:var(--surface)}
.style-handheld .split-section{grid-template-columns:.75fr 1.25fr;gap:70px}.style-handheld .section-intro{padding:0;border:0}.style-handheld .stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;border:0}.style-handheld .stats-grid article{padding:20px;border:3px solid var(--line)!important;background:var(--surface)!important;color:var(--ink)!important}.style-handheld .stats-grid article:nth-child(2),.style-handheld .stats-grid article:nth-child(3){background:var(--secondary)!important}
.style-handheld .services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.style-handheld .feature-card{min-height:250px;padding:28px;border:3px solid var(--line);border-radius:0;box-shadow:5px 5px 0 var(--line);background:var(--surface)}.style-handheld .feature-card::before,.style-handheld .feature-card::after{display:none}.style-handheld .feature-card:hover{transform:translate(-3px,-3px);color:var(--ink)!important;background:var(--secondary);box-shadow:8px 8px 0 var(--line)}.style-handheld .feature-card>b{position:absolute;top:16px;right:16px}.style-handheld .feature-card .card-icon{width:48px;height:48px;margin:0 0 30px;border-radius:0;color:var(--surface);background:var(--line)}.style-handheld .feature-card h3{padding:0;border:0}.style-handheld .feature-card ul{display:none}
.style-handheld .panel-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));border:0;border-block:4px solid var(--line);border-radius:0;color:var(--ink);background:var(--secondary);box-shadow:none}.style-handheld .skills-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;border:0;background:transparent}.style-handheld .skill-card{display:grid;grid-template-columns:48px 1fr 60px;gap:14px;padding:16px;border:3px solid var(--line);color:var(--ink);background:var(--surface);box-shadow:4px 4px 0 var(--line)}.style-handheld .skill-card img,.style-handheld .skill-card .text-icon{width:38px;height:38px}.style-handheld .skill-card .meter{grid-column:1/-1}
.style-handheld .projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.style-handheld .project-card,.style-handheld .project-large{display:block;margin:0;border:3px solid var(--line);box-shadow:6px 6px 0 var(--line)}.style-handheld .project-large{grid-column:auto}.style-handheld .project-art,.style-handheld .project-large .project-art{min-height:250px;border:0;border-bottom:3px solid var(--line);filter:grayscale(1)}.style-handheld .process-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));border-block:4px solid var(--line);background:var(--secondary)}.style-handheld .process-grid{display:grid;grid-template-columns:repeat(4,1fr)}.style-handheld .process-card{display:block;min-height:240px;border:0;border-right:3px solid var(--line)}.style-handheld .process-card b{margin-bottom:45px}
.style-handheld .timeline{border:0;background:transparent;box-shadow:none}.style-handheld .timeline-item{grid-template-columns:180px 1fr 100px;padding:30px 15px;border-bottom:3px solid var(--line)}.style-handheld .timeline-item>span{display:block}.style-handheld .testimonial-section{width:100%;padding-inline:max(20px,calc((100% - var(--container))/2));border:0;border-block:4px solid var(--line);border-radius:0;background:var(--secondary)}.style-handheld .testimonial{padding:45px;border:4px solid var(--line);background:var(--surface);box-shadow:7px 7px 0 var(--line)}.style-handheld .slider-button:hover,.style-handheld .slider-button:focus-visible{border-color:#0f380f;color:#dbe7a2;background:#0f380f;outline:3px solid #dbe7a2;outline-offset:3px}
.style-handheld .pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.style-handheld .price-card{display:block;margin:0;padding:28px 22px;box-shadow:5px 5px 0 var(--line)}.style-handheld .price-card ul,.style-handheld .price-card>span{display:block}.style-handheld.contact-section{display:grid;place-items:center;width:100%;padding-inline:max(20px,calc((100% - var(--container))/2))}.style-handheld .contact-panel{width:min(100%,980px);margin-inline:auto;padding:clamp(36px,5vw,70px);overflow:hidden;border-radius:0;color:var(--ink);background:var(--secondary);box-shadow:9px 9px 0 var(--line)}.style-handheld .contact-panel h2{max-width:780px;overflow-wrap:normal}.style-handheld .contact-panel .button-row,.style-handheld .contact-panel .social-row{max-width:100%}.style-handheld .contact-panel .button-row{align-items:center}.style-handheld .contact-panel .social-row a{display:inline-block}
.style-handheld .section-kicker,.style-handheld .eyebrow{color:var(--primary);font-weight:bold}.style-handheld h2 span{color:var(--primary)}.style-handheld .panel-section,.style-handheld .process-section,.style-handheld .testimonial-section,.style-handheld .contact-panel{color:#0f380f}.style-handheld .panel-section .section-kicker,.style-handheld .process-section .section-kicker,.style-handheld .testimonial-section .section-kicker,.style-handheld .contact-panel .section-kicker{color:#0f380f}.style-handheld .panel-section h2 span,.style-handheld .process-section h2 span,.style-handheld .testimonial-section h2 span,.style-handheld .contact-panel h2 span{color:#0f380f}.style-handheld .panel-section .section-heading>p:last-child,.style-handheld .process-section .section-heading>p:last-child,.style-handheld .testimonial-section .section-heading>p:last-child,.style-handheld .contact-panel>p:not(.section-kicker){color:#173f17}.style-handheld .contact-panel .pixel-button{color:#0f380f;background:#edf2c2}.style-handheld .contact-panel .pixel-button.primary{color:#dbe7a2;background:#0f380f}.style-handheld .contact-panel .social-row{color:#0f380f;border-color:#0f380f}
.style-handheld .process-card,.style-handheld .testimonial{color:var(--ink)}.style-handheld .process-card b{color:var(--primary)}.style-handheld .testimonial figcaption span{color:var(--primary)}
html[data-theme="dark"] body.style-handheld .feature-card:hover,html[data-theme="dark"] body.style-handheld .feature-card:hover h3,html[data-theme="dark"] body.style-handheld .feature-card:hover p,html[data-theme="dark"] body.style-handheld .feature-card:hover b{color:#0f380f!important}
html[data-theme="dark"] body.style-handheld .section:not(.panel-section):not(.process-section):not(.testimonial-section):not(.contact-section) .section-kicker,html[data-theme="dark"] body.style-handheld .section:not(.panel-section):not(.process-section):not(.testimonial-section):not(.contact-section) h2 span{color:#dbe7a2}

/* Complete contact form demos */
.contact-page .contact-hero{padding-bottom:55px}.contact-mode-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.contact-mode-links a{padding:10px 12px;border:2px solid var(--line);font:6px var(--font-pixel)}.contact-mode-links a.active,.contact-mode-links a:hover{color:#161026;background:var(--accent)}.contact-page .contact-layout{align-items:start;grid-template-columns:.7fr 1.3fr}.contact-sidebar{position:sticky;top:130px}.contact-stats{display:grid;gap:8px;margin:30px 0}.contact-stats div{display:flex;justify-content:space-between;gap:15px;padding:14px;border:3px solid var(--line);background:var(--surface)}.contact-stats b,.contact-stats span{font:6px/1.7 var(--font-pixel)}.quest-form{padding:0}.form-head{display:flex;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:3px solid var(--line);color:#161026;background:var(--accent);font:6px/1.7 var(--font-pixel)}.quest-form .form-grid{padding:28px}.quest-form .submit-quest{margin:0 28px 28px}.quest-form .form-status{margin:0 28px 28px}.field-group input,.field-group textarea,.field-group select{font:14px var(--font-body)}.field-group label,.choice-field legend{font:7px/1.7 var(--font-pixel)}.choice-field{margin:0;padding:0;border:0}.choice-field legend{margin-bottom:10px}.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.choice-grid label,.consent-field label{position:relative;cursor:pointer}.choice-grid input,.consent-field input{position:absolute;opacity:0;pointer-events:none}.choice-grid span,.consent-field label>span{display:block;padding:13px;border:3px solid var(--line);background:var(--paper);font-size:12px;transition:.15s}.choice-grid input:checked+span,.choice-grid input:focus-visible+span,.consent-field input:checked+span,.consent-field input:focus-visible+span{color:#161026;background:var(--accent);box-shadow:4px 4px 0 var(--line)}.choice-grid input:checked+span::before,.consent-field input:checked+span::before{content:"■";margin-right:8px}.custom-select{position:relative}.custom-select select{position:relative;z-index:2;cursor:pointer;opacity:0}.select-display{position:absolute;inset:0;display:flex;align-items:center;padding:14px 45px 14px 14px;border:3px solid var(--line);background:var(--paper);pointer-events:none}.select-display::after{content:"▼";position:absolute;right:14px;color:var(--primary);font:8px var(--font-pixel)}.custom-select:focus-within .select-display{box-shadow:4px 4px 0 var(--secondary)}.range-field label{display:flex;justify-content:space-between;gap:15px}.range-field output{color:var(--primary)}.range-field input[type="range"]{height:18px;padding:0;border:3px solid var(--line);appearance:none;background:var(--paper)}.range-field input[type="range"]::-webkit-slider-thumb{width:24px;height:30px;border:3px solid var(--line);appearance:none;background:var(--accent);cursor:pointer}.file-field{grid-template-columns:auto 1fr;align-items:center}.file-field>label:first-child{grid-column:1/-1}.file-field input[type="file"]{position:absolute;width:1px;height:1px;opacity:0}.file-trigger{display:inline-block;padding:12px;border:3px solid var(--line);background:var(--accent);cursor:pointer}.file-name{font-size:12px}.consent-field label>span{padding:14px}.contact-page .field-group [aria-invalid="true"]+.select-display,.contact-page .field-group [aria-invalid="true"]{border-color:var(--primary)}
.contact-handheld .contact-form,.contact-handheld .contact-stats div{box-shadow:6px 6px 0 var(--line)}.contact-handheld .contact-form{min-width:0;border-width:5px;border-radius:8px 8px 35px 8px;overflow:visible}.contact-handheld .form-head{border-radius:3px 3px 0 0;color:#dbe7a2;background:#306230}.contact-handheld .quest-form>.form-grid{border-radius:0 0 29px 3px}.contact-handheld .quest-form .form-grid>*,.contact-handheld .field-group,.contact-handheld .choice-grid label,.contact-handheld .choice-grid span,.contact-handheld .consent-field label{min-width:0}.contact-handheld .choice-grid span,.contact-handheld .consent-field label>span,.contact-handheld .select-display{overflow-wrap:anywhere;background:var(--surface)}.contact-handheld .choice-grid input:checked+span,.contact-handheld .consent-field input:checked+span{box-shadow:inset 4px 0 0 var(--primary)}.contact-handheld .file-trigger{color:#dbe7a2;background:#306230}
.contact-cyber .contact-form,.contact-cyber .contact-stats div{border:1px solid var(--secondary);clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);box-shadow:8px 8px 0 var(--primary)}.contact-cyber .contact-form{color:#f7f2ff;background:#181026}.contact-cyber .form-head{border-color:var(--secondary);color:#161026;background:var(--secondary)}.contact-cyber .field-group label,.contact-cyber .choice-field legend,.contact-cyber .file-name{color:#f7f2ff}.contact-cyber .field-group input,.contact-cyber .field-group textarea,.contact-cyber .select-display,.contact-cyber .choice-grid span,.contact-cyber .consent-field label>span{border-width:1px;border-color:var(--secondary);color:#f7f2ff;background:#10091c}.contact-cyber .field-group input::placeholder,.contact-cyber .field-group textarea::placeholder{color:#bcaec9}.contact-cyber .file-trigger{border-color:var(--secondary);color:#161026;background:var(--secondary)}.contact-cyber .choice-grid input:checked+span,.contact-cyber .consent-field input:checked+span{color:#f7f2ff;background:var(--primary);box-shadow:4px 4px 0 var(--secondary)}
.field-showcase{grid-column:1/-1;min-width:0;margin-top:15px;padding-top:25px;border-top:4px double var(--line)}.field-showcase-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:22px}.field-showcase-head p{margin:0;color:var(--primary);font:8px/1.7 var(--font-pixel)}.field-showcase-head span,.form-button-demo>span,.hidden-demo>span{font:6px/1.7 var(--font-pixel)}.field-showcase .form-grid{padding:0}.field-group select[multiple]{min-height:135px;opacity:1}.field-group select[multiple] option{padding:7px}.color-field input[type="color"]{height:50px;padding:5px;cursor:pointer}.readonly-field input{border-style:dashed}.field-group input:disabled{opacity:.55;cursor:not-allowed}.hidden-demo{align-content:center;padding:12px;border:3px dashed var(--line);background:var(--paper)}.hidden-demo code{overflow-wrap:anywhere;font-size:12px}.form-button-demo .button-row{align-items:center;margin-top:4px}.form-button-demo input.pixel-button{width:auto}.image-submit-demo{width:48px!important;height:48px;padding:6px!important;border:3px solid var(--line);background:var(--accent)}.contact-cyber .field-showcase{border-color:var(--secondary)}.contact-cyber .hidden-demo{border-width:1px;border-color:var(--secondary);color:#f7f2ff;background:#10091c}.contact-cyber .field-group select[multiple]{border-color:var(--secondary);color:#f7f2ff;background:#10091c}.contact-handheld .hidden-demo{background:var(--surface)}

@media(max-width:1050px){
  .style-handheld .brand strong{display:none}.style-handheld .demo-links{display:none}.style-handheld .hero{grid-template-columns:1fr}.style-handheld .hero-copy{order:1}.style-handheld .hero-visual{width:min(520px,90%);margin:auto}.style-handheld .projects-grid{grid-template-columns:1fr 1fr}.style-handheld .process-grid{grid-template-columns:repeat(2,1fr)}.style-handheld .process-card{border-bottom:3px solid var(--line)}
  .contact-handheld .contact-layout{grid-template-columns:1fr}.contact-handheld .contact-sidebar{position:static}.contact-handheld .choice-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .style-handheld .site-header{padding:12px 16px}.style-handheld .brand strong{display:none}.style-handheld .nav{position:absolute;top:calc(100% + 3px);left:12px;right:12px;width:auto;flex-direction:column;align-items:stretch;margin:0;padding:12px}.style-handheld .demo-links{display:flex}.style-handheld .hero{padding-top:120px}.style-handheld .status-grid,.style-handheld .stats-grid,.style-handheld .services-grid,.style-handheld .skills-grid,.style-handheld .projects-grid,.style-handheld .process-grid,.style-handheld .pricing-grid{grid-template-columns:1fr}.style-handheld .split-section{grid-template-columns:1fr;gap:35px}.style-handheld .panel-section,.style-handheld .process-section,.style-handheld .testimonial-section{width:100%;padding-inline:20px}.style-handheld .project-card,.style-handheld .project-large,.style-handheld .price-card{display:block}.style-handheld .timeline-item{grid-template-columns:1fr}.style-handheld .timeline-item>span{display:none}.style-handheld .feature-card{min-height:0}.style-handheld .process-card{min-height:190px;border-right:0}
  .contact-page .contact-layout{grid-template-columns:1fr}.contact-sidebar{position:static}.choice-grid{grid-template-columns:1fr 1fr}.quest-form .form-grid{padding:20px}.quest-form .submit-quest,.quest-form .form-status{margin-left:20px;margin-right:20px}.file-field{grid-template-columns:1fr}.contact-mode-links a{flex:1;text-align:center}.field-showcase-head{display:block}.field-showcase-head span{display:block;margin-top:8px}
  .contact-handheld .section{width:min(100% - 24px,var(--container))}.contact-handheld .contact-form{border-width:3px;border-radius:5px 5px 24px 5px;box-shadow:4px 4px 0 var(--line)}.contact-handheld .quest-form>.form-grid{display:block;padding:16px;border-radius:0 0 20px 2px}.contact-handheld .quest-form>.form-grid>.field-group,.contact-handheld .field-showcase{margin-bottom:18px}.contact-handheld .field-showcase .form-grid{display:block}.contact-handheld .field-showcase .field-group{margin-bottom:14px}.contact-handheld .choice-grid{grid-template-columns:1fr}.contact-handheld .choice-grid span,.contact-handheld .consent-field label>span{padding:12px 10px}.contact-handheld .form-head{display:grid;padding:12px;gap:5px}.contact-handheld .submit-quest,.contact-handheld .form-status{width:calc(100% - 32px);margin-left:16px;margin-right:16px}.contact-handheld .button-row{display:grid}.contact-handheld .form-button-demo input.pixel-button,.contact-handheld .form-button-demo .pixel-button{width:100%}.contact-handheld .image-submit-demo{width:48px!important}
  .project-preview img{min-height:240px}.project-large .project-preview{border-right:0;border-bottom:3px solid var(--line)}.preview-modal{padding:14px}.preview-dialog{max-height:calc(100vh - 28px);padding:8px;box-shadow:6px 6px 0 var(--primary)}.preview-dialog img{max-height:calc(100vh - 100px)}.preview-dialog figcaption{padding:10px 42px 2px 2px;font-size:6px}.preview-close{top:-8px;right:-8px;width:38px;height:38px}
  .carousel-grid{grid-template-columns:1fr!important}.project-carousel-controls{gap:9px;margin-top:25px}.project-carousel-button{width:42px;height:42px}.project-carousel-status{min-width:58px;font-size:6px}.project-carousel-controls.style-handheld,.project-carousel-controls.style-cyber{padding:10px}.project-carousel-dot{width:10px;height:10px}
}
