/* Scoped to the mechanical addition; existing PCBA and site layouts retain their rules. */
.coffee-mech{scroll-margin-top:110px;padding-top:64px;border-top:1px solid #dfe3e3}
.coffee-mech-heading{max-width:850px;margin:0 0 32px}.coffee-mech-heading h2{max-width:760px;letter-spacing:-.035em}
.coffee-mech-intro{font-size:18px;line-height:1.7;color:#4c5555;max-width:790px}
.coffee-mech-block{margin-top:48px}.coffee-mech-block>h3,.coffee-mech-media>h3{font-size:25px;line-height:1.3;margin-bottom:14px;letter-spacing:-.02em}
.coffee-mech-viewer{position:relative;overflow:hidden;border:1px solid #dce0e0;border-radius:18px;background:#f1f3f3;margin:22px 0;aspect-ratio:4/3;max-height:760px;min-height:300px}
.coffee-mech-viewer-poster{height:100%;display:grid;place-items:center}.coffee-mech-viewer-poster>img{width:100%;height:100%;object-fit:cover;grid-area:1/1}
.coffee-mech-viewer-poster>.coffee-button{grid-area:1/1;align-self:end;margin:0 22px 26px;position:relative;box-shadow:0 3px 18px #0002}
.coffee-mech-viewer iframe{border:0;display:block;position:absolute;inset:0;width:100%;height:100%;background:#f1f3f3}
.coffee-mech-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 0}.coffee-mech-gallery figure{margin:0;min-width:0}
.coffee-mech-gallery a{display:block;border-radius:12px;overflow:hidden;background:#f2f3f3;border:1px solid #e0e4e4}.coffee-mech-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .2s ease}
.coffee-mech-gallery a:hover img{transform:scale(1.025)}.coffee-mech-gallery a:focus-visible{outline:3px solid #00755b;outline-offset:3px}
.coffee-mech .coffee-card p{line-height:1.7}.coffee-mech-use{grid-template-columns:repeat(3,minmax(0,1fr))}
.coffee-mech .coffee-download{min-height:140px;display:flex;flex-direction:column;justify-content:space-between;gap:18px}
.coffee-mech .coffee-download strong{line-height:1.45}.coffee-mech .coffee-download span{font-size:13px}
@media(max-width:760px){.coffee-mech{padding-top:40px}.coffee-mech-heading{margin-bottom:24px}.coffee-mech-intro{font-size:16px}.coffee-mech-use{grid-template-columns:1fr}.coffee-mech-block{margin-top:34px}.coffee-mech-block>h3,.coffee-mech-media>h3{font-size:22px}.coffee-mech-viewer{aspect-ratio:3/4;min-height:440px;border-radius:14px}.coffee-mech-viewer-poster>img{object-fit:contain}.coffee-mech-viewer-poster>.coffee-button{margin:0 14px 20px;text-align:center}.coffee-mech-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.coffee-mech .coffee-download{min-height:110px}.coffee-mech .coffee-card{min-width:0}}
@media(prefers-reduced-motion:reduce){.coffee-mech-gallery img{transition:none}.coffee-mech-gallery a:hover img{transform:none}}

.coffee-mech-viewer-poster[hidden]{display:none}.coffee-mech .coffee-kicker{letter-spacing:.13em}
