*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;background:#131920;color:#ebeff2;font:17px/1.62 Inter,"Helvetica Neue",Arial,sans-serif}.page{max-width:1280px;margin:auto;padding:0 clamp(20px,5.5vw,80px)}header,footer{display:flex;justify-content:space-between;align-items:center;gap:18px}header{padding:27px 0 24px;border-bottom:1px solid #4a5562}header h1{font-size:24px;letter-spacing:-.06em;line-height:1.1;margin:0}header p,.role,figcaption,footer{color:#b8c3cc}header p{font-size:14px;margin:5px 0 0}a{color:inherit;text-underline-offset:3px}summary{cursor:pointer;font-size:14px;font-weight:600;white-space:nowrap}details{position:relative}.menu{position:absolute;right:0;top:34px;z-index:5;background:#202833;border:1px solid #536170;width:230px;padding:8px;box-shadow:0 8px 20px #0001}.menu a{display:block;text-decoration:none;padding:7px 10px;font-size:15px}.menu a:hover,.menu a:focus{background:#343e4a}.kicker{font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.13em;margin:30px 0 14px}h2,h3{margin:0;line-height:1.06;letter-spacing:-.055em;font-weight:600}h2{font-size:clamp(34px,4.5vw,64px);max-width:19em}.lead h2{font-size:clamp(43px,6vw,82px)}h2 span{font-weight:400}h3{font-size:clamp(25px,2.5vw,35px)}.role{font-size:15px;margin:10px 0 25px}main>article,main>section{border-bottom:1px solid #3b4651;padding:58px 0}.lead{padding-top:0}.hero{display:grid;grid-template-columns:1.28fr 1fr;gap:clamp(24px,5vw,70px);align-items:center}figure{margin:0;min-width:0}img,video{width:100%;display:block}.machine img{height:clamp(365px,41vw,540px);object-fit:contain;background:#202833}.heroaside{max-width:440px}.intro{font-size:clamp(19px,2vw,26px);line-height:1.42;letter-spacing:-.03em;margin:0 0 26px}.detail img{max-height:240px;object-fit:contain;object-position:left}.detail{max-width:355px}figcaption{font-size:14px;line-height:1.45;margin-top:9px}.copy,.pair,.engineering,.fpga{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(22px,4vw,60px)}.copy{margin-top:28px}.copy p,.fpga p,.engineering p{margin:0}.pair{gap:20px}.pair video{aspect-ratio:16/10;background:#161918;object-fit:contain}.pair img{aspect-ratio:16/9;object-fit:cover}.engineering{padding-top:8px}.engineering h3{margin-bottom:15px}.engineering p+p{margin-top:14px}.fpga{align-items:center}.fpga img{border:1px solid #e0e5e2}footer{font-size:14px;padding:30px 0 40px}footer a{white-space:nowrap}:focus-visible{outline:3px solid #8ad4ea;outline-offset:4px}.skip{position:absolute;left:8px;top:-100px;background:#202833;padding:8px;z-index:9}.skip:focus{top:8px}
@media(max-width:720px){body{font-size:16px}header{padding:20px 0}header p{font-size:13px;max-width:250px}.kicker{margin:24px 0 10px}main>section,main>article{padding:36px 0}.lead{padding-top:0}.hero,.copy,.pair,.engineering,.fpga{grid-template-columns:1fr;gap:20px}.role{font-size:14px;margin-bottom:19px}.machine img{height:auto;max-height:440px}.heroaside{max-width:none}.intro{margin-bottom:18px}.detail{max-width:400px}.copy{gap:13px;margin-top:19px}.engineering{gap:28px}.fpga{gap:18px}footer{align-items:flex-start}.pair video{aspect-ratio:auto;width:100%;max-height:350px}}

:root{color-scheme:dark}.logic{margin-top:24px}.logic img{height:clamp(220px,30vw,370px);object-fit:contain;background:#eaecee}.follow{grid-column:1/-1;max-width:80ch}#fpga>p:not(.role){max-width:76ch}.machine img{background:transparent}.skip{color:#fff}

.pec-note { max-width: 75ch; margin: 26px 0 0; color: #b8c3cc; font-size: 0.9rem; }

.lead > .intro { max-width: 64ch; margin: 0 0 1.4rem; }
.hero .detail { width: 100%; justify-self: start; }
.topic { display: block; margin-bottom: .35rem; }
#rack .ats-diagram img { object-fit: contain; background: #f8fafb; }

.rope-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.rope-gallery img { height: auto; object-fit: contain; }
.build-details { display: grid; gap: 25px; }
.controller-detail { max-width: 330px; }
@media (max-width: 720px) {
 .rope-gallery { grid-template-columns: 1fr; gap: 24px; }
 .frame-portrait { max-width: 440px; }
 .controller-detail { max-width: 330px; }
}

.rope-gallery { align-items: start; gap: 28px; }
.rope-gallery > figure > img { width: 100%; height: clamp(360px, 48vw, 620px); object-fit: contain; object-position: center top; }
.game-diagram { margin-top: 24px; max-width: 920px; }
.game-diagram img { width: 100%; height: auto; }
@media(max-width:720px) {
 .rope-gallery > figure > img { height: auto; max-height: 580px; }
}

.game-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: start; margin-top: 24px; }
.game-layout > p { margin: 0; }
.game-layout .game-diagram { margin: 0; }
@media(max-width:720px) { .game-layout { grid-template-columns: 1fr; gap: 20px; } }

@media(min-width:721px) {
 .engineering { grid-template-rows: auto auto auto; row-gap: 14px; }
 .engineering > section { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
 .engineering h3, .engineering p, .engineering p + p { margin: 0; }
}

.game-copy p { margin: 0; }
.game-copy p + p { margin-top: 16px; }

.pec-note, #crisp .copy .follow {
 max-width: none;
 width: 100%;
 border-top: 1px solid #3b4651;
 padding-top: 18px;
}
#crisp .copy .follow { margin-top: 0; }

.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; line-height: 1.5; }
header .contact-links { margin-top: 12px; }
.contact-links a { color: #ebeff2; }
.resume-pending { color: #a8b4bf; }
footer { flex-wrap: wrap; }
footer > span { flex-basis: 100%; }
@media(max-width:480px) { header { align-items: flex-start; } .contact-links { gap: 8px 14px; } }
