/* ============================================================
   pcb.css — page-specific styles for pcb.html
   Loaded alongside styles.css
   ============================================================ */
 
/* ---------- Section intro paragraph (sets up an image) ---------- */
.section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 65ch;
  margin: 0 0 1.5rem;
}
 
/* ---------- Technical image figure (schematic / board / 3D) ---------- */
.tech-figure { margin: 2rem 0 0; }
 
.tech-figure .frame {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: 1.5rem;
  min-height: 320px;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(0,0,0,0.012) 24px 25px);
}
 
/* Fallback placeholder label — only visible when img fails to load */
.tech-figure .frame::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  pointer-events: none;
}
 
.tech-figure img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border: none;
  background: var(--bg);
  z-index: 1;
}
 
.tech-figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
 
/* ---------- Design rationale (Design choices + Functionality) ---------- */
.rationale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
}
 
.rationale-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule);
}
 
.rationale-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
 
.rationale-col li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.95em;
  line-height: 1.65;
  color: var(--ink);
  font-size: 1rem;
}
 
.rationale-col li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 500;
}
 
@media (max-width: 720px) {
  .rationale {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
 