/* The masthead lockup (home and event pages): bird on its gyuto, MANAKiN / BiSTRO lettering,
   the chopping game and its easter eggs. */
.hero-main { padding-top: clamp(16px, 4vw, 40px); text-align: center; }
.lockup { display: flex; flex-direction: column; align-items: center; color: var(--negro); margin: 0; font-size: 1rem; }
.lockup svg { display: block; height: auto; }
.bird-btn {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer; color: inherit;
  width: min(62vw, 320px); -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: pan-y;
  animation: perch 0.9s cubic-bezier(.2,.8,.2,1) both;
}
.bird-btn.charging .bird-art { animation: charge .6s cubic-bezier(.5,0,.9,.5) forwards; }
@keyframes charge {
  0% { transform: none; } 25% { transform: scale(1.02) rotate(-2deg); } 50% { transform: scale(1.04) rotate(2.5deg); }
  75% { transform: scale(1.07) rotate(-3deg); } 100% { transform: scale(1.1) rotate(3deg); }
}
.bird-btn:focus-visible { outline: 2px solid var(--negro); outline-offset: 6px; border-radius: 8px; }
.bird-art { display: block; position: relative; transform-origin: 50% 90%; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.bird-art > svg:first-child { width: 100%; }
.chop { position: relative; display: block; width: min(62vw, 320px); margin-bottom: clamp(10px, 3vw, 18px); }
.chop .bird-btn { position: relative; z-index: 1; width: 100%; }
.carrots { position: absolute; left: 50%; top: 92%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.carrot, .half, .pop { position: absolute; left: 0; top: 0; will-change: transform; }
.lockup .carrot svg, .lockup .half svg { width: 100%; height: 100%; }
.half { overflow: hidden; }
.half.r svg { margin-left: -100%; }
.pop { top: -64px; white-space: nowrap; font-style: italic; font-size: 1.05rem; color: var(--negro); }
.pop.miss { opacity: .6; }
.toque { position: absolute; left: 53%; top: -9%; width: 21%; transform: rotate(-8deg) scale(0); transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
body.has-toque .toque { transform: rotate(-8deg) scale(1); }
@keyframes perch { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.lockup .manakin { width: min(80vw, 470px); margin-top: clamp(14px, 3vw, 22px); }
.lockup .bistro  { width: min(42vw, 245px); margin-top: clamp(8px, 2vw, 12px); }

.chopcard { margin: 10px auto 0; display: inline-block; padding: 5px 16px; border-radius: 999px; word-spacing: 2px; border: 1px solid color-mix(in srgb, var(--negro) 25%, transparent); font-size: .95rem; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.chopcard.on { opacity: 1; transform: none; }
.chopcard b { font-weight: 400; font-style: italic; font-family: var(--serif-d); font-size: 1.25rem; margin-left: 3px; }
.chopcard.hot { background: var(--negro); color: var(--crema); }
.chophint { margin-top: 6px; font-style: italic; font-size: .88rem; opacity: 0; transition: opacity .6s .3s; }
.chophint.on { opacity: .7; }

.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 10; transform: translate3d(-50%, 16px, 0); opacity: 0; pointer-events: none; background: var(--negro); color: var(--crema); font-style: italic; font-size: 1rem; padding: 10px 18px; border-radius: 999px; white-space: nowrap; transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.toast.show { opacity: 1; transform: translate3d(-50%, 0, 0); }
.bigwave { position: fixed; left: 0; right: 0; bottom: 0; height: 85vh; z-index: 50; pointer-events: none; will-change: transform; transform: translate3d(-105%,0,0); }
.bigwave svg { width: 100%; height: 100%; display: block; }
.rain { position: fixed; top: 0; z-index: 50; pointer-events: none; will-change: transform; }
.rain svg { width: 100%; height: 100%; display: block; }

/* The line under the lockup: tagline on the home, date + place on an event. */
.event, .tagline { margin-top: clamp(18px, 4vw, 26px); font-style: italic; font-size: clamp(1.05rem, 3.6vw, 1.3rem); letter-spacing: .01em; }
.tagline { max-width: 30em; margin-left: auto; margin-right: auto; }
.event-meta { margin-top: 8px; color: var(--suave); font-size: 1rem; }
.event-meta .sep { margin: 0 6px; }

/* Home: the next-event card and the carta teaser */
.next { margin: clamp(28px, 6vw, 44px) auto 0; max-width: 560px; border: 1px solid var(--linea); border-radius: 18px; padding: 20px 22px; background: color-mix(in srgb, var(--crema) 85%, white); text-align: center; }
.next[data-status="today"] { border-color: var(--negro); }
.next h2 { font-size: clamp(1.9rem, 7vw, 2.4rem); margin-top: 2px; }
.next .when { font-style: italic; font-size: 1.08rem; margin-top: 4px; }
.next .ctas { margin-top: 16px; }
.ripple { position: absolute; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--crema) 55%, transparent); pointer-events: none; transform: scale(.1); opacity: 1; animation: ripple 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
.ripple + .ripple { animation-delay: .12s; }
@keyframes ripple { to { transform: scale(2.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bird-btn { animation: none; }
}
