/* Start custom CSS *//* ============ MOTION u00b7 Tonight, Poured ============
   All decoration. Nothing here hides content for long, people with
   "reduce motion" switched on get a still page, and browsers without
   scroll-timeline support simply show everything in place. */

/* Nav: a pink rule draws under the link you point at. */
[data-id="strip-links"] a{background:linear-gradient(#EC008C,#EC008C) left 100% / 0 2px no-repeat;padding-bottom:3px}
[data-id="strip-links"] a:hover,[data-id="strip-links"] a:focus-visible{background-size:100% 2px}

/* Buttons: lift off the page with an offset cyan "misprint" shadow, press back down on click. */
.bb-btn{box-shadow:0 0 0 #00C2F3}
.bb-btn:hover,.bb-btn:focus-visible{transform:translate(-3px,-3px);box-shadow:3px 3px 0 #00C2F3}
.bb-btn:active{transform:translate(0,0);box-shadow:0 0 0 #00C2F3}

/* The poster. The deer hangs at an angle with a hard navy print shadow. --bb-mx/--bb-my (-1..1) come from
   the "Beards Poster FX" snippet: the mouse, or tilting a phone. At rest they're 0, so this is the still look. */
[data-id="hero-deer"]{transform:rotate(calc(-3deg + var(--bb-mx,0) * 1.4deg)) translate(calc(var(--bb-mx,0) * -8px),calc(var(--bb-my,0) * -6px));
  box-shadow:10px 10px 0 #052460}
/* "Tonight": the cyan plate drifts against the pointer, like a misregistered riso print. */
[data-id="hero-title"]{text-shadow:calc(var(--bb-mx,0) * -9px) calc(var(--bb-my,0) * -6px) 0
  rgb(0 194 243 / min(.9, calc(max(var(--bb-mx,0), var(--bb-mx,0) * -1) * 2.5 + max(var(--bb-my,0), var(--bb-my,0) * -1) * 2.5)))}

@media (prefers-reduced-motion:no-preference){
  [data-id="strip-links"] a{transition:background-size .28s cubic-bezier(.2,.7,.2,1)}
  .bb-btn{transition:transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s cubic-bezier(.2,.7,.2,1),background-color .18s}

  /* 1 u00b7 Arrival. The hero comes off the press top to bottom: short rises, tight stagger. */
  @keyframes bb-rise{from{opacity:0;transform:translateY(12px)}}
  [data-id="date"],[data-id="hero-title"],[data-id="hero-at"],[data-id="hero-intro"]{animation:bb-rise .8s cubic-bezier(.2,.7,.2,1) both}
  [data-id="date"]{animation-delay:.05s}
  [data-id="hero-at"]{animation-delay:.24s}
  [data-id="hero-intro"]{animation-delay:.34s}

  /* 2 u00b7 Registration. "Tonight" lands with its cyan plate a few pixels off,
         then the plates line up, like a riso print settling. */
  @keyframes bb-register{from{text-shadow:-7px 4px 0 rgba(0,194,243,.9)}}
  /* "backwards", not "both": once the plates line up, the mouse/tilt drift above takes over. */
  [data-id="hero-title"]{animation:bb-rise .8s cubic-bezier(.2,.7,.2,1) .14s both,bb-register 1.3s cubic-bezier(.3,.6,.2,1) .4s backwards}

  /* 3 u00b7 Tickets are set down on the bar, the second a beat after the first. */
  @keyframes bb-place{from{opacity:0;transform:translateY(10px) rotate(-1.4deg)}}
  [data-id="tk-tap"],[data-id="tk-rc"]{animation:bb-place .7s cubic-bezier(.2,.7,.2,1) both}
  [data-id="tk-tap"]{animation-delay:.46s}
  [data-id="tk-rc"]{animation-delay:.56s}

  /* 4 u00b7 The deer fades up, then breathes: a 5px drift on a slow 8s loop (on "translate", so it
         stacks with the angle and the pointer drift on "transform"). */
  @keyframes bb-fade{from{opacity:0}}
  @keyframes bb-breathe{50%{translate:0 -5px}}
  [data-id="hero-deer"]{animation:bb-fade 1.2s ease-out .2s both,bb-breathe 8s ease-in-out 1.4s infinite}

  /* 5 u00b7 Below the fold, things surface as you scroll to them. Tied to scroll
         position rather than a timer, so nothing can get stuck hidden. */
  @supports (animation-timeline:view()){
    @keyframes bb-surface{from{opacity:0;transform:translateY(22px)}}
    [data-id="pour-title"],[data-id="week-title"],[data-id="eat-title"],[data-id="visit-title"],
    .bbw-bill li,[data-id="dishes"]>*,[data-id="eat-photo"],[data-id="hours"]>*,[data-id="visit-map"]{
      animation:bb-surface linear both;animation-timeline:view();animation-range:entry 0% entry 65%}
  }
}/* End custom CSS */