/* Audio Magic Lab: the concrete dial (Symphony Opus One and The Dial). Loaded only where used.
   The real controller (drawn from the Opus One video reference, task 0068): a pale cast concrete block with a low terracotta puck on top.
   Layers (docs/LAYERS.md): dial-block.png (the block), dial-puck.png (the turning puck). The light never turns with the puck. */
.opus__block { position: relative; width: var(--block, clamp(150px, 13vw, 200px)); aspect-ratio: 300 / 380; filter: drop-shadow(0 26px 22px rgba(40, 26, 12, .28)); }
.opus__block-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.opus__dial { position: absolute; left: 50%; top: 42%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  cursor: grab; touch-action: none; outline: none; transition: transform var(--t-fast) var(--ease);
  box-shadow: 0 10px 10px -6px rgba(70, 36, 20, .45), 0 2px 3px rgba(70, 36, 20, .3); }
.opus.is-turning .opus__dial { cursor: grabbing; }
.opus__dial.is-pressed { transform: translate(-50%, -50%) scale(.97); }
.opus__dial:focus-visible { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--focus), 0 10px 10px -6px rgba(70, 36, 20, .45); }
.opus__cap { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; transform: rotate(var(--turn, 0deg)); will-change: transform; }
.opus__cap img { width: 100%; height: 100%; display: block; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.opus__mark { position: absolute; left: 50%; top: 8%; width: 2px; height: 12%; margin-left: -1px; border-radius: 1px; background: rgba(90, 44, 24, .45); box-shadow: 1px 1px 0 rgba(255, 230, 210, .35); }
.opus__dial::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 26%, rgba(255, 245, 235, .28), rgba(255, 245, 235, 0) 45%); }
.opus__pads i { position: absolute; width: 34%; height: 34%; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 230, 210, .25) 60%, transparent); mix-blend-mode: screen; }
.opus__pads i:nth-child(1) { left: -6%; top: 33%; } .opus__pads i:nth-child(2) { left: 33%; bottom: -6%; }
.opus__pads i:nth-child(3) { right: -6%; top: 33%; } .opus__pads i:nth-child(4) { left: 33%; top: -6%; }
.opus__pads i.is-on { opacity: .9; }
.dialspec__dial { position: relative; left: auto; top: auto; transform: none; width: var(--size); }
.dialspec__dial.is-pressed { transform: scale(.97); }

/* the real dial is one dark grey concrete: block and puck the same material (refrences/IMG_6257, IMG_6258; 2026-10-03).
   The layers stay Louis's files; this tints them until concrete renders replace them. */
.opus__block-img { filter: grayscale(1) brightness(.6) contrast(1.08); }
.opus__cap img { filter: grayscale(1) brightness(.66) contrast(1.05); }
/* 3D (task 0100, ?render=3d): opus3d.js draws the real remote; the block takes its footprint and the dial lies over the
   centre button as the ellipse it projects to (sizes set inline by opus3d.js) */
.opus__canvas { position: absolute; pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.opus.is-3d .opus__block { aspect-ratio: auto; filter: none; }
.opus.is-3d .opus__block-img, .opus.is-3d .opus__cap, .opus.is-3d .opus__pads, .opus.is-3d .opus__dial::after { visibility: hidden; }
.opus.is-3d .opus__dial { aspect-ratio: auto; box-shadow: none; }
.opus.is-3d .opus__dial:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--focus); }
.opus.is-3d .opus__block::after { left: var(--dx); top: var(--dy); width: var(--dw); height: var(--dh); aspect-ratio: auto; }
.opus.is-3d-on .opus__canvas { opacity: 1; }
.opus.is-3d:not(.is-present) .opus__dial { pointer-events: none; }   /* the wheel works only when the remote is held */
.opus.is-3d .opus__dial.is-pressed { transform: translate(-50%, -50%); }   /* the 3D button sinks instead */
/* in 3D the remote speaks for itself: no readout or guide, just a cue beside the wheel (opus3d.js; like AM-01's drag cue) */
.opus.is-3d .opus__readout, .opus.is-3d .opus__guide { display: none; }
.opus__turn { position: absolute; left: calc(var(--dx) - var(--dw) / 2 - 14px); top: var(--dy); transform: translate(-100%, -50%); display: flex; align-items: center; gap: .7em;
  white-space: nowrap; pointer-events: none; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-strong);
  opacity: 0; transition: opacity .4s var(--ease); }
.opus__turn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.opus.is-present:not(.is-turning) .opus__turn { opacity: 1; transition-delay: .35s; }
.opus.is-present .opus__turn svg { animation: turn-l 1.7s var(--ease) infinite; }
.opus.is-present .opus__turn svg:last-child { animation-name: turn-r; }   /* the last (or only) arrow nudges clockwise */
@keyframes turn-l { 50% { transform: rotate(-22deg); } }
@keyframes turn-r { 50% { transform: rotate(22deg); } }
.opus.is-used .opus__turn { display: none; }
@media (prefers-reduced-motion: reduce) { .opus__turn svg { animation: none; } }
