/* Club picker on shizgara.ru: Рождественская or Автозавод (venue-picker.js). */
/* ---------- Venue picker (main site, first visit): two full-height "doors" ---------- */
.venue-picker { position: fixed; z-index: 200; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--ink); opacity: 0; transition: opacity .35s ease; outline: none; }
.venue-picker.is-visible { opacity: 1; }
.venue-picker__head { position: absolute; z-index: 2; top: clamp(22px, 4vh, 40px); left: 50%; display: grid; justify-items: center; gap: 10px; transform: translateX(-50%); text-align: center; pointer-events: none; opacity: 0; transition: opacity .5s ease .35s; }
.venue-picker.is-visible .venue-picker__head { opacity: 1; }
.venue-picker__head img { width: clamp(118px, 11vw, 150px); height: auto; display: block; }
.venue-picker__head h2 { margin: 0; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.venue-picker__doors { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; }
.venue-door { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100dvh; padding: clamp(28px, 4.4vw, 64px); overflow: hidden; border: 0; color: var(--paper); background: var(--ink-soft); text-align: left; text-decoration: none; cursor: pointer; font: inherit; opacity: 0; transition: opacity .6s ease; }
.venue-door + .venue-door { box-shadow: inset 1px 0 0 var(--line); }
.venue-picker.is-visible .venue-door { opacity: 1; }
.venue-picker.is-visible .venue-door + .venue-door { transition-delay: .12s; }
.venue-door__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.venue-door--rozhdestvenskaya .venue-door__photo { object-position: 50% 40%; }
.venue-door--avtozavod .venue-door__photo { filter: brightness(.78) saturate(.92); }
.venue-picker.is-visible .venue-door__photo { transform: scale(1); }
/* Scrim: dark at the top (logo) and at the bottom (text); the dimming layer reacts to the other door */
.venue-door::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(9, 7, 7, .72) 0%, rgba(9, 7, 7, .1) 26%, rgba(9, 7, 7, .1) 46%, rgba(9, 7, 7, .9) 82%, var(--ink) 100%); }
.venue-door::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--ink); opacity: 0; transition: opacity .45s ease; }
.venue-picker__doors:hover .venue-door:not(:hover)::after { opacity: .55; }

.venue-door__text { display: grid; justify-items: start; }
.venue-door__place { font-size: clamp(34px, 4.6vw, 80px); font-weight: 700; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.venue-door__name { margin-top: .12em; color: var(--gold); font-size: clamp(28px, 3.1vw, 50px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.venue-door__address { margin-top: 18px; color: var(--paper-dim); font-size: 16px; }
.venue-door__cta { display: inline-flex; align-items: center; min-height: 54px; margin-top: 26px; padding: 0 28px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .055); font-size: 15px; font-weight: 700; transition: background .25s ease, border-color .25s ease; }
.venue-door:hover .venue-door__cta, .venue-door:focus-visible .venue-door__cta { border-color: var(--red); background: var(--red); }
.venue-door:focus-visible { outline: none; }
.venue-door:focus-visible .venue-door__cta { outline: 2px solid var(--gold); outline-offset: 4px; }
html.has-venue-picker, html.has-venue-picker body { overflow: hidden; }

@media (max-width: 760px) {
  .venue-picker__head { top: max(18px, env(safe-area-inset-top)); gap: 6px; }
  .venue-picker__doors { grid-template-columns: 1fr; }
  .venue-door { min-height: max(50dvh, 300px); padding: 22px 20px 26px; }
  .venue-door + .venue-door { box-shadow: inset 0 1px 0 var(--line); }
  .venue-door--rozhdestvenskaya { padding-top: 130px; }
  .venue-door--rozhdestvenskaya .venue-door__photo { object-position: 50% 72%; }
  .venue-door--avtozavod { padding-bottom: max(26px, calc(18px + env(safe-area-inset-bottom))); }
  .venue-door::before { background: linear-gradient(180deg, rgba(9, 7, 7, .25) 0%, rgba(9, 7, 7, .15) 30%, rgba(9, 7, 7, .88) 78%, var(--ink) 100%); }
  .venue-door--rozhdestvenskaya::before { background: linear-gradient(180deg, rgba(9, 7, 7, .8) 0%, rgba(9, 7, 7, .15) 34%, rgba(9, 7, 7, .88) 78%, var(--ink) 100%); }
  .venue-door__place { font-size: clamp(34px, 10vw, 46px); }
  .venue-door__name { font-size: clamp(26px, 7.4vw, 34px); }
  .venue-door__address { margin-top: 10px; font-size: 15px; }
  .venue-door__cta { min-height: 48px; margin-top: 16px; padding: 0 22px; font-size: 14px; }
}
/* Short phones (iPhone SE): no room for the neon sign between the logo and the text, show the curtains below it */
@media (max-width: 760px) and (max-height: 720px) {
  .venue-door--rozhdestvenskaya .venue-door__photo { object-position: 50% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .venue-picker, .venue-picker__head, .venue-door, .venue-door__photo, .venue-door::after, .venue-door__cta { transition: none; }
  .venue-door__photo { transform: none; }
}
@media (max-width: 760px) {
  .venue-hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .venue-hero__actions .button { width: 100%; }
}

/* Club switch in the hero of both sites: quiet segmented control, the current club gets a gold ring
   (red stays reserved for the booking button). */
.venue-toggle { display: inline-flex; gap: 2px; margin: 0 0 26px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.venue-toggle__item { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; color: var(--paper-dim); font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.venue-toggle__item:hover { color: var(--paper); background: rgba(255, 255, 255, .05); }
.venue-toggle__item:focus-visible { color: var(--paper); outline: 2px solid var(--gold); outline-offset: 2px; }
.venue-toggle__item.is-active { color: var(--paper); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(212, 154, 104, .6); pointer-events: none; }
@media (max-width: 760px) {
  .venue-toggle { margin-bottom: 20px; }
  .venue-toggle__item { min-height: 42px; padding: 0 16px; font-size: 14px; }
}
