:root {
  --section-space: 104px;
  --accent: #c60000;
  --accent-hover: #e01b14;
  --white: #ffffff;
  --ink: #151515;
  --muted: #6d6b65;
  --content-width: 1240px;
  --content-gutter: 64px;
  --glass-side-padding: 50px;
  --image-date-gap: 30px;
  --date-button-gap: 30px;
  --glass-text-gap: 3px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
  touch-action: none;
}

img,
video,
iframe { max-width: 100%; }
img { height: auto; }
button,
a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container {
  width: min(var(--content-width), calc(100% - var(--content-gutter)));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  border: 0;
}

.section { margin-top: var(--section-space); }

.section-title {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(28px, 3.85vw, 55px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.04em;
  text-align: center;
  text-transform: uppercase;
}

/* Первый экран */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 1080px;
  min-height: 100svh;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: scale(1.01);
  background: #0a0a0a;

}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .58) 0%,
      rgba(255, 255, 255, .16) 42%,
      rgba(255, 255, 255, .42) 67%,
      rgba(21, 21, 21, .62) 100%
    ),
    linear-gradient(
      90deg,
      rgba(21, 21, 21, .16) 0%,
      transparent 28%,
      transparent 72%,
      rgba(21, 21, 21, .18) 100%
    );
  pointer-events: none;
}

.hero-glass-group {
  position: absolute;
  z-index: 2;
  top: 15%;
  right: var(--glass-side-padding);
  left: var(--glass-side-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--glass-text-gap);
  width: auto;
  pointer-events: none;
  transform: rotate(-4deg);
  transform-origin: center center;
}

.hero-glass-text {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .13);
  font-family: "DrukCondensedCyrSuper", Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .66);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .48), 0 12px 28px rgba(0, 0, 0, .18);
  opacity: .78;
  mix-blend-mode: screen;
}

.hero-logo-text {
  font-size: clamp(34px, 14.2vw, 280px);
  letter-spacing: -.08em;
}

.hero-city-text {
  font-size: clamp(23px, 9.2vw, 180px);
  letter-spacing: -.065em;
  opacity: .64;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 245px;
  padding-bottom: 88px;
  text-align: center;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: clamp(360px, 55vw, 708px);
  overflow: visible;
}

.hero-image {
  display: block;
  width: min(120%, 1536px);
  max-width: none;
  height: auto;
  max-height: min(708px, 66vh);
  object-fit: contain;
  object-position: center center;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  width: 100%;
  margin-top: var(--image-date-gap);
  text-align: center;
}

.hero-date {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, .72);
  font-size: clamp(14px, 2.16vw, 31px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .82;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .35);
}

.hero-actions > .ticket-wrap { margin-top: var(--date-button-gap); }

/* Кнопки */
.ticket-wrap {
  position: relative;
  display: inline-block;
  line-height: normal;
  isolation: isolate;
}

.ticket-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 360px;
  min-height: 87px;
  padding: 0 46px;
  pointer-events: none;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  will-change: transform;
}

.ticket-button::after {
  margin-left: 20px;
  content: "→";
  font-size: 30px;
  font-weight: 400;
  transform: translateY(-1px);
}

.ticket-wrap:hover .ticket-button,
.ticket-wrap:focus-within .ticket-button {
  background: var(--accent-hover);
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.ticket-wrap.is-pressed .ticket-button {
  box-shadow: none;
  transform: translate(2px, 2px) scale(.98);
}

.ticket-wrap.is-clicked .ticket-button { animation: ticket-click .42s ease; }

@keyframes ticket-click {
  0% { transform: translate(0, 0) scale(1); }
  35% { transform: translate(2px, 2px) scale(.96); }
  70% { transform: translate(-4px, -4px) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}

.tc-overlay,
.tc-overlay > * {
  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  opacity: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* О концерте */
.about {
  padding-right: 50px;
  padding-left: 50px;
  text-align: left;
}

.about .section-title { text-align: left; }
.about p {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}

.about p:first-of-type {
  margin-bottom: 30px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.ticket-section {
  display: flex;
  justify-content: center;
  text-align: center;
}

/* Меню */
.menu-toggle {
  position: fixed;
  z-index: 1002;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  box-shadow: 4px 4px 0 rgba(21, 21, 21, .34);
  transition: transform .2s ease, background .2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--ink);
  outline: none;
  transform: translate(-3px, -3px);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

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

.menu-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(21, 21, 21, .38);
  transition: opacity .25s ease, visibility .25s ease;
}

.menu-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.menu {
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(480px, 92vw);
  height: 100dvh;
  padding: calc(106px + env(safe-area-inset-top)) calc(42px + env(safe-area-inset-right)) calc(42px + env(safe-area-inset-bottom)) 42px;
  overflow-y: auto;
  visibility: hidden;
  background: #fff;
  box-shadow: -12px 0 34px rgba(21, 21, 21, .18);
  transform: translateX(100%);
  transition: transform .3s ease, visibility .3s ease;
  -webkit-overflow-scrolling: touch;
}

.menu.is-open {
  visibility: visible;
  transform: translateX(0);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, padding-left .2s ease;
}

.menu-link::after {
  content: "→";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
}

.menu-link:hover,
.menu-link:focus-visible {
  padding-left: 10px;
  color: var(--accent);
  outline: none;
}

.menu-ticket {
  width: 100%;
  margin-top: 38px;
  text-align: center;
}

.menu-ticket .ticket-button {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 999px;
}

.menu-ticket .ticket-button::after {
  margin-left: 16px;
  font-size: 22px;
}

/* Видео, фото и музыка */
.video {
  overflow: hidden;
  background: var(--ink);
}

.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #e9e9e9;
  border: 0;
  aspect-ratio: 1 / 1;
}

.gallery-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.gallery-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-button:hover img { transform: scale(1.04); }

.music-frame {
  display: block;
  width: 100%;
  min-height: 460px;
  border: 0;
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(21, 21, 21, .94);
}

.lightbox.is-open { display: flex; }

.lightbox-dialog {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(1000px, 100%);
  height: min(78vh, 760px);
  background: #111;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
}

.lightbox-close {
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 30px;
  transform: translateY(-50%);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-prev:hover,
.lightbox-prev:focus-visible,
.lightbox-next:hover,
.lightbox-next:focus-visible {
  background: var(--accent);
  outline: none;
}

/* Подвал */
.footer {
  margin-top: var(--section-space);
  padding: 46px max(20px, env(safe-area-inset-right)) calc(58px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  color: #fff;
  background: var(--accent);
}

.footer p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  :root {
    --content-gutter: 40px;
    --section-space: 82px;
  }

  #tc-widget-wrapper { display: none !important; }
  .hero { min-height: 900px; }
  .hero-content { padding-top: 205px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-image { max-height: min(620px, 62vh); }
}

@media (max-width: 767px) {
  :root {
    --section-space: 68px;
    --content-gutter: 32px;
    --glass-side-padding-mobile: 26px;
  }

  .section-title {
    margin-bottom: 22px;
    font-size: clamp(28px, 8.4vw, 43px);
  }

  .about {
    padding-right: 50px;
    padding-left: 50px;
  }

  .about p { font-size: 17px; }
  .about p:first-of-type { font-size: 23px; }
  .hero { min-height: 760px; min-height: 100svh; }

  .hero-glass-group {
    top: 15%;
    right: var(--glass-side-padding-mobile);
    left: var(--glass-side-padding-mobile);
    gap: var(--glass-text-gap);
  }

  .hero-logo-text {
    font-size: 16.38vw;
    letter-spacing: -.065em;
  }

  .hero-city-text {
    font-size: 10.4vw;
    letter-spacing: -.055em;
  }

  .hero-content {
    padding-top: calc(205px + env(safe-area-inset-top));
    padding-bottom: 60px;
  }

  .hero-image-wrap {
    width: calc(100vw - 40px);
    min-height: 290px;
    margin-right: calc(50% - 50vw + 20px);
    margin-left: calc(50% - 50vw + 20px);
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .hero-date {
    width: 100%;
    min-height: 36px;
    font-size: 14.4px;
    line-height: 1;
    letter-spacing: .02em;
    white-space: normal;
  }

  .ticket-button {
    min-width: min(330px, calc(100vw - 40px));
    min-height: 81px;
    padding: 0 30px;
    font-size: 19px;
    border-radius: 999px;
  }

  .ticket-button::after {
    margin-left: 18px;
    font-size: 26px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
  }

  .menu {
    width: min(340px, 91vw);
    padding: calc(88px + env(safe-area-inset-top)) calc(25px + env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) 25px;
  }

  .menu-link { font-size: 28px; }

  .menu-ticket .ticket-button {
    min-width: 0;
    min-height: 54px;
    padding: 0 22px;
    font-size: 13px;
    border-radius: 999px;
  }

  .menu-ticket .ticket-button::after {
    margin-left: 13px;
    font-size: 20px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lightbox {
    padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }

  .lightbox-dialog {
    width: 100%;
    height: min(68svh, 560px);
  }

  .lightbox-close { top: -42px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 27px; }
  .lightbox-prev { left: 7px; }
  .lightbox-next { right: 7px; }
  .music-frame { min-height: 400px; }
  .footer p { font-size: 15px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 620px; }
  .hero-glass-group { top: 8%; }
  .hero-content { padding-top: 150px; padding-bottom: 32px; }
  .hero-image-wrap { min-height: 250px; }
  .hero-image { max-height: 330px; }
  .hero-actions { margin-top: 16px; }
  .ticket-button { min-height: 62px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticket-button,
  .menu-toggle,
  .menu-toggle span,
  .menu,
  .menu-backdrop,
  .menu-link,
  .gallery-button img { transition: none; }
  .ticket-wrap.is-clicked .ticket-button { animation: none; }
}
