@import "tailwindcss";

:root { --ink:#0c0d0c; --paper:#f1f0e9; --muted:#a6a79f; --line:rgba(241,240,233,.18); --acid:#c9ff4a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; background:var(--ink); }
body { margin:0; background:var(--ink); color:var(--paper); font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
::selection { background:var(--acid); color:var(--ink); }

.site-header { position:absolute; z-index:10; inset:0 0 auto; height:92px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:0 4vw; border-bottom:1px solid var(--line); }
.wordmark { width:max-content; font-size:1.35rem; font-weight:900; letter-spacing:-.08em; }
.wordmark span { color:var(--acid); }
nav { display:flex; gap:2.2rem; color:#c9cac4; font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; }
nav a, footer a, .contact-links a { transition:color 180ms ease; }
nav a:hover, footer a:hover, .contact-links a:hover { color:var(--acid); }
.availability { justify-self:end; display:flex; align-items:center; gap:.55rem; font-size:.75rem; text-transform:uppercase; letter-spacing:.13em; }
.availability span { width:7px; height:7px; border-radius:50%; background:var(--acid); box-shadow:0 0 16px var(--acid); }

.hero { min-height:100vh; position:relative; display:flex; flex-direction:column; justify-content:center; padding:150px 4vw 72px; overflow:hidden; }
.hero::before { content:""; display:none; }
.hero::after { content:""; position:absolute; inset:92px 0 0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:56px 56px; mask-image:linear-gradient(to bottom,black,transparent 82%); }
.hero-kicker,.hero-footer,.hero-code { position:relative; z-index:1; }
.hero-kicker { display:flex; justify-content:space-between; max-width:49rem; margin-bottom:2rem; color:var(--muted); font:.72rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.16em; }
.hero h1 { position:relative; z-index:3; max-width:1120px; margin:0; font-size:clamp(4rem,9.2vw,9.6rem); line-height:.87; letter-spacing:-.075em; font-weight:700; }
em { color:var(--acid); font-family:Georgia,"Times New Roman",serif; font-weight:400; }
.hero-footer { display:block; margin-top:3.5rem; padding-left:0; }
.hero-footer p { max-width:480px; margin:0; color:#c6c7c0; font-size:clamp(1rem,1.4vw,1.25rem); line-height:1.6; }
.hero-actions { display:flex; align-items:center; gap:1rem; margin-top:1.7rem; }
.resume-button,.text-button { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; min-height:46px; padding:0 17px; font:.67rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.11em; transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,transform 180ms ease; }
.resume-button { border:1px solid var(--acid); background:var(--acid); color:var(--ink); }
.text-button { border:1px solid var(--line); color:var(--paper); }
.resume-button:hover,.text-button:hover { transform:translateY(-2px); }
.text-button:hover { border-color:var(--acid); color:var(--acid); }
.round-link { width:128px; height:128px; flex:0 0 128px; border:1px solid var(--line); border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.65rem; font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; text-align:center; transition:background 220ms ease,color 220ms ease,transform 220ms ease; }
.round-link span { white-space:nowrap; }
.round-link b { font-size:1.2rem; }
.round-link:hover { transform:rotate(-6deg); background:var(--acid); color:var(--ink); }
.hero-orbit { position:absolute; width:min(720px,58vw); aspect-ratio:1; right:-11vw; top:9vh; border:1px solid rgba(201,255,74,.25); border-radius:50%; box-shadow:0 0 110px rgba(201,255,74,.035) inset; pointer-events:none; }
.hero-orbit::after { content:""; position:absolute; inset:9%; border:1px solid rgba(241,240,233,.035); border-radius:50%; pointer-events:none; }
.hero-orbit .round-link { position:absolute; z-index:4; pointer-events:auto; transform:translate(-50%,-50%); background:rgba(12,13,12,.86); backdrop-filter:blur(6px); }
.hero-orbit .round-link:hover { transform:translate(-50%,-50%) rotate(-6deg); }
.moving-link { will-change:left,top; transition:background 220ms ease,color 220ms ease,transform 220ms ease; }
.hero-code { position:absolute; bottom:28px; left:4vw; right:4vw; display:flex; justify-content:space-between; color:#676a63; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.1em; }
.reveal { animation:enter 800ms cubic-bezier(.2,.8,.2,1) both; }
.reveal-delay-1 { animation-delay:100ms; } .reveal-delay-2 { animation-delay:220ms; }
@keyframes enter { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

.section { padding:120px 4vw; }
.recruiter-strip { display:grid; grid-template-columns:1.35fr .55fr .75fr 1fr; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#111310; }
.recruiter-strip span { padding:19px 4vw 19px 20px; border-right:1px solid var(--line); color:#a8aaa2; font:.62rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; }
.recruiter-strip span:first-child { padding-left:4vw; color:var(--acid); }
.recruiter-strip span:last-child { border-right:0; }
.work { background:var(--paper); color:var(--ink); }
.section-heading { display:grid; grid-template-columns:1fr 2fr; gap:3rem; margin-bottom:80px; }
.eyebrow { margin:0; font:.7rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.15em; color:#75766f; }
.section-heading h2,.about-intro h2 { max-width:850px; margin:0; font-size:clamp(2.4rem,5vw,5.6rem); line-height:.98; letter-spacing:-.055em; }
.project-list { border-top:1px solid #cac9c1; }
.project-card { position:relative; display:grid; grid-template-columns:90px 1fr 50px; gap:1rem; padding:42px 24px; border-bottom:1px solid #cac9c1; transition:transform 240ms cubic-bezier(.2,.8,.2,1),background-color 240ms ease,box-shadow 240ms ease,border-color 240ms ease; }
.project-card.lime:hover { background:#d9ff80; } .project-card.amber:hover { background:#ffd37c; } .project-card.blue:hover { background:#a8d8ff; } .project-card.coral:hover { background:#ffb3a3; }
.project-number { color:#84847e; font:.75rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.project-copy { display:grid; grid-template-columns:minmax(230px,.7fr) 1fr; column-gap:3rem; align-items:start; }
.project-copy h3 { margin:0; font-size:clamp(1.65rem,3vw,3.1rem); line-height:1; letter-spacing:-.045em; }
.project-title-block { min-width:0; }
.project-status { display:inline-flex; align-items:center; gap:.45rem; margin:0 0 1rem; color:#666860; font:.58rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.11em; }
.project-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#71736b; }
.project-copy p { max-width:580px; margin:0 0 1.5rem; color:#55564f; line-height:1.65; }
.project-outcomes { grid-column:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:0 0 1.35rem; background:#bbbcb3; border:1px solid #bbbcb3; }
.project-outcomes div { min-width:0; padding:12px; background:var(--paper); }
.project-outcomes dt { margin:0 0 .6rem; color:#888981; font:.58rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.project-outcomes dd { margin:0; font:.65rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.06em; }
.project-copy ul { grid-column:2; display:flex; flex-wrap:wrap; gap:.5rem; margin:0; padding:0; list-style:none; }
.project-copy>ul li { padding:7px 10px; border:1px solid #aaa9a0; border-radius:100px; font-size:.67rem; text-transform:uppercase; letter-spacing:.08em; }
.project-flow { grid-column:1 / -1; display:flex; align-items:stretch; gap:0; margin:1.7rem 0 1.4rem; padding:0; list-style:none; border:1px solid #bbbcb3; }
.project-flow li { position:relative; flex:1; min-width:0; padding:12px 24px 12px 12px; border-right:1px solid #bbbcb3; font:.58rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.055em; }
.project-flow li::after { content:"→"; position:absolute; right:7px; color:#8a8c84; }
.project-flow li:last-child { border-right:0; }
.project-flow li:last-child::after { content:""; }
.project-arrow { justify-self:end; font-size:1.6rem; transition:transform 200ms ease; }
.project-card:hover .project-arrow { transform:translate(4px,-4px); }

.now-section { background:#111310; }
.now-card { border:1px solid var(--line); background:#151714; }
.now-card-head { display:flex; align-items:center; justify-content:space-between; padding:18px 24px; border-bottom:1px solid var(--line); color:#777a72; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.11em; }
.now-pulse { display:flex; align-items:center; gap:.65rem; color:var(--acid); }
.now-pulse i { width:7px; height:7px; border-radius:50%; background:var(--acid); box-shadow:0 0 16px rgba(201,255,74,.55); }
.now-summary { max-width:980px; margin:0; padding:48px 48px 0; color:#aeb0a8; font-size:1.05rem; line-height:1.7; }
.now-card-grid { display:grid; grid-template-columns:1.1fr .9fr; }
.now-card-grid>div { padding:48px; }
.now-card-grid>div+div { border-left:1px solid var(--line); }
.now-card h3 { max-width:650px; margin:0 0 1.4rem; font-size:clamp(2.5rem,5vw,5.5rem); line-height:.94; letter-spacing:-.055em; }
.now-card-grid>div>p:not(.eyebrow) { max-width:640px; color:#aeb0a8; line-height:1.7; }
.now-card a { display:inline-block; margin-top:2rem; color:var(--acid); font:.7rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; }
.now-card ul { margin:1.8rem 0 0; padding:0; list-style:none; }
.now-card li { padding:15px 0; border-top:1px solid var(--line); color:#c8cac2; line-height:1.45; }
.now-card li::before { content:"✓"; margin-right:.8rem; color:var(--acid); }
.now-next-label { margin-top:2.7rem; }
.now-next { margin-bottom:0; }

.live-lab { background:#151714; }
.lab-grid { display:grid; grid-template-columns:minmax(280px,.78fr) minmax(0,1.35fr); gap:4vw; align-items:stretch; }
.lab-copy { padding:34px 0; }
.lab-status { display:flex; align-items:center; gap:.6rem; color:var(--acid); font:.66rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.13em; }
.lab-status i { width:7px; height:7px; border-radius:50%; background:var(--acid); box-shadow:0 0 14px rgba(201,255,74,.7); }
.lab-copy h3 { max-width:520px; margin:4rem 0 1.5rem; font-size:clamp(2rem,4vw,4.4rem); line-height:.95; letter-spacing:-.05em; }
.lab-copy p { max-width:540px; margin:0 0 1.5rem; color:#b9bbb3; font-size:1.05rem; line-height:1.7; }
.lab-copy code { color:var(--acid); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.lab-copy small { display:block; max-width:540px; color:#777a72; line-height:1.65; }
.terminal { min-height:540px; display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(201,255,74,.28); background:#090a09; box-shadow:0 28px 80px rgba(0,0,0,.28); }
.terminal-bar { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; border-bottom:1px solid var(--line); color:#777a72; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.terminal-dots { display:flex; gap:7px; }
.terminal-dots i { width:7px; height:7px; border:1px solid #5f625b; border-radius:50%; }
.terminal-output { flex:1; max-height:450px; overflow:auto; padding:24px; color:#afb1a9; font:.78rem/1.75 ui-monospace,SFMono-Regular,Menlo,monospace; scrollbar-color:#3c4038 transparent; }
.terminal-line { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.terminal-line.command { margin-top:.7rem; color:var(--paper); }
.terminal-line.response { color:var(--acid); }
.terminal-form { display:flex; align-items:center; gap:.8rem; padding:17px 20px; border-top:1px solid var(--line); font: .8rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.terminal-form span { color:var(--acid); }
.terminal-form input { min-width:0; flex:1; border:0; outline:0; background:transparent; color:var(--paper); font:inherit; caret-color:var(--acid); }
.terminal-form input::placeholder { color:#555850; }
.maze-demo { margin-top:2rem; padding:32px; border:1px solid var(--line); background:#0c0d0c; }
.maze-demo-header { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:28px; }
.maze-demo-header span { color:#777a72; font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.maze-demo-header h3 { margin:.7rem 0 0; font-size:clamp(1.7rem,3vw,3.2rem); letter-spacing:-.045em; }
.maze-actions { display:flex; flex-wrap:wrap; gap:.7rem; }
.maze-actions button { padding:11px 14px; border:1px solid #4b4e47; background:transparent; color:#d7d8d1; font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; cursor:pointer; transition:border-color 180ms ease,color 180ms ease,background 180ms ease; }
.maze-actions button:hover,.maze-actions button:focus-visible { border-color:var(--acid); color:var(--acid); outline:0; }
.maze-actions button.primary { border-color:var(--acid); background:var(--acid); color:var(--ink); }
.maze-actions button:disabled { opacity:.45; cursor:not-allowed; }
.maze-panels { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.maze-panel { padding:16px; border:1px solid rgba(241,240,233,.12); background:#090a09; }
.maze-panel-title { display:flex; justify-content:space-between; gap:1rem; margin-bottom:12px; color:#9b9d95; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.11em; }
.maze-panel-title strong { color:var(--paper); font-weight:500; }
.maze-canvas { display:block; width:100%; aspect-ratio:19 / 8; background:#0d0f0d; }
.maze-storage-status { display:block; margin-top:.75rem; color:var(--acid); font:.68rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; }
.maze-legend { display:flex; flex-wrap:wrap; gap:.8rem 1.5rem; margin-top:18px; color:#777a72; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.08em; }
.maze-legend span { display:flex; align-items:center; gap:.45rem; }
.maze-legend i { width:8px; height:8px; border-radius:50%; }
.maze-legend .start { background:#f1f0e9; } .maze-legend .visited-a { background:#a8d8ff; } .maze-legend .visited-b { background:#c9ff4a; } .maze-legend .path { background:#ffb45e; }

.writing { background:#0c0d0c; }
.writing .section-heading em { white-space:nowrap; }
.writing-title-row { display:flex; align-items:flex-end; gap:1.5rem; }
.writing-title-row h2 { flex:1; }
.rss-link { flex:0 0 auto; display:flex; align-items:center; gap:.55rem; padding:12px 14px; border:1px solid var(--line); color:#b7b9b1; font:.65rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; transition:border-color 180ms ease,color 180ms ease; }
.rss-link:hover { border-color:var(--acid); color:var(--acid); }
.rss-link svg { width:17px; height:17px; fill:currentColor; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.writing-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr); gap:2rem; align-items:stretch; }
.blog-carousel,.linkedin-panel { max-height:872px; min-height:0; }
.blog-carousel { min-width:0; display:flex; flex-direction:column; }
.blog-carousel-nav { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; min-height:58px; padding:0 16px; border:1px solid var(--line); border-bottom:0; background:#111310; }
.blog-carousel-count { color:#8c8e86; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.blog-carousel-controls { display:flex; gap:8px; }
.blog-carousel-controls button { min-height:34px; padding:0 12px; border:1px solid var(--line); background:transparent; color:#cfd1c8; font:.6rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; cursor:pointer; transition:border-color 180ms ease,color 180ms ease,background-color 180ms ease; }
.blog-carousel-controls button:hover,.blog-carousel-controls button:focus-visible { border-color:var(--acid); color:var(--acid); outline:0; }
.blog-carousel-controls button:disabled { color:#555850; border-color:rgba(241,240,233,.08); cursor:default; }
.blog-list { min-width:0; min-height:0; flex:1 1 auto; display:flex; gap:0; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:rgba(201,255,74,.55) rgba(241,240,233,.06); }
.linkedin-panel { overflow:hidden; }
.blog-list::-webkit-scrollbar { height:6px; }
.linkedin-posts::-webkit-scrollbar { width:6px; }
.blog-list::-webkit-scrollbar-track,.linkedin-posts::-webkit-scrollbar-track { background:rgba(241,240,233,.06); }
.blog-list::-webkit-scrollbar-thumb,.linkedin-posts::-webkit-scrollbar-thumb { background:rgba(201,255,74,.55); border-radius:999px; }
.blog-list:focus-visible,.linkedin-posts:focus-visible { outline:1px solid rgba(201,255,74,.7); outline-offset:5px; }
.blog-list .featured-post { flex:0 0 100%; min-width:100%; min-height:100%; scroll-snap-align:start; scroll-snap-stop:always; }
.blog-list .secondary-post { min-height:100%; }
.featured-post,.linkedin-panel { border:1px solid var(--line); }
.featured-post { --spot-x:50%; --spot-y:50%; position:relative; isolation:isolate; overflow:hidden; min-height:440px; display:flex; flex-direction:column; padding:42px; background:linear-gradient(145deg,rgba(201,255,74,.08),transparent 60%); transition:transform 240ms cubic-bezier(.2,.8,.2,1),border-color 240ms ease,box-shadow 240ms ease; }
.featured-post::before { content:""; position:absolute; z-index:-1; inset:0; background:radial-gradient(300px circle at var(--spot-x) var(--spot-y),rgba(201,255,74,.12),transparent 68%); opacity:0; transition:opacity 220ms ease; pointer-events:none; }
.secondary-post { min-height:400px; background:linear-gradient(145deg,rgba(241,240,233,.055),transparent 60%); }
.post-meta,.article-meta { display:flex; flex-wrap:wrap; gap:.7rem 1.5rem; color:#8c8e86; font:.66rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.featured-post h3 { max-width:760px; margin:4.5rem 0 1.5rem; font-size:clamp(2.4rem,5vw,5.7rem); line-height:.92; letter-spacing:-.055em; }
.featured-post>p { max-width:650px; margin:0; color:#aeb0a8; font-size:1.05rem; line-height:1.7; }
.featured-post>a { width:max-content; margin-top:auto; padding-top:2rem; color:var(--acid); font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; }
.featured-post>a span { display:inline-block; margin-left:.35rem; transition:transform 180ms ease; }
.featured-post>a:hover span { transform:translate(4px,-4px); }
.linkedin-panel { display:flex; flex-direction:column; padding:32px; background:#151714; transition:border-color 240ms ease; }
.linkedin-heading { display:flex; align-items:center; gap:1rem; padding-bottom:28px; border-bottom:1px solid var(--line); }
.linkedin-heading h3 { margin:.3rem 0 0; font-size:1.35rem; }
.linkedin-mark { display:grid; place-items:center; width:42px; height:42px; background:#0a66c2; color:white; border-radius:3px; font-size:1.1rem; font-weight:800; }
.linkedin-posts { max-height:620px; margin:auto 0; padding:2.2rem 10px 2.2rem 0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(201,255,74,.55) rgba(241,240,233,.06); }
.tracker-message { margin:auto 0; padding:4rem 0; color:#969890; line-height:1.65; }
.linkedin-post { position:relative; display:block; padding:22px 42px 22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.linkedin-post>div { display:flex; justify-content:space-between; gap:1rem; color:#7f8179; font:.6rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; }
.linkedin-post h4 { margin:2rem 0 .7rem; font-size:1.45rem; line-height:1.08; letter-spacing:-.035em; }
.linkedin-post p { margin:0; color:#969890; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }
.linkedin-post b { position:absolute; right:2px; bottom:22px; color:var(--acid); font-size:1.25rem; transition:transform 180ms ease; }
.linkedin-post:hover b { transform:translate(4px,-4px); }
.linkedin-panel>a { padding-top:24px; border-top:1px solid var(--line); color:#cfd1c8; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; }

.about { background:#151714; }
.about-intro { display:grid; grid-template-columns:1fr 2fr; gap:3rem; margin-bottom:100px; }
.about-intro h2 { max-width:930px; }
.about-grid { display:grid; grid-template-columns:1.2fr .85fr .8fr; gap:3vw; align-items:end; }
.about-copy p { margin:0 0 1.4rem; color:#b9bbb3; font-size:1.05rem; line-height:1.75; }
.education-card { align-self:end; padding:28px; border:1px solid var(--line); border-radius:2px; transition:transform 240ms cubic-bezier(.2,.8,.2,1),border-color 240ms ease; }
.education-card span,.education-card small { display:block; color:#85877f; font:.67rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; }
.education-card strong { display:block; margin:2rem 0 .8rem; font-size:1.15rem; }
.education-card p { color:#b9bbb3; }
.education-card small { margin-top:2rem; }
.about-portrait { position:relative; width:100%; height:440px; margin:0; padding:7px; background:#0c0d0c; border:1px solid rgba(201,255,74,.4); box-shadow:0 24px 64px rgba(0,0,0,.28); }
.about-portrait::after { content:""; position:absolute; inset:7px; background:linear-gradient(to top,rgba(8,9,8,.42),transparent 42%); pointer-events:none; }
.about-portrait img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 43%; filter:saturate(.82) contrast(1.03); }
.about-portrait figcaption { position:absolute; z-index:2; left:17px; right:17px; bottom:16px; display:flex; justify-content:space-between; color:#e4e4dc; font:.58rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.capability-grid { display:grid; grid-template-columns:repeat(3,1fr); margin-top:100px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.capability-grid article { min-height:280px; padding:32px; border-right:1px solid var(--line); }
.capability-grid article:last-child { border-right:0; }
.capability-grid article { transition:background-color 240ms ease; }
.capability-grid article>span { color:var(--acid); font:.68rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.capability-grid h3 { margin:5rem 0 1rem; font-size:1.5rem; letter-spacing:-.03em; }
.capability-grid p { margin:0; color:#969890; line-height:1.6; }

.stack-strip { display:grid; grid-template-columns:1fr 3fr; padding:28px 4vw; background:var(--acid); color:var(--ink); font:.72rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.09em; }
.stack-strip p { margin:0; }
.contact { padding:130px 4vw 100px; }
.contact h2 { max-width:1100px; margin:50px 0 80px; font-size:clamp(3.6rem,8vw,8.5rem); line-height:.96; letter-spacing:-.065em; }
.contact h2 em { white-space:nowrap; }
.contact-links { display:flex; flex-wrap:wrap; gap:1.2rem 3rem; padding-top:28px; border-top:1px solid var(--line); font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; }
footer { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:32px 4vw; border-top:1px solid var(--line); color:#74766f; font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; }
footer p { margin:0; } footer>a:last-child { justify-self:end; }

.motion-ready [data-reveal] { opacity:0; translate:0 10px; transition-property:opacity,translate; transition-duration:440ms; transition-timing-function:cubic-bezier(.2,.8,.2,1); transition-delay:var(--reveal-delay,0ms); }
.motion-ready [data-reveal].is-visible { opacity:1; translate:0 0; }

@media (hover:hover) and (pointer:fine) {
  .project-card:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(12,13,12,.1); }
  .featured-post:hover { transform:translateY(-3px); border-color:rgba(201,255,74,.5); box-shadow:0 18px 44px rgba(0,0,0,.18); }
  .featured-post.spotlight-active::before { opacity:1; }
  .linkedin-panel:hover,.education-card:hover { border-color:rgba(201,255,74,.42); }
  .education-card:hover { transform:translateY(-2px); }
  .capability-grid article:hover { background:rgba(201,255,74,.035); }
}

.article-page { min-height:100vh; background:#f1f0e9; color:#0c0d0c; }
.article-header { height:92px; display:flex; align-items:center; justify-content:space-between; padding:0 4vw; border-bottom:1px solid #cac9c1; }
.article-header>a:last-child { font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; }
.article-shell { width:min(860px,90vw); margin:0 auto; padding:110px 0 120px; }
.article-shell h1 { margin:2.2rem 0 3rem; font-size:clamp(3.4rem,7vw,7.5rem); line-height:.9; letter-spacing:-.065em; }
.article-lede { margin:0 0 5rem; font-size:clamp(1.3rem,2.2vw,1.75rem); line-height:1.5; color:#45463f; }
.article-shell h2 { margin:4.5rem 0 1.2rem; font-size:clamp(1.8rem,3.2vw,2.7rem); letter-spacing:-.04em; }
.article-shell>p:not(.article-lede) { max-width:720px; margin:0 0 1.4rem; color:#484941; font:1.08rem/1.8 Georgia,"Times New Roman",serif; }
.article-callout { margin:4rem 0; padding:32px; border-left:4px solid var(--acid); background:#151714; color:#f1f0e9; }
.article-callout span { display:block; margin-bottom:1rem; color:var(--acid); font:.65rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.13em; }
.article-callout strong { font-size:clamp(1.5rem,3vw,2.25rem); line-height:1.25; }
.article-code { margin:2.2rem 0; padding:24px; overflow-x:auto; background:#151714; color:#c9ff4a; border:1px solid #2b2d29; font:.82rem/1.75 ui-monospace,SFMono-Regular,Menlo,monospace; }
.article-shell>ul { max-width:720px; margin:1.5rem 0 0; padding-left:1.35rem; color:#484941; font:1.08rem/1.75 Georgia,"Times New Roman",serif; }
.article-shell>ul li { margin:.65rem 0; padding-left:.35rem; }
.article-end { margin-top:5rem; padding-top:2rem; border-top:1px solid #cac9c1; }
.article-end p { color:#6b6c65; }
.article-end a { display:inline-block; margin-top:1rem; font-size:.75rem; text-transform:uppercase; letter-spacing:.1em; }
.article-footer { background:#0c0d0c; color:#74766f; }

.project-page { min-height:100vh; background:var(--paper); color:var(--ink); }
.project-shell { width:min(1180px,92vw); margin:0 auto; padding:100px 0 130px; }
.project-case-meta { display:flex; justify-content:space-between; gap:1rem; padding-bottom:20px; border-bottom:1px solid #cac9c1; color:#74766f; font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.project-case-status { display:flex; align-items:center; gap:.55rem; }
.project-case-status::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--acid); }
.project-case-number { margin:4rem 0 1rem; color:#85877f; font:.66rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.13em; }
.project-shell>h1 { max-width:1050px; margin:0; font-size:clamp(4rem,9vw,9rem); line-height:.86; letter-spacing:-.075em; }
.project-case-lede { max-width:800px; margin:3rem 0 2rem; color:#494b43; font-size:clamp(1.2rem,2vw,1.65rem); line-height:1.55; }
.project-case-actions { display:flex; flex-wrap:wrap; gap:1rem; }
.project-case-actions a { padding:13px 17px; border:1px solid #a8aaa1; font:.66rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; transition:background 180ms ease,border-color 180ms ease; }
.project-case-actions a:first-child { border-color:var(--acid); background:var(--acid); }
.case-architecture { margin:110px 0 90px; padding:48px; background:#111310; color:var(--paper); }
.case-architecture h2,.case-detail-section>h2,.case-story-grid h2 { margin:1rem 0 2.5rem; font-size:clamp(2.2rem,4vw,4.5rem); line-height:.96; letter-spacing:-.05em; }
.case-architecture ol { display:grid; grid-template-columns:repeat(5,1fr); margin:0; padding:0; list-style:none; border:1px solid #343731; }
.case-architecture li { position:relative; min-height:150px; padding:22px; border-right:1px solid #343731; }
.case-architecture li:last-child { border-right:0; }
.case-architecture li:not(:last-child)::after { content:"→"; position:absolute; right:-9px; top:50%; z-index:2; width:18px; background:#111310; color:var(--acid); text-align:center; }
.case-architecture li span { display:block; color:#73766e; font:.6rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.case-architecture li strong { display:block; margin-top:3.6rem; font-size:.82rem; line-height:1.4; text-transform:uppercase; letter-spacing:.07em; }
.case-story-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin-bottom:100px; background:#cac9c1; border:1px solid #cac9c1; }
.case-story-grid section { padding:46px; background:var(--paper); }
.case-story-grid p:last-child,.case-decisions p { color:#55564f; line-height:1.75; }
.case-detail-section { margin:100px 0; }
.case-implementation { margin:0; padding:0; list-style:none; border-top:1px solid #cac9c1; }
.case-implementation li { display:grid; grid-template-columns:70px 1fr; padding:22px 0; border-bottom:1px solid #cac9c1; }
.case-implementation span { color:#85877f; font:.65rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.case-implementation p { margin:0; font-size:1.05rem; line-height:1.5; }
.case-decisions { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #cac9c1; border-bottom:1px solid #cac9c1; }
.case-decisions article { min-height:300px; padding:30px; border-right:1px solid #cac9c1; }
.case-decisions article:last-child { border-right:0; }
.case-decisions span { color:#85877f; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.case-decisions h3 { margin:4.5rem 0 1rem; font-size:1.55rem; letter-spacing:-.035em; }
.case-results { display:grid; grid-template-columns:1fr 1fr; gap:5vw; margin:110px 0; }
.case-results dl { margin:2rem 0 0; }
.case-results dl div { display:grid; grid-template-columns:55px 1fr; padding:18px 0; border-top:1px solid #cac9c1; }
.case-results dt { color:#85877f; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.case-results dd { margin:0; font-weight:600; }
.case-results ul { margin:2rem 0 0; padding-left:1.2rem; color:#55564f; line-height:1.7; }
.case-results li { margin-bottom:1rem; }
.case-next { padding:54px; background:#111310; color:var(--paper); }
.case-next h2 { max-width:950px; margin:1rem 0 3rem; font-size:clamp(2rem,4vw,4.2rem); line-height:1; letter-spacing:-.05em; }
.case-next div { display:flex; flex-wrap:wrap; gap:.6rem; }
.case-next div span { padding:8px 11px; border:1px solid #4a4d46; border-radius:100px; color:#aaaca4; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.08em; }
.article-live-lab { width:min(1180px,94vw); margin:5rem 50% 4rem; transform:translateX(-50%); padding:42px; background:#151714; color:#f1f0e9; border:1px solid #30332d; }
.article-live-lab-heading { display:grid; grid-template-columns:1fr 1.6fr; gap:1rem 2rem; margin-bottom:48px; }
.article-live-lab-heading>span { color:#c9ff4a; font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.article-live-lab-heading h2 { grid-column:2; margin:0!important; color:#f1f0e9; font-size:clamp(2rem,4vw,4.4rem)!important; line-height:.96; }
.article-live-lab-heading p { grid-column:2; margin:0; color:#9da097; line-height:1.65; }
.article-live-lab-heading code { color:#c9ff4a; }
.single-grid-demo { width:min(1180px,94vw); margin:5rem 50% 4rem; transform:translateX(-50%); padding:36px; background:#111310; color:#f1f0e9; border:1px solid #30332d; }
.single-grid-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:26px; }
.single-grid-heading span { color:#777a72; font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.single-grid-heading h2 { margin:.7rem 0 0!important; color:#f1f0e9; font-size:clamp(2rem,4vw,4.2rem)!important; line-height:.95; }
.single-grid-actions { display:flex; gap:.7rem; }
.single-grid-actions button { padding:11px 16px; border:1px solid #4b4e47; background:transparent; color:#d7d8d1; font:.64rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; cursor:pointer; }
.single-grid-actions button:hover,.single-grid-actions button:focus-visible { border-color:#c9ff4a; color:#c9ff4a; outline:0; }
.single-grid-actions button.primary { border-color:#c9ff4a; background:#c9ff4a; color:#0c0d0c; }
.single-grid-actions button:disabled { opacity:.55; cursor:not-allowed; }
.single-grid-canvas { display:block; width:100%; aspect-ratio:19 / 8; background:#0b0c0b; border:1px solid rgba(241,240,233,.14); }
.single-grid-footer { display:flex; justify-content:space-between; align-items:flex-start; gap:2rem; margin-top:20px; }
.single-grid-legend,.single-grid-stats { display:flex; flex-wrap:wrap; gap:.75rem 1.35rem; color:#898c84; font:.61rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.08em; }
.single-grid-legend span { display:flex; align-items:center; gap:.45rem; }
.single-grid-legend i { width:9px; height:9px; border-radius:50%; }
.single-grid-legend .astar-visited { background:#48b5ff; } .single-grid-legend .dijkstra-visited { background:#ff54c4; }
.single-grid-legend .astar-path { border-radius:1px; background:#57d9ff; } .single-grid-legend .dijkstra-path { border-radius:1px; background:#ffd35c; }
.single-grid-stats { justify-content:flex-end; }
.single-grid-stats strong { color:#f1f0e9; font-weight:500; }

@media (max-width:820px) {
  .site-header { grid-template-columns:1fr 1fr; } nav { display:none; } .hero { min-height:760px; } .hero h1 { font-size:clamp(3.7rem,16vw,7rem); }
  .hero-footer { padding-left:0; } .hero-orbit { width:64vw; right:-18vw; top:16vh; } .hero-orbit .round-link { width:112px; height:112px; flex-basis:112px; font-size:.61rem; } .hero-code span:nth-child(2) { display:none; } .section { padding:90px 5vw; }
  .section-heading,.about-intro { grid-template-columns:1fr; margin-bottom:58px; } .project-copy { grid-template-columns:1fr; gap:1.2rem; }
  .lab-grid { grid-template-columns:1fr; } .lab-copy { padding-top:0; } .lab-copy h3 { margin-top:2.5rem; } .terminal { min-height:500px; }
  .maze-demo-header { align-items:flex-start; flex-direction:column; } .maze-panels { grid-template-columns:1fr; }
  .article-live-lab-heading { grid-template-columns:1fr; } .article-live-lab-heading h2,.article-live-lab-heading p { grid-column:1; }
  .single-grid-heading,.single-grid-footer { align-items:flex-start; flex-direction:column; } .single-grid-stats { justify-content:flex-start; }
  .writing-grid { grid-template-columns:1fr; } .blog-carousel,.linkedin-panel { max-height:760px; } .linkedin-posts { max-height:540px; } .featured-post { min-height:460px; }
  .project-copy ul,.project-outcomes { grid-column:1; } .project-flow { overflow-x:auto; } .project-flow li { min-width:130px; } .recruiter-strip { grid-template-columns:1fr 1fr; } .recruiter-strip span:nth-child(2) { border-right:0; } .now-card-grid { grid-template-columns:1fr; } .now-card-grid>div+div { border-left:0; border-top:1px solid var(--line); } .about-grid { grid-template-columns:1fr 1fr; gap:2rem; } .about-copy { grid-column:1 / -1; } .capability-grid { grid-template-columns:1fr; }
  .case-architecture { padding:34px; } .case-architecture ol { grid-template-columns:1fr; } .case-architecture li { min-height:auto; border-right:0; border-bottom:1px solid #343731; } .case-architecture li:last-child { border-bottom:0; } .case-architecture li:not(:last-child)::after { content:"↓"; right:20px; top:auto; bottom:-10px; } .case-architecture li strong { margin-top:1.4rem; }
  .case-story-grid,.case-results { grid-template-columns:1fr; } .case-decisions { grid-template-columns:1fr; } .case-decisions article { min-height:auto; border-right:0; border-bottom:1px solid #cac9c1; } .case-decisions article:last-child { border-bottom:0; } .case-decisions h3 { margin-top:2.5rem; }
  .capability-grid article { min-height:auto; border-right:0; border-bottom:1px solid var(--line); } .capability-grid article:last-child { border-bottom:0; }
  .capability-grid h3 { margin-top:3rem; } .stack-strip { grid-template-columns:1fr; gap:1rem; }
}
@media (max-width:560px) {
  .site-header { height:74px; padding:0 5vw; } .availability { font-size:.64rem; } .hero { min-height:auto; padding:120px 5vw 70px; }
  .hero-kicker span:last-child { display:none; } .hero h1 { max-width:100%; font-size:16vw; line-height:.93; text-shadow:none; }
  .hero-footer { width:100%; margin-top:2rem; } .hero-footer p { max-width:92%; font-size:.98rem; }
  .hero-actions { align-items:stretch; flex-direction:column; width:min(100%,270px); } .resume-button,.text-button { width:100%; }
  .hero-orbit { display:block; position:absolute; inset:74px 0 0; width:100%; height:auto; aspect-ratio:auto; margin:0; border:0; box-shadow:none; }
  .hero-orbit::after { display:none; }
  .hero-orbit .round-link { width:72px; height:72px; flex-basis:72px; padding:0 7px; font-size:.48rem; gap:.25rem; background:rgba(12,13,12,.92); backdrop-filter:none; -webkit-backdrop-filter:none; transition:none; }
  .hero-orbit .moving-link { will-change:auto; }
  .hero-orbit .round-link span { width:54px; white-space:normal; line-height:1.12; text-align:center; }
  .hero-orbit .round-link b { font-size:1rem; }
  .hero-orbit .round-link,
  .hero-orbit .round-link:hover,
  .hero-orbit .round-link:active,
  .hero-orbit .round-link:focus { transform:translate(-50%,-50%); background:rgba(12,13,12,.92); color:var(--paper); -webkit-tap-highlight-color:transparent; }
  .hero-orbit .round-link:active { border-color:var(--acid); }
  .hero-orbit .round-link:focus-visible { outline:1px solid var(--acid); outline-offset:3px; }
  .hero-orbit .round-link span,.hero-orbit .round-link b { color:var(--paper)!important; opacity:1!important; visibility:visible!important; }
  .hero-code { position:relative; bottom:auto; left:auto; right:auto; margin-top:2.5rem; }
  .about-grid { grid-template-columns:1fr; } .about-copy,.education-card,.about-portrait { grid-column:1; } .about-portrait { height:480px; } .education-card { order:3; }
  .project-card { grid-template-columns:36px minmax(0,1fr) 22px; gap:.7rem; padding:30px 12px; } .project-number { padding-left:2px; } .project-arrow { justify-self:center; } .project-card:hover .project-arrow,.project-card:active .project-arrow,.project-card:focus .project-arrow { transform:none; } .recruiter-strip { grid-template-columns:1fr; } .recruiter-strip span,.recruiter-strip span:nth-child(2) { padding:14px 5vw; border-right:0; border-bottom:1px solid var(--line); } .recruiter-strip span:last-child { border-bottom:0; } .now-summary { padding:28px 28px 0; } .now-card-grid>div { padding:28px; }
  .project-outcomes { grid-template-columns:1fr; }
  .project-copy h3 { font-size:1.65rem; } .contact { padding:90px 5vw 70px; } .contact h2 { margin:36px 0 56px; font-size:16vw; }
  .featured-post,.linkedin-panel { padding:26px; } .featured-post { min-height:420px; } .featured-post h3 { margin-top:4rem; }
  .writing-title-row { align-items:center; } .rss-link span { display:none; } .rss-link { padding:10px; }
  .terminal { min-height:460px; } .terminal-output { max-height:370px; padding:18px; font-size:.72rem; } .terminal-bar { padding:12px 14px; }
  .maze-demo { padding:18px; } .maze-actions { width:100%; } .maze-actions button { flex:1; } .maze-panel { padding:10px; }
  .article-live-lab { width:100vw; margin-block:4rem; padding:32px 5vw; }
  .single-grid-demo { width:100vw; margin-block:4rem; padding:24px 5vw; } .single-grid-actions { width:100%; } .single-grid-actions button { flex:1; }
  .article-header { height:74px; padding:0 5vw; } .article-shell { padding:80px 0; } .article-shell h1 { font-size:15vw; } .project-shell { padding:70px 0 90px; } .project-shell>h1 { font-size:16vw; } .case-architecture { margin:70px 0; padding:26px; } .case-story-grid section { padding:28px; } .case-detail-section { margin:70px 0; } .case-implementation li { grid-template-columns:42px 1fr; } .case-results { margin:70px 0; } .case-next { padding:32px; }
  .contact-links { flex-direction:column; } footer { grid-template-columns:1fr 1fr; padding:28px 5vw; } footer p { display:none; }
}
@media (hover:none) and (pointer:coarse) {
  .hero-orbit .round-link,
  .hero-orbit .round-link:hover,
  .hero-orbit .round-link:active,
  .hero-orbit .round-link:focus { transform:translate(-50%,-50%); background:rgba(12,13,12,.92); color:var(--paper); -webkit-tap-highlight-color:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; transition:none; }
  .hero-orbit .moving-link { will-change:auto; }
  .hero-orbit .round-link span,.hero-orbit .round-link b { color:var(--paper)!important; opacity:1!important; visibility:visible!important; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } .motion-ready [data-reveal] { opacity:1; translate:none; } }

/* Bounded browser 6502 CPU lab */
.cpu-lab { margin:100px 0 90px; padding:42px; background:#0e100d; color:var(--paper); border:1px solid #343731; }
.cpu-lab-heading { display:grid; grid-template-columns:.7fr 1.3fr; gap:2rem; margin-bottom:38px; }
.cpu-lab-heading h2 { margin:.8rem 0 1rem; color:var(--paper); font-size:clamp(2.3rem,4.5vw,4.8rem); line-height:.94; letter-spacing:-.055em; }
.cpu-lab-heading>div>p { max-width:690px; margin:0; color:#9da097; line-height:1.7; }
.cpu-lab-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr); gap:1px; background:#343731; border:1px solid #343731; }
.cpu-lab-panel { min-width:0; padding:28px; background:#151714; }
.cpu-lab label { display:block; margin-bottom:10px; color:#8e9188; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; }
.cpu-program-input { display:block; width:100%; min-height:118px; resize:vertical; padding:18px; border:1px solid #3c4038; border-radius:0; outline:none; background:#090a09; color:var(--acid); font:1rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; }
.cpu-program-input:focus { border-color:var(--acid); }
.cpu-lab-controls { display:flex; flex-wrap:wrap; gap:9px; margin-top:14px; }
.cpu-lab-controls button { min-height:42px; padding:0 15px; border:1px solid #4b4e47; background:transparent; color:#d9dbd3; font:.62rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; cursor:pointer; }
.cpu-lab-controls button:hover,.cpu-lab-controls button:focus-visible { border-color:var(--acid); color:var(--acid); outline:none; }
.cpu-lab-controls .primary { border-color:var(--acid); background:var(--acid); color:var(--ink); }
.cpu-lab-status { min-height:1.5em; margin:18px 0 0; color:#b9bbb3; font:.72rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.cpu-registers { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; margin:0; background:#343731; border:1px solid #343731; }
.cpu-registers div { min-width:0; padding:14px; background:#0d0f0c; }
.cpu-registers dt { margin-bottom:.7rem; color:#777a72; font:.56rem ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; }
.cpu-registers dd { margin:0; color:var(--paper); font:1rem ui-monospace,SFMono-Regular,Menlo,monospace; }
.cpu-registers .cpu-output dd { color:var(--acid); }
.cpu-trace { min-height:180px; max-height:260px; margin:20px 0 0; padding:18px; overflow:auto; background:#090a09; color:#aeb0a8; border:1px solid #30332d; font:.72rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre-wrap; }
.cpu-safety-note { display:grid; grid-template-columns:auto 1fr; gap:14px; margin:24px 0 0; padding-top:22px; border-top:1px solid #30332d; color:#858880; font:.66rem/1.65 ui-monospace,SFMono-Regular,Menlo,monospace; }
.cpu-safety-note strong { color:var(--acid); text-transform:uppercase; letter-spacing:.1em; }
@media (max-width:820px) { .cpu-lab-heading,.cpu-lab-grid { grid-template-columns:1fr; } .cpu-registers { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .cpu-lab { width:100vw; margin:70px 50% 65px; transform:translateX(-50%); padding:28px 5vw; } .cpu-lab-panel { padding:20px; } .cpu-lab-controls button { flex:1; } .cpu-registers { grid-template-columns:repeat(2,minmax(0,1fr)); } .cpu-lab-heading h2 { font-size:2.45rem; } }

.credit-name { color:var(--acid); text-decoration:none; transition:opacity 180ms ease; }
.credit-name:hover,.credit-name:focus-visible { opacity:.76; outline:none; }
