/* All photos and descriptions remain readable without JavaScript and on paper. */
.of-machines { padding-block: clamp(24px, 4vw, 56px); color: #1b1e20; background: #ebeae5; border-bottom: 1px solid #d5d4ce; }
.of-machines-head, .of-machines-foot, .of-machines-controls, .of-machines-picks { display: flex; gap: 8px; align-items: center; }
.of-machines-head, .of-machines-foot { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.of-machines-head { margin-bottom: 17px; }
.of-machines-head h2 { margin-top: 6px; font: 600 clamp(2.2rem,4.6vw,3.8rem)/.98 var(--display); letter-spacing: -.025em; }
.of-machines-controls button, .of-machines-picks button {
  min-height:42px; padding:6px 13px; border-radius:2px;
  font:650 .89rem/1.2 var(--body); cursor:pointer;
}
.of-machines-controls button {background:#f7f6f1;border:1px solid #757972;color:#202322}
.of-machines-controls button:is([data-slide-prev],[data-slide-next]) {font:500 1.65rem/1 var(--body);min-width:44px}
.of-machines-controls [data-slide-toggle] {min-width:86px}
.of-machines-controls button:hover {background:#e4e1da;border-color:#585a56}
.of-machines-picks {padding:2px;gap:2px;border:1px solid #585a56;background:#191b1c;border-radius:4px}
.of-machines-picks button {min-height:36px;background:transparent;border:1px solid transparent;color:#d3d6cd}
.of-machines-picks button:hover {background:#343736;color:white}
.of-machines-picks button[aria-pressed=true] {background:#e4e1da;color:#202322}
.of-machine { display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,1fr); align-items: stretch; margin: 0; overflow: hidden; background: #191b1c; border: 1px solid #585a56; border-radius: 4px; }
.of-machine + .of-machine { margin-block-start: 12px; }
.of-machines[data-ready] .of-machines-list { display: grid; }
.of-machines[data-ready] .of-machine { grid-area: 1/1; margin: 0; }
.of-machines[data-ready] [aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.of-machine figure { margin: 0; position: relative; display: grid; place-items: center; overflow: hidden; background: #121414; }
.of-machine figure img { width: 100%; height: clamp(250px,26vw,345px); display: block; object-fit: contain; }
.of-machine figcaption {
  position: absolute; bottom: 0; left: 0; padding: 3px 8px;
  font: 500 .74rem/1.4 var(--body); background: #101112f0; color: #fffdf3;
}
.of-machine figcaption a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.of-machine-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(20px,3.2vw,52px); color: #f5f4ef; }
.of-machine-kind { padding-left: 12px; border-left: 3px solid #bf783e; font-weight: 650; color: #eec698; }
.of-machine-copy h3 { margin: .33em 0; font: 600 clamp(1.95rem,3.9vw,3.65rem)/1.02 var(--display); letter-spacing: -.02em; }
.of-machine-copy h3 + p { margin: 0; max-width: 50ch; color: #d3d6cd; font-size: clamp(.98rem,1.2vw,1.1rem); }
.of-machine-link { display: inline-flex; align-items: center; min-height: 42px; margin-top: 12px; font-weight: 650; color: #eec698; text-underline-offset: .24em; }
.of-machine :focus-visible { outline: 3px solid #bf783e; outline-offset: 3px; }
.of-machines-foot { padding-top: 12px; }
.of-machines-picks { flex-wrap: wrap; }
.of-machines [hidden] { display: none; }
@media(max-width:680px) {
  .of-machine { grid-template-columns: 1fr; }
  .of-machine figure img { height: clamp(170px,55vw,260px); }
  .of-machine-copy { padding: 17px 19px 12px; }
  .of-machine-copy h3 { margin-block: .22em; }
  .of-machines-controls { gap: 5px; }
  .of-machines-foot .simple { padding-block: 8px; }
}
@media(prefers-reduced-motion:no-preference) {
  .of-machines[data-ready] .of-machine[aria-hidden="false"] .of-machine-copy { animation: of-machine-in .32s ease-out; }
  .of-machines[data-ready] .of-machine[aria-hidden="false"] figure img { animation: of-photo-in .45s ease-out; }
  @keyframes of-photo-in { from { opacity: .55; transform: translateX(12px); } to { opacity: 1; transform: none; } }
  @keyframes of-machine-in { from { transform: translateY(5px); opacity: .72; } to { transform: none; opacity: 1; } }
}
@media print {
  .of-machines[data-ready] .of-machines-list { display: block; }
  .of-machines[data-ready] .of-machine { visibility: visible; margin-bottom: 12px; }
  .of-machines-controls, .of-machines-picks { display: none; }
  .of-machine { break-inside: avoid; }
}

