.pcb-showcase{position:relative;width:100%;min-width:0;background:transparent;color:var(--text,#eee);overflow:hidden}
.pcb-showcase-stage{position:relative;width:100%;height:clamp(350px,31vw,510px);min-width:0;background:transparent}
.pcb-showcase-stage canvas{display:block;width:100%;height:100%;outline-offset:-5px;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.pcb-showcase-stage canvas.is-dragging{cursor:grabbing}
.pcb-showcase canvas:focus{outline:none;box-shadow:none}
.pcb-showcase canvas:focus-visible:not(.is-pointer-focused){box-shadow:inset 0 -2px 0 #dae4ed}
.pcb-showcase-status{position:absolute;inset:0;display:grid;place-items:center;padding:32px;margin:0!important;color:#a5abb4;font:11px/1.8 var(--mono,monospace);text-align:center}
.pcb-showcase [hidden]{display:none!important}
@media(max-width:760px){.pcb-showcase-stage{height:350px}}
@media(max-width:380px){.pcb-showcase-stage{height:300px}}
.pcb-gallery:has([data-pcb-panel]:not([hidden])){background:transparent;border-color:transparent}
.pcb-gallery figcaption a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.pcb-gallery .gallery-tabs{display:flex;flex-wrap:nowrap}.pcb-gallery .gallery-tabs button{flex:1 1 auto}}
.hero-pcb-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:clamp(32px,5vw,90px)}
.hero-pcb-layout h1{font-size:clamp(52px,5.8vw,82px)}
.hero-pcb-layout .hero-statement{margin-top:28px;font-size:clamp(24px,2.25vw,32px)}
.hero-pcb-layout .hero-copy{max-width:600px}
.hero-pcb-layout .pcb-showcase-stage{height:clamp(380px,35vw,580px)}
.hero-pcb-layout .hero-actions{flex-direction:row;flex-wrap:wrap;gap:24px}
.hero:has(.hero-pcb-layout){padding-top:58px}
.hero:has(.hero-pcb-layout) .hero-topline{margin-bottom:24px}
.hero:has(.hero-pcb-layout) .hero-footnote{margin-top:18px;padding-top:24px}
@media(max-width:850px){.hero-pcb-layout{grid-template-columns:1fr;gap:8px}.hero-pcb-layout .hero-copy{max-width:650px}.hero-pcb-layout .pcb-showcase-stage{height:360px}.hero-pcb-layout h1{font-size:clamp(44px,9vw,66px)}.hero:has(.hero-pcb-layout){padding-top:34px}.hero-pcb-layout .hero-description{font-size:15px}.hero-pcb-layout .hero-statement{font-size:24px;margin-top:20px}.hero:has(.hero-pcb-layout) .hero-footnote{margin-top:0;padding-top:4px}}
@media(max-width:400px){.hero-pcb-layout .pcb-showcase-stage{height:300px}.hero-pcb-layout .hero-actions{gap:18px}.hero-pcb-layout .hero-actions .button{padding:11px 15px}}
/* Keep the featured PCB immediately beneath the name on smaller screens. */
@media(max-width:850px){
  .hero-pcb-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .hero-pcb-layout .hero-copy{display:contents}
  .hero-pcb-layout .hero-copy>h1{order:0}
  .hero-pcb-layout .hero-pcb{order:1;width:100%;min-width:0}
  .hero-pcb-layout .hero-statement{order:2;margin-top:0}
  .hero-pcb-layout .hero-description{order:3}
  .hero-pcb-layout .hero-actions{order:4}
}
