/* header pint = the lager/stout switch (pairs with pint.js) */
.pint { position: relative; flex: none; width: 30px; height: 42px; margin-left: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(2px 5px 5px rgba(0,0,0,.28)); }
.pint svg { width: 100%; height: 100%; overflow: visible; }
.pint:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; border-radius: 4px; }
.pint .p-liq { fill: #f0ac2a; transition: fill .9s; } .pint .p-head { fill: #fffaf0; transition: fill .9s, height .9s; }
.pint .p-bub { fill: rgba(255,250,220,.85); animation: pRise 2.1s linear infinite paused; }
.pint.fizz .p-bub, .pint:hover .p-bub, .pint:focus-visible .p-bub { animation-play-state: running; }
.pint[data-beer="stout"] .p-liq { fill: #1d100b; } .pint[data-beer="stout"] .p-head { fill: #e7cfa3; height: 9px; }
.pint[data-beer="stout"] .p-bub { fill: rgba(231,207,163,.55); animation-name: pSurge; animation-duration: 2.8s; }
@keyframes pRise  { from { transform: translateY(0); opacity: 0 } 15% { opacity: 1 } to { transform: translateY(-26px); opacity: .6 } }
@keyframes pSurge { from { transform: translateY(-24px); opacity: 0 } 20% { opacity: 1 } to { transform: translateY(0); opacity: 0 } }   /* stout beads sink */
.pint-tip { position: absolute; right: -6px; top: 50px; white-space: nowrap; padding: 7px 10px; background: #1d100b; color: #fff6e2; font: 700 12px Archivo, sans-serif;
  letter-spacing: .04em; border-radius: 4px; opacity: 0; transform: translateY(-4px); transition: .2s; pointer-events: none; }
@media (hover: hover) { .pint:hover .pint-tip { opacity: 1; transform: none; } }
.pint:focus-visible .pint-tip, .pint.tip-on .pint-tip { opacity: 1; transform: none; }
@media (max-width: 900px) { .pint { width: 24px; height: 34px; margin-left: 8px; } }

@media (prefers-reduced-motion: reduce) { .pint .p-bub { animation: none; opacity: .6; } }
/* keep the switch on screen: the header used to push the pint past the right edge at 1101-1360px (7 menu items +
   2 pills) and on <=380px phones. (Header layout lives in journey.css; these only tighten spacing in those ranges.) */
@media (min-width: 1101px) and (max-width: 1360px) { .jh { gap: 20px; } .jh-menu { gap: 18px; } .jh .pint { margin-left: 8px; } }
@media (max-width: 380px) { .jh { padding-left: 14px; padding-right: 14px; gap: 8px; } .jh-logo { font-size: 22px; } .jh .pint { margin-left: 4px; } }
