html { scroll-behavior: smooth; }
body { overflow-x: clip; }
.aloud-page .shell { max-width: 1240px; }
.showcase { padding: 58px 0 68px; }
.gallery { width: 92%; margin: 56px auto 0; }
.deck { position: relative; width: 100%; aspect-ratio: 1.76; perspective: 1700px; isolation: isolate; touch-action: pan-y; }
.deck:focus-visible { outline: 2px solid var(--accent); outline-offset: 16px; border-radius: 12px; }
.card { position: absolute; inset: 0; margin: 0; border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transform-origin: center;
  box-shadow: 0 12px 35px #0000001a; will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.card:not(.front) img { opacity: .22; filter: saturate(.3); }
.card:not(.front) { pointer-events: none; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 25px; margin: 40px 0 0; }
.gallery-controls button { font: inherit; line-height: 1.1; color: var(--text); background: none; border: 1px solid var(--line); width: 42px; height: 36px; border-radius: 4px; cursor: pointer; }
.gallery-controls button:hover { background: var(--surface); }
.gallery-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.gallery-controls output { font: var(--type-body)/1.6 ui-monospace, Consolas, monospace; color: var(--muted); min-width: 42px; }

.summary, .purchase { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.summary h1, .summary p, .summary .purchase p, .purchase { margin: 0; }
.summary .intro { max-width: none; }
.summary .hardware { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.summary .hardware span { white-space: nowrap; }
.purchase-information { border-top: 1px solid var(--line); padding: 30px 0 54px; color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .showcase { padding: 40px 0 44px; }
  .gallery { width: 100%; margin-top: 36px; }
  .gallery-controls { margin-top: 28px; }
  .purchase-information { padding: 25px 0 42px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
