/* V6.8 PCB Design: self-contained article, no changes to accepted 3D/home page. */
.pcb-portfolio {font-family:inherit; color:#173039; padding-bottom:5rem}
.pcb-portfolio a{color:#325e48;text-underline-offset:3px}
.pcb-opening{max-width:890px;text-align:center;padding-top:2.3rem;padding-bottom:4.8rem}
.pcb-eyebrow,.pcb-mini{display:block;text-transform:uppercase;letter-spacing:.2em;font-size:.67rem;font-weight:700;color:#65816f}
.pcb-opening h2{font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.1;letter-spacing:-.04em;max-width:780px;margin:1rem auto 1.6rem}
.pcb-reading{max-width:740px;margin:0 auto;text-align:left}
.pcb-reading p{font-size:1.02rem;line-height:1.85;color:#31474d;margin:0 0 1.25rem}
.pcb-opening .pcb-reading{max-width:705px}
.pcb-keywords{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin-top:2rem}
.pcb-keywords span{border:1px solid #d8e3d8;border-radius:30px;padding:.45rem .85rem;font-size:.76rem;color:#456854;background:#f5f8f2}
.pcb-chapter{padding:5rem 0 5.6rem;border-top:1px solid #e1e7e0}
.pcb-chapter-soft{background:#f0f5ef}
.pcb-chapter .wrap{max-width:1040px}
.pcb-chapter-intro{max-width:790px;margin:0 auto 3.4rem;text-align:center}
.pcb-chapter-intro>span{color:#678674;font-size:.7rem;letter-spacing:.22em;font-weight:700;text-transform:uppercase}
.pcb-chapter-intro h2{font-size:clamp(2rem,3.5vw,3.3rem);max-width:760px;margin:.9rem auto 1.1rem;letter-spacing:-.05em;line-height:1.12}
.pcb-chapter-intro>p{font-size:1rem;line-height:1.6;color:#5b7471;max-width:690px;margin:auto}
.pcb-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(2rem,5vw,5rem);align-items:center}
.pcb-split-copy h3{font-size:1.7rem;letter-spacing:-.035em;margin:0 0 1rem;line-height:1.15}
.pcb-original-board{background:#183a35;color:#e6f0e7;padding:2.2rem 2rem;border-radius:4px;min-height:455px;box-shadow:0 18px 36px rgba(25,55,47,.11);display:flex;flex-direction:column;justify-content:center;gap:.65rem;text-align:left}
.pcb-original-board .pcb-mini{color:#a7cfad}
.pcb-original-board h3{color:white;font-size:1.65rem;line-height:1.2;letter-spacing:-.03em;margin:.35rem 0}
.pcb-original-board p,.pcb-original-board small{color:#deebe2;line-height:1.6;margin:.3rem 0}
.pcb-original-board small{opacity:.77;font-size:.75rem}
.pcb-original-board a{color:#fff;border:1px solid #93bea3;padding:.78rem 1.1rem;display:inline-block;align-self:flex-start;text-decoration:none;font-weight:700;margin:.45rem 0}
.pcb-original-board a:hover{background:#25594e}
.pcb-board-icon{width:142px;height:108px;border:2px solid #7cae8a;border-radius:5px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:17px;margin-bottom:1.1rem;background-image:repeating-linear-gradient(90deg, transparent,transparent 13px,#427b5e 14px,transparent 15px)}
.pcb-board-icon span{background:#c2d7aa;border:1px solid #daf0bb;box-shadow:0 0 0 3px #37694f;min-width:0}
.pcb-subpanel{margin-top:5.8rem;border-top:1px solid #d9e2dc;padding-top:2.2rem}
.pcb-systems{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.7rem;margin-top:1.4rem}
.pcb-systems div>span{color:#749c75;font-size:.74rem;font-weight:700}
.pcb-systems h3{font-size:1.16rem;margin:.6rem 0 .6rem;line-height:1.25}
.pcb-systems p{font-size:.91rem;line-height:1.6;color:#54706a}
.pcb-center{max-width:725px}
.pcb-editorial-note{background:#fff;border-left:3px solid #709478;padding:1.1rem 1.35rem;margin-top:1.9rem!important;font-size:.91rem!important}
.pcb-other-card{max-width:780px;padding:2.8rem 3rem;margin:0 auto;background:#f7f9f5;border:1px solid #dbe5dd}
.pcb-other-card h3{font-size:1.65rem;letter-spacing:-.035em;margin:1rem 0}
.pcb-other-card p{line-height:1.8;color:#38534e;font-size:1rem}
.pcb-other-card a{display:inline-block;margin-top:.8rem;font-weight:700}
.pcb-followup{font-size:.9rem;text-align:center;margin:1.8rem auto 0;max-width:700px;line-height:1.65;color:#647a75}
.pcb-context-links{display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:2.1rem}
.pcb-context-links a{font-weight:700}
@media(max-width:850px){.pcb-split{grid-template-columns:1fr}.pcb-original-board{min-height:0;max-width:600px;margin:auto}.pcb-systems{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.pcb-chapter{padding:3.2rem 0}.pcb-opening{padding-top:1rem;padding-bottom:3rem}.pcb-systems{grid-template-columns:1fr 1fr;gap:1rem}.pcb-other-card{padding:1.6rem}.pcb-reading p{font-size:.96rem}.pcb-original-board{padding:1.6rem}.pcb-chapter-intro{margin-bottom:2rem}}

/* New GrowRight engineering evidence: original wiring prototype and board renders. */
.pcb-project-figure{margin:0;text-align:center;min-width:0}
.pcb-project-figure img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;border:1px solid #dbe4da;background:#f9faf8;border-radius:3px}
.pcb-project-figure a{display:block;text-decoration:none}
.pcb-project-figure a:focus-visible{outline:3px solid #6b9276;outline-offset:5px}
.pcb-project-figure figcaption{font-size:.84rem;line-height:1.6;color:#5a726a;margin:.72rem auto 0;max-width:570px}
.pcb-story-split{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);align-items:center}
.pcb-original-prototype img{max-height:340px;object-fit:contain}
.pcb-board-development{margin-top:4rem}
.pcb-board-development .pcb-center h3{font-size:1.7rem;line-height:1.2;letter-spacing:-.035em;margin:1rem 0}
.pcb-images-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem;margin-top:2rem;align-items:start}
.pcb-images-grid img{aspect-ratio:606/348;object-fit:contain}
.pcb-sensor-split{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);align-items:center}
.pcb-sensor-photo{max-width:500px;margin:0 auto}
.pcb-sensor-photo img{max-height:420px;object-fit:contain}
@media(max-width:840px){.pcb-story-split,.pcb-sensor-split{grid-template-columns:1fr}.pcb-story-split .pcb-original-prototype{max-width:640px;margin:0 auto}.pcb-sensor-photo{margin:0 auto}.pcb-story-split .pcb-split-copy{order:-1}}
@media(max-width:580px){.pcb-images-grid{grid-template-columns:1fr;gap:1.4rem}.pcb-story-split{gap:1.5rem}.pcb-chapter-intro h2{word-wrap:break-word}}

/* V6.9: Fire Wand independent PCB section. */
.pcb-fire-wand-panel{max-width:1040px;padding:3rem 3.2rem}
.pcb-fire-wand-panel>h3{max-width:780px;margin-bottom:1.9rem}
.pcb-fire-wand-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:2.5rem;align-items:center}
.pcb-fire-wand-layout p{text-align:left}
.pcb-fire-wand-layout .pcb-fire-wand-copy a{font-weight:700}
.pcb-fire-wand-figure{width:100%;max-width:380px;justify-self:center}
.pcb-fire-wand-figure img{width:100%;height:auto;aspect-ratio:229/216;object-fit:contain;background:#9e9e9e}
@media(max-width:760px){.pcb-fire-wand-layout{grid-template-columns:1fr;gap:1.8rem}.pcb-fire-wand-panel{padding:1.8rem 1.5rem}.pcb-fire-wand-layout p{text-align:center}.pcb-fire-wand-figure{max-width:340px}}

/* V6.10: Fire Wand PCB and custom CAD winding tube appear together. */
.pcb-fire-wand-layout-v610{display:block}
.pcb-fire-wand-layout-v610 .pcb-fire-wand-copy{max-width:780px;margin:0 auto;text-align:left}
.pcb-fire-wand-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.8rem;align-items:start;margin-top:2.2rem}
.pcb-fire-wand-gallery .pcb-fire-wand-figure{width:100%;max-width:none;margin:0}
.pcb-fire-wand-gallery .pcb-fire-wand-figure a{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e9ece6;min-height:250px}
.pcb-fire-wand-gallery .pcb-fire-wand-figure img{display:block;aspect-ratio:4/3;object-fit:contain;width:100%;height:auto;max-height:350px;background:#e9ece6;border-radius:0}
.pcb-fire-wand-gallery .pcb-fire-wand-figure figcaption{max-width:430px;font-size:.88rem;line-height:1.6}
@media(max-width:760px){.pcb-fire-wand-gallery{grid-template-columns:1fr;max-width:460px;margin:2rem auto 0;gap:1.7rem}.pcb-fire-wand-layout-v610 .pcb-fire-wand-copy p{text-align:left}.pcb-fire-wand-gallery .pcb-fire-wand-figure a{min-height:0}}

/* V6.11: finished motherboard photograph below the two original CAD layout views. */
.pcb-assembled-board{max-width:455px;margin:2.1rem auto 0}
.pcb-assembled-board img{width:100%;height:auto;aspect-ratio:768 / 1024;object-fit:contain}
@media(max-width:580px){.pcb-assembled-board{max-width:360px;margin-top:1.55rem}}

/* V6.12: assembled motherboard alongside the three-paragraph case study. */
.pcb-board-development .pcb-motherboard-feature{
  display:grid;
  grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);
  align-items:center;
  gap:clamp(1.7rem,4.5vw,3.4rem);
  max-width:100%;
}
.pcb-motherboard-feature .pcb-board-feature-copy{max-width:none;min-width:0}
.pcb-motherboard-feature .pcb-assembled-board{width:100%;max-width:390px;margin:0 auto;min-width:0}
.pcb-motherboard-feature .pcb-assembled-board img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain}
.pcb-board-development .pcb-images-grid{margin-top:2.7rem}
@media (max-width:780px){
  .pcb-board-development .pcb-motherboard-feature{grid-template-columns:1fr;gap:1.65rem}
  .pcb-motherboard-feature .pcb-assembled-board{max-width:350px}
  .pcb-board-development .pcb-images-grid{margin-top:2.2rem}
}
