/* ===== Tokens ===== */
:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --ink: #ebe4d6;
  --ink-muted: #a89f90;
  --blood: #c41e1e;
  --blood-deep: #8f1212;
  --ochre: #c47a2a;
  --ochre-deep: #9a5a18;
  --paper: #efe6d4;
  --tape: rgba(212, 176, 110, 0.72);
  --line: rgba(235, 228, 214, 0.18);
  --font-display: "Rubik Dirt", "Oswald", Impact, sans-serif;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --header-h: 64px;
  --radius-none: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* ===== Atmosphere ===== */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.07;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cards-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.float-card {
  position: absolute;
  width: clamp(70px, 12vw, 140px);
  opacity: 0.07;
  filter: grayscale(0.2) contrast(1.1);
  animation: card-drift 18s ease-in-out infinite;
}

.float-card.c1 { top: 12%; left: 6%; rotate: -18deg; animation-delay: 0s; }
.float-card.c2 { top: 28%; right: 8%; rotate: 22deg; animation-delay: -4s; width: clamp(60px, 10vw, 110px); }
.float-card.c3 { top: 58%; left: 3%; rotate: 12deg; animation-delay: -8s; }
.float-card.c4 { top: 72%; right: 4%; rotate: -26deg; animation-delay: -11s; width: clamp(55px, 9vw, 100px); }
.float-card.c5 { top: 42%; left: 42%; rotate: 8deg; animation-delay: -6s; opacity: 0.045; }

@keyframes card-drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 3deg)); }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.92), rgba(13, 13, 13, 0.55) 70%, transparent);
  backdrop-filter: blur(2px);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-mark img {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(196, 30, 30, 0.45));
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blood);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 2px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  clip-path: polygon(0 8%, 3% 0, 100% 0, 100% 90%, 97% 100%, 0 100%);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) rotate(-0.4deg);
}

.btn--primary {
  --btn-bg: var(--blood);
  --btn-fg: var(--paper);
  --btn-bd: var(--blood-deep);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  --btn-bg: #db2a2a;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(235, 228, 214, 0.55);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  --btn-bd: var(--ochre);
  --btn-fg: var(--paper);
  background: rgba(196, 122, 42, 0.15);
}

.btn--small {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.btn--vk {
  background-image: linear-gradient(120deg, var(--blood), var(--blood-deep));
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 35%, rgba(196, 30, 30, 0.16), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0, 0, 0, 0.85), transparent 45%),
    linear-gradient(180deg, #0a0a0a 0%, #121212 45%, #0d0d0d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 3px
    );
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  top: 18%;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(196, 30, 30, 0.22), transparent 68%);
  filter: blur(8px);
  animation: pulse-glow 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero__eyebrow {
  position: relative;
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--ink-muted);
  animation: rise-in 0.8s ease both;
}

.hero__title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blood);
  text-shadow:
    0 0 0.02em rgba(0, 0, 0, 0.9),
    3px 4px 0 rgba(0, 0, 0, 0.55);
  filter: contrast(1.05);
  animation: rise-in 0.9s 0.08s ease both;
}

.hero__title-line {
  display: block;
}

.hero__title-line--joker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
}

.hero__joker {
  width: 0.72em;
  height: auto;
  margin-top: 0.05em;
  animation: joker-wink 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(196, 30, 30, 0.55));
}

@keyframes joker-wink {
  0%, 90%, 100% { transform: rotate(0deg) scale(1); }
  93% { transform: rotate(-8deg) scale(1.05); }
  96% { transform: rotate(6deg) scale(1.02); }
}

.hero__tagline {
  position: relative;
  margin: 1.35rem 0 0;
  max-width: 28rem;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  animation: rise-in 0.9s 0.18s ease both;
}

.hero__cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.1rem;
  animation: rise-in 0.9s 0.28s ease both;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  translate: -50% 0;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.7;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 0.4rem auto 0;
  background: linear-gradient(to bottom, var(--ochre), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Schedule ===== */
.schedule {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 clamp(16px, 4vw, 24px) 3rem;
}

.schedule__ribbon {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 40%),
    repeating-linear-gradient(
      90deg,
      var(--ochre) 0 3px,
      var(--ochre-deep) 3px 6px
    );
  clip-path: polygon(0 18%, 2% 0, 98% 4%, 100% 22%, 99% 100%, 1% 96%, 0 78%);
  padding: 0.9rem 1.25rem;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
}

.schedule__ribbon h2 {
  margin: 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.45);
}

.schedule__cards {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 0.25rem;
}

.ace-card {
  position: relative;
  min-height: 210px;
  padding: 1.6rem 1rem 1.25rem;
  background:
    linear-gradient(160deg, #f3ead8 0%, #e4d5b8 55%, #d8c6a4 100%);
  color: #1a1210;
  border: 2px solid #141414;
  border-radius: 8px;
  box-shadow:
    4px 6px 0 rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(196, 30, 30, 0.12);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.ace-card--tilt {
  transform: rotate(1.8deg) translateY(-6px);
}

.ace-card--off {
  background: linear-gradient(160deg, #3a3632 0%, #242220 100%);
  color: var(--ink-muted);
  transform: rotate(-0.8deg);
}

.ace-card__corner {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--blood);
}

.ace-card__corner span {
  display: block;
  font-size: 0.95rem;
}

.ace-card__corner--tl {
  top: 8px;
  left: 10px;
}

.ace-card__corner--br {
  right: 10px;
  bottom: 8px;
  transform: rotate(180deg);
}

.ace-card--off .ace-card__corner {
  color: #cfc6b6;
}

.ace-card__days {
  margin: 1.4rem 0 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blood);
}

.ace-card--off .ace-card__days {
  color: #d7cebe;
}

.ace-card__time {
  margin: 0.55rem 0 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ace-card__note {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #9a9184;
}

.ace-card__pip {
  position: absolute;
  left: 50%;
  top: 58%;
  translate: -50% -50%;
  font-size: 4.2rem;
  color: rgba(196, 30, 30, 0.14);
  pointer-events: none;
}

.ace-card__pip--dark {
  color: rgba(235, 228, 214, 0.08);
}

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem clamp(16px, 4vw, 24px);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section__title {
  margin: 0.4rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.section__lead {
  margin: 0;
  color: var(--ink-muted);
}

.stamp {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border: 2px solid var(--blood);
  color: var(--blood);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 rgba(196, 30, 30, 0.25);
}

.stamp--ochre {
  border-color: var(--ochre);
  color: var(--ochre);
  box-shadow: 2px 2px 0 rgba(196, 122, 42, 0.25);
}

/* ===== Poster grid ===== */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.poster {
  position: relative;
  background: #161616;
  border: 1px solid rgba(235, 228, 214, 0.08);
  padding: 0.75rem 0.75rem 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.poster:nth-child(even) {
  transform: rotate(0.7deg);
}

.poster:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.poster__tape {
  position: absolute;
  top: 8px;
  width: 56px;
  height: 18px;
  background: var(--tape);
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.poster__tape--tl {
  left: 14px;
  transform: rotate(-8deg);
}

.poster__tape--tr {
  right: 14px;
  transform: rotate(10deg);
}

.poster__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  clip-path: polygon(
    0% 2%, 3% 0%, 97% 1%, 100% 3%,
    99% 97%, 96% 100%, 4% 99%, 0% 96%
  );
}

.poster__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
  transition: transform 0.45s ease, filter 0.35s ease;
}

.poster:hover .poster__media img {
  transform: scale(1.04);
  filter: contrast(1.12) saturate(1);
}

.poster__badge {
  position: absolute;
  top: 12px;
  right: 10px;
  padding: 0.2rem 0.5rem;
  background: var(--blood);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.poster__body {
  padding: 0.9rem 0.2rem 0.2rem;
}

.poster__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
}

.poster__meta,
.poster__lineup,
.poster__price {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.poster__price {
  color: var(--ochre);
  font-weight: 600;
}

.poster__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  max-width: 36ch;
}

.about__text--muted {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about__tags li {
  padding: 0.25rem 0.55rem;
  border: 1px dashed rgba(196, 30, 30, 0.55);
  color: var(--blood);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.torn {
  position: relative;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.torn img,
.torn iframe {
  width: 100%;
  display: block;
  clip-path: polygon(
    0% 3%, 2% 0%, 7% 1%, 14% 0%, 22% 2%, 30% 0%, 40% 1%, 52% 0%, 63% 2%, 74% 0%, 85% 1%, 94% 0%, 100% 2%,
    99% 14%, 100% 28%, 98% 42%, 100% 58%, 99% 72%, 100% 86%, 98% 100%,
    88% 98%, 76% 100%, 64% 97%, 50% 100%, 38% 98%, 24% 100%, 12% 97%, 0% 99%,
    1% 84%, 0% 68%, 2% 52%, 0% 36%, 1% 20%
  );
}

.about__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.15);
}

.about__photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ===== Drinks ===== */
.drink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.drink {
  padding: 1.15rem 1rem 1.25rem;
  background:
    linear-gradient(160deg, rgba(32, 32, 32, 0.95), rgba(18, 18, 18, 0.98));
  border: 1px solid rgba(235, 228, 214, 0.1);
  box-shadow: inset 0 0 0 1px rgba(196, 30, 30, 0.08);
  transform: rotate(-0.4deg);
}

.drink:nth-child(3n) { transform: rotate(0.6deg); }
.drink:nth-child(3n+1) { transform: rotate(-0.8deg); }

.drink__cat {
  margin: 0;
  color: var(--ochre);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drink__name {
  margin: 0.4rem 0 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.drink__desc {
  margin: 0.4rem 0 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.drink__price {
  margin: 0.85rem 0 0;
  color: var(--blood);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}

.contacts__addr {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1;
  color: var(--blood);
}

.contacts__hint {
  margin: 0;
  color: var(--ink-muted);
}

.contacts__link a {
  color: var(--ochre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts__map {
  min-height: 320px;
  background: #111;
  border: 1px solid rgba(235, 228, 214, 0.1);
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.7) contrast(1.1) brightness(0.85);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 2.5rem 1rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer img {
  opacity: 0.85;
  margin-bottom: 0.3rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__small {
  color: rgba(168, 159, 144, 0.7);
}

.site-footer a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--ochre);
}

.poster__media {
  text-decoration: none;
  color: inherit;
}

/* ===== Modals ===== */
.modal {
  width: min(640px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 2px solid rgba(196, 30, 30, 0.55);
  background: #121212;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
}

.modal--form {
  width: min(460px, calc(100vw - 1.5rem));
}

.modal__inner {
  position: relative;
  overflow: auto;
  max-height: calc(100vh - 2rem);
}

.modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.55rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal__poster {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 3px solid var(--blood);
}

.modal__content {
  padding: 1.25rem 1.25rem 1.5rem;
}

.modal__content h2 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal__meta,
.modal__desc,
.modal__price {
  margin: 0.4rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.modal__price {
  color: var(--ochre);
  font-weight: 600;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.field span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(235, 228, 214, 0.22);
  background: #0a0a0a;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blood);
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.form-ok {
  margin: 0.9rem 0 0;
  padding: 0.7rem;
  border: 1px dashed var(--ochre);
  color: var(--ochre);
  font-size: 0.85rem;
}

.is-hidden {
  display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .contacts__grid,
  .drink-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(13, 13, 13, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid rgba(235, 228, 214, 0.08);
    font-size: 0.95rem;
  }

  .hero {
    align-items: stretch;
    text-align: left;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .hero__cta .btn {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
  }

  .poster-grid,
  .drink-grid,
  .about__grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .poster-grid {
    gap: 1.75rem;
  }

  .poster,
  .poster:nth-child(odd),
  .poster:nth-child(even) {
    transform: none;
  }

  /* horizontal snap for phone browsing */
  .afisha .poster-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-inline: -16px;
    padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .afisha .poster {
    flex: 0 0 min(84vw, 320px);
    scroll-snap-align: start;
  }

  .schedule__cards {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .ace-card,
  .ace-card--tilt,
  .ace-card--off {
    transform: none;
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .schedule__cards {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
