@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root { --ink:#18201d; --paper:#f2f0e9; --lime:#d8ff5f; --line:rgba(24,32,29,.18); --muted:#66706a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:'Space Grotesk',Arial,sans-serif; }
a { color:inherit; text-decoration:none; }
.site-header { align-items:center; display:flex; justify-content:space-between; padding:28px 6vw; border-bottom:1px solid var(--line); }
.menu-toggle { background:var(--ink); border:0; border-radius:0 999px 999px 0; color:var(--paper); cursor:pointer; font-size:20px; left:0; padding:15px 18px 15px 14px; position:fixed; top:50%; transform:translateY(-50%); z-index:10; }.menu-toggle:hover { background:#33403a; }
.side-menu { background:var(--ink); color:var(--paper); height:100vh; left:0; max-width:310px; padding:30px 28px; position:fixed; top:0; transform:translateX(-100%); transition:transform .25s ease; width:82vw; z-index:20; }.side-menu.open { box-shadow:12px 0 40px rgba(0,0,0,.18); transform:translateX(0); }.side-menu-top { align-items:center; display:flex; justify-content:flex-end; margin-bottom:30px; }.menu-close { background:none; border:0; color:var(--paper); cursor:pointer; font-size:28px; }.side-menu .eyebrow { color:var(--lime); }.side-nav { display:flex; flex-direction:column; gap:5px; }.side-nav a { align-items:center; border-bottom:1px solid rgba(242,240,233,.13); display:flex; font-size:16px; justify-content:flex-start; padding:17px 0; }.side-nav a span { display:none; }.side-nav a:nth-child(1) { order:1; }.side-nav a:nth-child(3) { order:2; }.side-nav a:nth-child(2) { order:3; }.side-nav a:nth-child(4) { order:4; }.side-nav a:nth-child(5) { order:5; }.side-nav a:nth-child(6) { order:6; }.side-nav a:hover,.side-nav a.active { color:var(--lime); }.side-note { bottom:30px; color:#aab5ad; font:11px 'DM Mono',monospace; left:28px; position:absolute; }
.brand { font-size:15px; font-weight:700; letter-spacing:.11em; }.brand span { color:#5f7824; }
nav { align-items:center; display:flex; gap:30px; font-size:13px; } nav a:not(.nav-button) { color:var(--muted); } nav a:hover { color:var(--ink); }
.site-header nav { gap:12px; }
.nav-button { border:1px solid var(--ink); border-radius:999px; padding:10px 17px; }
.hero { min-height:620px; overflow:hidden; padding:70px 6vw 80px; position:relative; }
.eyebrow,.card-number { font:500 11px 'DM Mono',monospace; letter-spacing:.12em; }
.eyebrow { color:#a7c83e; margin:0 0 22px; }
.host-badge { align-items:center; background:rgba(199,243,107,.45); border:1px solid rgba(167,200,62,.35); border-radius:999px; display:inline-flex; font:500 11px 'DM Mono',monospace; letter-spacing:.08em; margin:0 0 28px; padding:11px 16px; }.pulse { background:#a9cc40; border-radius:50%; box-shadow:0 0 0 4px rgba(169,204,64,.16); height:8px; margin-right:10px; width:8px; }
h1,h2,h3,p { margin-top:0; } h1 { font-size:clamp(52px,9vw,130px); letter-spacing:-.075em; line-height:.91; margin-bottom:33px; max-width:900px; } em { color:#a0bd3e; font-style:normal; }
.hero-copy { color:var(--muted); font-size:17px; line-height:1.5; max-width:390px; }
.hero-actions { align-items:center; display:flex; gap:25px; margin-top:38px; position:relative; z-index:1; }
.button { border-radius:999px; display:inline-flex; gap:25px; padding:15px 21px; font-size:13px; font-weight:600; }.button span { font-size:18px; line-height:12px; }.primary { background:var(--ink); color:var(--paper); }.primary:hover { background:#33403a; }.text-link { border-bottom:1px solid var(--ink); font-size:13px; padding-bottom:3px; }
.hero-grid { bottom:45px; display:grid; gap:9px; grid-template-columns:repeat(5,1fr); position:absolute; right:6vw; transform:rotate(-16deg); width:38vw; opacity:.55; }.hero-grid span { aspect-ratio:1; border:1px solid var(--line); border-radius:50%; }.hero-grid span:nth-child(2),.hero-grid span:nth-child(4) { background:var(--lime); border:0; }
.section { border-top:1px solid var(--line); padding:100px 6vw; }.section-heading { align-items:end; display:flex; justify-content:space-between; margin-bottom:45px; } h2 { font-size:clamp(36px,5vw,68px); letter-spacing:-.06em; line-height:1; margin:0; }.section-note { color:var(--muted); font-size:13px; max-width:230px; line-height:1.5; }
.project-grid { display:grid; gap:16px; grid-template-columns:repeat(3,1fr); }.project-card { background:#dfe6d4; display:flex; flex-direction:column; min-height:360px; padding:25px; position:relative; }.project-card:nth-child(3n+2) { background:#d9d3c5; }.project-card.dark { background:var(--ink); color:var(--paper); }.card-number { color:var(--muted); }.dark .card-number { color:#aab5ad; }.project-icon { align-items:center; display:flex; font-size:56px; font-weight:300; height:163px; margin:30px 0 20px; }.project-card h3 { font-size:24px; letter-spacing:-.04em; margin-bottom:12px; min-height:1.2em; }.project-card p { color:var(--muted); font-size:14px; line-height:1.5; max-width:280px; }.dark p { color:#aab5ad; }.status { bottom:12px; color:#a7c83e; font:500 10px 'DM Mono',monospace; left:25px; letter-spacing:.1em; position:absolute; }.status.muted { color:#8b8374; }
.project-card:first-child .project-icon img,.project-card:nth-child(2) .project-icon img { display:block; height:163px; max-width:100%; object-fit:contain; object-position:left center; transform:scale(1.25); transform-origin:left center; width:306px; }
.project-card:nth-child(2) .project-icon { align-items:center; justify-content:center; }.project-card:nth-child(2) .project-icon img { object-position:center center; transform:scale(1.1); transform-origin:center; }
.project-card:nth-child(n+4) .project-icon { justify-content:center; }.project-card:nth-child(n+4) .project-icon img { display:block; height:163px; max-width:100%; object-fit:contain; }
.rustvault-card-icon { position:relative; }
.rustvault-card-mark { flex:0 0 163px; height:163px; max-width:163px; }
.about { background:#dfe6d4; }.about p:last-child { color:var(--muted); font-size:16px; line-height:1.6; margin:30px 0 0; max-width:560px; }.skills { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; max-width:650px; }.skills span { border:1px solid rgba(24,32,29,.25); border-radius:999px; font:500 10px 'DM Mono',monospace; padding:9px 12px; }.contact { align-items:center; background:#dfe6d4; display:flex; justify-content:space-between; }.contact-actions { align-items:center; display:flex; gap:25px; }
.simple-page { margin:0 auto; max-width:1250px; min-height:100vh; padding:140px 6vw 100px; }.simple-page h1,.simple-page > .hero-copy { margin-left:auto; margin-right:auto; max-width:850px; }.notice { background:#dfe6d4; display:flex; flex-direction:column; gap:12px; margin:45px auto 0; max-width:650px; padding:25px; }.notice strong { font:500 11px 'DM Mono',monospace; letter-spacing:.1em; }.notice span { color:var(--muted); font-size:15px; }.page-button { display:flex; margin:35px auto 0; width:max-content; }.project-list { display:grid; gap:0; margin:55px auto 0; max-width:850px; }.project-list article { border-top:1px solid var(--line); display:grid; gap:22px; grid-template-columns:45px 1fr; padding:26px 0; }.project-list article:last-child { border-bottom:1px solid var(--line); }.project-list article > span { color:#a7c83e; font:500 11px 'DM Mono',monospace; }.project-list h2 { font-size:27px; margin:0 0 10px; }.project-list p { color:var(--muted); font-size:14px; margin:0; }.control-list { display:grid; gap:14px; grid-template-columns:repeat(3,1fr); margin:55px auto 0; max-width:1000px; }.control-item { background:#dfe6d4; min-height:180px; padding:22px; }.control-item:nth-child(2) { background:#d9d3c5; }.control-item h2 { font-size:22px; margin:40px 0 12px; }.control-item p { color:var(--muted); font-size:13px; line-height:1.5; margin:0; }
.station-panel { background:#dfe6d4; margin-top:55px; max-width:900px; padding:28px; }.station-heading { align-items:center; display:flex; justify-content:space-between; }.station-status { align-items:center; color:#a7c83e; display:flex; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; }.station-status .pulse { background:#8b8374; box-shadow:none; }.station-panel h2 { font-size:clamp(34px,5vw,62px); margin:35px 0 35px; }.station-grid { display:grid; gap:12px; grid-template-columns:repeat(3,1fr); }.station-grid div { background:rgba(242,240,233,.55); display:flex; flex-direction:column; gap:10px; padding:18px; }.metric-label { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; }.station-grid strong { font-size:27px; }.station-grid small { color:var(--muted); font-size:12px; }
.about-block { border-top:1px solid var(--line); margin-top:90px; padding-top:55px; }.about-columns { display:grid; gap:60px; grid-template-columns:1fr 1fr; margin-top:35px; max-width:900px; }.about-columns h2 { font-size:clamp(42px,6vw,75px); }.about-columns p,.final-about > p:last-child { color:var(--muted); font-size:16px; line-height:1.65; max-width:500px; }.interest-grid { display:grid; gap:14px; grid-template-columns:repeat(2,1fr); margin-top:35px; max-width:900px; }.interest-grid article { background:#dfe6d4; min-height:190px; padding:22px; }.interest-grid article:nth-child(2) { background:#d9d3c5; }.interest-grid article:nth-child(3) { background:var(--ink); color:var(--paper); }.interest-grid article:nth-child(4) { background:#d9d3c5; }.interest-grid h2 { font-size:25px; margin:45px 0 10px; }.interest-grid p { color:var(--muted); font-size:13px; line-height:1.5; max-width:300px; }.interest-grid article:nth-child(3) p { color:#aab5ad; }.final-about { padding-bottom:30px; }.final-about h2 { margin:25px 0; }
.project-gallery { display:grid; gap:12px; grid-template-columns:repeat(3,1fr); margin-top:35px; max-width:850px; }.project-gallery img { aspect-ratio:1 / 1; height:100%; object-fit:cover; width:100%; }.project-gallery img:first-child { object-position:center 65%; }
.big-muff-gallery img.breadboard-only { object-position:center; transform:rotate(180deg); }
.makerworld-link,.project-link { background:var(--lime); border:1px solid rgba(167,200,62,.45); border-radius:999px; display:inline-flex; font:500 13px 'DM Mono',monospace; letter-spacing:.05em; margin-left:8px; padding:10px 13px; transition:background .2s ease,color .2s ease; }.archive-project#rv12 .rv12-game-link { margin-left:0; }.makerworld-link:hover,.project-link:hover { background:var(--ink); color:var(--paper); }
.robotic-gallery-feature { overflow:hidden; }
.robotic-gallery-feature img { object-position:center; transform:none; }.robotic-gallery img { background:#fff; object-fit:contain; object-position:center; }
.robotic-gallery-feature img, .robotic-gallery > img:nth-of-type(1), .robotic-gallery > img:nth-of-type(2), .robotic-gallery > img:nth-of-type(8) { background:transparent; object-fit:cover; object-position:center; }
.robotic-gallery img.g-code-feature { aspect-ratio:2 / 1; grid-column:span 2; object-position:center; }
.aircraft-gallery img:first-child { aspect-ratio:2 / 1; grid-column:span 2; object-position:22% center; }.hero-gallery img[data-project="RV-12 Aircraft Assembly"] { object-position:22% center; }
.project-gallery img,.hero-gallery img,.about-page img { cursor:zoom-in; }.lightbox { align-items:center; background:rgba(10,15,13,.92); display:flex; inset:0; justify-content:center; opacity:0; padding:40px; pointer-events:none; position:fixed; transition:opacity .2s ease; z-index:50; }.lightbox.open { opacity:1; pointer-events:auto; }.lightbox img { max-height:calc(100vh - 80px); max-width:calc(100vw - 80px); object-fit:contain; }.lightbox-close { background:var(--paper); border:0; border-radius:50%; color:var(--ink); cursor:pointer; font-size:28px; height:44px; line-height:1; position:absolute; right:25px; top:25px; width:44px; }.lightbox-close:hover { background:var(--lime); }
.lightbox-arrow { align-items:center; background:var(--paper); border:0; border-radius:50%; color:var(--ink); cursor:pointer; display:flex; font-size:28px; height:52px; justify-content:center; position:absolute; top:50%; transform:translateY(-50%); width:52px; z-index:2; }.lightbox-arrow:hover { background:var(--lime); }.lightbox-prev { left:24px; }.lightbox-next { right:24px; }.lightbox.single .lightbox-arrow { display:none; }
.project-index { background:#dfe6d4; display:grid; gap:0 25px; grid-template-columns:repeat(2,1fr); margin:55px auto 15px; max-width:850px; padding:25px; }.project-index p { grid-column:1 / -1; margin-bottom:12px; }.project-index a { border-top:1px solid rgba(24,32,29,.2); font-size:15px; padding:14px 0; }.project-index a:hover { color:#a7c83e; }.archive-projects { display:flex; flex-direction:column; margin:0 auto; max-width:850px; }.archive-project { border-top:1px solid var(--line); padding:80px 0; scroll-margin-top:25px; }.archive-project:nth-child(1) { order:1; }.archive-project:nth-child(2) { order:2; }.archive-project:nth-child(4) { order:3; }.archive-project:nth-child(3) { order:4; }.archive-project:nth-child(5) { order:5; }.archive-project:nth-child(6) { order:6; }.archive-project:last-child { border-bottom:1px solid var(--line); }.archive-project .card-number { color:#a7c83e; }.archive-project h2 { font-size:clamp(32px,5vw,58px); margin:25px 0 20px; }.archive-project p { color:var(--muted); font-size:16px; line-height:1.65; max-width:670px; }.archive-meta { display:flex; flex-wrap:wrap; gap:9px; margin-top:25px; }.archive-meta span { border:1px solid rgba(24,32,29,.25); border-radius:999px; font:500 10px 'DM Mono',monospace; padding:9px 12px; }.video-embed { aspect-ratio:16 / 9; margin-top:35px; max-width:850px; width:100%; }.video-embed iframe { border:0; height:100%; width:100%; }
footer { align-items:center; border-top:1px solid var(--line); color:var(--muted); display:grid; font:10px 'DM Mono',monospace; grid-template-columns:1fr auto 1fr; letter-spacing:.08em; padding:24px 6vw; } footer > :nth-child(2) { justify-self:center; } footer > :last-child { justify-self:end; }.footer-email { color:var(--muted); }.footer-email:hover { color:var(--ink); }
@media (max-width:700px) { .site-header { align-items:center; flex-wrap:wrap; gap:16px; }.site-header nav { flex:1 0 100%; flex-wrap:wrap; gap:10px; justify-content:center; margin:0 auto; width:100%; }.site-header .nav-button { display:inline-flex; padding:10px 17px; white-space:nowrap; }.site-header .nav-button.contact-nav-button { display:none; }.hero { min-height:650px; padding-top:80px; }.hero-grid { bottom:40px; right:10vw; width:70vw; }.hero-actions,.section-heading,.contact { align-items:flex-start; flex-direction:column; }.project-grid { grid-template-columns:1fr; }.section { padding:70px 6vw; }.contact-actions { align-items:flex-start; flex-direction:column; gap:18px; margin-top:30px; }.contact .button { margin-top:0; }.station-heading,.station-grid { align-items:flex-start; flex-direction:column; }.station-grid { display:flex; width:100%; }.station-grid div { width:100%; }.project-index { grid-template-columns:1fr; }.about-columns { grid-template-columns:1fr; gap:30px; }.interest-grid,.project-gallery { grid-template-columns:1fr; }.aircraft-gallery img:first-child { aspect-ratio:1 / 1; grid-column:auto; } footer { gap:12px; grid-template-columns:1fr; text-align:center; } footer > :nth-child(2),footer > :last-child { justify-self:center; } }

/* Keep the homepage balanced on wide screens as well as smaller browser windows. */
.hero { margin-left:auto; margin-right:auto; max-width:1400px; text-align:left; }.hero-layout { align-items:center; display:flex; gap:clamp(35px,5vw,80px); justify-content:center; min-height:560px; position:relative; z-index:1; }.hero-content { flex:0 1 580px; }.hero-copy { margin-left:0; margin-right:auto; }.hero-actions { justify-content:flex-start; }.hero-gallery { border:1px solid var(--line); flex:0 1 600px; height:clamp(500px,40vw,620px); max-width:600px; min-width:420px; overflow:hidden; position:relative; width:100%; }.hero-gallery img { height:100%; inset:0; object-fit:cover; opacity:0; position:absolute; transition:opacity .7s ease; width:100%; }.hero-gallery img.active { opacity:1; }.gallery-label { background:rgba(242,240,233,.72); bottom:0; font:500 12px 'DM Mono',monospace; left:0; letter-spacing:.08em; padding:15px 68px 15px 15px; position:absolute; right:0; }.gallery-project-name { display:block; }.gallery-arrow { background:rgba(242,240,233,.72); border:0; bottom:0; color:var(--ink); cursor:pointer; font-size:20px; height:43px; position:absolute; width:43px; z-index:2; }.gallery-arrow:hover { background:var(--lime); }.gallery-prev { right:45px; }.gallery-next { right:0; }.section { margin-left:auto; margin-right:auto; max-width:1500px; text-align:center; }.section-heading { align-items:center; flex-direction:column; }.section-note { max-width:500px; }.project-grid { margin-left:auto; margin-right:auto; max-width:1150px; text-align:left; }.about > p:not(.eyebrow),.about .skills { margin-left:auto; margin-right:auto; }.contact { align-items:center; flex-direction:column; text-align:center; }.contact-actions { margin-top:30px; }
.section-heading .eyebrow { font-size:14px; margin-bottom:10px; }
.section#projects { padding-top:55px; }
.contact { padding-bottom:45px; padding-top:55px; }
.contact > div:first-child .eyebrow { font-size:14px; margin-bottom:10px; }
.hero-gallery img[data-project="LaSPACE / NASA Robotic Additive Manufacturing"] { object-position:center 35%; }
@media (max-width:700px) { .hero-layout { flex-direction:column; gap:45px; min-height:0; }.hero-content { text-align:center; }.hero-copy { margin-left:auto; margin-right:auto; }.hero-actions { justify-content:center; }.hero-gallery { flex-basis:auto; height:340px; width:100%; } }
@media (min-width:701px) { .hero-content > .eyebrow,.hero-content > .host-badge { margin-left:2px; } }
@media (min-width:701px) { .contact { align-items:flex-start; flex-direction:row; gap:clamp(30px,5vw,70px); text-align:left; }.contact-copy { flex:1 1 0; }.contact-form { flex:0 1 460px; } }
.contact-email { display:block; font:500 16px 'DM Mono',monospace; letter-spacing:.06em; margin-top:28px; }
.contact-form { display:grid; gap:10px; width:100%; }.contact-form label { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.1em; margin-top:8px; }.contact-form input,.contact-form textarea { background:rgba(242,240,233,.45); border:1px solid rgba(24,32,29,.25); border-radius:0; color:var(--ink); font:15px 'DM Sans',sans-serif; padding:13px 14px; width:100%; }.contact-form textarea { min-height:130px; resize:vertical; }.contact-form input:focus,.contact-form textarea:focus { border-color:#a7c83e; outline:2px solid rgba(167,200,62,.18); }.contact-form .button { justify-self:start; margin-top:10px; }.form-note { color:var(--muted); font-size:12px; line-height:1.45; margin:0; }.contact-link { display:inline-block; font:500 16px 'DM Mono',monospace; letter-spacing:.06em; margin-top:16px; }
@media (max-width:700px) { .contact { align-items:flex-start; flex-direction:column; gap:35px; text-align:left; }.contact-form { max-width:none; } }
.project-index { grid-auto-flow:row; grid-template-rows:auto repeat(4,auto); }.project-index a:nth-of-type(1) { grid-column:1; grid-row:2; }.project-index a:nth-of-type(2) { grid-column:1; grid-row:3; }.project-index a:nth-of-type(3) { grid-column:1; grid-row:4; }.project-index a:nth-of-type(4) { grid-column:1; grid-row:5; }.project-index a:nth-of-type(5) { grid-column:2; grid-row:2; }.project-index a:nth-of-type(6) { grid-column:2; grid-row:3; }
@media (max-width:700px) { .project-index { grid-template-columns:1fr; grid-template-rows:auto; }.project-index a:nth-of-type(n) { grid-column:1; grid-row:auto; } }
.side-nav a:nth-child(n) { order:initial; }
.project-index p { text-align:center; }
.hobby-section > h2 { font-size:clamp(38px,5vw,68px); margin:0 0 35px; text-align:left; }.hobby-grid { display:grid; gap:14px; grid-template-columns:repeat(3,1fr); max-width:1150px; text-align:left; }.hobby-card { background:#dfe6d4; display:flex; flex-direction:column; min-height:360px; overflow:hidden; }.hobby-card:nth-child(2),.hobby-card:nth-child(5) { background:#d9d3c5; }.hobby-card:nth-child(3) { background:var(--ink); color:var(--paper); }.hobby-card:nth-child(4) { background:#d9d3c5; }.hobby-photo { align-items:center; background:rgba(242,240,233,.45); border-bottom:1px solid rgba(24,32,29,.14); color:#a7c83e; display:flex; flex:0 0 170px; font:500 10px 'DM Mono',monospace; justify-content:center; letter-spacing:.12em; }.hobby-card:nth-child(3) .hobby-photo { background:rgba(242,240,233,.08); border-bottom-color:rgba(242,240,233,.14); color:#d8ff5f; }.hobby-card-body { padding:22px; }.hobby-card h3 { font-size:24px; letter-spacing:-.04em; margin:24px 0 10px; }.hobby-card p { color:var(--muted); font-size:14px; line-height:1.5; margin:0; max-width:280px; }.hobby-card:nth-child(3) p { color:#aab5ad; }.hobby-card.no-photo { justify-content:center; }.hobby-card.no-photo h3 { margin-top:25px; }
.about-page > .eyebrow { font-size:13px; }
@media (max-width:700px) { .hobby-grid { grid-template-columns:1fr; }.hobby-photo { flex-basis:150px; }.hobby-card-body h3 { margin:0 0 10px; } }

/* RustVault navigation and tool pages. */
.tools-dropdown { border-bottom:1px solid rgba(242,240,233,.13); color:var(--paper); }
.tools-dropdown summary { align-items:center; color:var(--paper); cursor:pointer; display:flex; font-size:16px; justify-content:space-between; list-style:none; padding:17px 0; }
.tools-dropdown summary::-webkit-details-marker { display:none; }
.tools-dropdown summary::after { color:#aab5ad; content:'+'; font:16px 'DM Mono',monospace; }
.tools-dropdown[open] summary::after { color:var(--lime); content:'−'; }
.tools-dropdown summary:hover,.tools-dropdown summary.active { color:var(--lime); }
.tools-summary-mark { color:#8d9991; font:500 9px 'DM Mono',monospace; letter-spacing:.08em; }
.tools-dropdown-links { border-left:1px solid rgba(199,243,107,.45); display:grid; gap:0; margin:0 0 10px 4px; padding-left:15px; }
.side-nav .tools-dropdown-links a { border:0; color:#aab5ad; font-size:13px; padding:9px 0; }
.side-nav .tools-dropdown-links a:hover,.side-nav .tools-dropdown-links a.active { color:var(--lime); }
.rustvault-page,.calculator-page { padding-top:90px; }
.vault-hero { align-items:center; display:grid; gap:45px; grid-template-columns:minmax(0,1fr) 250px; margin:0 auto; max-width:1050px; }
.vault-hero h1,.nether-hero h1 { font-size:clamp(52px,8vw,108px); margin-bottom:28px; max-width:800px; }
.vault-mark { align-items:center; aspect-ratio:1; background:var(--ink); border-radius:50%; color:var(--lime); display:flex; font:500 31px 'DM Mono',monospace; justify-content:center; position:relative; transform:rotate(-12deg); }
.vault-mark::before,.vault-mark::after { border:1px solid rgba(199,243,107,.55); border-radius:50%; content:''; inset:16%; position:absolute; }
.vault-mark::after { inset:29%; }
.vault-mark i { background:var(--lime); border-radius:50%; height:7px; position:absolute; width:7px; }.vault-mark i:nth-of-type(1) { left:15%; top:46%; }.vault-mark i:nth-of-type(2) { right:15%; top:27%; }.vault-mark i:nth-of-type(3) { bottom:17%; left:48%; }
.vault-status { background:#dfe6d4; display:grid; gap:12px; grid-template-columns:repeat(3,1fr); margin:80px auto 0; max-width:1050px; padding:25px; }
.vault-status div { background:rgba(242,240,233,.55); display:flex; flex-direction:column; gap:9px; padding:18px; }.vault-status strong { font-size:clamp(23px,3vw,36px); letter-spacing:-.05em; }.vault-status small { color:var(--muted); font-size:12px; }.metric-label { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; }
.vault-section { border-top:1px solid var(--line); margin:90px auto 0; max-width:1050px; padding-top:55px; }.vault-heading { align-items:end; }.vault-heading h2 { font-size:clamp(42px,6vw,75px); }.vault-grid { display:grid; gap:14px; grid-template-columns:repeat(3,1fr); margin-top:35px; }.vault-card { background:#dfe6d4; display:flex; flex-direction:column; min-height:330px; padding:25px; position:relative; }.vault-card:nth-child(2) { background:#d9d3c5; }.vault-card-dark { background:var(--ink); color:var(--paper); }.vault-card .card-number { color:#a7c83e; }.vault-card-dark .card-number { color:#aab5ad; }.vault-card-icon { align-items:center; color:#a7c83e; display:flex; font-size:58px; height:125px; margin:25px 0 12px; }.vault-card-dark .vault-card-icon { color:var(--lime); }.vault-card h3 { font-size:23px; letter-spacing:-.04em; margin:0 0 12px; }.vault-card p { color:var(--muted); font-size:14px; line-height:1.5; margin:0; max-width:290px; }.vault-card-dark p { color:#aab5ad; }.vault-card .status { bottom:20px; left:25px; }.vault-note { border-top:1px solid var(--line); display:grid; gap:22px; grid-template-columns:180px 1fr; margin:55px auto 0; max-width:850px; padding-top:24px; }.vault-note p { color:var(--muted); font-size:15px; line-height:1.6; margin:0; }
.nether-page { background:#f1ece5; }.nether-page .site-header { background:#f1ece5; }.nether-hero { background:linear-gradient(135deg,#24132e 0%,#32153a 57%,#5a2a29 100%); color:var(--paper); margin:0 auto; max-width:1050px; overflow:hidden; padding:60px; position:relative; }.nether-hero .eyebrow { color:#ef9d58; }.nether-hero .hero-copy { color:#d5c4c1; position:relative; z-index:1; }.nether-hero em { color:#f3a457; }.portal-rift { background:linear-gradient(90deg,transparent,#f28b42,transparent); bottom:-100px; filter:blur(2px); height:360px; opacity:.75; position:absolute; right:10%; transform:rotate(18deg); width:125px; }.portal-rift::before,.portal-rift::after { border:4px solid #f5bf67; border-radius:50%; content:''; inset:15px -32px; opacity:.8; position:absolute; }.portal-rift::after { inset:42px -17px; border-color:#d15454; }.portal-rift span { background:#f6ce72; border-radius:50%; height:7px; position:absolute; width:7px; }.portal-rift span:nth-child(1) { left:-52px; top:70px; }.portal-rift span:nth-child(2) { right:-43px; top:170px; }.portal-rift span:nth-child(3) { left:-20px; top:230px; }
.calculator-shell { background:#2a1734; color:var(--paper); margin:35px auto 0; max-width:850px; padding:34px; }.calculator-heading { align-items:flex-start; display:flex; flex-direction:column; gap:18px; }.calculator-heading .card-number { color:#e79b5d; }.calculator-heading h2 { color:#fff1db; font-size:clamp(31px,5vw,52px); }.calculator-tabs { display:grid; gap:9px; grid-template-columns:repeat(2,1fr); margin:35px 0 25px; }.calculator-tab { background:#3a2445; border:1px solid rgba(242,240,233,.2); color:#cdbdc8; cursor:pointer; font:500 11px 'DM Mono',monospace; letter-spacing:.04em; padding:14px; }.calculator-tab:hover,.calculator-tab.active { background:#e07b3e; border-color:#f0b060; color:#24132e; }.coordinate-panel { border-top:1px solid rgba(242,240,233,.18); padding-top:23px; }.coordinate-panel[hidden] { display:none; }.coordinate-panel-heading { align-items:center; display:flex; gap:15px; justify-content:space-between; }.coordinate-panel-heading p { color:#cdbdc8; font-size:13px; line-height:1.5; margin:0; }.dimension-badge { border:1px solid; font:500 10px 'DM Mono',monospace; letter-spacing:.1em; padding:8px 10px; white-space:nowrap; }.overworld-badge { border-color:#a9d56b; color:#d8ff5f; }.nether-badge { border-color:#e88752; color:#f0a464; }.coordinate-inputs { display:grid; gap:12px; grid-template-columns:repeat(2,1fr); margin-top:25px; }.coordinate-inputs label { color:#e6d6cf; display:grid; font:500 10px 'DM Mono',monospace; gap:8px; letter-spacing:.08em; }.coordinate-inputs input { background:#170e20; border:1px solid #754761; color:#fff1db; font:22px 'DM Mono',monospace; padding:14px; width:100%; }.coordinate-inputs input:focus { border-color:#f0a464; outline:2px solid rgba(240,164,100,.25); }.portal-button { background:#f0a464; color:#24132e; margin-top:25px; }.portal-button:hover { background:#f8c56b; }.calculator-result { background:#f0a464; color:#24132e; margin-top:25px; padding:24px; }.calculator-result .card-number { color:#5d2c2b; }.result-coordinates { display:grid; gap:15px; grid-template-columns:repeat(2,1fr); margin:18px 0; }.result-coordinates div { background:rgba(255,242,218,.32); display:flex; flex-direction:column; gap:4px; padding:15px; }.result-coordinates span { color:#75433a; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; }.result-coordinates strong { font:500 clamp(34px,6vw,60px) 'DM Mono',monospace; letter-spacing:-.08em; }.result-coordinates small { color:#75433a; font-size:11px; }.calculator-result p { color:#5d2c2b; font-size:13px; margin:0; }.calculator-footnote { color:#6d625d; font-size:13px; line-height:1.6; margin:25px auto 0; max-width:850px; }.calculator-footnote strong { color:#59373a; }
@media (max-width:700px) { .rustvault-page,.calculator-page { padding-top:55px; }.vault-hero { grid-template-columns:1fr; }.vault-mark { margin:0 auto; max-width:180px; }.vault-status,.vault-grid { grid-template-columns:1fr; }.vault-status { margin-top:55px; }.vault-section { margin-top:65px; }.vault-heading { align-items:flex-start; }.vault-note { grid-template-columns:1fr; gap:12px; }.nether-hero { padding:42px 25px; }.calculator-shell { padding:24px 18px; }.coordinate-panel-heading { align-items:flex-start; flex-direction:column; }.coordinate-inputs,.result-coordinates { grid-template-columns:1fr; }.calculator-tabs { grid-template-columns:1fr; } }
.simple-page { padding-bottom:70px; padding-top:70px; }
@media (max-width:700px) { .simple-page { padding-bottom:55px; padding-top:55px; } }
.hobby-card:nth-child(3) { background:#dfe6d4; color:var(--ink); }.hobby-card:nth-child(3) .hobby-photo { background:rgba(242,240,233,.45); border-bottom-color:rgba(24,32,29,.14); color:#a7c83e; }.hobby-card:nth-child(3) p { color:var(--muted); }

/* RustVault refresh: a quiet private workspace in the portfolio's visual language. */
.tools-dropdown summary { align-items:center; display:flex; justify-content:space-between; }
.tools-dropdown summary { gap:24px; padding-right:8px; }
.tools-dropdown summary { color:#aab5ad; }
.tools-dropdown summary::after { margin-left:36px; }
.tools-summary-mark { display:none; }
.vault-hero { grid-template-columns:minmax(0,1fr) 220px; }
.vault-hero h1 { font-size:clamp(52px,8vw,108px); margin:0 0 22px; }
.vault-hero .hero-copy { max-width:620px; }
.vault-mark { box-shadow:0 18px 35px rgba(24,32,29,.12); }
.filebrowser-shell { background:#d9eb9f; margin:90px auto 0; max-width:1050px; padding:25px; }
.filebrowser-bar { align-items:center; border-bottom:1px solid rgba(24,32,29,.18); display:flex; justify-content:space-between; padding-bottom:18px; }
.filebrowser-status { align-items:center; color:#a7c83e; display:flex; font:500 10px 'DM Mono',monospace; gap:8px; letter-spacing:.08em; }
.filebrowser-status .pulse { background:#a7c83e; }
.filebrowser-toolbar { align-items:end; display:flex; justify-content:space-between; padding:32px 18px 25px; }
.filebrowser-toolbar h2 { font-size:clamp(38px,5vw,64px); margin:12px 0 0; }
.filebrowser-controls { display:flex; gap:8px; }
.filebrowser-controls button { background:rgba(242,240,233,.62); border:1px solid rgba(24,32,29,.2); color:var(--muted); cursor:not-allowed; font:500 11px 'DM Mono',monospace; padding:12px 14px; }
.filebrowser-controls button span { margin-left:5px; }
.filebrowser-body { background:#eef2e5; display:grid; grid-template-columns:205px 1fr; min-height:340px; }
.filebrowser-sidebar { border-right:1px solid rgba(24,32,29,.16); display:flex; flex-direction:column; gap:4px; padding:25px 18px; }
.filebrowser-sidebar .metric-label { margin-bottom:10px; }
.filebrowser-sidebar a { color:var(--muted); display:flex; font-size:13px; justify-content:space-between; padding:11px 0; }
.filebrowser-sidebar a:hover,.filebrowser-sidebar a.active { color:var(--ink); }
.filebrowser-sidebar a.active { border-left:2px solid #a7c83e; margin-left:-18px; padding-left:16px; }
.filebrowser-empty { align-items:center; display:flex; flex-direction:column; justify-content:center; padding:45px 25px; text-align:center; }
.filebrowser-empty-icon { align-items:center; border:1px solid #a7c83e; border-radius:50%; color:#a7c83e; display:flex; font:22px 'DM Mono',monospace; height:52px; justify-content:center; margin-bottom:20px; width:52px; }
.filebrowser-empty h3 { font-size:23px; margin:0 0 10px; }
.filebrowser-empty p { color:var(--muted); font-size:14px; line-height:1.6; margin:0 auto 20px; max-width:430px; }
.filebrowser-empty .status { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; }
.filebrowser-launch { margin-top:4px; }

/* The calculator stays Minecraft-inspired through its portal mark, while the page remains part of the portfolio. */
.nether-page { background:var(--paper); }
.nether-page .site-header { background:var(--paper); }
.nether-hero { background:#dfe6d4; color:var(--ink); }
.nether-hero .eyebrow { color:#a7c83e; }
.nether-hero .hero-copy { color:var(--muted); }
.nether-hero em { color:#a7c83e; }
.portal-rift { background:linear-gradient(90deg,transparent,#a7c83e,transparent); opacity:.38; }
.portal-rift::before { border-color:#a7c83e; }
.portal-rift::after { border-color:var(--ink); }
.portal-rift span { background:var(--ink); }
.calculator-shell { background:#dfe6d4; color:var(--ink); }
.calculator-heading .card-number { color:#a7c83e; }
.calculator-heading h2 { color:var(--ink); }
.calculator-tab { background:rgba(242,240,233,.55); border-color:rgba(24,32,29,.2); color:var(--muted); }
.calculator-tab:hover,.calculator-tab.active { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.coordinate-panel { border-top-color:rgba(24,32,29,.18); }
.coordinate-panel-heading p { color:var(--muted); }
.overworld-badge,.nether-badge { border-color:#a7c83e; color:#a7c83e; }
.coordinate-inputs label { color:var(--ink); }
.coordinate-inputs input { background:rgba(242,240,233,.68); border-color:rgba(24,32,29,.25); color:var(--ink); }
.coordinate-inputs input:focus { border-color:#a7c83e; outline-color:rgba(167,200,62,.25); }
.portal-button { background:var(--ink); color:var(--paper); }
.portal-button:hover { background:#33403a; }
.calculator-result { background:#c9ee68; color:var(--ink); }
.calculator-result .card-number,.result-coordinates span,.result-coordinates small,.calculator-result p { color:#405126; }
.result-coordinates div { background:rgba(242,240,233,.34); }
.calculator-footnote { color:var(--muted); }
.calculator-footnote strong { color:var(--ink); }
.portal-rift-image { filter:saturate(.78) contrast(1.06); height:250px; max-height:250px; object-fit:contain; object-position:center; position:absolute; right:20px; top:20px; width:250px; z-index:0; }

@media (max-width:700px) {
  .vault-hero { grid-template-columns:1fr; }
  .vault-mark { margin:0 auto; max-width:180px; }
  .filebrowser-shell { margin-top:65px; padding:18px; }
  .filebrowser-bar,.filebrowser-toolbar { align-items:flex-start; flex-direction:column; gap:18px; }
  .filebrowser-controls { width:100%; }
  .filebrowser-controls button { flex:1; }
  .filebrowser-body { grid-template-columns:1fr; }
  .filebrowser-sidebar { border-bottom:1px solid rgba(24,32,29,.16); border-right:0; }
  .filebrowser-sidebar a.active { margin-left:0; padding-left:10px; }
  .portal-rift-image { bottom:-35px; height:220px; max-height:220px; right:-30px; top:auto; width:200px; }
}
.station-panel { margin-left:auto; margin-right:auto; }
.station-panel h2 { text-align:center; }
.station-panel + .station-panel { margin-top:18px; }
.station-camera-frame { background:var(--ink); min-height:300px; overflow:hidden; position:relative; }

/* Final visual overrides: force the current navigation and compact portal composition through cached styles. */
.side-nav > a:nth-child(1) { order:1; }
.side-nav > a:nth-child(2) { order:2; }
.side-nav > a:nth-child(3) { order:3; }
.side-nav > a:nth-child(4) { order:4; }
.side-nav > .tools-dropdown { order:5; }
.side-nav > a:last-child { order:6; }
.side-nav > a,.side-nav > .tools-dropdown > summary { justify-content:flex-start; text-align:left; }
.side-nav a:nth-child(4) { order:5; }
.side-nav a:nth-child(5) { order:4; }
.side-nav .tools-dropdown > summary { align-items:center; color:#aab5ad !important; display:flex; gap:4px; justify-content:flex-start; padding-right:0; }
.side-nav .tools-dropdown > summary::after { color:#aab5ad !important; margin-left:0; }
.nether-hero { min-height:320px; }
.nether-hero h1 { max-width:650px; position:relative; z-index:1; }
.nether-hero .hero-copy { max-width:470px; position:relative; z-index:1; }
.portal-rift-image { height:240px; max-height:240px; object-fit:contain; object-position:center; position:absolute; right:28px; top:110px; width:240px; z-index:0; }
@media (max-width:700px) {
  .nether-hero { min-height:300px; }
  .nether-hero h1 { max-width:100%; }
  .portal-rift-image { bottom:-25px; height:190px; max-height:190px; right:-20px; top:auto; width:190px; }
}

/* Nether calculator layout: keep the portal inside the hero and give the controls a portal-purple accent. */
.nether-hero { min-height:460px; }
.calculator-shell { margin:35px 0 0; }
.portal-rift-image { height:400px; max-height:400px; right:12px; top:45px; width:400px; }
.calculator-tab:hover,.calculator-tab.active { background:#7b2cbf; border-color:#9d4edd; color:#f2f0e9; }
.portal-button { background:#7b2cbf; color:#f2f0e9; }
.portal-button:hover { background:#9d4edd; }
@media (max-width:700px) {
  .nether-hero { min-height:300px; }
  .portal-rift-image { height:220px; max-height:220px; right:-20px; top:auto; width:220px; }
}

/* Keep the Nether tool as one aligned green block. */
.nether-tool-block { background:#dfe6d4; margin:0 auto; max-width:1050px; }
.nether-tool-block .nether-hero { background:transparent; margin:0; max-width:none; }
.nether-tool-block .calculator-shell { background:transparent; margin:0; max-width:none; padding:34px 60px 60px; }
.nether-hero h1 { margin-left:0; margin-right:0; }
.calculator-tab:hover,.calculator-tab.active { background:#a7c83e; border-color:#a7c83e; color:#f2f0e9; }
.portal-button { background:#a7c83e; color:#f2f0e9; border:0; box-shadow:none; outline:0; }
.portal-button:hover { background:#a0bd3e; }
.archive-project .makerworld-link,.archive-project .project-link { background:#a7c83e; border-color:#a7c83e; color:var(--paper); }
.archive-project .makerworld-link:hover,.archive-project .project-link:hover { background:#a0bd3e; border-color:#a0bd3e; color:var(--paper); }
.bmo-project-action { margin:25px 0 0; }.bmo-project-action .project-link { margin-left:0; }.bmo-linkedin-embed { margin-left:auto; margin-right:auto; margin-top:28px; max-width:850px; width:100%; }.bmo-linkedin-embed iframe { border:0; display:block; height:399px; width:100%; }
@media (max-width:700px) {
  .nether-tool-block .calculator-shell { padding:24px 25px 40px; }
}

/* BMO public speech controls. */
.bmo-tools-page { max-width:1050px; }
.bmo-tools-page > .eyebrow { color:#8eaf2c; margin:0 auto 18px; max-width:850px; }
.bmo-tools-page h1 { font-size:clamp(56px,9vw,112px); margin-bottom:22px; }
.bmo-tools-page h1 em { color:#a7c83e; font-style:normal; }
.bmo-tools-page > .hero-copy { color:var(--muted); font-size:18px; line-height:1.6; }
.bmo-tools-shell,.bmo-owner-shell { margin:48px auto 0; max-width:850px; padding:30px; padding-bottom:14px; }
.bmo-tools-shell { background:var(--ink); color:var(--paper); }
.bmo-owner-shell { background:#dfe6d4; }
.bmo-tools-heading { align-items:flex-start; display:flex; gap:20px; justify-content:space-between; }
.bmo-tools-heading h2,.bmo-owner-shell h2 { font-size:clamp(32px,5vw,54px); margin:20px 0 0; }
.bmo-tools-shell .card-number,.bmo-owner-shell .card-number { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.1em; }
.bmo-status { align-items:center; display:flex; font:500 10px 'DM Mono',monospace; gap:8px; letter-spacing:.08em; padding-top:3px; white-space:nowrap; }
.bmo-status .pulse { background:#8b8374; border-radius:50%; display:inline-block; height:8px; width:8px; }
.bmo-status[data-state="enabled"] { color:#d8ff5f; }.bmo-status[data-state="enabled"] .pulse,.bmo-status[data-state="speaking"] .pulse { background:#a7c83e; box-shadow:0 0 0 5px rgba(167,200,62,.14); }
.bmo-status[data-state="speaking"] { color:#d8ff5f; }.bmo-status[data-state="queued"] { color:#f0c36b; }.bmo-status[data-state="queued"] .pulse { background:#f0c36b; }.bmo-status[data-state="unavailable"] { color:#e48770; }.bmo-status[data-state="unavailable"] .pulse { background:#e48770; }
.bmo-tool-note,.bmo-owner-shell > p { color:#aab5ad; font-size:14px; line-height:1.6; max-width:680px; }
.bmo-owner-shell > p { color:var(--muted); }
.bmo-guest-form,.bmo-owner-form { display:grid; gap:10px; margin-top:28px; }
.bmo-guest-form label,.bmo-owner-form label { font:500 10px 'DM Mono',monospace; letter-spacing:.1em; }
.bmo-guest-form textarea,.bmo-owner-form input { background:rgba(242,240,233,.1); border:1px solid rgba(242,240,233,.3); color:var(--paper); font:16px 'Space Grotesk',Arial,sans-serif; padding:14px; resize:vertical; width:100%; }
.bmo-owner-form input { background:rgba(242,240,233,.55); border-color:rgba(24,32,29,.24); color:var(--ink); }
.bmo-guest-form textarea:focus,.bmo-owner-form input:focus { outline:2px solid rgba(167,200,62,.5); }
.bmo-form-footer { align-items:center; color:#aab5ad; display:flex; font:11px 'DM Mono',monospace; justify-content:space-between; }
.bmo-form-actions { align-items:center; display:flex; gap:10px; }
.bmo-form-footer button,.bmo-owner-buttons button { background:#a7c83e; border:1px solid #a7c83e; border-radius:999px; color:var(--ink); cursor:pointer; font:500 11px 'DM Mono',monospace; letter-spacing:.04em; padding:12px 17px; }
.bmo-form-footer button:hover,.bmo-owner-buttons button:hover { background:#d8ff5f; }.bmo-form-footer button:disabled,.bmo-owner-buttons button:disabled { cursor:wait; opacity:.55; }
.bmo-owner-buttons { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }.bmo-owner-buttons button:last-child { background:transparent; color:var(--ink); }
.bmo-form-message { color:#a7c83e; font-size:13px; min-height:20px; margin:12px 0 0; }.bmo-owner-shell .bmo-form-message { color:#65791f; }
@media (max-width:700px) { .bmo-tools-shell,.bmo-owner-shell { padding:22px 18px; }.bmo-tools-heading { flex-direction:column; }.bmo-status { padding-top:0; }.bmo-owner-buttons button { width:100%; } }

.station-camera-frame img { display:block; height:auto; min-height:300px; object-fit:cover; width:100%; }
.station-camera-fallback { align-items:center; color:var(--paper); display:flex; flex-direction:column; gap:10px; inset:0; justify-content:center; padding:30px; position:absolute; text-align:center; }
.station-camera-fallback[hidden] { display:none; }

/* BMO's physical body and browser face share the same speech stream. */
.bmo-face-stage { aspect-ratio:1477 / 1065; margin:24px auto 0; max-width:780px; position:relative; transform:none; transition:transform .45s ease; width:100%; z-index:1; }
.bmo-face-stage:hover { transform:translateY(-6px); }
.bmo-body-cutout { display:block; height:100%; object-fit:contain; position:relative; width:100%; z-index:1; }
.bmo-face-window { background:#befacc; border-radius:6%; height:42%; left:29.5%; overflow:hidden; position:absolute; top:11%; width:41%; z-index:2; }
#bmo-face-canvas { display:block; height:auto; left:0; position:absolute; top:50%; transform:translateY(-50%); width:100%; }
.bmo-tools-shell > .bmo-tools-heading,.bmo-tools-shell > .bmo-tool-note,.bmo-tools-shell > .bmo-guest-form,.bmo-tools-shell > .bmo-form-message { position:relative; z-index:3; }
.bmo-tools-actions { align-items:flex-start; display:flex; flex-direction:column; gap:10px; }
.bmo-audio-toggle { align-items:center; background:transparent; border:1px solid rgba(167,200,62,.55); border-radius:50%; color:#d8ff5f; cursor:pointer; display:inline-flex; flex:0 0 42px; height:42px; justify-content:center; padding:0; width:42px; }
.bmo-audio-toggle:hover,.bmo-audio-toggle.needs-unlock { background:#a7c83e; color:var(--ink); }
.bmo-audio-toggle.is-off { border-color:rgba(242,240,233,.35); color:#aab5ad; }
.bmo-audio-toggle.stream-warning { border-color:#e48770; color:#e48770; }
.bmo-form-footer .bmo-audio-toggle { padding:0; }
.bmo-audio-toggle svg { flex-shrink:0; height:34px; width:34px; }
.bmo-audio-toggle .bmo-speaker-icon-muted { display:none; }
.bmo-audio-toggle.is-off .bmo-speaker-icon-on { display:none; }
.bmo-audio-toggle.is-off .bmo-speaker-icon-muted { display:block; }
.bmo-tools-shell .bmo-tools-heading h2 { margin-top:28px; }
.bmo-tool-note { margin-top:12px; }
.bmo-form-message:empty { display:none; margin:0; min-height:0; }
.bmo-guest-form { margin-top:34px; }
.bmo-owner-shell > p { margin-top:26px; }
.bmo-owner-form { margin-top:34px; }
.bmo-owner-status { align-items:center; color:#8b8374; display:flex; font:500 10px 'DM Mono',monospace; gap:8px; letter-spacing:.08em; }
.bmo-owner-status .pulse { background:#8b8374; border-radius:50%; display:inline-block; height:8px; width:8px; }
.bmo-owner-status[data-state="unlocked"] { color:#65791f; }.bmo-owner-status[data-state="unlocked"] .pulse { background:#a7c83e; box-shadow:0 0 0 5px rgba(167,200,62,.14); }
.bmo-owner-status[data-state="unavailable"] { color:#b35e4d; }.bmo-owner-status[data-state="unavailable"] .pulse { background:#e48770; }
@media (max-width:700px) { .bmo-face-stage { margin-top:24px; }.bmo-tools-actions { align-items:flex-start; }.bmo-tools-shell .bmo-tools-heading h2 { margin-top:20px; } }
.bmo-owner-shell > .bmo-owner-access-note { color:var(--muted); font-size:14px; line-height:1.6; margin:14px 0 0; max-width:720px; }
.bmo-owner-buttons button[data-bmo-action="off"],.bmo-owner-buttons #bmo-owner-password-clear { background:transparent; color:var(--ink); }
.bmo-owner-buttons #bmo-owner-password-clear { border-color:rgba(24,32,29,.3); }
/* Password-protected BMO button board. */
.bmo-owner-tools { background:var(--ink); color:var(--paper); margin:24px auto 0; max-width:850px; padding:20px; }
.bmo-owner-tools-intro .eyebrow { color:#a7c83e; font:500 11px 'DM Mono',monospace; letter-spacing:.1em; }
.bmo-owner-tools-intro h2 { font-size:clamp(30px,4vw,48px); line-height:1.1; margin:12px 0 16px; }
.bmo-owner-tools-intro h2 em { color:#a7c83e; font-style:normal; }
.bmo-owner-tools-intro > p:not(.eyebrow) { color:#b9c6ba; font-size:15px; line-height:1.6; max-width:660px; }
.bmo-tool-result { border-left:3px solid #a7c83e; margin:22px 0 28px; padding:10px 15px; }
.bmo-tool-result[data-state="error"] { border-color:#e48770; color:#ffc4b5; }
.bmo-tool-result[data-state="success"] { color:#d8ff5f; }
.bmo-owner-grid { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.bmo-owner-card { background:#e5ebda; border:1px solid transparent; color:var(--ink); column-gap:8px; display:grid; grid-template-columns:32px minmax(0,1fr); min-width:0; padding:14px; transition:border-color .2s ease, transform .2s ease; }
.bmo-owner-card:hover { border-color:#a7c83e; transform:translateY(-2px); }
.bmo-owner-card-wide { grid-column:1 / -1; }
.bmo-owner-icon { align-items:center; background:#b6d15d; border-radius:8px; display:inline-flex; font-size:18px; grid-column:1; grid-row:1; height:32px; justify-content:center; width:32px; }
.bmo-owner-card > h3 { align-items:center; display:flex; font-size:23px; grid-column:2; grid-row:1; line-height:1.15; margin:0; min-height:44px; overflow-wrap:anywhere; }
.bmo-owner-card > p:not(.bmo-card-feedback),.bmo-owner-card > label,.bmo-owner-card > input,.bmo-owner-card > .bmo-owner-card-actions,.bmo-owner-card > .bmo-owner-input-row,.bmo-owner-card > .bmo-card-feedback { grid-column:1 / -1; }
.bmo-owner-card > p:not(.bmo-card-feedback) { color:#556158; font-size:12px; line-height:1.4; margin:6px 0 10px; }
.bmo-owner-card label { display:block; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; margin:10px 0 4px; }
.bmo-owner-card input { background:#f2f0e9; border:1px solid #adbaa7; color:var(--ink); font:14px 'Space Grotesk',Arial,sans-serif; max-width:100%; padding:8px 10px; width:100%; }
.bmo-owner-card input:focus-visible,.bmo-owner-card button:focus-visible { outline:3px solid #65791f; outline-offset:2px; }
.bmo-owner-card-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.bmo-owner-card button { background:#a7c83e; border:1px solid #9ab930; border-radius:999px; color:var(--ink); cursor:pointer; font:500 10px 'DM Mono',monospace; letter-spacing:.03em; min-height:34px; padding:7px 10px; }
.bmo-owner-card button:hover { background:#d8ff5f; }
.bmo-owner-card button:disabled { cursor:wait; opacity:.55; }
.bmo-owner-input-row { display:grid; gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:10px; }
.bmo-owner-input-row > div > button { margin-top:10px; }
.bmo-card-feedback { color:#576c21; display:block; font-size:12px; font-weight:600; line-height:1.4; margin-top:5px; overflow-wrap:anywhere; }
.bmo-card-feedback:empty { display:none; }
.bmo-card-feedback[data-state="error"] { color:#a1392d; }
@media (max-width:700px) { .bmo-owner-tools { padding:22px 18px; }.bmo-owner-grid,.bmo-owner-input-row { grid-template-columns:1fr; }.bmo-owner-card-wide { grid-column:auto; } }
@media (prefers-reduced-motion:reduce) { .bmo-owner-card { transition:none; }.bmo-owner-card:hover { transform:none; } }
.station-camera-fallback strong { color:var(--lime); font:500 11px 'DM Mono',monospace; letter-spacing:.1em; }
.station-camera-fallback span { color:#aab5ad; font-size:14px; }
.station-status[data-state="live"] { color:#a7c83e; }
.station-status[data-state="live"] .pulse { background:#a7c83e; box-shadow:0 0 0 5px rgba(167,200,62,.14); }
.station-status[data-state="offline"] { color:#8b8374; }
@media (max-width:700px) { .station-camera-frame img,.station-camera-frame { min-height:220px; } }
.camera-controls { display:grid; gap:8px; margin:35px 0 0; max-width:620px; }
.camera-controls label { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.1em; }
.camera-control-row { display:flex; gap:10px; }
.camera-control-row input { background:rgba(242,240,233,.55); border:1px solid rgba(24,32,29,.25); color:var(--ink); flex:1; font:15px 'Space Grotesk',Arial,sans-serif; padding:12px 13px; }
.camera-control-row input:focus { border-color:#a7c83e; outline:2px solid rgba(167,200,62,.18); }
.camera-control-row button { background:var(--ink); border:1px solid var(--ink); border-radius:999px; color:var(--paper); cursor:pointer; font:500 11px 'DM Mono',monospace; letter-spacing:.04em; padding:12px 16px; white-space:nowrap; }
.camera-control-row button:hover { background:#33403a; }
.camera-control-row button:disabled { cursor:wait; opacity:.55; }
.camera-media-actions { align-items:center; flex-wrap:wrap; }
.camera-control-row .bmo-audio-toggle { align-items:center; background:transparent; border:1px solid rgba(167,200,62,.55); border-radius:50%; color:#d8ff5f; cursor:pointer; display:inline-flex; flex:0 0 42px; height:42px; justify-content:center; padding:0; width:42px; }
.camera-control-row .bmo-audio-toggle:hover { background:#a7c83e; color:var(--ink); }
.camera-control-row .bmo-audio-toggle.is-off { border-color:rgba(242,240,233,.35); color:#aab5ad; }
.camera-control-row .bmo-audio-toggle:disabled { background:transparent; cursor:not-allowed; opacity:.45; }
.camera-audio-message { color:var(--muted); flex:1 1 220px; font-size:12px; line-height:1.45; }
.camera-control-message { color:var(--muted); font-size:12px; line-height:1.45; margin:0; }
@media (max-width:700px) { .camera-control-row { align-items:stretch; flex-direction:column; } }
.station-access { display:grid; gap:8px; margin:35px 0 0 auto; max-width:280px; }.station-access label { color:#a7c83e; font:500 10px 'DM Mono',monospace; letter-spacing:.1em; }.station-access input { background:rgba(242,240,233,.55); border:1px solid rgba(24,32,29,.25); color:var(--ink); font:15px 'Space Grotesk',Arial,sans-serif; padding:12px 13px; width:100%; }.station-access input:focus { border-color:#a7c83e; outline:2px solid rgba(167,200,62,.18); }
.about-page .about-block { margin-top:45px; padding-top:35px; }
.control-page > h1 { font-size:clamp(42px,8vw,100px); max-width:none; text-align:center; white-space:nowrap; }
.about-intro { align-items:center; display:grid; gap:clamp(35px,6vw,80px); grid-template-columns:minmax(0,1fr) minmax(240px,300px); margin:0 auto; max-width:1150px; }.about-intro .eyebrow { font-size:13px; }.about-intro h1 { font-size:clamp(44px,6vw,84px); margin-left:0; margin-right:0; max-width:none; white-space:nowrap; }.about-intro .hero-copy { margin-left:0; margin-right:0; max-width:850px; }.about-portrait { background:#dfe6d4; margin:0; width:100%; }.about-portrait img { display:block; height:auto; object-fit:contain; width:100%; }
@media (max-width:700px) { .about-intro { grid-template-columns:1fr; }.about-intro h1 { white-space:normal; }.about-portrait { margin:0 auto; max-width:300px; } }
.archive-project:nth-child(7) { order:7; }.archive-project:nth-child(8) { order:8; }.archive-project:nth-child(9) { order:9; }.archive-project:nth-child(10) { order:10; }
.project-index { grid-template-rows:auto repeat(5,auto); }.project-index a:nth-of-type(1) { grid-column:1; grid-row:2; }.project-index a:nth-of-type(2) { grid-column:1; grid-row:3; }.project-index a:nth-of-type(3) { grid-column:1; grid-row:4; }.project-index a:nth-of-type(4) { grid-column:1; grid-row:5; }.project-index a:nth-of-type(5) { grid-column:1; grid-row:6; }.project-index a:nth-of-type(6) { grid-column:2; grid-row:2; }.project-index a:nth-of-type(7) { grid-column:2; grid-row:3; }.project-index a:nth-of-type(8) { grid-column:2; grid-row:4; }.project-index a:nth-of-type(9) { grid-column:2; grid-row:5; }.project-index a:nth-of-type(10) { grid-column:2; grid-row:6; }
@media (max-width:700px) { .project-index { grid-template-rows:auto; }.project-index a:nth-of-type(n) { grid-column:1; grid-row:auto; } }
.archive-project:nth-child(3) { order:6; }.archive-project:nth-child(5) { order:7; }.archive-project:nth-child(6) { order:10; }.archive-project:nth-child(7) { order:4; }.archive-project:nth-child(8) { order:8; }.archive-project:nth-child(9) { order:5; }.archive-project:nth-child(10) { order:9; }
.archive-project { padding:50px 0; }
.archive-project p { max-width:850px; }
.archive-project .bmo-feature-list { color:var(--muted); font-size:16px; line-height:1.65; margin:20px 0 0; max-width:670px; padding-left:1.5em; }.archive-project .bmo-project-note { font-size:16px; line-height:1.65; margin-top:20px; }
.hobby-section > h2 { text-align:left; }
.archive-page > h1 { max-width:none; white-space:nowrap; font-size:clamp(30px,8vw,100px); }
.contact h2 { line-height:1.08; }
.contact > div:first-child .eyebrow { margin-bottom:24px; }
.about-card .project-icon { justify-content:center; }
.about-card .project-icon img { display:block; height:260px; object-fit:contain; transform:translateY(-12px) rotate(65deg); width:260px; }
.side-menu-top { border-bottom:1px solid rgba(242,240,233,.13); padding-bottom:14px; position:relative; }
.side-menu-top .eyebrow { left:50%; margin:0; position:absolute; transform:translateX(-50%); }
.hobby-photo-collage { aspect-ratio:1 / 1; display:grid; flex:0 0 auto; gap:4px; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); height:auto; min-height:0; min-width:0; overflow:hidden; padding:4px; width:100%; }
.hobby-photo-collage img { aspect-ratio:1 / 1; display:block; height:100%; min-height:0; min-width:0; object-fit:cover; width:100%; }
.hobby-photo-collage-cell { min-height:0; min-width:0; overflow:hidden; }
.hobby-photo-collage-cell.zoomed-image img { transform:scale(1.18); }
.hobby-photo-collage-cell.panned-left img { transform:translateX(-4px) scale(1.03); }
.hobby-photo-collage-cell.panned-right img { transform:translateX(4px) scale(1.18); }
.hobby-card-body { background:inherit; position:relative; z-index:1; }
@media (max-width:700px) { .hobby-photo-collage { aspect-ratio:1 / 1; flex:0 0 auto; width:100%; } }
.video-section h2 { font-size:clamp(38px,5vw,68px); margin:0 0 35px; text-align:left; }
.video-grid { display:grid; gap:14px; grid-template-columns:repeat(3,1fr); }
.video-card { background:#dfe6d4; overflow:hidden; }
.video-card:nth-child(2) { background:#d9d3c5; }
.video-card:nth-child(3) { background:#dfe6d4; }
.video-card .video-embed { margin-top:0; max-width:none; }
.resume-button { margin-top:10px; }
@media (max-width:700px) { .video-grid { grid-template-columns:1fr; } }
.education-section h2 { font-size:clamp(38px,5vw,68px); margin:0 0 28px; text-align:left; }
.education-copy { color:var(--muted); font-size:16px; line-height:1.65; max-width:900px; }
.education-copy p { color:var(--muted); font-size:16px; line-height:1.65; margin:0 0 20px; max-width:850px; }
.coursework-list { color:var(--muted); display:grid; font-size:16px; gap:8px 40px; grid-template-columns:repeat(2,minmax(0,1fr)); line-height:1.65; list-style:disc; margin:24px 0 0; max-width:900px; padding-left:22px; }
.certifications-section h2 { font-size:clamp(38px,5vw,68px); margin:0 0 28px; text-align:left; }
.certification-image { display:block; height:auto; max-width:100%; object-fit:contain; width:auto; }
@media (max-width:700px) { .coursework-list { grid-template-columns:1fr; } }
.cloud-run-page { margin:0 auto; max-width:1100px; text-align:left; }.cloud-run-page h1 { max-width:none; }.cloud-run-intro { color:var(--muted); font-size:18px; line-height:1.6; margin:0 0 34px; max-width:680px; }.cloud-run-game { background:var(--ink); box-shadow:0 18px 45px rgba(24,32,29,.16); padding:18px; }.cloud-run-status { color:var(--paper); display:flex; font:500 12px 'DM Mono',monospace; justify-content:space-between; letter-spacing:.1em; margin:0 2px 14px; }.cloud-run-status strong { color:var(--lime); font-size:16px; margin-left:7px; }.cloud-run-game canvas { -webkit-touch-callout:none; -webkit-user-select:none; border:1px solid rgba(242,240,233,.24); cursor:pointer; display:block; height:auto; max-width:100%; touch-action:none; user-select:none; width:100%; }.cloud-run-actions { color:#aab5ad; display:flex; justify-content:center; padding:16px 2px 2px; text-align:center; }.cloud-run-actions p { font:500 11px 'DM Mono',monospace; letter-spacing:.05em; margin:0; }.cloud-run-note { color:var(--muted); font-size:13px; line-height:1.5; margin:20px 0 0; }@media (max-width:700px) { .cloud-run-page { padding-left:5vw; padding-right:5vw; }.cloud-run-page h1 { font-size:clamp(46px,16vw,74px); }.cloud-run-intro { font-size:16px; }.cloud-run-game { margin-left:-1vw; margin-right:-1vw; padding:12px; }.cloud-run-status { font-size:10px; }.cloud-run-status strong { font-size:14px; } }
.cloud-run-title { color:var(--ink); font-size:clamp(28px,4vw,44px); line-height:1.05; margin:18px 0 10px; }.cloud-run-project { border-top:1px solid var(--line); margin:58px auto 0; max-width:820px; padding-top:38px; }.cloud-run-project > .eyebrow { font-size:10px; }.cloud-run-project h2 { font-size:clamp(27px,3.5vw,42px); line-height:1.08; margin:10px 0 0; max-width:590px; }.cloud-run-photo-grid { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:22px; }.cloud-run-photo-grid figure { background:#dfe6d4; margin:0; overflow:hidden; }.cloud-run-photo-grid figure:first-child { grid-column:1 / -1; }.cloud-run-photo-grid img { aspect-ratio:4 / 3; display:block; object-fit:cover; width:100%; }.cloud-run-photo-grid figure:first-child img { aspect-ratio:2.15 / 1; }.cloud-run-photo-grid figcaption { color:var(--muted); font-size:12px; line-height:1.45; padding:11px 13px 13px; }@media (max-width:700px) { .cloud-run-title { margin-top:14px; }.cloud-run-project { margin-top:44px; padding-top:32px; }.cloud-run-photo-grid { grid-template-columns:1fr; }.cloud-run-photo-grid figure:first-child { grid-column:auto; }.cloud-run-photo-grid figure:first-child img { aspect-ratio:4 / 3; }.cloud-run-photo-grid figcaption { font-size:12px; } }

/* CHRISCADE interactive hardware demo */
.chriscade-demo { border-top:1px solid var(--line); margin:70px auto 0; max-width:820px; padding-top:42px; }.chriscade-demo > .eyebrow { font-size:10px; }.chriscade-demo h2 { font-size:clamp(32px,4.7vw,54px); line-height:1.02; margin:10px 0 12px; }.chriscade-demo h2 em { color:#84a52d; font-style:normal; }.chriscade-demo-intro { color:var(--muted); font-size:16px; line-height:1.6; margin:0; max-width:660px; }.chriscade-interactive { margin-top:28px; text-align:center; }.chriscade-handheld { container-type:inline-size; display:inline-block; max-width:680px; position:relative; touch-action:manipulation; user-select:none; width:min(100%,680px); }.chriscade-handheld > img { display:block; height:auto; pointer-events:none; width:100%; }.chriscade-screen { background:#070b19; color:#eef8ff; font-family:'DM Mono',monospace; font-size:clamp(5.5px,.92vw,8px); height:25.55%; left:23.05%; overflow:hidden; position:absolute; text-align:left; top:16.17%; width:52.52%; }.chriscade-screen::after { background:repeating-linear-gradient(to bottom,transparent 0,transparent 3px,rgba(4,10,30,.16) 4px); content:""; inset:0; pointer-events:none; position:absolute; z-index:10; }.chriscade-screen button { font:inherit; }.chriscade-screen-shell { background:radial-gradient(circle at 72% 20%,rgba(37,204,239,.12),transparent 28%),linear-gradient(180deg,#0b0a28 0%,#111438 68%,#071127 100%); box-sizing:border-box; height:100%; overflow:hidden; padding:3.8% 4.5%; position:relative; }.chriscade-screen-shell::before { background:linear-gradient(rgba(56,75,159,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(56,75,159,.16) 1px,transparent 1px); background-size:8% 10%; bottom:0; content:""; height:35%; left:0; opacity:.6; position:absolute; right:0; transform:perspective(40px) rotateX(28deg); transform-origin:bottom; }.chriscade-screen-header { align-items:center; border-bottom:1px solid #35daf1; color:#a7edff; display:flex; font-size:.82em; justify-content:space-between; letter-spacing:.08em; padding:0 1% 2.3%; position:relative; z-index:1; }.chriscade-screen-header span:last-child { color:#9bcf3d; }.chriscade-boot { align-items:center; display:flex; flex-direction:column; height:calc(100% - 12%); justify-content:center; position:relative; text-align:center; z-index:1; }.chriscade-boot-logo { color:#52e9ff; font-family:'Space Grotesk',sans-serif; font-size:3.5em; font-weight:700; letter-spacing:-.08em; line-height:.9; margin:.08em 0; text-shadow:.09em .09em 0 #701064,-.04em 0 0 #f43abb; }.chriscade-boot-subtitle { color:#b4bde7; font-size:1em; letter-spacing:.17em; margin:.8em 0 0; }.chriscade-boot-prompt { animation:chriscadeBlink 1.25s steps(1,end) infinite; background:#110e39; border-bottom:1px solid #ed3bc5; border-top:1px solid #43e4f3; color:#f2f7ff; font-size:.95em; letter-spacing:.06em; margin:2.2em 0 0; padding:.85em 1.25em; }.chriscade-terminal { color:#62f0b6; font-size:.9em; line-height:1.65; margin:auto; position:relative; width:90%; z-index:1; }.chriscade-terminal strong { color:#eef8ff; display:block; font-size:1.25em; margin-bottom:.55em; }.chriscade-terminal span { animation:chriscadeTerminalLine .2s both; display:block; opacity:0; }.chriscade-terminal span:nth-child(3) { animation-delay:.2s; }.chriscade-terminal span:nth-child(4) { animation-delay:.4s; }.chriscade-terminal span:nth-child(5) { animation-delay:.6s; }.chriscade-launcher { height:calc(100% - 17%); padding-top:3%; position:relative; z-index:1; }.chriscade-launcher-card { align-items:center; background:#101a3c; border:1px solid #2a386c; border-radius:1.2em; color:#bcd4df; cursor:pointer; display:grid; gap:3%; grid-template-columns:19% 1fr 7%; margin:2.5% auto 0; min-height:20%; padding:2.5% 4%; text-align:left; transition:min-height .15s ease,background .15s ease,border-color .15s ease,width .15s ease; width:83%; }.chriscade-launcher-card.is-selected { background:#132c47; border-color:#42def1; min-height:32%; width:92%; }.chriscade-launcher-card:nth-child(2).is-selected { background:#30204d; border-color:#f24bc9; }.chriscade-launcher-card:nth-child(3).is-selected { background:#1e343c; border-color:#a5d741; }.chriscade-card-icon { align-items:center; aspect-ratio:1; background:#09142f; border:1px solid #42def1; border-radius:50%; color:#f24bc9; display:flex; font-size:1.45em; justify-content:center; }.chriscade-launcher-card:nth-child(2) .chriscade-card-icon { border-color:#f24bc9; }.chriscade-launcher-card:nth-child(3) .chriscade-card-icon { border-color:#a5d741; color:#a5d741; }.chriscade-card-copy strong { color:#eef8ff; display:block; font-size:1.1em; letter-spacing:.035em; }.chriscade-card-copy small { display:none; font-size:.68em; line-height:1.25; margin-top:.45em; }.chriscade-launcher-card.is-selected .chriscade-card-copy small { display:block; }.chriscade-card-arrow { color:#fff; font-size:1.6em; opacity:0; }.chriscade-launcher-card.is-selected .chriscade-card-arrow { opacity:1; }.chriscade-screen-footer { bottom:2.5%; color:#91a7bd; display:flex; font-size:.68em; justify-content:space-between; left:5%; letter-spacing:.025em; position:absolute; right:5%; z-index:2; }.chriscade-menu-list { display:grid; gap:3%; height:72%; padding:4% 3% 0; position:relative; z-index:1; }.chriscade-menu-row { align-items:center; background:#101a3c; border:1px solid #293867; border-radius:.9em; color:#bcd4df; display:flex; justify-content:space-between; min-height:0; padding:2% 5%; }.chriscade-menu-row.is-selected { background:#173247; border-color:#45dff1; color:#fff; }.chriscade-menu-row small { color:#9bcf3d; font-size:.72em; }.chriscade-message-panel { align-items:center; display:flex; flex-direction:column; height:72%; justify-content:center; position:relative; text-align:center; z-index:1; }.chriscade-message-panel strong { color:#fff; font-size:1.5em; }.chriscade-message-panel p { color:#a5bbca; line-height:1.5; margin:1em auto 0; max-width:80%; }.chriscade-screen-action { background:#122e43; border:1px solid #44dff2; border-radius:999px; color:#fff; cursor:pointer; margin-top:1.2em; padding:.65em 1.4em; }.chriscade-input-panel { display:flex; flex-direction:column; height:75%; padding-top:3%; position:relative; z-index:1; }.chriscade-input-last { color:#f4f8ff; font-size:1em; margin:0 0 3%; text-align:center; }.chriscade-input-last strong { color:#f24bc9; }.chriscade-input-grid { display:grid; flex:1; gap:3%; grid-template-columns:repeat(4,minmax(0,1fr)); }.chriscade-input-key { align-items:center; background:#111a39; border:1px solid #2d3a68; border-radius:.65em; color:#8598ad; display:flex; font-size:.72em; justify-content:center; min-width:0; padding:2%; }.chriscade-input-key.is-tested { border-color:#94c83e; color:#b9ed63; }.chriscade-input-key.is-active { background:#4c1d58; border-color:#f34acc; color:#fff; transform:scale(1.04); }.chriscade-control { -webkit-tap-highlight-color:transparent; background:transparent; border:0; border-radius:50%; cursor:pointer; padding:0; position:absolute; touch-action:manipulation; transform:translate(-50%,-50%); z-index:5; }.chriscade-control::after { border:2px solid transparent; border-radius:inherit; content:""; inset:4px; position:absolute; transition:border-color .1s,background-color .1s,box-shadow .1s; }.chriscade-control:hover::after,.chriscade-control:focus-visible::after { border-color:rgba(216,255,112,.8); box-shadow:0 0 0 3px rgba(122,157,37,.2); }.chriscade-control:focus-visible { outline:none; }.chriscade-control.is-pressed::after { background:rgba(200,255,83,.25); border-color:#d0ff62; box-shadow:0 0 14px rgba(182,239,59,.75); }.chriscade-power { height:auto; left:49%; top:48%; width:9%; aspect-ratio:1; }.chriscade-up,.chriscade-down,.chriscade-left,.chriscade-right { height:auto; width:16%; aspect-ratio:1; }.chriscade-up { left:27.5%; top:58%; }.chriscade-down { left:27.5%; top:69%; }.chriscade-left { left:19%; top:64%; }.chriscade-right { left:36%; top:64%; }.chriscade-x,.chriscade-y,.chriscade-a,.chriscade-b { height:auto; width:12%; aspect-ratio:1; }.chriscade-x { left:72.8%; top:55.4%; }.chriscade-y { left:60.6%; top:64.2%; }.chriscade-a { left:84.6%; top:64.5%; }.chriscade-b { left:73.1%; top:72.6%; }.chriscade-select,.chriscade-start { height:auto; top:88.2%; width:10%; aspect-ratio:1; }.chriscade-select { left:40.5%; }.chriscade-start { left:58.2%; }.chriscade-instructions { color:var(--muted); font-size:13px; line-height:1.55; margin:14px auto 0; max-width:610px; }.chriscade-instructions strong { color:var(--ink); }.visually-hidden { height:1px!important; margin:-1px!important; overflow:hidden!important; padding:0!important; position:absolute!important; width:1px!important; clip:rect(0 0 0 0)!important; white-space:nowrap!important; }
@keyframes chriscadeBlink { 0%,68% { opacity:1; } 69%,100% { opacity:.25; } }
@keyframes chriscadeTerminalLine { to { opacity:1; } }
@media (max-width:700px) { .chriscade-demo { margin-top:52px; padding-top:34px; }.chriscade-demo-intro { font-size:15px; }.chriscade-interactive { margin-top:20px; }.chriscade-handheld { width:min(96vw,520px); }.chriscade-instructions { font-size:11px; max-width:92%; }.chriscade-control:hover::after { border-color:transparent; box-shadow:none; } }
@media (prefers-reduced-motion:reduce) { .chriscade-boot-prompt,.chriscade-terminal span { animation:none; opacity:1; }.chriscade-launcher-card,.chriscade-control::after { transition:none; } }

/* Firmware-accurate CHRISCADE screen sequence and launcher geometry. */
.chriscade-screen { image-rendering:pixelated; }
.chriscade-terminal-boot { background:linear-gradient(#000b07,#00140d); box-sizing:border-box; color:#24d47d; height:100%; overflow:hidden; position:relative; }
.chriscade-matrix-rain { inset:0; opacity:.23; overflow:hidden; position:absolute; }
.chriscade-matrix-rain i { animation:chriscadeMatrixFall .55s linear infinite; color:#48f59b; font-style:normal; left:calc(var(--column) * 4.2%); position:absolute; text-shadow:0 0 4px #28ff91; top:-12%; }
.chriscade-secure-title { background:#001e18; border-bottom:2px solid #00d278; box-sizing:border-box; color:#5affb0; font-size:1.02em; height:12%; left:2.2%; letter-spacing:.035em; padding-top:2.2%; position:absolute; right:2.2%; text-align:center; top:2%; }
.chriscade-boot-log { left:2.5%; position:absolute; right:2.5%; top:14%; }
.chriscade-boot-log span { animation:chriscadeLogReveal .01s both; background:#00120f; box-sizing:border-box; display:block; font-size:.76em; height:8.35%; line-height:1.55; margin-top:1.2%; opacity:0; padding-left:1.2%; }
.chriscade-boot-log span:nth-child(1) { animation-delay:.02s; }
.chriscade-boot-log span:nth-child(2) { animation-delay:.08s; }
.chriscade-boot-log span:nth-child(3) { animation-delay:.14s; }
.chriscade-boot-log span:nth-child(4) { animation-delay:.20s; }
.chriscade-boot-log span:nth-child(5) { animation-delay:.26s; }
.chriscade-boot-log span:nth-child(6) { animation-delay:.32s; }
.chriscade-boot-log span:nth-child(7) { animation-delay:.38s; }
.chriscade-boot-log span:nth-child(8) { animation-delay:.44s; }
.chriscade-decrypt { bottom:4.5%; color:#36e896; font-size:.72em; left:3.5%; position:absolute; right:3.5%; text-align:center; }
.chriscade-decrypt > div { background:#002319; border-radius:1px; height:7px; margin-top:2.2%; overflow:hidden; padding:2px; }
.chriscade-decrypt > div i { animation:chriscadeDecrypt .47s linear forwards; background:#00f587; display:block; height:100%; width:0; }
.chriscade-access-boot { align-items:center; animation:chriscadeAccessFlash .18s steps(4,end) both; background:#004626; color:#96ffc3; display:flex; flex-direction:column; height:100%; justify-content:center; text-align:center; }
.chriscade-access-boot strong { display:block; font:700 3.4em/1 'DM Mono',monospace; letter-spacing:.03em; }
.chriscade-access-boot strong:nth-child(2) { color:#00ff87; font-size:2.7em; margin-top:.15em; }
.chriscade-access-boot span { color:#64ffb4; font-size:.95em; margin-top:1.5em; }
.chriscade-logo-scene { background:linear-gradient(180deg,#080719 0%,#0b0928 64%,#10133d 100%); height:100%; overflow:hidden; position:relative; }
.chriscade-logo-scene::after { background:repeating-linear-gradient(to bottom,transparent 0,transparent 4px,rgba(3,3,14,.65) 5px); content:""; inset:11% 0 0; pointer-events:none; position:absolute; z-index:8; }
.chriscade-logo-top { background:#0c0928; border-bottom:2px solid #14d2f5; box-sizing:border-box; color:#a5ebff; font-size:.73em; height:10%; letter-spacing:.035em; padding-top:2.2%; position:relative; text-align:center; z-index:4; }
.chriscade-logo-stars { inset:10% 0 34%; overflow:hidden; position:absolute; }
.chriscade-logo-stars i { animation:chriscadeStarDrift calc(3.2s / var(--speed)) linear var(--delay) infinite; background:#4b5096; height:2px; left:var(--x); position:absolute; top:var(--y); width:2px; }
.chriscade-logo-stars i:nth-child(5n) { background:#82faff; box-shadow:0 0 4px #68edff; width:3px; }
.chriscade-logo-grid { background:repeating-linear-gradient(to bottom,rgba(35,45,105,.8) 0 1px,transparent 1px 11px),repeating-linear-gradient(72deg,transparent 0 27px,rgba(35,45,105,.8) 28px 29px); bottom:0; height:35%; left:-15%; position:absolute; right:-15%; transform:perspective(70px) rotateX(35deg); transform-origin:bottom; }
.chriscade-logo-lockup { animation:chriscadeLogoBob .4s steps(2,end) infinite; left:4%; position:absolute; right:4%; text-align:center; top:29%; z-index:3; }
.chriscade-logo-lockup strong { background:linear-gradient(#55faff,#fff 45%,#ff37c5); -webkit-background-clip:text; background-clip:text; color:transparent; display:block; font:700 3.35em/.92 'DM Mono',monospace; letter-spacing:-.11em; margin:0; text-shadow:.09em .09em 0 #50085f; }
.chriscade-logo-lockup i { display:block; height:2px; margin:.55em auto 0; width:74%; }
.chriscade-logo-lockup i:nth-of-type(1) { background:#1ef0ff; }
.chriscade-logo-lockup i:nth-of-type(2) { background:#f028c6; margin-top:3px; width:61%; }
.chriscade-logo-lockup span { color:#afbfff; display:block; font-size:.9em; letter-spacing:.15em; margin-top:1.1em; }
.chriscade-logo-spark { animation:chriscadeSpark 1.58s linear infinite; background:#96faff; box-shadow:13px 0 0 -1px #fff; height:2px; left:7%; position:absolute; top:68%; width:12px; z-index:3; }
.chriscade-start-prompt { animation:chriscadeBlink 1.28s steps(16,end) infinite; background:#0d0c30; border-bottom:1px solid #eb32c8; border-top:1px solid #46e1ff; bottom:7%; box-sizing:border-box; color:#e6f5ff; font-size:.92em; left:14%; letter-spacing:.025em; padding:3.8% 1%; position:absolute; right:14%; text-align:center; z-index:4; }
.chriscade-reveal-mask { animation:chriscadeReveal .3s steps(15,end) forwards; background:repeating-linear-gradient(to bottom,#02030c 0 7px,transparent 7px 16px); inset:0; position:absolute; z-index:7; }
.chriscade-ui-shell { background:linear-gradient(180deg,#040516,#080722 52%,#0b1330); padding:0; }
.chriscade-ui-shell::before { display:none; }
.chriscade-ui-orbit { height:44%; overflow:hidden; pointer-events:none; position:absolute; right:0; top:12%; width:30%; }
.chriscade-ui-orbit i { border:1px solid #f537af; border-radius:50%; height:80%; position:absolute; right:-45%; top:0; width:106%; }
.chriscade-ui-orbit i:nth-child(2) { border-color:#2de1eb; height:62%; right:-30%; top:9%; width:82%; }
.chriscade-ui-orbit i:nth-child(3) { border-color:#0d102d; height:43%; right:-15%; top:18%; width:57%; }
.chriscade-ui-lines { border-top:1px solid #2de1eb; border-right:1px solid transparent; bottom:15%; height:11%; left:-2%; pointer-events:none; position:absolute; transform:skewY(-21deg); width:34%; }
.chriscade-ui-lines::after { border-top:1px solid #f537af; content:""; left:0; position:absolute; top:45%; width:143%; }
.chriscade-ui-stars { background-image:radial-gradient(circle,#f537af 0 1px,transparent 1.5px),radial-gradient(circle,#2de1eb 0 1px,transparent 1.5px),radial-gradient(circle,#465c9b 0 1px,transparent 1.5px); background-position:6% 23%,43% 48%,82% 35%; background-size:39px 31px,47px 37px,31px 43px; inset:18% 0 13%; opacity:.85; pointer-events:none; position:absolute; }
.chriscade-ui-header { height:17%; left:0; position:absolute; right:0; top:0; z-index:3; }
.chriscade-ui-brand { height:42%; left:3.2%; position:absolute; top:8%; width:48%; }
.chriscade-ui-brand span,.chriscade-ui-brand strong { font-size:1.34em; left:0; letter-spacing:-.07em; position:absolute; top:0; }
.chriscade-ui-brand span:first-child { color:#f537af; left:2px; top:2px; }
.chriscade-ui-brand span:nth-child(2) { color:#2de1eb; left:-2px; top:-1px; }
.chriscade-ui-brand strong { color:#fff; }
.chriscade-ui-section { color:#f537af; font-size:.66em; left:4.4%; letter-spacing:.02em; position:absolute; top:66%; }
.chriscade-ui-section i { background:#2de1eb; border-radius:50%; display:inline-block; height:4px; margin-right:5px; vertical-align:middle; width:4px; }
.chriscade-battery { align-items:center; background:#0a1227; border:1px solid #69ffa5; border-radius:999px; color:#69ffa5; display:flex; font-size:.72em; gap:5px; padding:2.2% 3%; position:absolute; right:3.7%; top:7%; }
.chriscade-battery i { background:#69ffa5; border-radius:50%; height:5px; width:5px; }
.chriscade-launcher { height:100%; position:relative; z-index:2; }
.chriscade-launcher-card { background:#0d102d; border:1px solid #2b3356; border-radius:14px; box-sizing:border-box; color:#bed7e1; display:grid; grid-template-columns:16% 1fr 7%; height:12.9%; left:50%; margin:0; min-height:0; padding:1.2% 4%; position:absolute; top:var(--card-y); transform:translateX(-50%); transition:height .16s ease,top .16s ease,width .16s ease,background .16s ease,border-color .16s ease; width:78.125%; }
.chriscade-launcher-card.is-selected { background:#102c3f; border-color:#2de1eb; border-radius:20px; box-shadow:3px 3px 0 #071430; height:31.7%; min-height:0; width:89.375%; }
.chriscade-launcher-card:nth-child(2).is-selected { background:#2e1949; border-color:#f537af; }
.chriscade-launcher-card:nth-child(3).is-selected { background:#223343; border-color:#69ffa5; }
.chriscade-card-icon { align-self:center; aspect-ratio:1; background:#09142f; border:1px solid #2de1eb; border-radius:50%; display:block; font-size:inherit; height:auto; justify-self:start; position:relative; width:58%; }
.chriscade-launcher-card.is-selected .chriscade-card-icon { width:94%; }
.chriscade-card-icon--apps { border-color:#f537af; }
.chriscade-card-icon--settings { border-color:#69ffa5; }
.chriscade-card-icon--game::before { background:#bee8f0; border-radius:4px; content:""; height:38%; left:14%; position:absolute; top:31%; width:72%; }
.chriscade-card-icon--game i:first-child::before,.chriscade-card-icon--game i:first-child::after { background:#0f2641; content:""; left:31%; position:absolute; top:44%; }
.chriscade-card-icon--game i:first-child::before { height:12%; transform:translate(-50%,-50%); width:30%; }
.chriscade-card-icon--game i:first-child::after { height:30%; transform:translate(-50%,-50%); width:12%; }
.chriscade-card-icon--game i:nth-child(2),.chriscade-card-icon--game i:nth-child(3) { background:#f537af; border-radius:50%; height:9%; position:absolute; right:27%; top:41%; width:9%; }
.chriscade-card-icon--game i:nth-child(3) { background:#2de1eb; right:18%; top:55%; }
.chriscade-card-icon--apps i { border-radius:50%; height:16%; position:absolute; width:16%; }
.chriscade-card-icon--apps i:nth-child(1) { background:#2de1eb; left:24%; top:24%; }
.chriscade-card-icon--apps i:nth-child(2) { background:#f537af; right:24%; top:24%; }
.chriscade-card-icon--apps i:nth-child(3) { background:#69ffa5; bottom:24%; left:24%; }
.chriscade-card-icon--apps i:nth-child(4) { border:1px solid #ffbe37; bottom:20%; right:20%; }
.chriscade-card-icon--settings::before,.chriscade-card-icon--settings::after { background:#2de1eb; content:""; left:18%; position:absolute; top:48%; width:64%; }
.chriscade-card-icon--settings::before { height:1px; }
.chriscade-card-icon--settings::after { height:64%; left:48%; top:18%; width:1px; }
.chriscade-card-icon--settings i:first-child { border:1px solid #69ffa5; border-radius:50%; height:35%; left:31%; position:absolute; top:31%; width:35%; }
.chriscade-card-icon--settings i:nth-child(2) { background:#f537af; border-radius:50%; height:15%; left:42%; position:absolute; top:42%; width:15%; }
.chriscade-card-copy { align-self:center; min-width:0; }
.chriscade-card-copy strong { color:#bed7e1; font-size:.76em; line-height:1; white-space:nowrap; }
.chriscade-launcher-card.is-selected .chriscade-card-copy strong { color:#fff; font-size:1.14em; }
.chriscade-card-copy small { color:#b9dce6; display:none; font-size:.62em; line-height:1.1; margin-top:.7em; white-space:nowrap; }
.chriscade-card-copy em { background:#082633; border-radius:999px; color:#2de1eb; display:none; font-size:.55em; font-style:normal; margin-top:.7em; padding:.35em .8em; width:max-content; }
.chriscade-launcher-card:nth-child(2) .chriscade-card-copy em { color:#f537af; }
.chriscade-launcher-card:nth-child(3) .chriscade-card-copy em { color:#69ffa5; }
.chriscade-launcher-card.is-selected .chriscade-card-copy small,.chriscade-launcher-card.is-selected .chriscade-card-copy em { display:block; }
.chriscade-card-arrow { border-bottom:5px solid transparent; border-left:7px solid #fff; border-top:5px solid transparent; height:0; opacity:0; width:0; }
.chriscade-launcher-card.is-selected .chriscade-card-arrow { opacity:1; }
.chriscade-ui-footer { align-items:center; background:#0d102d; border:1px solid #232f52; border-radius:999px; bottom:1.7%; box-sizing:border-box; color:#afd2df; display:flex; flex-direction:column; font-size:.62em; height:10.8%; justify-content:center; left:3.75%; position:absolute; right:3.75%; text-align:center; z-index:3; }
.chriscade-ui-footer > i { background:#2de1eb; border-radius:50%; height:4px; left:3.5%; position:absolute; top:38%; width:4px; }
.chriscade-ui-footer > i:last-child { background:#f537af; left:auto; right:3.5%; }
.chriscade-ui-footer strong { font-weight:500; line-height:1; }
.chriscade-ui-footer span { color:#5a7d9b; font-size:.86em; line-height:1; margin-top:3px; }
.chriscade-menu-list { bottom:14%; gap:2%; height:auto; left:5%; overflow:hidden; padding:0; position:absolute; right:5%; top:20%; }
.chriscade-menu-row { min-height:14%; padding:1.2% 5%; }
.chriscade-message-panel { height:auto; inset:20% 5% 14%; position:absolute; }
.chriscade-settings-panel { bottom:22%; display:flex; flex-direction:column; gap:4%; left:5%; position:absolute; right:5%; top:20%; z-index:1; }
.chriscade-settings-tabs { display:grid; gap:2%; grid-template-columns:repeat(4,minmax(0,1fr)); }
.chriscade-settings-tab { background:#101a3c; border:1px solid #2d3a68; border-radius:.55em; color:#91a7bd; cursor:pointer; font:inherit; font-size:.68em; min-width:0; padding:2.5% 1%; }
.chriscade-settings-tab.is-active { background:#1e343c; border-color:#69ffa5; color:#fff; }
.chriscade-settings-content { background:#142b3c; border:1px solid #69ffa5; border-radius:1em; box-shadow:3px 3px 0 #071430; display:flex; flex:1; flex-direction:column; justify-content:center; min-height:0; padding:3% 6%; }
.chriscade-settings-row { align-items:center; border-top:1px solid rgba(169,215,232,.24); color:#b9dce6; display:flex; font-size:.74em; justify-content:space-between; padding:2.5% 0; }
.chriscade-settings-row strong { color:#b9ed63; font-size:.95em; font-weight:500; }
.chriscade-screen-action { margin-top:.75em; }
.chriscade-screen::after { z-index:20; }

@keyframes chriscadeMatrixFall { from { transform:translateY(-10px); } to { transform:translateY(190px); } }
@keyframes chriscadeLogReveal { to { opacity:1; } }
@keyframes chriscadeDecrypt { to { width:100%; } }
@keyframes chriscadeAccessFlash { 0%,50% { background:#004626; } 25%,75%,100% { background:#000c09; } }
@keyframes chriscadeStarDrift { from { transform:translateX(0); } to { transform:translateX(42px); } }
@keyframes chriscadeLogoBob { 0% { transform:translateY(0); } 50%,100% { transform:translateY(1px); } }
@keyframes chriscadeSpark { from { transform:translateX(0); } to { transform:translateX(230px); } }
@keyframes chriscadeReveal { from { clip-path:inset(0 0 0 0); opacity:1; } to { clip-path:inset(100% 0 0 0); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .chriscade-matrix-rain i,.chriscade-decrypt > div i,.chriscade-access-boot,.chriscade-logo-stars i,.chriscade-logo-lockup,.chriscade-logo-spark,.chriscade-reveal-mask { animation-duration:.01ms; animation-iteration-count:1; }.chriscade-boot-log span { animation-delay:0s; } }

/* Brighter, more visibly animated firmware start screen. */
.chriscade-logo-scene { animation:chriscadeSkyPulse 4.2s ease-in-out infinite; background:radial-gradient(circle at 50% 46%,rgba(62,31,145,.78) 0,rgba(19,10,74,.8) 34%,transparent 65%),linear-gradient(180deg,#06051f 0%,#120936 58%,#171650 100%); }
.chriscade-logo-scene::before { animation:chriscadeScanGlow 2.8s linear infinite; background:linear-gradient(100deg,transparent 25%,rgba(45,225,235,.03) 43%,rgba(99,246,255,.32) 50%,rgba(245,55,175,.08) 58%,transparent 74%); content:""; inset:10% -45% 0; pointer-events:none; position:absolute; transform:translateX(-38%); z-index:2; }
.chriscade-logo-top { background:linear-gradient(90deg,#090627,#171052,#090627); border-bottom-color:#38efff; box-shadow:0 2px 8px rgba(45,225,235,.7); color:#d9fbff; text-shadow:0 0 4px #2de1eb; }
.chriscade-logo-stars i { animation:chriscadeStarFly var(--duration) linear var(--delay) infinite,chriscadeStarTwinkle var(--twinkle) steps(2,end) var(--delay) infinite; background:#98a5ff; box-shadow:0 0 4px currentColor; opacity:.8; }
.chriscade-logo-stars i:nth-child(3n) { color:#f537af; height:3px; width:3px; }
.chriscade-logo-stars i:nth-child(5n) { background:#d8fdff; color:#2de1eb; box-shadow:0 0 7px 2px #2de1eb; height:3px; width:4px; }
.chriscade-logo-stars i:nth-child(7n) { background:#ff73d2; box-shadow:0 0 6px 1px #f537af; }
.chriscade-logo-grid { animation:chriscadeGridFlow 1.5s linear infinite,chriscadeGridGlow 2.6s ease-in-out infinite; background:repeating-linear-gradient(to bottom,rgba(72,103,220,.88) 0 1px,transparent 1px 11px),repeating-linear-gradient(72deg,transparent 0 27px,rgba(41,225,235,.72) 28px 29px); box-shadow:inset 0 14px 20px rgba(245,55,175,.18); }
.chriscade-logo-lockup { animation:chriscadeLogoAlive 1.8s steps(18,end) infinite; filter:drop-shadow(0 0 5px rgba(45,225,235,.72)); }
.chriscade-logo-lockup strong { background:linear-gradient(180deg,#9fffff 0%,#fff 34%,#ff88dd 66%,#f537af 100%); -webkit-background-clip:text; background-clip:text; filter:saturate(1.35); text-shadow:.09em .09em 0 #650872,-.04em 0 0 #2de1eb,0 0 12px rgba(245,55,175,.7); }
.chriscade-logo-lockup i:nth-of-type(1) { animation:chriscadeBarPulse 1.05s ease-in-out infinite; background:#4ff6ff; box-shadow:0 0 8px #2de1eb; }
.chriscade-logo-lockup i:nth-of-type(2) { animation:chriscadeBarPulse 1.05s ease-in-out -.52s infinite; background:#ff3ac7; box-shadow:0 0 8px #f537af; }
.chriscade-logo-lockup span { color:#d6d9ff; text-shadow:0 0 5px #7e65ff; }
.chriscade-logo-spark { animation:chriscadeSpark 1.25s linear infinite; background:#fff; box-shadow:-9px 0 0 -1px #2de1eb,9px 0 0 -1px #fff,15px 0 7px #f537af,0 0 9px 2px #2de1eb; height:3px; width:15px; }
.chriscade-start-prompt { background:linear-gradient(90deg,rgba(13,12,48,.72),rgba(53,20,91,.96),rgba(13,12,48,.72)); box-shadow:0 0 10px rgba(45,225,235,.3); color:#fff; text-shadow:0 0 5px #2de1eb; }
.chriscade-game-canvas { background:#05051a; display:block; height:100%; image-rendering:pixelated; touch-action:none; width:100%; }

@keyframes chriscadeSkyPulse { 0%,100% { filter:saturate(1) brightness(1); } 50% { filter:saturate(1.3) brightness(1.12); } }
@keyframes chriscadeScanGlow { from { transform:translateX(-38%); } to { transform:translateX(42%); } }
@keyframes chriscadeStarFly { from { transform:translateX(-18px); } to { transform:translateX(48px); } }
@keyframes chriscadeStarTwinkle { 0%,100% { opacity:.28; } 45%,65% { opacity:1; } }
@keyframes chriscadeGridFlow { from { background-position:0 0,0 0; } to { background-position:0 11px,29px 0; } }
@keyframes chriscadeGridGlow { 0%,100% { opacity:.62; } 50% { opacity:1; } }
@keyframes chriscadeLogoAlive { 0%,100% { transform:translateY(0) scale(1); } 45% { transform:translateY(-1px) scale(1.012); } 50% { transform:translate(1px,-1px) scale(1.012); } 54% { transform:translate(-1px,0) scale(1.006); } }
@keyframes chriscadeBarPulse { 0%,100% { opacity:.55; transform:scaleX(.92); } 50% { opacity:1; transform:scaleX(1); } }

@media (prefers-reduced-motion:reduce) { .chriscade-logo-scene,.chriscade-logo-scene::before,.chriscade-logo-stars i,.chriscade-logo-grid,.chriscade-logo-lockup,.chriscade-logo-lockup i,.chriscade-logo-spark { animation:none; } }

/* Keep the handheld interface readable while preserving its pixel-console feel. */
.chriscade-screen { font-size:clamp(10px,1.15vw,14px); }

.chriscade-off-screen { background:#02040a; height:100%; width:100%; }
.chriscade-power-prompt { color:rgba(13,31,27,.82); font:500 clamp(12px,1.25vw,16px) 'DM Mono',monospace; left:49%; letter-spacing:.045em; opacity:0; pointer-events:none; position:absolute; text-align:center; top:52%; transform:translateX(-50%); transition:opacity .2s ease; white-space:nowrap; width:56%; }
.chriscade-power-prompt.is-visible { opacity:1; }

/* Keep the start prompt clear of the floor grid now that the spark is gone. */
.chriscade-start-prompt { bottom:7%; }

/* App-library screens: designed to fit the actual handheld display without covering its header or footer. */
.chriscade-app-panel { bottom:20%; left:5%; position:absolute; right:5%; top:20%; z-index:2; }
.chriscade-app-title { align-items:center; color:#bcdbe7; display:flex; font-size:.77em; justify-content:space-between; letter-spacing:.035em; margin:0 1% 3%; }
.chriscade-app-title strong { color:#f4fbff; font-size:1.15em; }
.chriscade-app-title span { color:#a9ff65; font-size:.78em; }
.chriscade-draw-save { background:#101a3c; border:1px solid #69ffa5; border-radius:.45em; color:#a9ff65; cursor:pointer; font:inherit; font-size:.62em; padding:.25em .5em; }
.chriscade-draw-canvas { background:#fff; border:1px solid #42def1; box-sizing:border-box; display:block; height:66%; image-rendering:pixelated; touch-action:none; width:100%; }
.chriscade-draw-toolbar { align-items:center; display:flex; gap:3%; height:24%; justify-content:center; margin-top:3%; }
.chriscade-draw-toolbar button,.chriscade-app-actions button,.chriscade-calc-grid button,.chriscade-time-tabs button,.chriscade-metro-face button { background:#101a3c; border:1px solid #384779; border-radius:.45em; color:#e8f7ff; cursor:pointer; font:inherit; font-size:.72em; min-width:0; padding:.65em .75em; }
.chriscade-draw-toolbar button:not(.chriscade-color-swatch) { color:#b9ed63; }
.chriscade-color-swatch { background:var(--swatch)!important; border-color:rgba(255,255,255,.55)!important; border-radius:50%!important; box-shadow:inset 0 0 0 1px rgba(0,0,0,.32); height:1.65em; padding:0!important; width:1.65em; }
.chriscade-color-swatch.is-active { outline:2px solid #fff; outline-offset:2px; }
.chriscade-calc-display { align-items:center; background:#06142b; border:1px solid #42def1; box-sizing:border-box; color:#f3fcff; display:flex; font-family:'DM Mono',monospace; font-size:1.7em; justify-content:flex-end; letter-spacing:-.04em; overflow:hidden; padding:4% 5%; text-align:right; width:100%; }
.chriscade-calc-grid { display:grid; gap:3%; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:3%; }
.chriscade-calc-grid button { aspect-ratio:1.35; padding:0; }
.chriscade-calc-grid button.is-operator { background:#24214c; border-color:#f537af; color:#fff3a8; }
.chriscade-time-tabs { display:grid; gap:2%; grid-template-columns:repeat(3,minmax(0,1fr)); }
.chriscade-time-tabs button { color:#98b7c7; padding:.55em .2em; }
.chriscade-time-tabs button.is-active { background:#163345; border-color:#69ffa5; color:#f6ffff; }
.chriscade-time-face { align-items:center; background:linear-gradient(135deg,#0a1833,#132b42); border:1px solid #42def1; box-sizing:border-box; color:#f3fcff; display:flex; flex-direction:column; font-size:2.45em; font-weight:700; height:45%; justify-content:center; letter-spacing:.055em; margin-top:4%; text-shadow:0 0 7px rgba(45,225,235,.55); }
.chriscade-time-face small,.chriscade-metro-face small { color:#a9ff65; font-size:.27em; font-weight:500; letter-spacing:.09em; margin-top:.6em; text-shadow:none; }
.chriscade-app-actions { display:flex; gap:4%; justify-content:center; margin-top:4%; }
.chriscade-app-actions button { color:#b9ed63; flex:1; padding:.75em .5em; }
.chriscade-metro-face { align-items:center; background:#10223d; border:1px solid #f537af; display:grid; grid-template-columns:25% 1fr 25%; height:47%; margin-top:4%; text-align:center; }
.chriscade-metro-face strong { color:#fff5c6; font-size:2.8em; letter-spacing:-.06em; text-shadow:0 0 8px rgba(245,55,175,.58); }
.chriscade-metro-face small { grid-column:1 / -1; margin:-8% 0 0; }
.chriscade-metro-face button { align-self:center; color:#55edff; font-size:1.6em; justify-self:center; line-height:1; padding:.18em .45em; }
.chriscade-shot-viewer { align-items:center; background:#06142b; border:1px solid #42def1; display:grid; gap:6%; grid-template-columns:53% 1fr; height:63%; padding:3%; }
.chriscade-shot-viewer img { height:100%; max-width:100%; object-fit:contain; width:100%; }
.chriscade-shot-viewer div { color:#bed7e1; display:flex; flex-direction:column; font-size:.75em; gap:.8em; line-height:1.25; }
.chriscade-shot-viewer strong { color:#fff5c6; font-size:1.15em; }
.chriscade-shot-viewer span { color:#a9ff65; font-size:.82em; }
.chriscade-shot-viewer small { color:#7e9bb2; font-size:.78em; }

/* Keep every app control inside the visible screen instead of under the B / APP LIBRARY footer. */
.chriscade-calc-grid { height:68%; grid-template-rows:repeat(5,minmax(0,1fr)); min-height:0; }
.chriscade-calc-grid button { aspect-ratio:auto; min-height:0; }
.chriscade-draw-canvas { height:47%; }
.chriscade-draw-toolbar { flex-wrap:wrap; height:37%; margin-top:2%; }
.chriscade-draw-colors { align-items:center; display:flex; flex-wrap:wrap; gap:1.8em; justify-content:center; width:100%; }
.chriscade-draw-toolbar button:not(.chriscade-color-swatch) { padding:.45em .65em; }
.chriscade-time-face { height:39%; margin-top:3%; }
.chriscade-time-tabs button { padding:.4em .2em; }
.chriscade-app-actions { margin-top:3%; }
.chriscade-metro-face { height:35%; margin-top:2%; }
.chriscade-meter-label { color:#bcdbe7; font-size:.66em; letter-spacing:.08em; margin-top:3%; text-align:center; }
.chriscade-meter-options { display:flex; gap:2%; margin-top:2%; }
.chriscade-meter-options button { background:#101a3c; border:1px solid #384779; border-radius:.45em; color:#c5dae4; cursor:pointer; flex:1; font:inherit; font-size:.67em; padding:.5em .25em; }
.chriscade-meter-options button.is-active { background:#173247; border-color:#69ffa5; color:#fff; }
.chriscade-shot-viewer { align-items:center; display:flex; height:78%; justify-content:center; margin:0; padding:0; position:relative; }
.chriscade-shot-viewer img { height:100%; max-height:100%; max-width:68%; object-fit:contain; width:auto; }
.chriscade-shot-viewer figcaption { background:rgba(6,20,43,.88); bottom:3%; left:50%; padding:.45em .8em; position:absolute; transform:translateX(-50%); white-space:nowrap; }
.chriscade-shot-viewer figcaption strong,.chriscade-shot-viewer figcaption span { display:block; font-size:.72em; text-align:center; }
.chriscade-shot-viewer figcaption strong { color:#fff5c6; }
.chriscade-shot-viewer figcaption span { color:#a9ff65; font-size:.6em; margin-top:.25em; }

/* Final compact app sizing pass. */
.chriscade-calc-display { font-size:1.35em; height:15%; line-height:1; padding:1.5% 5%; }
.chriscade-calc-grid { height:67%; margin-top:2%; }
.chriscade-draw-toolbar { gap:2%; }
.chriscade-draw-toolbar button:not(.chriscade-color-swatch) { padding:.35em .5em; }
.chriscade-draw-colors { flex:0 1 auto; gap:.35em; width:auto; }
.chriscade-draw-toolbar:not(.is-palette-open) { flex-wrap:nowrap; gap:1.5%; height:20%; }
.chriscade-draw-toolbar:not(.is-palette-open) .chriscade-draw-colors { gap:.3em; }
.chriscade-draw-toolbar:not(.is-palette-open) button:not(.chriscade-color-swatch) { padding:.3em .35em; }
.chriscade-draw-canvas:not(.is-palette-open) { height:63%; }
.chriscade-draw-toolbar.is-palette-open { height:64%; }
.chriscade-draw-toolbar.is-palette-open .chriscade-draw-colors { display:grid; gap:.3em 5%; grid-template-columns:repeat(5,1.65em); justify-content:center; }
.chriscade-draw-canvas.is-palette-open { height:26%; }
.chriscade-time-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
.chriscade-time-face { height:30%; margin-top:2%; }
.chriscade-time-adjustments { display:grid; gap:2%; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:2%; }
.chriscade-time-adjustments button { background:#101a3c; border:1px solid #384779; border-radius:.45em; color:#55edff; cursor:pointer; font:inherit; font-size:.6em; padding:.55em .1em; }
.chriscade-time-adjustments { position:relative; top:-3%; }
.chriscade-time-adjustments + .chriscade-app-actions { margin-top:2%; }
.chriscade-metro-face { height:31%; position:relative; }
.chriscade-metro-face strong { align-items:center; color:#fff5c6; display:flex; font-size:2.8em; inset:0; justify-content:center; letter-spacing:-.06em; line-height:1; pointer-events:none; position:absolute; text-align:center; text-shadow:0 0 8px rgba(245,55,175,.58); }
.chriscade-metro-face strong small { display:block; font-size:.22em; left:64%; letter-spacing:.08em; margin-top:0; position:absolute; top:50%; transform:translateY(-50%); white-space:nowrap; }
.chriscade-metro-face { display:block; }
.chriscade-metro-adjust-controls { align-items:center; display:flex; gap:4px; left:4%; position:absolute; top:50%; transform:translateY(-50%); z-index:2; }
.chriscade-metro-adjust-controls button { align-self:center; color:#55edff; font-size:1.6em; line-height:1; padding:.18em .45em; }
.chriscade-meter-label { margin-top:2%; }
.chriscade-meter-options { margin-top:1%; }
.chriscade-meter-options button { padding:.35em .15em; }
.chriscade-meter-options button:last-child { flex:1.8; }
.chriscade-shot-viewer { gap:4%; grid-template-columns:68% 1fr; }
.chriscade-shot-viewer img { max-width:100%; }
.chriscade-shot-viewer figcaption { background:none; bottom:auto; left:auto; padding:0; position:static; transform:none; white-space:normal; }
.chriscade-shot-viewer figcaption strong { color:#fff5c6; font-size:.85em; text-decoration:none; }
.chriscade-screen:has(.chriscade-draw-canvas)::after { display:none; }
.chriscade-screen:has(.chriscade-metro-face) .chriscade-ui-orbit { display:none; }
.chriscade-time-actions { margin-top:0; position:relative; top:-2%; }
.chriscade-time-actions button { font-size:.62em; padding:.5em; }

/* RP2040-inspired app emblems keep the library scannable without repeating an action label. */
.chriscade-app-menu-row { display:grid; gap:4%; grid-template-columns:16% 1fr; justify-content:initial; }
.chriscade-app-menu-list { bottom:17%; gap:1.5%; top:19%; }
.chriscade-app-menu-row { grid-template-columns:12% 1fr; padding:1% 5%; }
.chriscade-app-menu-row .chriscade-menu-title { color:#d8edf3; }
.chriscade-app-emblem { align-self:center; aspect-ratio:1; border:1px solid #2de1eb; border-radius:50%; display:block; justify-self:center; position:relative; width:52%; }
.chriscade-app-menu-row:nth-child(2) .chriscade-app-emblem { border-color:#f537af; }
.chriscade-app-menu-row:nth-child(3) .chriscade-app-emblem { border-color:#a9ff65; }
.chriscade-app-menu-row:nth-child(4) .chriscade-app-emblem { border-color:#ffbe37; }
.chriscade-app-menu-row:nth-child(5) .chriscade-app-emblem { border-color:#8e6cff; }
.chriscade-app-emblem--draw::before { border-left:2px solid #2de1eb; border-top:2px solid #2de1eb; content:""; height:36%; left:31%; position:absolute; top:31%; transform:rotate(-42deg); width:36%; }
.chriscade-app-emblem--draw::after { background:#f537af; content:""; height:2px; left:18%; position:absolute; top:72%; transform:rotate(-42deg); width:65%; }
.chriscade-app-emblem--calculator::before { background:#f537af; border:1px solid #dffcff; border-radius:2px; content:""; height:24%; left:20%; position:absolute; top:20%; width:60%; }
.chriscade-app-emblem--calculator::after { background:#f537af; box-shadow:9px 0 #f537af,18px 0 #a9ff65,0 8px #2de1eb,9px 8px #2de1eb,18px 8px #2de1eb; border-radius:50%; content:""; height:4px; left:22%; position:absolute; top:56%; width:4px; }
.chriscade-app-emblem--time::before { border:1px solid #a9ff65; border-radius:50%; content:""; inset:23%; position:absolute; }
.chriscade-app-emblem--time::after { background:#a9ff65; content:""; height:29%; left:50%; position:absolute; top:27%; transform:rotate(-28deg); transform-origin:bottom; width:1px; }
.chriscade-app-emblem--metronome::before { border-bottom:11px solid #ffbe37; border-left:6px solid transparent; border-right:6px solid transparent; content:""; left:31%; position:absolute; top:29%; }
.chriscade-app-emblem--metronome::after { background:#ffbe37; content:""; height:43%; left:50%; position:absolute; top:28%; transform:rotate(28deg); transform-origin:bottom; width:1px; }
.chriscade-app-emblem--screenshots::before { border:1px solid #8e6cff; content:""; height:45%; left:18%; position:absolute; top:27%; width:64%; }
.chriscade-app-emblem--screenshots::after { background:#8e6cff; border-radius:50%; content:""; height:16%; left:42%; position:absolute; top:42%; width:16%; }

/* Keep the launcher and app-row emblems on one consistent geometry system. */
.chriscade-card-icon--apps::before { border:1px solid #2de1eb; border-radius:10%; box-sizing:border-box; content:""; inset:20%; position:absolute; }
.chriscade-card-icon--apps i { height:12%; width:12%; }
.chriscade-card-icon--apps i:nth-child(1) { left:25%; top:25%; }
.chriscade-card-icon--apps i:nth-child(2) { right:25%; top:25%; }
.chriscade-card-icon--apps i:nth-child(3) { bottom:25%; left:25%; }
.chriscade-card-icon--apps i:nth-child(4) { background:#ffbe37; border:0; bottom:25%; right:25%; }
.chriscade-app-emblem { box-sizing:border-box; height:auto; width:48%; }
.chriscade-app-emblem--draw::before { box-sizing:border-box; height:40%; left:30%; top:30%; width:40%; }
.chriscade-app-emblem--draw::after { height:2px; left:16%; top:71%; width:68%; }
.chriscade-app-emblem--calculator::before { box-sizing:border-box; height:28%; left:18%; top:18%; width:64%; }
.chriscade-app-emblem--calculator::after { display:none; }
.chriscade-app-emblem--time::before { box-sizing:border-box; inset:22%; }
.chriscade-app-emblem--time::after { height:31%; left:50%; top:25%; }
.chriscade-app-emblem--metronome::before { background:#ffbe37; border:0; clip-path:polygon(50% 0,100% 100%,0 100%); height:45%; left:28%; top:25%; width:44%; }
.chriscade-app-emblem--metronome::after { height:40%; left:50%; top:25%; }
.chriscade-app-emblem--screenshots::before { box-sizing:border-box; height:48%; left:16%; top:26%; width:68%; }
.chriscade-app-emblem--screenshots::after { height:18%; left:41%; top:41%; width:18%; }
.chriscade-game-menu-row { display:grid; gap:4%; grid-template-columns:12% 1fr auto; justify-content:initial; }
.chriscade-game-emblem { align-self:center; aspect-ratio:1; background:#09142f; border:1px solid #2de1eb; border-radius:50%; box-sizing:border-box; display:block; justify-self:center; position:relative; width:48%; }
.chriscade-game-menu-row:nth-child(2) .chriscade-game-emblem { border-color:#f537af; }
.chriscade-game-menu-row:nth-child(3) .chriscade-game-emblem { border-color:#a9ff65; }
.chriscade-game-emblem--space::before { background:#2de1eb; clip-path:polygon(25% 0,75% 0,75% 12%,88% 12%,88% 25%,100% 25%,100% 50%,88% 50%,88% 63%,75% 63%,75% 100%,62% 100%,62% 75%,38% 75%,38% 100%,25% 100%,25% 63%,12% 63%,12% 50%,0 50%,0 25%,12% 25%,12% 12%,25% 12%); content:""; height:52%; left:24%; position:absolute; top:24%; width:52%; }
.chriscade-game-emblem--space i { background:#f537af; height:10%; position:absolute; top:42%; width:10%; }
.chriscade-game-emblem--space i:nth-child(1) { left:30%; }
.chriscade-game-emblem--space i:nth-child(2) { right:30%; }
.chriscade-game-emblem--space i:nth-child(3) { background:#fff5c6; bottom:25%; height:8%; left:46%; top:auto; width:8%; }
.chriscade-game-emblem--pong::before { border:1px solid #f537af; box-sizing:border-box; content:""; height:58%; left:21%; position:absolute; top:21%; width:58%; }
.chriscade-game-emblem--pong::after { background:#fff5c6; border-radius:50%; content:""; height:13%; left:44%; position:absolute; top:43%; width:13%; }
.chriscade-game-emblem--pong i { background:#2de1eb; height:28%; position:absolute; top:36%; width:7%; }
.chriscade-game-emblem--pong i:nth-child(1) { left:16%; }
.chriscade-game-emblem--pong i:nth-child(2) { right:16%; }
.chriscade-game-emblem--pong i:nth-child(3) { background:#a9ff65; height:7%; left:46%; top:19%; width:8%; }
.chriscade-game-emblem--snake::before { border:2px solid #a9ff65; border-radius:45% 45% 35% 45%; box-sizing:border-box; content:""; height:52%; left:24%; position:absolute; top:25%; transform:rotate(-24deg); width:52%; }
.chriscade-game-emblem--snake::after { background:#f537af; border-radius:50%; content:""; height:12%; left:67%; position:absolute; top:28%; width:12%; }
.chriscade-game-emblem--snake i { background:#2de1eb; border-radius:50%; height:10%; position:absolute; width:10%; }
.chriscade-game-emblem--snake i:nth-child(1) { left:24%; top:63%; }
.chriscade-game-emblem--snake i:nth-child(2) { left:35%; top:70%; }
.chriscade-game-emblem--snake i:nth-child(3) { left:47%; top:72%; }

/* Use stable project IDs so archive scrolling order is independent of DOM position. */
.archive-project#robotic-arm { order:1; }
.archive-project#rv12 { order:2; }
.archive-project#bmo { order:3; }
.archive-project#big-muff-pi { order:4; }
.archive-project#chriscade { order:5; }
.archive-project#beatbox-tuner { order:6; }
.archive-project#solder-fume { order:7; }
.archive-project#pid { order:8; }
.archive-project#machine-tool-technology { order:9; }
.archive-project#pi5-hub { border-bottom:0; order:10; }
.archive-project#published-models { border-bottom:1px solid var(--line); order:11; }
.archive-project#christain { border-bottom:1px solid var(--line); order:12; }

/* BMO is the third archive entry; keep the visual order and index grid aligned. */
.archive-project:nth-child(1) { order:1; }
.archive-project:nth-child(2) { order:2; }
.archive-project:nth-child(3) { order:3; }
.archive-project:nth-child(5) { order:4; }
.archive-project:nth-child(8) { order:5; }
.archive-project:nth-child(10) { order:6; }
.archive-project:nth-child(4) { order:7; }
.archive-project:nth-child(6) { order:8; }
.archive-project:nth-child(9) { order:9; }
.archive-project:nth-child(11) { order:10; }
.archive-project:nth-child(7) { order:11; }
.archive-project#pi5-hub { border-bottom:0; }
.archive-project#published-models { border-bottom:1px solid var(--line); }
.project-index { grid-template-rows:auto repeat(6,auto); }
.project-index a:nth-of-type(1) { grid-column:1; grid-row:2; }
.project-index a:nth-of-type(2) { grid-column:1; grid-row:3; }
.project-index a:nth-of-type(3) { grid-column:1; grid-row:4; }
.project-index a:nth-of-type(4) { grid-column:1; grid-row:5; }
.project-index a:nth-of-type(5) { grid-column:1; grid-row:6; }
.project-index a:nth-of-type(6) { grid-column:1; grid-row:7; }
.project-index a:nth-of-type(7) { grid-column:2; grid-row:2; }
.project-index a:nth-of-type(8) { grid-column:2; grid-row:3; }
.project-index a:nth-of-type(9) { grid-column:2; grid-row:4; }
.project-index a:nth-of-type(10) { grid-column:2; grid-row:5; }
.project-index a:nth-of-type(11) { grid-column:2; grid-row:6; }
@media (max-width:700px) {
  .project-index { grid-template-columns:1fr; grid-template-rows:auto; }
  .project-index a:nth-of-type(n) { grid-column:1; grid-row:auto; }
}

.archive-project#engine-transmission { order:13; }
.archive-project#popsicle-bridge { order:14; }
.archive-project#car-repairs { border-bottom:1px solid var(--line); order:15; }
.project-index { grid-template-rows:auto repeat(8,auto); }
.project-index a:nth-of-type(7) { grid-column:1; grid-row:8; }
.project-index a:nth-of-type(8) { grid-column:1; grid-row:9; }
.project-index a:nth-of-type(9) { grid-column:2; grid-row:2; }
.project-index a:nth-of-type(10) { grid-column:2; grid-row:3; }
.project-index a:nth-of-type(11) { grid-column:2; grid-row:4; }
.project-index a:nth-of-type(12) { grid-column:2; grid-row:5; }
.project-index a:nth-of-type(13) { grid-column:2; grid-row:6; }
.project-index a:nth-of-type(14) { grid-column:2; grid-row:7; }
.project-index a:nth-of-type(15) { grid-column:2; grid-row:8; }
@media (max-width:700px) {
  .project-index { grid-template-rows:auto; }
  .project-index a:nth-of-type(n) { grid-column:1; grid-row:auto; }
}

/* The ChristAIn dashboard card shows a wide wordmark tile instead of a cut-out
   emblem, so its art carries the same rounded corner as the RustVault badge. */
.project-card .project-icon img.dashboard-card-icon { border-radius: 16px; height: auto; width: 100%; }
