/* RhPf "Try the pedals" 1.4.0: the homepage's identity (its .rhx tokens), self-contained so it reads the same on
   any page. The accent is the chosen pedal's own colour (--rhpf-c), as on the homepage; it glides from one pedal
   to the next. Text in the accent uses --rhpf-t (lightened for dark accents, 1.2.2).
   Author: Mark, Website Plugins Engineer, RhPf Electronics */
@property --rhpf-c { syntax: '<color>'; inherits: true; initial-value: #d0b090; }
@property --rhpf-t { syntax: '<color>'; inherits: true; initial-value: #d0b090; }
.rhpf-try { --ink: #f2efe9; --mute: #a9a39a; --bg: #0e0e10; --panel: #17171a; --line: #2a2a2f; --rhpf-c: #d0b090; --rhpf-t: #d0b090; --rhpf-on: #111;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  position: relative; color: var(--ink); font-size: 16px; line-height: 1.55; max-width: 1240px; margin: 0 auto;
  transition: --rhpf-c .6s ease, --rhpf-t .6s ease; }
.rhpf-try * { box-sizing: border-box; }
.rhpf-try__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ---- The carousel ---------------------------------------------------------------------------------------- */
.rhpf-try__deck { margin: 0 0 22px; }
.rhpf-try__deckhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.rhpf-try__arrows { display: flex; gap: 8px; }
.rhpf-try__arrow { all: unset; box-sizing: border-box; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); font-size: 18px; transition: border-color .2s, background .2s; }
.rhpf-try__arrow:hover { border-color: var(--ink); background: rgba(255,255,255,.05); }
.rhpf-try__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: 6px 4px 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rhpf-try__card { all: unset; box-sizing: border-box; cursor: pointer; scroll-snap-align: center; position: relative; display: flex; flex-direction: column;
  min-width: 0; padding: 0 0 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel);
  transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.rhpf-try__card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); }
.rhpf-try__card[aria-selected=true] { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 14px 40px -12px color-mix(in srgb, var(--c) 70%, transparent); }
.rhpf-try__card:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.rhpf-try__thumb { display: block; aspect-ratio: 300 / 400; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 30%, color-mix(in srgb, var(--c) 35%, #1b1310), #120d0b); }
.rhpf-try__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s ease; }
.rhpf-try__card:hover .rhpf-try__thumb img, .rhpf-try__card[aria-selected=true] .rhpf-try__thumb img { transform: scale(1.04); }
.rhpf-try__ck { display: block; margin: 10px 12px 2px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--t, var(--c)); }
.rhpf-try__cn { display: block; margin: 0 12px; font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhpf-try__cn.is-long { text-overflow: clip; }
.rhpf-try__cn.is-long .rhpf-try__cni { display: inline-block; animation: rhpf-try-slide var(--slide, 8s) ease-in-out infinite alternate; }
@keyframes rhpf-try-slide { 0%, 22% { transform: translateX(0); } 78%, 100% { transform: translateX(var(--shift, 0px)); } }
/* Taglines wrap instead of being cut. Every card keeps room for two lines, and the row stretches all cards to the
   same height, so a font that runs wider on some phone only makes the whole row a line taller. */
.rhpf-try__cs { display: block; margin: 2px 12px 0; font-size: 12.5px; line-height: 1.35; min-height: 2.7em; font-style: italic; color: var(--mute); }

/* ---- The player ------------------------------------------------------------------------------------------ */
.rhpf-try__stage { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 90px;
  background: radial-gradient(900px 620px at 24% 40%, color-mix(in srgb, var(--rhpf-c) 30%, transparent), transparent 70%), var(--bg); }
.rhpf-try__wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 44px 44px 40px; }
.rhpf-try__pedal { position: relative; width: 100%; max-width: 400px; justify-self: center; }
.rhpf-try__canvas { display: block; width: 100%; aspect-ratio: 2 / 3; height: auto; border-radius: 14px; touch-action: none;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); }
.rhpf-try__chip { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 6px 12px 7px; border-radius: 10px; background: rgba(14,14,16,.92); border: 1px solid color-mix(in srgb, var(--rhpf-c) 55%, transparent);
  box-shadow: 0 8px 24px rgba(0,0,0,.5); pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap; z-index: 2; }
.rhpf-try__chip.is-below { transform: translate(-50%, 0); }
.rhpf-try__chip.is-on { opacity: 1; }
.rhpf-try__chipn { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--rhpf-t); }
.rhpf-try__chipv { font-family: var(--mono); font-size: 15px; font-weight: 700; color: #ffefc6; font-variant-numeric: tabular-nums; }
.rhpf-try__busy { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15); border-top-color: var(--rhpf-c); opacity: 0; pointer-events: none; transition: opacity .2s; }
.rhpf-try__busy.is-on { opacity: 1; animation: rhpf-spin .9s linear infinite; }
@keyframes rhpf-spin { to { transform: rotate(360deg); } }
.rhpf-try__panel { min-width: 0; }
.rhpf-try__name { margin: 10px 0 2px !important; font-size: clamp(30px, 4vw, 52px) !important; font-weight: 800; line-height: 1.05 !important;
  letter-spacing: -.02em; color: var(--ink) !important; }
.rhpf-try__sub { font-size: clamp(18px, 2vw, 22px); font-style: italic; color: var(--rhpf-t); margin: 0 0 22px; }
.rhpf-try__step { margin: 22px 0 10px; color: var(--ink); }
.rhpf-try__pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.rhpf-try__pick button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 10px; align-items: center; min-height: 52px;
  padding: 8px 12px 8px 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.25); color: var(--mute); min-width: 0; }
.rhpf-try__pick button > span:last-child { min-width: 0; }
.rhpf-try__pick button:hover, .rhpf-try__pick button[aria-checked=true] { color: var(--ink); border-color: var(--ink); }
.rhpf-try__pick button:focus-visible, .rhpf-try__btn:focus-visible, .rhpf-try__arrow:focus-visible, .rhpf-try input:focus-visible,
.rhpf-try__link:focus-visible { outline: 2px solid var(--rhpf-c); outline-offset: 2px; }
.rhpf-try__pick-up { border-style: dashed !important; }
.rhpf-try__pn { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhpf-try__ps { display: block; font-size: 12px; line-height: 1.3; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhpf-try__led { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #3a2020; box-shadow: inset 0 0 2px #000; transition: background .2s, box-shadow .2s; }
.rhpf-try__pick button[aria-checked=true] .rhpf-try__led, .rhpf-try__btn[aria-pressed=true] .rhpf-try__led { background: #ff3b30; box-shadow: 0 0 10px 2px rgba(255,59,48,.75); }
.rhpf-try__pick--amp { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rhpf-try__ampknobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 18px; margin: 12px 0 0; transition: opacity .2s; }
.rhpf-try__ampknobs.is-off { opacity: .35; pointer-events: none; }
.rhpf-try__ampk { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rhpf-try__ampk input[type=range] { width: 100%; accent-color: var(--rhpf-c); }
.rhpf-try__note { font-size: 13px; color: var(--mute); margin: 10px 0 0 !important; line-height: 1.5; max-width: 40em; }
.rhpf-try__heavy { color: #e6c27a; }
.rhpf-try__transport { display: flex; gap: 10px; flex-wrap: wrap; }
.rhpf-try__btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.3em;
  border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); font-weight: 600; font-size: 15px; transition: background .25s, color .25s, filter .25s; }
.rhpf-try__btn:hover { background: var(--ink); color: var(--bg); }
.rhpf-try__btn--solid { background: var(--rhpf-c); border-color: var(--rhpf-c); color: var(--rhpf-on); min-width: 130px; justify-content: center; }
.rhpf-try__btn--solid:hover { background: var(--rhpf-c); color: var(--rhpf-on); filter: brightness(1.1); }
.rhpf-try__btn.is-off { color: var(--mute); border-color: var(--line); }
.rhpf-try a.rhpf-try__btn--ghost { border-color: var(--rhpf-t); color: var(--rhpf-t); text-decoration: none !important; }
.rhpf-try a.rhpf-try__btn--ghost:hover { background: var(--rhpf-c); color: var(--rhpf-on); }
.rhpf-try__links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.rhpf-try__link { color: var(--mute) !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rhpf-try__link:hover { color: var(--ink) !important; }
.rhpf-try__icon { display: inline-block; width: 0; height: 0; }
.rhpf-try__icon--play { border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.rhpf-try__icon--stop { width: 11px; height: 11px; background: currentColor; border-radius: 2px; }
.rhpf-try__scope { position: relative; margin: 16px 0 0; height: 96px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.35); overflow: hidden; }
.rhpf-try__scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rhpf-try__read { position: absolute; left: 12px; right: 12px; bottom: 8px; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); font-variant-numeric: tabular-nums; pointer-events: none; }
.rhpf-try__read.is-hot span:last-child { color: #f0a020; }
.rhpf-try__trim { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px; align-items: center; margin: 14px 0 0; }
.rhpf-try__trim input[type=range] { width: 100%; accent-color: var(--rhpf-c); }
.rhpf-try__status { font-size: 14px; min-height: 1.3em; margin: 8px 0 0 !important; color: #f0a020; }
/* keyboard and screen-reader controls: hidden until one of them has the focus */
.rhpf-try__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: 0; }
.rhpf-try__sr:focus-within { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
  margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 14px; }
.rhpf-try__sr label { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 4px 0; }
.rhpf-try__sr input { accent-color: var(--rhpf-c); }
@media (max-width: 900px) {
  .rhpf-try__wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 20px; }
  .rhpf-try__pedal { max-width: 340px; }
  .rhpf-try__track { grid-auto-columns: 138px; }
}
@media (max-width: 520px) {
  .rhpf-try__pick, .rhpf-try__pick--amp { grid-template-columns: 1fr 1fr; } .rhpf-try__trim { grid-template-columns: 1fr; gap: 4px; }
  .rhpf-try__track { grid-auto-columns: 134px; gap: 10px; } .rhpf-try__cn { font-size: 14px; }
  .rhpf-try__arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rhpf-try, .rhpf-try * { transition: none !important; animation: none !important; } }
