@font-face {
  font-family: "Belarus";
  src: url("fonts/Belarus.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GOTHICB";
  src: url("fonts/GOTHICB.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --soft: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.18);
  --page-pad: clamp(28px, 5vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "GOTHICB", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: pageLoad 620ms ease forwards;
}

h1,
h2,
h3,
p {
  margin: 0;
}

@keyframes pageLoad {
  to {
    opacity: 1;
  }
}

[x-cloak] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.display-font {
  font-family: "Belarus", "GOTHICB", Arial, sans-serif;
  font-weight: 400;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a,
button {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.site-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto 0;
  color: #000;
  pointer-events: none;
}

.desktop-nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 34px;
  width: 100%;
  padding: 28px var(--page-pad) 0;
  color: #000;
  pointer-events: auto;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 38px);
  width: fit-content;
}

.top-nav a {
  width: fit-content;
  font-size: clamp(1.05rem, 1.65vw, 1.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.site-footer a:hover,
.site-footer button:hover {
  opacity: 0.62;
}

.floating-menu-button {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.floating-menu-button.is-after-hero,
.floating-menu-button.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-menu-button span {
  position: absolute;
  left: 15px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

.floating-menu-button span:first-child {
  transform: translateY(-5px);
}

.floating-menu-button span:last-child {
  transform: translateY(5px);
}

.floating-menu-button.is-open span:first-child {
  transform: rotate(45deg);
}

.floating-menu-button.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-full {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: start stretch;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-menu-full.is-open {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  display: grid;
  gap: clamp(14px, 4vw, 28px);
  width: min(86vw, 520px);
  padding: 112px var(--page-pad) 32px;
  text-align: left;
}

.mobile-menu-inner a {
  color: #fff;
  font-size: clamp(2.9rem, 14vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-bg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.hero-gradient {
  position: absolute;
  inset: auto 0 -1px;
  height: clamp(110px, 18vw, 240px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.22) 36%,
    rgba(0, 0, 0, 0.76) 73%,
    #000 100%
  );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(30px, 5vw, 72px) var(--page-pad) 0;
}

.hero-note,
.hero-motto {
  max-width: 34rem;
  color: rgba(0, 0, 0, 0.72);
  font-size: clamp(0.95rem, 1.7vw, 1.35rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-motto {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-name {
  display: grid;
  color: #000;
  font-size: clamp(5rem, 13.5vw, 15rem);
  line-height: 0.72;
  text-transform: uppercase;
}

.hero-name span:last-child {
  color: #000;
}

.poster-section,
.contacts-poster,
.about-content {
  position: relative;
  padding: clamp(42px, 5vw, 76px) var(--page-pad);
  background: #000;
}

.section-kicker {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.poster-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(10px, 1.3vw, 18px);
  text-align: center;
}

.poster-head h2,
.contacts-poster h2,
.about-poster-copy h1 {
  font-size: clamp(4.4rem, 14vw, 15.5rem);
  line-height: 0.72;
  text-transform: uppercase;
}

.contacts-poster h2 {
  text-align: center;
}

.poster-head p {
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.24;
}

.events-stack {
  display: grid;
  gap: 6px;
  margin-top: clamp(10px, 1.4vw, 18px);
}

.event-line {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(180px, 1fr) auto;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.event-line-date {
  font-size: clamp(1.35rem, 2.7vw, 3rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.event-line-main h3 {
  margin-bottom: 2px;
  font-size: clamp(1.35rem, 2.7vw, 3rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.event-line-main p {
  color: var(--soft);
  font-size: clamp(0.95rem, 1.45vw, 1.18rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.event-ticket,
.about-cta a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.event-ticket {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.about-cta a {
  min-height: 42px;
  padding: 0.72rem 1rem;
  font-size: 0.86rem;
}

.event-ticket:hover,
.about-cta a:hover {
  background: transparent;
  color: #fff;
}

.event-ticket.is-disabled {
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: rgba(255, 255, 255, 0.36);
}

.contacts-poster {
  border-top: 1px solid var(--line);
}

.contacts-poster h2 {
  margin-bottom: clamp(18px, 3vw, 36px);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.contact-big,
.contact-small {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 34px);
  text-align: left;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.social-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  object-fit: contain;
}

.contact-big {
  min-height: 170px;
  font-size: clamp(1.1rem, 2vw, 2rem);
  line-height: 0.88;
}

.contact-small {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 2rem);
}

.contact-big:hover,
.contact-big:focus-visible,
.contact-small:hover,
.contact-small:focus-visible {
  background: #fff;
  color: #000;
}

.contact-big:hover .social-icon,
.contact-big:focus-visible .social-icon,
.contact-small:hover .social-icon,
.contact-small:focus-visible .social-icon {
  filter: invert(1);
}

.video-section {
  border-top: 1px solid var(--line);
  background: #000;
  padding: clamp(84px, 12vw, 178px) var(--page-pad);
  text-align: center;
}

.video-section h2 {
  font-size: clamp(4rem, 15vw, 16rem);
  line-height: 0.78;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(24px, 3.4vw, 50px);
  text-align: left;
}

.video-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: clamp(220px, 32vw, 480px);
  border: 1px solid var(--line);
  background: #111;
}

.video-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.video-card:hover img,
.video-card:focus-visible img {
  filter: grayscale(1) contrast(1.18);
  transform: scale(1.025);
}

.about-poster {
  display: grid;
  min-height: min(58dvh, 560px);
  border-bottom: 1px solid var(--line);
  background: #000;
}

.about-page .site-header,
.about-page .desktop-nav {
  color: #fff;
}

.about-page .top-nav a {
  color: #fff;
}

.about-page .desktop-nav {
  justify-content: space-between;
}

.about-poster-media {
  display: none;
}

.about-poster-media img {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  object-fit: cover;
  object-position: 66% center;
}

.about-poster-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #000);
}

.about-poster-copy {
  display: grid;
  align-content: start;
  gap: clamp(8px, 1.2vw, 16px);
  max-width: 1200px;
  padding: clamp(92px, 10vw, 132px) var(--page-pad) clamp(42px, 6vw, 70px);
}

.about-poster-copy p {
  color: var(--soft);
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.about-poster-copy h1 {
  max-width: 9ch;
}

.about-lead {
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
  max-width: 1180px;
  font-size: clamp(1.5rem, 3.5vw, 4.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.about-lead p:first-child {
  color: #fff;
}

.about-lead p:not(:first-child) {
  max-width: 900px;
  color: var(--soft);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(34px, 6vw, 78px);
  background: var(--line);
}

.about-cards article {
  display: grid;
  align-content: space-between;
  min-height: clamp(250px, 28vw, 390px);
  background: #000;
  padding: clamp(20px, 2.8vw, 42px);
}

.about-cards h2 {
  font-size: clamp(1.8rem, 3.3vw, 4.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.about-cards p {
  color: var(--soft);
  font-size: clamp(0.96rem, 1.4vw, 1.18rem);
  line-height: 1.28;
  text-transform: uppercase;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 52px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  border-top: 1px solid var(--line);
  background: #000;
  padding: 28px var(--page-pad) 18px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.aiwa-credit {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #fff;
  text-transform: none;
}

.aiwa-credit img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #fff;
  line-height: 0.9;
}

.site-footer nav,
.site-footer div {
  display: grid;
  gap: 9px;
}

.site-footer > div:first-child {
  gap: 2px;
}

.site-footer button {
  width: fit-content;
  text-align: left;
  text-transform: uppercase;
}

.admin-page {
  min-height: 100dvh;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 70px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.admin-back,
.admin-ghost,
.admin-form button,
.admin-row-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0 18px;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-ghost {
  background: transparent !important;
  color: #fff !important;
}

.admin-panel,
.admin-section {
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 4vw, 44px);
}

.admin-panel {
  max-width: 560px;
}

.admin-heading h1,
.admin-panel h1 {
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.admin-heading,
.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-kicker {
  color: var(--soft);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.admin-workspace {
  display: grid;
  gap: clamp(42px, 6vw, 82px);
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-section h2 {
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-grid-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  text-transform: uppercase;
}

.admin-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  color-scheme: dark;
  background: #050505;
  color: #fff;
  padding: 14px 12px;
  font: inherit;
}

.admin-date-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-date-input {
  min-height: 52px;
}

.admin-picker-button {
  min-height: 52px;
  padding: 0 16px !important;
}

.admin-form input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.admin-form input[type="file"] {
  padding: 11px 12px;
}

.admin-check {
  display: flex !important;
  min-height: 48px;
  align-items: center;
  gap: 10px;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.admin-form button {
  background: #fff;
  color: #000;
}

.admin-form button:disabled,
.admin-form input:disabled {
  cursor: wait;
  opacity: 0.52;
}

.admin-error,
.admin-status {
  min-height: 1.2em;
  align-self: center;
}

.admin-error {
  color: #ffb4b4;
}

.admin-status {
  color: var(--soft);
  text-transform: uppercase;
}

.admin-list {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
}

.admin-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #000;
  padding: 14px;
}

.admin-row:has(> div:first-child) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-row img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.admin-row div {
  display: grid;
  gap: 5px;
}

.admin-row-actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px !important;
  background: transparent;
}

.admin-row-actions button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-row strong,
.admin-row span,
.admin-row small {
  overflow-wrap: anywhere;
}

.admin-row span,
.admin-row small {
  color: var(--soft);
}

.admin-row-actions button[data-delete] {
  color: #ffdddd;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .floating-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-bg {
    width: 100%;
    height: auto;
  }

  .hero-content {
    padding-top: 24px;
  }

  .poster-head,
  .event-line,
  .contacts-grid,
  .about-poster,
  .about-cards,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .event-line {
    align-items: start;
    gap: 8px 12px;
    min-height: auto;
    padding: 18px 0;
  }

  .event-ticket {
    width: fit-content;
    min-width: 148px;
    min-height: 50px;
  }

  .about-poster {
    min-height: auto;
  }

  .about-poster-media img {
    min-height: 58dvh;
    object-position: 64% center;
  }

  .about-poster-copy {
    gap: 8px;
    padding-top: 72px;
    padding-bottom: 32px;
  }

  .about-poster-copy p {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .about-poster-copy h1 {
    font-size: clamp(3.3rem, 14.5vw, 5.6rem);
    line-height: 0.88;
  }

  .admin-grid-form,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-row img {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-bg {
    width: 100%;
    height: auto;
  }

  .hero-name {
    font-size: clamp(3rem, 14.5vw, 4.7rem);
    line-height: 0.76;
  }

  .hero-content {
    padding: 12px 12px 0 clamp(4px, 1.4vw, 8px);
  }

  .hero-name {
    transform: translateX(-1px);
  }

  .hero-note {
    color: rgba(0, 0, 0, 0.62);
  }

  .contact-big,
  .contact-small {
    min-height: 132px;
  }

  .poster-section {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .poster-head {
    padding-bottom: 12px;
  }

  .events-stack {
    gap: 0;
    margin-top: 10px;
  }

  .event-line {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 6px;
    padding: 16px 0;
  }

  .event-line-date {
    grid-column: 1 / -1;
    color: var(--soft);
    font-size: clamp(1.05rem, 5vw, 1.55rem);
    line-height: 1;
  }

  .event-line-main {
    min-width: 0;
  }

  .event-line-main h3 {
    font-size: clamp(1.8rem, 10vw, 3rem);
    line-height: 0.9;
  }

  .event-line-main p {
    margin-top: 2px;
    font-size: clamp(0.86rem, 3.8vw, 1.05rem);
    line-height: 1.12;
  }

  .event-ticket {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 112px;
    min-height: 44px;
    padding: 0.74rem 1rem;
    font-size: 0.9rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .mobile-menu-full,
  .mobile-menu-full.is-open,
  .floating-menu-button {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
