/* =====================================================================
   BANNER HARVEST RADIO · v2.0.0
   Owner: the radio block on the About page (583). Every rule is scoped
   to #bhRadio so nothing here touches the page, Bud, the header or Woo.
   Phases (data-phase): off → warming → tuning → on (→ ended) → cooling → off
   v1 state classes (is-off / is-tuning / is-on) are kept for the About rail.
   ===================================================================== */

#bhRadio{
  --bh-brass-hi:#f6e3a0; --bh-brass-mid:#d8b14a; --bh-brass-lo:#8a6a23;
  --bh-amber:#ffb648; --bh-amber-deep:#c8410f;
  --bh-engrave:#ecc873; --bh-ivory:#f1e5c6; --bh-ink:#2a1c08;
  --bh-wood:linear-gradient(transparent,transparent);
  --bh-serif:'Cormorant Garamond','Cormorant',Georgia,serif;
  position:relative; width:100%; max-width:720px; margin:24px auto;
  font-family:var(--bh-serif); line-height:1.2; color:var(--bh-ink);
  -webkit-user-select:none; user-select:none; -webkit-tap-highlight-color:transparent;
}
#bhRadio *,#bhRadio *::before,#bhRadio *::after{box-sizing:border-box}
#bhRadio i{font-style:normal}
#bhRadio .bh-r-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- stage: the object sits in light, on a surface ---------- */
#bhRadio .bh-r-stage{container:bhradio / inline-size;position:relative;perspective:1700px;perspective-origin:50% 40%;padding-bottom:22px}
#bhRadio .bh-r-body{position:relative;transform-style:preserve-3d}
@media (hover:hover) and (pointer:fine){#bhRadio .bh-r-body{will-change:transform}}
#bhRadio .bh-r-depth{position:absolute;left:3px;right:3px;top:6px;bottom:10px;border-radius:30px 30px 18px 18px;background:linear-gradient(90deg,#24160a,#3a2410 50%,#24160a);transform:translateZ(-34px)}
#bhRadio .bh-r-floor{position:absolute;left:7%;right:7%;bottom:6px;height:38px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.62),rgba(0,0,0,.25) 55%,rgba(0,0,0,0));pointer-events:none}
#bhRadio .bh-r-floor::after{content:"";position:absolute;left:-18%;right:-18%;top:-40%;bottom:-120%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,170,70,.30),rgba(255,150,50,.10) 50%,rgba(255,150,50,0));opacity:0;transition:opacity 1.4s ease}

/* ---------- cabinet ---------- */
#bhRadio .bh-r-cabinet{
  position:relative;isolation:isolate;transform:translateZ(0);
  border-radius:30px 30px 18px 18px;
  padding:clamp(16px,4.6cqi,34px) clamp(16px,4.6cqi,34px) clamp(16px,4.2cqi,30px);
  background:#8f653a;
  box-shadow:0 2px 0 #4a3017,0 4px 0 #2f1d0b,0 30px 54px -20px rgba(0,0,0,.72),0 14px 28px -8px rgba(0,0,0,.42);
}
#bhRadio .bh-r-cabinet.is-thunk{animation:bh-thunk .22s cubic-bezier(.3,.7,.4,1)}
@keyframes bh-thunk{0%{transform:translateZ(0)}30%{transform:translateZ(0) translateY(1.5px)}100%{transform:translateZ(0)}}
#bhRadio .bh-r-wood,#bhRadio .bh-r-wood::before,#bhRadio .bh-r-wood::after{position:absolute;inset:0;border-radius:inherit;pointer-events:none}
#bhRadio .bh-r-wood{z-index:0;background:
  repeating-linear-gradient(91deg,rgba(0,0,0,.05) 0 2px,rgba(255,225,180,.06) 2px 4px,rgba(0,0,0,.07) 4px 7px),
  radial-gradient(120% 90% at 50% 0%,#b88c58 0%,#966e3c 50%,#6c4e29 100%)}
#bhRadio .bh-r-wood::before{content:"";background:var(--bh-wood) center/cover no-repeat;opacity:0;transition:opacity .9s ease}
#bhRadio.has-wood .bh-r-wood::before{opacity:1}
#bhRadio .bh-r-wood::after{content:"";background:
  linear-gradient(180deg,rgba(255,236,204,.17) 0%,rgba(255,236,204,0) 20%,rgba(0,0,0,0) 72%,rgba(18,9,2,.26) 100%),
  radial-gradient(140% 112% at 50% 6%,rgba(0,0,0,0) 54%,rgba(26,12,3,.40) 100%),
  linear-gradient(90deg,rgba(20,10,2,.16),rgba(0,0,0,0) 9%,rgba(0,0,0,0) 91%,rgba(20,10,2,.2))}
/* clear-coat highlight that follows the room light (pointer) */
#bhRadio .bh-r-sheen{position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none}
#bhRadio .bh-r-sheen i{position:absolute;inset:-35%;will-change:transform;background:
  radial-gradient(34% 26% at 34% 24%,rgba(255,244,222,.19),rgba(255,244,222,0) 70%),
  linear-gradient(116deg,rgba(255,255,255,0) 38%,rgba(255,246,228,.06) 46%,rgba(255,255,255,0) 54%)}
/* the dial lamps spill warm light onto the wood */
#bhRadio .bh-r-spill{position:absolute;z-index:2;left:-6%;right:-6%;top:6%;height:56%;pointer-events:none;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,176,80,.32),rgba(255,150,50,.12) 55%,rgba(255,140,40,0));
  mix-blend-mode:screen;opacity:0;transition:opacity 1.1s ease}
/* bevel: the edge of a real piece of furniture */
#bhRadio .bh-r-cabinet::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;
  border:1px solid #4b3116;
  box-shadow:inset 0 2px 1px rgba(255,234,196,.36),inset 0 6px 10px -6px rgba(255,234,196,.22),inset 2px 0 2px rgba(255,226,182,.10),
    inset -2px 0 3px rgba(0,0,0,.22),inset 0 -12px 26px rgba(0,0,0,.36),inset 0 0 0 2px rgba(62,38,14,.42)}
#bhRadio .bh-r-face{position:relative;z-index:4;display:flex;flex-direction:column;gap:clamp(12px,3cqi,22px)}

/* ---------- brass nameplate ---------- */
#bhRadio .bh-r-plate{position:relative;align-self:center;max-width:92%;text-align:center;overflow:hidden;
  padding:clamp(9px,1.9cqi,14px) clamp(24px,5.2cqi,42px);border-radius:7px;border:1px solid #6b5018;
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,rgba(0,0,0,.035) 1px 2px),
    linear-gradient(180deg,#f8e8b0 0%,#dfba58 36%,#bd9532 68%,#8a6a23 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.8),inset 0 -2px 4px rgba(0,0,0,.42),inset 0 0 0 1px rgba(120,80,20,.45),
    0 2px 5px rgba(0,0,0,.5),0 0 0 2px rgba(60,40,10,.3),0 5px 12px -4px rgba(0,0,0,.45)}
#bhRadio .bh-r-plate-main{display:block;position:relative;z-index:1;font-family:var(--bh-serif);font-weight:700;text-transform:uppercase;
  letter-spacing:clamp(2px,1cqi,6px);font-size:clamp(19px,4.6cqi,32px);line-height:1;color:#2a1c08;
  text-shadow:0 1px 0 rgba(255,244,210,.72),0 -1px 0 rgba(0,0,0,.2)}
#bhRadio .bh-r-plate-sub{display:block;position:relative;z-index:1;margin-top:6px;font-family:var(--bh-serif);font-weight:600;text-transform:uppercase;
  letter-spacing:clamp(3px,1.5cqi,7px);font-size:clamp(10px,2.2cqi,14px);line-height:1;color:#3a2a10;text-shadow:0 1px 0 rgba(255,242,205,.55)}
#bhRadio .bh-r-screw{position:absolute;z-index:1;width:7px;height:7px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff3c8,#c9a144 55%,#6d5116);box-shadow:inset 0 0 0 .5px rgba(70,45,10,.7),0 1px 0 rgba(255,245,210,.5)}
#bhRadio .bh-r-screw::after{content:"";position:absolute;left:1px;right:1px;top:3px;height:1px;background:rgba(60,38,8,.7);transform:rotate(-28deg)}
#bhRadio .bh-r-screw:nth-child(1){left:7px;top:7px}#bhRadio .bh-r-screw:nth-child(2){right:7px;top:7px}
#bhRadio .bh-r-screw:nth-child(3){left:7px;bottom:7px}#bhRadio .bh-r-screw:nth-child(4){right:7px;bottom:7px}
#bhRadio .bh-r-screw:nth-child(2)::after{transform:rotate(41deg)}#bhRadio .bh-r-screw:nth-child(3)::after{transform:rotate(12deg)}#bhRadio .bh-r-screw:nth-child(4)::after{transform:rotate(-64deg)}
#bhRadio .bh-r-plate-sheen{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;border-radius:inherit}
#bhRadio .bh-r-plate-sheen i{position:absolute;inset:0 -60%;will-change:transform;
  background:linear-gradient(112deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.42) 42%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 66%,rgba(255,255,255,.16) 74%,rgba(255,255,255,0) 82%)}

/* ---------- slide-rule dial ---------- */
#bhRadio .bh-r-dial{position:relative;border-radius:16px;padding:7px;
  background:linear-gradient(180deg,var(--bh-brass-hi),var(--bh-brass-mid) 40%,var(--bh-brass-lo));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -3px 6px rgba(0,0,0,.5),0 0 0 1px rgba(60,40,10,.55),0 6px 14px rgba(0,0,0,.45)}
#bhRadio .bh-r-dial::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:0 0 22px 2px rgba(255,166,60,.55),0 0 50px 6px rgba(255,150,50,.18);opacity:0;transition:opacity 1s ease}
#bhRadio .bh-r-glass{position:relative;height:clamp(90px,17.5cqi,126px);border-radius:10px;overflow:hidden;background:#20160c;isolation:isolate}
#bhRadio .bh-r-glass::after{content:"";position:absolute;inset:0;z-index:7;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 4px 10px rgba(0,0,0,.55),inset 0 -2px 6px rgba(0,0,0,.35),inset 0 0 0 1px rgba(40,24,6,.6)}
#bhRadio .bh-r-paper{position:absolute;inset:0;z-index:0;background:
  radial-gradient(130% 160% at 50% 50%,rgba(0,0,0,0) 55%,rgba(90,60,20,.22) 100%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
  linear-gradient(180deg,#f4ead2,#eadcbc)}
/* lamps behind the scale: bright amber (fast) over a deep ember core (slow) */
#bhRadio .bh-r-lamp,#bhRadio .bh-r-ember{position:absolute;inset:0;pointer-events:none;opacity:0}
#bhRadio .bh-r-ember{z-index:1;background:radial-gradient(60% 150% at 22% 55%,rgba(232,104,28,.42),rgba(220,90,20,.12) 55%,rgba(220,90,20,0) 85%);transition:opacity 1.9s cubic-bezier(.2,.6,.2,1)}
#bhRadio .bh-r-lamp{z-index:2;background:
  radial-gradient(52% 140% at 22% 55%,rgba(255,200,104,.78),rgba(255,166,64,.30) 50%,rgba(255,150,50,0) 82%),
  linear-gradient(180deg,rgba(255,214,140,.30),rgba(255,176,80,.14));transition:opacity .7s ease}
#bhRadio .bh-r-track{position:absolute;inset:0;z-index:3}
#bhRadio .bh-r-rail{position:absolute;left:4%;right:4%;top:13%;height:2px;border-radius:1px;background:rgba(48,30,10,.55);box-shadow:0 1px 0 rgba(255,250,235,.45)}
#bhRadio .bh-r-scale{position:absolute;inset:0;z-index:2}
#bhRadio .bh-r-tick{position:absolute;top:19%;width:1px;height:11%;transform:translateX(-50%);background:rgba(54,36,14,.48)}
#bhRadio .bh-r-tick--major{width:1.5px;height:21%;background:rgba(40,26,8,.78)}
#bhRadio .bh-r-mark{position:absolute;top:47%;transform:translateX(-50%);white-space:nowrap;font-family:var(--bh-serif);font-weight:600;
  font-size:clamp(12px,2.5cqi,16px);line-height:1;color:#3a2a12;letter-spacing:.5px}
#bhRadio .bh-r-mark--420{top:39%;font-family:'Pinyon Script',cursive;font-weight:400;font-size:clamp(21px,4.5cqi,31px);color:#8f5f12;
  text-shadow:0 1px 0 rgba(255,255,255,.5);transition:color .7s ease,text-shadow .7s ease}
#bhRadio .bh-r-mark--420 small{margin-left:.32em;font-family:var(--bh-serif);font-weight:600;font-size:.5em;letter-spacing:1px}
#bhRadio .bh-r-kc{position:absolute;right:1.6%;top:49%;font-family:var(--bh-serif);font-weight:700;font-size:clamp(8px,1.6cqi,10px);letter-spacing:1.5px;color:rgba(70,48,18,.7)}
#bhRadio .bh-r-needle-glow{position:absolute;left:0;top:0;bottom:0;width:96px;margin-left:-48px;z-index:1;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,196,100,.55),rgba(255,170,60,0));opacity:0;transition:opacity .6s ease;will-change:transform}
#bhRadio .bh-r-needle{position:absolute;left:0;top:9%;height:83%;width:3px;margin-left:-1.5px;z-index:3;will-change:transform;
  border-radius:2px;background:linear-gradient(180deg,#ffd282,#e66a1e 28%,#b4360b);box-shadow:0 0 4px rgba(255,120,40,.5)}
#bhRadio .bh-r-needle::before{content:"";position:absolute;left:50%;top:-3px;width:11px;height:7px;margin-left:-5.5px;border-radius:2px;
  background:linear-gradient(180deg,#f9e7a8,#c49a3a 60%,#7c5c1a);box-shadow:0 1px 2px rgba(0,0,0,.45)}
#bhRadio .bh-r-needle i{position:absolute;left:5px;top:8%;width:3px;height:94%;border-radius:2px;background:rgba(40,20,4,.26);filter:blur(1.5px)}
#bhRadio .bh-r-dim{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(180deg,rgba(16,10,4,.74),rgba(24,15,6,.66));transition:opacity 1.1s ease}
#bhRadio .bh-r-reflect{position:absolute;inset:0;z-index:6;overflow:hidden;pointer-events:none}
#bhRadio .bh-r-reflect i{position:absolute;inset:-10% -32%;will-change:transform;background:
  linear-gradient(104deg,rgba(255,255,255,0) 10%,rgba(255,255,255,.22) 17%,rgba(255,255,255,.04) 26%,rgba(255,255,255,0) 31%,rgba(255,255,255,0) 72%,rgba(255,255,255,.09) 81%,rgba(255,255,255,0) 88%),
  linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0) 26%)}

/* ---------- baffle: speakers + controls in a recessed board ---------- */
#bhRadio .bh-r-baffle{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(10px,2.6cqi,20px);
  padding:clamp(10px,2.3cqi,16px);border-radius:16px;
  background:linear-gradient(180deg,rgba(34,18,5,.34),rgba(34,18,5,.46));
  box-shadow:inset 0 4px 10px rgba(0,0,0,.48),inset 0 -1px 0 rgba(255,225,180,.12),0 1px 0 rgba(255,230,190,.2),0 0 0 1px rgba(216,177,74,.32)}
#bhRadio .bh-r-grille{position:relative;min-height:clamp(150px,31cqi,212px);border-radius:12px;overflow:hidden;isolation:isolate;background:#2b1a0b;
  box-shadow:0 0 0 2px #a9853a,0 0 0 3px rgba(34,20,6,.75),0 3px 6px rgba(0,0,0,.4)}
#bhRadio .bh-r-cone{position:absolute;inset:7%;border-radius:50%;z-index:0;will-change:transform;background:
  radial-gradient(closest-side,#6b5232 0 6%,#3b2a16 13%,#120a03 14% 15.5%,#6a5030 17%,#3b2a15 36%,#5e4524 40%,#251709 63%,#6a4f2c 68%,#2a1a0b 73%,#120a04 86%,rgba(16,9,4,0) 100%)}
#bhRadio .bh-r-cloth{position:absolute;inset:0;z-index:2;background:
  repeating-linear-gradient(45deg,rgba(236,222,190,.62) 0 1.6px,rgba(236,222,190,0) 1.6px 4px),
  repeating-linear-gradient(-45deg,rgba(218,200,160,.55) 0 1.6px,rgba(218,200,160,0) 1.6px 4px),
  radial-gradient(120% 120% at 50% 30%,rgba(236,224,198,.40) 0%,rgba(196,172,128,.46) 70%)}
#bhRadio .bh-r-light{position:absolute;inset:0;z-index:3;width:100%;height:100%;display:block;mix-blend-mode:overlay;opacity:0;transition:opacity .9s ease}
#bhRadio .bh-r-grille::after{content:"";position:absolute;inset:0;z-index:4;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,250,235,.10),rgba(0,0,0,0) 30%,rgba(40,20,4,.16));
  box-shadow:inset 0 3px 7px rgba(50,28,8,.55),inset 0 0 0 1px rgba(90,60,20,.5),inset 0 -3px 8px rgba(50,28,8,.35)}

/* ---------- controls ---------- */
#bhRadio .bh-r-controls{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(14px,3cqi,22px);width:clamp(124px,24cqi,160px)}
#bhRadio .bh-r-ctl{display:flex;flex-direction:column;align-items:center;gap:9px}
#bhRadio .bh-r-label{display:inline-flex;align-items:center;gap:8px;font-family:var(--bh-serif);font-weight:700;font-size:13px;line-height:1;
  letter-spacing:2.6px;text-transform:uppercase;color:var(--bh-engrave);text-shadow:0 1px 0 rgba(0,0,0,.65)}
#bhRadio .bh-r-label--vol{gap:10px}

/* power switch: a big, plain ON/OFF slide switch */
#bhRadio button.bh-r-power.bh-r-power,#bhRadio button.bh-r-power.bh-r-power:hover,#bhRadio button.bh-r-power.bh-r-power:focus,#bhRadio button.bh-r-power.bh-r-power:active{
  -webkit-appearance:none;appearance:none;position:relative;display:block;width:98px;height:46px;margin:0;padding:0;border:0;border-radius:24px;
  cursor:pointer;color:inherit;font:inherit;line-height:1;letter-spacing:0;text-transform:none;text-decoration:none;min-height:0;
  background:linear-gradient(180deg,#100b07,#241a11);touch-action:manipulation;transform:none;
  box-shadow:inset 0 3px 7px rgba(0,0,0,.85),inset 0 -1px 0 rgba(255,220,160,.12),0 0 0 2px #77591d,0 0 0 3.5px rgba(22,11,2,.8),0 3px 2px 3px rgba(0,0,0,.25)}
#bhRadio button.bh-r-power.bh-r-power::before{content:"";position:absolute;inset:-9px -7px}
#bhRadio .bh-r-power-fill{position:absolute;inset:4px;border-radius:20px;opacity:0;transition:opacity .35s ease;
  background:linear-gradient(180deg,#a5621a,#e9a43c 55%,#b8701b);box-shadow:inset 0 2px 4px rgba(70,24,0,.6)}
#bhRadio .bh-r-power-txt{position:absolute;top:50%;margin-top:-7px;font-family:var(--bh-serif);font-weight:700;font-size:14px;line-height:14px;letter-spacing:1.6px;pointer-events:none;transition:opacity .25s ease}
#bhRadio .bh-r-power-off{right:12px;color:var(--bh-ivory)}
#bhRadio .bh-r-power-on{left:14px;color:#2b1403;opacity:0}
#bhRadio .bh-r-lever{position:absolute;top:5px;left:5px;width:44px;height:36px;border-radius:13px;
  background:
    repeating-linear-gradient(90deg,rgba(60,36,6,.18) 0 1px,rgba(255,250,220,.10) 1px 3px) 12px 9px/20px 18px no-repeat,
    radial-gradient(circle at 40% 26%,#fdf0bc,#dbb453 46%,#7f5f1d 100%);
  box-shadow:0 2px 4px rgba(0,0,0,.65),0 6px 8px -4px rgba(0,0,0,.5),inset 0 1px 1px rgba(255,255,255,.75),inset 0 -2px 3px rgba(0,0,0,.35);
  transition:transform .34s cubic-bezier(.34,1.5,.5,1),box-shadow .2s ease}
#bhRadio button.bh-r-power.bh-r-power:hover .bh-r-lever{box-shadow:0 2px 4px rgba(0,0,0,.65),0 8px 10px -4px rgba(0,0,0,.5),inset 0 1px 1px rgba(255,255,255,.9),inset 0 -2px 3px rgba(0,0,0,.3),0 0 0 1px rgba(255,236,170,.5)}
#bhRadio button.bh-r-power.bh-r-power:active .bh-r-lever{transform:scale(.96)}
#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"],#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"]:hover,#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"]:focus{
  box-shadow:inset 0 3px 7px rgba(0,0,0,.6),0 0 0 2px #8f6c22,0 0 0 3.5px rgba(22,11,2,.8),0 0 20px rgba(255,166,60,.5)}
#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"] .bh-r-power-fill{opacity:1}
#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"] .bh-r-power-on{opacity:1}
#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"] .bh-r-power-off{opacity:0}
#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"] .bh-r-lever{transform:translateX(44px)}
#bhRadio button.bh-r-power.bh-r-power[aria-checked="true"]:active .bh-r-lever{transform:translateX(44px) scale(.96)}
/* OFF: a slow warm breath around the switch invites the first press (opacity only) */
#bhRadio button.bh-r-power.bh-r-power::after{content:"";position:absolute;inset:-4px;border-radius:28px;pointer-events:none;box-shadow:0 0 16px 1px rgba(255,170,60,.6);opacity:0}
#bhRadio.is-off button.bh-r-power.bh-r-power::after{animation:bh-invite 2.8s ease-in-out infinite}
@keyframes bh-invite{0%,100%{opacity:0}50%{opacity:1}}

/* pilot jewel */
#bhRadio .bh-r-jewel{position:relative;flex:none;width:13px;height:13px;border-radius:50%;
  background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.5) 0 14%,rgba(255,255,255,0) 26%),radial-gradient(circle,#6a2a08,#341203 72%);
  box-shadow:0 0 0 2px #b8902e,0 0 0 3px rgba(26,12,2,.75),inset 0 -2px 3px rgba(0,0,0,.5);transition:background .4s ease}
#bhRadio .bh-r-jewel::after{content:"";position:absolute;inset:-7px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,170,60,.75),rgba(255,150,50,0));opacity:0;transition:opacity 1.2s ease}

/* volume fader */
#bhRadio .bh-r-fader{--bh-orient:v;--cap-l:30px;position:relative;display:block;width:76px;height:clamp(116px,22cqi,150px);cursor:grab;touch-action:none;outline:none;border-radius:10px}
#bhRadio.is-grabbing .bh-r-fader{cursor:grabbing}
#bhRadio .bh-r-slot{position:absolute;left:50%;top:12px;bottom:12px;width:10px;margin-left:-5px;border-radius:6px;overflow:hidden;
  background:linear-gradient(90deg,#0d0703,#33200f 50%,#0d0703);box-shadow:inset 0 2px 4px rgba(0,0,0,.85),0 1px 0 rgba(255,225,170,.16)}
#bhRadio .bh-r-fill{position:absolute;inset:0;transform-origin:50% 100%;transform:scaleY(.5);opacity:.42;transition:opacity .5s ease,filter .3s ease;
  background:linear-gradient(0deg,#c24c18,#ffb648);box-shadow:0 0 8px rgba(255,160,60,.55)}
#bhRadio .bh-r-ticks{position:absolute;right:calc(50% + 11px);width:9px;top:calc(12px + var(--cap-l) / 2);bottom:calc(12px + var(--cap-l) / 2);pointer-events:none;
  background:linear-gradient(rgba(236,200,115,.75) 0 1px,transparent 1px) 100% 0/5px calc((100% - 1px) / 10) repeat-y,
             linear-gradient(rgba(236,200,115,.9) 0 1.5px,transparent 1.5px) 100% 0/9px calc((100% - 1.5px) / 2) repeat-y}
#bhRadio .bh-r-num{position:absolute;right:calc(50% + 24px);font-family:var(--bh-serif);font-weight:700;font-size:11px;line-height:1;color:var(--bh-engrave);text-shadow:0 1px 0 rgba(0,0,0,.6);pointer-events:none}
#bhRadio .bh-r-num--max{top:calc(12px + var(--cap-l) / 2 - 5px)}
#bhRadio .bh-r-num--min{bottom:calc(12px + var(--cap-l) / 2 - 5px)}
#bhRadio .bh-r-cap{position:absolute;left:50%;top:0;width:56px;height:var(--cap-l);margin-left:-28px;margin-top:calc(var(--cap-l) / -2);border-radius:7px;will-change:transform;
  border:1px solid #5c4413;
  background:
    linear-gradient(180deg,rgba(0,0,0,0) 0 calc(50% - 5px),rgba(60,36,6,.5) calc(50% - 5px) calc(50% - 4px),rgba(255,248,215,.4) calc(50% - 4px) calc(50% - 3px),rgba(0,0,0,0) calc(50% - 3px) calc(50% - .5px),rgba(60,36,6,.55) calc(50% - .5px) calc(50% + .5px),rgba(255,248,215,.4) calc(50% + .5px) calc(50% + 1.5px),rgba(0,0,0,0) calc(50% + 1.5px) calc(50% + 4px),rgba(60,36,6,.5) calc(50% + 4px) calc(50% + 5px),rgba(255,248,215,.4) calc(50% + 5px) calc(50% + 6px),rgba(0,0,0,0) calc(50% + 6px)) 9px 0/38px 100% no-repeat,
    linear-gradient(180deg,var(--bh-brass-hi) 0%,var(--bh-brass-mid) 45%,var(--bh-brass-lo) 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.8),inset 0 -2px 4px rgba(0,0,0,.45),0 4px 6px rgba(0,0,0,.55),0 1px 0 rgba(0,0,0,.3);
  transition:box-shadow .15s ease,filter .15s ease}
#bhRadio .bh-r-fader:hover .bh-r-cap{filter:brightness(1.07)}
#bhRadio.is-grabbing .bh-r-cap{box-shadow:inset 0 1px 1px rgba(255,255,255,.85),inset 0 -2px 4px rgba(0,0,0,.4),0 9px 12px rgba(0,0,0,.5),0 2px 2px rgba(0,0,0,.3);filter:brightness(1.1)}
#bhRadio.is-muted .bh-r-fill{filter:grayscale(1) brightness(.75)}

/* mute */
#bhRadio button.bh-r-mute.bh-r-mute,#bhRadio button.bh-r-mute.bh-r-mute:hover,#bhRadio button.bh-r-mute.bh-r-mute:focus,#bhRadio button.bh-r-mute.bh-r-mute:active{
  -webkit-appearance:none;appearance:none;position:relative;display:inline-grid;place-items:center;width:36px;height:30px;margin:0;padding:0;border:0;border-radius:8px;
  cursor:pointer;color:var(--bh-engrave);font:inherit;line-height:1;text-transform:none;letter-spacing:0;min-height:0;touch-action:manipulation;
  background:linear-gradient(180deg,#2c1e12,#140c06);
  box-shadow:0 0 0 1px rgba(216,177,74,.6),inset 0 1px 0 rgba(255,230,180,.14),0 2px 3px rgba(0,0,0,.45)}
#bhRadio button.bh-r-mute.bh-r-mute::before{content:"";position:absolute;inset:-7px -5px}
#bhRadio button.bh-r-mute.bh-r-mute svg{width:19px;height:19px;display:block;overflow:visible}
#bhRadio .bh-r-spk{fill:currentColor}
#bhRadio .bh-r-wave,#bhRadio .bh-r-x{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#bhRadio .bh-r-x{display:none}
#bhRadio button.bh-r-mute.bh-r-mute[aria-pressed="true"],#bhRadio button.bh-r-mute.bh-r-mute[aria-pressed="true"]:hover,#bhRadio button.bh-r-mute.bh-r-mute[aria-pressed="true"]:focus{
  color:#2b1403;background:linear-gradient(180deg,#f6dd92,#c99f41);box-shadow:0 0 0 1px #6b5018,inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 3px rgba(0,0,0,.25)}
#bhRadio button.bh-r-mute.bh-r-mute[aria-pressed="true"] .bh-r-wave{display:none}
#bhRadio button.bh-r-mute.bh-r-mute[aria-pressed="true"] .bh-r-x{display:inline}

/* focus: visible on wood, brass and dark page */
#bhRadio button.bh-r-power.bh-r-power:focus-visible,#bhRadio .bh-r-fader:focus-visible,#bhRadio button.bh-r-mute.bh-r-mute:focus-visible,button#bhResumePill.bh-r-pill:focus-visible{
  outline:3px solid #fbe9b0;outline-offset:4px}
#bhRadio button.bh-r-power.bh-r-power:focus:not(:focus-visible),#bhRadio button.bh-r-mute.bh-r-mute:focus:not(:focus-visible){outline:none}

/* ---------- plinth ---------- */
#bhRadio .bh-r-plinth{position:relative;height:12px;margin:-1px 3.5% 0;border-radius:0 0 12px 12px;transform:translateZ(0);
  background:linear-gradient(180deg,#2c1b0a,#583818 45%,#2a1909);box-shadow:inset 0 1px 0 rgba(255,220,170,.12),0 6px 10px rgba(0,0,0,.45)}
#bhRadio .bh-r-plinth i{position:absolute;bottom:-7px;width:38px;height:8px;border-radius:0 0 7px 7px;background:linear-gradient(180deg,#24150a,#0e0803)}
#bhRadio .bh-r-plinth i:first-child{left:9%}#bhRadio .bh-r-plinth i:last-child{right:9%}

/* ================= phases ================= */
#bhRadio[data-phase="warming"] .bh-r-dim{opacity:.55;transition:opacity .25s ease;animation:bh-flicker .5s steps(2,end) 1}
#bhRadio[data-phase="warming"] .bh-r-lamp{opacity:.22}
#bhRadio[data-phase="warming"] .bh-r-ember{opacity:.55;transition:opacity .35s ease}
#bhRadio[data-phase="tuning"] .bh-r-dim{opacity:.16;transition:opacity .5s ease}
#bhRadio[data-phase="tuning"] .bh-r-lamp{opacity:.5;transition:none}
#bhRadio[data-phase="tuning"] .bh-r-ember,#bhRadio[data-phase="on"] .bh-r-ember,#bhRadio[data-phase="ended"] .bh-r-ember{opacity:.85;transition:opacity .5s ease}
#bhRadio[data-phase="tuning"] .bh-r-needle-glow{opacity:.95}
#bhRadio[data-phase="tuning"] .bh-r-spill{opacity:.42}
#bhRadio[data-phase="on"] .bh-r-dim,#bhRadio[data-phase="ended"] .bh-r-dim{opacity:0;transition:opacity .45s ease}
#bhRadio[data-phase="on"] .bh-r-lamp,#bhRadio[data-phase="ended"] .bh-r-lamp{opacity:.95;transition:none}
#bhRadio[data-phase="on"] .bh-r-needle-glow,#bhRadio[data-phase="ended"] .bh-r-needle-glow{opacity:.5}
#bhRadio[data-phase="on"] .bh-r-spill{opacity:1}
#bhRadio[data-phase="ended"] .bh-r-spill{opacity:.6}
#bhRadio[data-phase="on"] .bh-r-dial::after{opacity:1}
#bhRadio[data-phase="ended"] .bh-r-dial::after{opacity:.55}
#bhRadio[data-phase="on"] .bh-r-mark--420,#bhRadio[data-phase="ended"] .bh-r-mark--420{color:#7a3d02;text-shadow:0 0 12px rgba(255,166,50,.95),0 0 3px rgba(255,222,150,.9),0 1px 0 rgba(255,255,255,.35)}
#bhRadio[data-phase="on"] .bh-r-light{opacity:1}
#bhRadio[data-phase="ended"] .bh-r-light{opacity:.55}
#bhRadio[data-phase="on"] .bh-r-floor::after{opacity:1}
#bhRadio[data-phase="ended"] .bh-r-floor::after,#bhRadio[data-phase="tuning"] .bh-r-floor::after{opacity:.5}
#bhRadio[data-phase="warming"] .bh-r-jewel,#bhRadio[data-phase="tuning"] .bh-r-jewel,#bhRadio[data-phase="on"] .bh-r-jewel,#bhRadio[data-phase="ended"] .bh-r-jewel{
  background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.7) 0 14%,rgba(255,255,255,0) 26%),radial-gradient(circle,#fff0c2,#ffae3e 46%,#c4440c 100%);transition:background .15s ease}
#bhRadio[data-phase="tuning"] .bh-r-jewel::after,#bhRadio[data-phase="on"] .bh-r-jewel::after,#bhRadio[data-phase="ended"] .bh-r-jewel::after{opacity:1;transition:opacity .4s ease}
#bhRadio[data-phase="warming"] .bh-r-jewel{animation:bh-flicker .45s steps(3,end) 1}
#bhRadio[data-phase="on"] .bh-r-fill,#bhRadio[data-phase="ended"] .bh-r-fill,#bhRadio[data-phase="tuning"] .bh-r-fill,#bhRadio[data-phase="warming"] .bh-r-fill{opacity:1}
/* cooling: amber falls away first, the ember lingers like a filament */
#bhRadio[data-phase="cooling"] .bh-r-dim{transition:opacity 1.2s ease .1s}
#bhRadio[data-phase="cooling"] .bh-r-ember{opacity:.5;transition:opacity .2s ease}
#bhRadio.is-nosignal .bh-r-glass{animation:bh-nosignal .5s steps(4,end) 3}
@keyframes bh-flicker{0%{opacity:.2}35%{opacity:.85}55%{opacity:.4}100%{opacity:1}}
@keyframes bh-nosignal{0%,100%{filter:none}50%{filter:brightness(1.4) saturate(.4)}}

/* ================= compact radio (phones, narrow columns) ================= */
@container bhradio (max-width: 520px){
  #bhRadio .bh-r-cabinet{border-radius:24px 24px 16px 16px}
  #bhRadio .bh-r-depth{border-radius:24px 24px 16px 16px}
  #bhRadio .bh-r-face{gap:14px}
  #bhRadio .bh-r-plate{padding:9px 26px}
  #bhRadio .bh-r-glass{height:clamp(86px,25cqi,108px)}
  #bhRadio .bh-r-mark{font-size:clamp(11px,3.2cqi,14px)}
  #bhRadio .bh-r-mark--420{font-size:clamp(20px,6.2cqi,26px)}
  #bhRadio .bh-r-baffle{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"c c" "l r";gap:12px;padding:12px}
  #bhRadio .bh-r-grille--l{grid-area:l}#bhRadio .bh-r-grille--r{grid-area:r}
  #bhRadio .bh-r-grille{min-height:clamp(104px,33cqi,150px)}
  #bhRadio .bh-r-controls{grid-area:c;width:auto;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;
    padding:14px 14px 12px;border-radius:12px;background:linear-gradient(180deg,rgba(18,9,2,.34),rgba(18,9,2,.46));
    box-shadow:inset 0 2px 7px rgba(0,0,0,.5),0 1px 0 rgba(255,228,185,.14)}
  #bhRadio .bh-r-ctl--power{flex:none}
  #bhRadio .bh-r-ctl--vol{flex:1 1 auto;min-width:0;align-items:stretch;gap:4px}
  #bhRadio .bh-r-label--vol{order:-1;justify-content:space-between;padding:0 2px}
  #bhRadio .bh-r-fader{--bh-orient:h;--cap-l:36px;width:100%;height:52px;touch-action:pan-y}
  #bhRadio .bh-r-slot{left:14px;right:14px;top:50%;bottom:auto;width:auto;height:10px;margin:-5px 0 0}
  #bhRadio .bh-r-fill{transform-origin:0 50%;transform:scaleX(.5);background:linear-gradient(90deg,#c24c18,#ffb648)}
  #bhRadio .bh-r-ticks{right:calc(14px + var(--cap-l) / 2);left:calc(14px + var(--cap-l) / 2);top:3px;bottom:auto;width:auto;height:9px;
    background:linear-gradient(90deg,rgba(236,200,115,.75) 0 1px,transparent 1px) 0 100%/calc((100% - 1px) / 10) 5px repeat-x,
               linear-gradient(90deg,rgba(236,200,115,.9) 0 1.5px,transparent 1.5px) 0 100%/calc((100% - 1.5px) / 2) 9px repeat-x}
  #bhRadio .bh-r-num{top:auto;bottom:2px;right:auto}
  #bhRadio .bh-r-num--min{left:calc(14px + var(--cap-l) / 2 - 3px)}
  #bhRadio .bh-r-num--max{left:auto;right:calc(14px + var(--cap-l) / 2 - 6px)}
  #bhRadio .bh-r-cap{left:0;top:50%;width:var(--cap-l);height:44px;margin-left:calc(var(--cap-l) / -2);margin-top:-22px;
    background:
      linear-gradient(90deg,rgba(0,0,0,0) 0 calc(50% - 5px),rgba(60,36,6,.5) calc(50% - 5px) calc(50% - 4px),rgba(255,248,215,.4) calc(50% - 4px) calc(50% - 3px),rgba(0,0,0,0) calc(50% - 3px) calc(50% - .5px),rgba(60,36,6,.55) calc(50% - .5px) calc(50% + .5px),rgba(255,248,215,.4) calc(50% + .5px) calc(50% + 1.5px),rgba(0,0,0,0) calc(50% + 1.5px) calc(50% + 4px),rgba(60,36,6,.5) calc(50% + 4px) calc(50% + 5px),rgba(255,248,215,.4) calc(50% + 5px) calc(50% + 6px),rgba(0,0,0,0) calc(50% + 6px)) 0 10px/100% 24px no-repeat,
      linear-gradient(180deg,var(--bh-brass-hi) 0%,var(--bh-brass-mid) 45%,var(--bh-brass-lo) 100%)}
}
@container bhradio (max-width: 360px){
  #bhRadio .bh-r-plate-main{letter-spacing:2px}
  #bhRadio .bh-r-controls{gap:12px;padding:12px 10px 10px}
  #bhRadio button.bh-r-power.bh-r-power,#bhRadio button.bh-r-power.bh-r-power:hover,#bhRadio button.bh-r-power.bh-r-power:focus,#bhRadio button.bh-r-power.bh-r-power:active{width:90px}
  #bhRadio .bh-r-lever{width:40px}
  #bhRadio .bh-r-power-off{right:9px;font-size:13px}
  #bhRadio .bh-r-power-on{left:11px;font-size:13px}
  #bhRadio button.bh-r-power.bh-r-power[aria-checked="true"] .bh-r-lever{transform:translateX(40px)}
  #bhRadio button.bh-r-power.bh-r-power[aria-checked="true"]:active .bh-r-lever{transform:translateX(40px) scale(.96)}
  #bhRadio .bh-r-label{letter-spacing:2px;font-size:12px}
}

/* ================= song-end pill ================= */
/* moved to <body> by the script so no ancestor transform can trap it; bottom-left keeps it clear of Ask Bud */
button#bhResumePill.bh-r-pill,button#bhResumePill.bh-r-pill:hover,button#bhResumePill.bh-r-pill:focus,button#bhResumePill.bh-r-pill:active{
  -webkit-appearance:none;appearance:none;position:fixed;left:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:9990;
  display:inline-flex;align-items:center;gap:11px;margin:0;padding:9px 18px 9px 9px;border:1px solid rgba(217,187,105,.6);border-radius:999px;
  background:linear-gradient(180deg,#1f3529,#152419);color:#f5e6c8;cursor:pointer;min-height:0;text-transform:none;
  font-family:'Cormorant Garamond','Cormorant',Georgia,serif;font-weight:600;font-size:18px;line-height:1;letter-spacing:.3px;text-decoration:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent;
  box-shadow:0 10px 26px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,240,200,.12);opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .35s ease}
button#bhResumePill.bh-r-pill.is-shown{opacity:1;transform:none}
button#bhResumePill.bh-r-pill[hidden]{display:none!important}
#bhResumePill .bh-r-pill-ico{position:relative;width:30px;height:30px;border-radius:50%;flex:none;background:radial-gradient(circle at 40% 30%,#ffd88a,#e89a32 60%,#b55f14);box-shadow:0 0 12px rgba(255,170,60,.5)}
#bhResumePill .bh-r-pill-ico::after{content:"";position:absolute;left:12px;top:9px;border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent #2b1403}
#bhResumePill .bh-r-pill-freq{font-size:12px;font-weight:700;letter-spacing:1.6px;color:#d9bb69}
@media (max-width:600px){button#bhResumePill.bh-r-pill,button#bhResumePill.bh-r-pill:hover,button#bhResumePill.bh-r-pill:focus{left:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));font-size:17px}}

/* ================= reduced motion: calm, never less usable ================= */
@media (prefers-reduced-motion: reduce){
  #bhRadio.is-off button.bh-r-power.bh-r-power::after{animation:none;opacity:.55}
  #bhRadio[data-phase="warming"] .bh-r-dim,#bhRadio[data-phase="warming"] .bh-r-jewel,#bhRadio.is-nosignal .bh-r-glass{animation:none}
  #bhRadio .bh-r-lever{transition:transform .12s linear}
  #bhRadio .bh-r-cabinet.is-thunk{animation:none}
  button#bhResumePill.bh-r-pill{transition:opacity .2s linear;transform:none}
  #bhRadio .bh-r-body{will-change:auto}
}
