/* sOURnd combinations: three plugin faces over the same engine framework (static/faces/faces.js).
   Textures were generated for this page (Vertex AI image model through the Box Of Rules service account,
   tools/video/gen_texture.py) and saved as small WebP files beside this sheet. */

.combos { max-width: 1180px; margin: 0 auto; padding: 24px var(--gutter) 90px; }
.combos-head { max-width: 760px; margin: 30px 0 56px; }
.combos-head h1 { font-size: clamp(40px, 6vw, 84px); margin: .1em 0 .3em; }
.combos-head p { color: var(--muted); font-size: 19px; max-width: 700px; }

.combo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.combo-wide { grid-template-columns: minmax(0, 1fr); }
.combo > *, .combo-info > * { min-width: 0; }
.combo-wide .combo-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.combo-info h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 .3em; }
.combo-info p { color: var(--muted); margin: 0 0 1em; max-width: 700px; }
.combo-info h3 { font: 700 13px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.chain li { display: contents; }
.chain a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; background: rgba(237, 240, 238, .05); }
.chain a:hover { border-color: var(--petrol); }
.chain li + li::before { content: "→"; color: var(--muted); }
.macros { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--muted); }
.macros li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.macros strong { color: var(--text); }

.face-stage { min-height: 280px; display: grid; gap: 18px; justify-items: center; }
.face-stage:not(.ready) .face-fallback { color: var(--muted); }
.face-body { user-select: none; -webkit-user-select: none; touch-action: none; }

/* transport */
.face-transport { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.face-play { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; border-radius: 999px; border: 0; font: 700 15px/1 var(--ui); cursor: pointer;
  background: linear-gradient(120deg, var(--rasp), var(--amber)); color: #12060b; }
.face-play-ico { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.face-play[aria-pressed="true"] .face-play-ico { width: 11px; height: 12px; border: 0; background: currentColor; border-radius: 2px; }
.face-sources { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.face-sources button { border: 0; background: none; color: var(--muted); font: 600 14px/1 var(--ui); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.face-sources button[aria-pressed="true"] { background: rgba(237, 240, 238, .12); color: var(--text); }
.face-status { flex-basis: 100%; text-align: center; margin: 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }

/* knobs: an invisible range input over a drawn cap */
.fk { position: relative; display: grid; justify-items: center; gap: 6px; width: calc(var(--size) * 1.5); cursor: ns-resize; }
.fk-input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.fk:has(.fk-input:focus-visible) .fk-cap { outline: 2px solid var(--petrol); outline-offset: 4px; }
.fk-cap { position: relative; width: var(--size); height: var(--size); border-radius: 50%; transform: rotate(var(--a)); touch-action: none; }
.fk-ptr { position: absolute; left: 50%; top: 7%; width: 3px; height: 30%; margin-left: -1.5px; border-radius: 2px; }
.fk-scale { position: absolute; top: calc(var(--size) * -0.31); width: calc(var(--size) * 1.62); height: calc(var(--size) * 1.62); pointer-events: none; }
.fk-scale svg { width: 100%; height: 100%; overflow: visible; }
.fk-label { position: relative; font: 700 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; margin-top: calc(var(--size) * 0.18); }

/* ---------- Parlour ---------- */
.parlour-body { display: flex; width: min(100%, 720px); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.pl-cheek { flex: 0 0 clamp(18px, 4%, 30px); background: url(parlour-cheek.webp?v=bf1f7fb515) center / cover, #3a2416; border-radius: 6px;
  box-shadow: inset 2px 0 0 rgba(255, 220, 180, .14), inset -3px 0 6px rgba(0, 0, 0, .5); }
.pl-panel { flex: 1; min-width: 0; padding: 22px clamp(14px, 3.5%, 30px) 16px; color: #2a2119;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .06)), url(parlour-panel.webp?v=d8a4aaef91) center / cover, #e9dcc0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .15); }
.pl-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.pl-name { margin: 0; font: 800 clamp(22px, 3.4vw, 32px)/1 var(--display); letter-spacing: -.01em; color: #3b2a1c; }
.pl-name small { display: block; font: 600 11px/1.6 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: #8a6a48; }
.vu { position: relative; width: clamp(150px, 30vw, 210px); aspect-ratio: 200 / 112; border-radius: 8px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #fff6dc, #f2dfaa 70%, #e2c682); box-shadow: inset 0 0 0 3px #2a2119, inset 0 6px 14px rgba(0, 0, 0, .35); }
.vu-scale svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vu-scale line { stroke: #2a2119; stroke-width: 1.3; }
.vu-arc { fill: none; stroke: #2a2119; stroke-width: 1; }
.vu-big { font: 800 14px var(--display) !important; letter-spacing: .12em; }
.vu-scale .r { stroke: #b3261e; fill: #b3261e; }
.vu-scale text { font: 700 8.5px var(--ui); fill: #2a2119; text-anchor: middle; }
.vu-red { fill: none; stroke: #b3261e; stroke-width: 4; opacity: .8; }
.vu-needle { position: absolute; left: 50%; bottom: -14.3%; width: 1.6px; height: 96%; margin-left: -.8px; background: linear-gradient(180deg, #b3261e 0 9%, #1b1410 9%); transform-origin: 50% 100%; }
.vu-pivot { position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: linear-gradient(180deg, #3a2e22, #1d1610); box-shadow: 0 -1px 0 rgba(255, 255, 255, .25); }
.pl-power { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.pl-cap { font: 700 11px var(--ui); letter-spacing: .2em; text-transform: uppercase; color: #5a4430; }
.pl-lamp { --glow: .6; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a66, #5a1612 70%); box-shadow: 0 0 0 3px #b9a37a, 0 0 0 4px #6e5a3c; }
.pl-lamp.lit { background: radial-gradient(circle at 35% 30%, #ffe0b0, #ff5a2a 45%, #a41b0c); box-shadow: 0 0 0 3px #b9a37a, 0 0 0 4px #6e5a3c, 0 0 calc(var(--glow) * 26px) rgba(255, 90, 40, calc(var(--glow) * .9)); }
.pl-toggle { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: radial-gradient(circle at 40% 35%, #f4f4f2, #9a9a98 70%, #5c5c5a); }
.pl-bat { position: absolute; left: 50%; top: 50%; width: 8px; height: 28px; margin-left: -4px; border-radius: 4px; background: linear-gradient(90deg, #8c8c8a, #fbfbf8 45%, #8c8c8a); transform-origin: 50% 100%; transform: translateY(-100%) rotate(18deg); transition: transform .12s; box-shadow: 1px 3px 4px rgba(0, 0, 0, .35); }
.pl-toggle[aria-pressed="false"] .pl-bat { transform: translateY(-100%) rotate(162deg); }
.pl-knobs { display: flex; justify-content: space-around; padding: 34px 0 10px; color: #3b2a1c; }
.fk-wrap-chicken .fk-scale line { stroke: #3b2a1c; }
.fk-wrap-chicken .fk-scale text { font: 700 8px var(--ui); fill: #5a4430; text-anchor: middle; }
.fk-chicken { border-radius: 50%; background: radial-gradient(circle at 50% 50%, transparent 36%, rgba(0, 0, 0, .25) 37%, transparent 39%), url(knob-bakelite.webp?v=7695d16691) center / 140%, #111;
  box-shadow: 0 6px 10px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.fk-chicken::before { content: ""; position: absolute; left: 31%; right: 31%; top: -18%; bottom: 8%; border-radius: 45% 45% 30% 30% / 70% 70% 30% 30%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .22) 45%, rgba(0, 0, 0, .3)), url(knob-bakelite.webp?v=7695d16691) center / 300%, #141210; box-shadow: 0 4px 8px rgba(0, 0, 0, .5); }
.fk-chicken .fk-ptr { top: -14%; height: 34%; width: 2px; margin-left: -1px; background: #f3ead6; z-index: 1; }
.pl-foot { margin: 6px 0 0; text-align: center; font: 600 10px var(--ui); letter-spacing: .3em; text-transform: uppercase; color: #8a6a48; }

/* ---------- Ribbon ---------- */
.ribbon-body { display: flex; width: 100%; max-width: 1080px; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .6)); }
.rb-ear { flex: 0 0 34px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 18px 0;
  background: linear-gradient(90deg, #1a1b1e, #2c2e32 40%, #17181a); }
.rb-ear i { width: 12px; height: 18px; border-radius: 6px; background: #050506; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .08); }
.rb-panel { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(220px, 1.4fr) auto auto; align-items: center; gap: clamp(14px, 2.4vw, 30px); padding: 20px clamp(16px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%, rgba(0, 0, 0, .25)), url(ribbon-face.webp?v=638d5e377e) center / cover, #111214; color: #d9d6cf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .8); }
.rb-id { display: grid; gap: 14px; justify-items: start; }
.rb-name { margin: 0; font: 800 22px/1 var(--display); letter-spacing: .14em; color: #f2efe8; }
.rb-name small { display: block; font: 600 10px/1.8 var(--ui); letter-spacing: .26em; text-transform: uppercase; color: #ffb35c; }
.rb-led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3a2410; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .8); }
.rb-power { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 24px; border-radius: 4px; border: 1px solid #000; cursor: pointer;
  background: linear-gradient(180deg, #3a3c40, #1c1d20); }
.rb-power[aria-pressed="true"] .rb-led, .rb-modes [aria-checked="true"] .rb-led { background: #ffb347; box-shadow: 0 0 8px #ff9d2a, 0 0 2px #ffd9a0; }
.rb-screen { position: relative; height: 140px; border-radius: 6px; overflow: hidden; cursor: crosshair; touch-action: none;
  background: radial-gradient(120% 140% at 50% 0%, #1d1309, #070503 70%); box-shadow: inset 0 0 0 1px #000, inset 0 2px 12px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .08); }
.rb-screen-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.rb-readout { position: absolute; left: 10px; top: 8px; margin: 0; font: 600 11px/1 ui-monospace, Menlo, monospace; color: #ffb35c; letter-spacing: .06em; white-space: pre; }
.rb-hint { position: absolute; left: 8px; bottom: 8px; margin: 0; padding: 3px 7px; border-radius: 4px; background: rgba(0, 0, 0, .7); font: 500 10px var(--ui); color: rgba(255, 179, 92, .75); transition: opacity .3s; pointer-events: none; }
.rb-screen.used .rb-hint { opacity: 0; }
.rb-filter, .rb-rest { display: flex; align-items: center; gap: 4px; }
.rb-rest { padding-left: clamp(10px, 2vw, 24px); border-left: 1px solid rgba(255, 255, 255, .08); }
.rb-modes { display: grid; gap: 6px; margin-left: 6px; }
.rb-modes button { display: flex; align-items: center; gap: 7px; border: 0; background: none; color: #bcb8b0; font: 700 11px var(--ui); letter-spacing: .12em; cursor: pointer; padding: 2px; }
.fk-wrap-rack { color: #cfcbc3; }
.fk-rack { background: repeating-conic-gradient(from 0deg, #8d9096 0 4deg, #c9ccd1 4deg 8deg); box-shadow: 0 4px 8px rgba(0, 0, 0, .7), 0 0 0 2px #0c0c0d; }
.fk-rack::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 38% 30%, #f3f4f6, #a9acb2 55%, #6c6f75); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35); }
.fk-rack .fk-ptr { background: #ff9d2a; box-shadow: 0 0 6px rgba(255, 157, 42, .8); top: 14%; height: 26%; }
.fk-wrap-rack .fk-label { color: #bcb8b0; font-size: 10px; }

/* ---------- Undertow ---------- */
.undertow-body { position: relative; width: min(100%, 290px); }
.ut-shell { position: relative; display: grid; justify-items: center; align-content: space-between; gap: 18px; min-height: 400px; padding: 34px 18px 30px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), transparent 35%, rgba(0, 0, 0, .4)), linear-gradient(rgba(6, 46, 41, .42), rgba(6, 46, 41, .42)), url(undertow-enamel.webp?v=a3c9927afb) center / 340px, #0f5b52;
  box-shadow: 0 30px 40px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .4); color: #f4efe2; }
.ut-jack { position: absolute; top: 32%; width: 14px; height: 34px; background: linear-gradient(180deg, #d7d2c3, #8f8a7d); border-radius: 3px; }
.ut-jack-l { left: -9px; } .ut-jack-r { right: -9px; }
.ut-knobs { display: flex; gap: 0; }
.fk-scale line { stroke: currentColor; }
.fk-wrap-pedal .fk-scale { color: rgba(244, 239, 226, .85); }
.fk-pedal { background: url(knob-bakelite.webp?v=7695d16691) center / 160%, #0d0d0d; box-shadow: 0 5px 8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 3px rgba(0, 0, 0, .55); }
.fk-pedal .fk-ptr { background: #f4efe2; }
.fk-wrap-pedal .fk-label { color: #f4efe2; }
.ut-led { --glow: .6; width: 12px; height: 12px; border-radius: 50%; background: #4a0d0a; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 0 0 2px #c9c3b2; }
.ut-led.lit { background: radial-gradient(circle at 35% 30%, #ffd0c0, #ff2a1a 55%, #a00); box-shadow: 0 0 0 2px #c9c3b2, 0 0 calc(var(--glow) * 22px) rgba(255, 40, 20, calc(var(--glow))); }
.ut-name { margin: 2px 0 6px; text-align: center; font: 800 26px/1 var(--display); letter-spacing: .12em; color: #f4efe2; text-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.ut-name small { display: block; margin-top: 6px; font: 600 10px var(--ui); letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.ut-switches { display: flex; gap: 34px; }
.ut-switch { display: grid; justify-items: center; gap: 8px; border: 0; background: none; color: #f4efe2; cursor: pointer; padding: 0; touch-action: none; }
.ut-cap { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 40% 32%, #fff, #c8c8c4 40%, #6b6b68 75%, #3b3b39);
  box-shadow: 0 5px 0 #2a2a28, 0 8px 12px rgba(0, 0, 0, .55), inset 0 -3px 4px rgba(0, 0, 0, .3); transition: transform .06s, box-shadow .06s; }
.ut-switch:active .ut-cap, .ut-stop[aria-pressed="true"] .ut-cap { transform: translateY(4px); box-shadow: 0 1px 0 #2a2a28, 0 3px 6px rgba(0, 0, 0, .5), inset 0 -3px 4px rgba(0, 0, 0, .3); }
.ut-sw-l { font: 700 10px var(--ui); letter-spacing: .18em; text-transform: uppercase; }

.combos-end { padding: 56px 0 0; border-top: 1px solid var(--line); max-width: 760px; }
.combos-end h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 .4em; }
.combos-end p { color: var(--muted); }

@media (max-width: 900px) {
  .combo, .combo-wide .combo-info { grid-template-columns: minmax(0, 1fr); }
  .rb-panel { grid-template-columns: 1fr 1fr; }
  .rb-screen { grid-column: 1 / -1; grid-row: 2; }
  .rb-id { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; width: 100%; }
  .rb-rest { border-left: 0; padding-left: 0; }
  .rb-filter, .rb-rest { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .rb-ear { flex-basis: 18px; }
  .rb-panel { grid-template-columns: 1fr; }
  .pl-top { grid-template-columns: 1fr auto; }
  .pl-top .vu { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .pl-knobs .fk { --size: 54px !important; }
  .pl-panel { padding-top: 16px; }
  .rb-rest .fk, .rb-filter .fk { --size: 46px !important; }
}
@media (prefers-reduced-motion: reduce) { .pl-bat, .ut-cap { transition: none; } }
