/* ============================================================
   BASSIZM — style.css
   Dark. Precise. Cinematic. Minimal.
   ============================================================ */

:root {
  /* Color system */
  --void: #050505;
  --surface: #0D0D0D;
  --elevated: #151515;
  --red: #E50914;
  --red-hi: #FF1A25;
  --white: #F5F5F5;
  --muted: #A3A3A3;
  --dim: #666666;
  --line: rgba(255, 255, 255, 0.10);
  --line-hover: rgba(255, 255, 255, 0.22);
  --line-strong: rgba(255, 255, 255, 0.35);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max: 1360px;
  --pad: clamp(20px, 6vw, 96px);
  --gap: 24px;
  --nav-h: 80px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-micro: 180ms;
  --t-ui: 320ms;
  --t-section: 700ms;
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.label--red { color: var(--red); }

.muted { color: var(--dim); }
.red { color: var(--red); }

.rule { display: block; height: 1px; background: var(--line); }

.dot {
  width: 6px; height: 6px;
  background: var(--red);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.section {
  padding: clamp(96px, 12vw, 176px) 0;
  position: relative;
  scroll-margin-top: var(--nav-h);
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.section__status { color: var(--white); }

/* Headings — all caps */
h1, h2, h3, .mobile-menu__link {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  transition: background var(--t-micro) var(--ease),
              border-color var(--t-micro) var(--ease),
              color var(--t-micro) var(--ease),
              box-shadow var(--t-micro) var(--ease);
}
.btn--sm { height: 40px; padding: 0 20px; font-size: 12px; }

.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-hi);
  box-shadow:
    0 0 20px rgba(255, 26, 37, 0.55),
    0 0 160px 24px rgba(229, 9, 20, 0.22);
}
.btn__arrow {
  width: 14px; height: 14px;
  transition: transform var(--t-micro) var(--ease);
}
.btn--primary:hover .btn__arrow { transform: translate(2px, -2px); }
.newsletter__form .btn--primary:hover .btn__arrow { transform: translateX(3px); }

.btn--secondary {
  border: 1px solid var(--line-strong);
  color: var(--white);
}
.btn--secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

/* Inline link with animated red underline */
.link {
  position: relative;
  display: inline-block;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--line-strong);
  transition: background var(--t-micro) var(--ease);
}
.link::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  z-index: 1;
  transition: width var(--t-ui) var(--ease);
}
.link:hover::before { width: 100%; }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--t-ui) var(--ease),
              border-color var(--t-ui) var(--ease),
              transform var(--t-ui) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
/* When hidden, keep the red progress line visible at the top edge */
.nav.is-hidden { transform: translateY(calc(-100% + 2px)); }

.nav__progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  z-index: 1;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.nav__logo-svg { height: 16px; width: auto; transition: color var(--t-micro) var(--ease); }
.nav__logo:hover .nav__logo-svg { color: var(--red); }

.nav__links {
  display: flex;
  gap: 40px;
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 0;
  transition: color var(--t-micro) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--t-ui) var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

/* Language switcher (dropdown) */
.lang {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}
.lang__flag {
  width: 18px; height: 12px;
  flex-shrink: 0;
  border-radius: 1px;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
}
.lang__current-flag { display: inline-flex; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 4px;
  color: var(--white);
  text-transform: uppercase;
  transition: color var(--t-micro) var(--ease);
}
.lang__toggle:hover { color: var(--red); }
.lang__chev {
  width: 10px; height: 10px;
  color: var(--muted);
  transition: transform var(--t-ui) var(--ease), color var(--t-micro) var(--ease);
}
.lang.is-open .lang__chev { transform: rotate(180deg); color: var(--white); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-micro) var(--ease), transform var(--t-micro) var(--ease), visibility var(--t-micro);
  z-index: 5;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }

.lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  color: var(--white);
  text-transform: uppercase;
  transition: background var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.lang__opt span {
  color: var(--dim);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.lang__opt:hover { background: var(--elevated); }
.lang__opt[aria-selected="true"] { color: var(--red); }
.lang__opt[aria-selected="true"] .lang__flag { outline-color: var(--red); }

.lang--mobile { margin-top: 24px; font-size: 13px; }
.lang--mobile .lang__toggle { padding: 0; }
.lang--mobile .lang__menu { right: auto; left: 0; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--t-ui) var(--ease), top var(--t-ui) var(--ease);
}
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--void);
  padding-top: var(--nav-h);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-ui) var(--ease), visibility var(--t-ui);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-bottom: 40px;
}
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
  color: var(--white);
  transform: translateY(16px);
  opacity: 0;
  transition: transform var(--t-section) var(--ease), opacity var(--t-section) var(--ease);
}
.mobile-menu__link b { font-weight: inherit; }
.mobile-menu__link span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--red);
}
.mobile-menu.is-open .mobile-menu__link { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 120ms; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 180ms; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 240ms; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 300ms; }
.mobile-menu__foot { margin-top: auto; }
.mobile-menu__foot .btn { width: 100%; }

/* ------------------------------------------------------------
   00 / Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--void);
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}
.hero__video.is-ready { opacity: 1; }

/* Fallback while video isn't delivered: layered blacks + subtle grid */
.hero__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 70%, rgba(229, 9, 20, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 255, 255, 0.04), transparent 60%),
    var(--void);
}
.hero__fallback::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 80%);
}
.hero.has-video .hero__fallback { display: none; }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.15) 35%, rgba(5, 5, 5, 0.35) 65%, var(--void) 100%);
}

/* Corner markers */
.hero__frame {
  position: absolute;
  inset: calc(var(--nav-h) + 8px) var(--pad) 32px;
  z-index: 1;
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(255, 255, 255, 0.25);
  border-style: solid;
  border-width: 0;
}
.corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: clamp(48px, 7vh, 88px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
}
.hero__clock { font-variant-numeric: tabular-nums; }

.hero__title {
  color: var(--white);
  margin: 0 0 clamp(32px, 5vh, 56px);
}
.hero__logo {
  width: 100%;
  height: auto;
  color: var(--white);
  opacity: 0;
  animation: flicker 650ms steps(1, end) 400ms forwards;
}
/* Logo reveal = flicker. Hard cuts, starts from black, one brief red frame */
@keyframes flicker {
  0%   { opacity: 0;    color: var(--white); }
  10%  { opacity: 1; }
  17%  { opacity: 0; }
  30%  { opacity: 0.3; }
  37%  { opacity: 0; }
  50%  { opacity: 1;    color: var(--red); }
  60%  { opacity: 0; }
  74%  { opacity: 1;    color: var(--white); }
  86%  { opacity: 0.2; }
  93%  { opacity: 1; }
  100% { opacity: 1;    color: var(--white); }
}
.hero__title-line {
  display: block;
  max-width: 1200px;
}
.hero__title-line > span { display: block; }

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fade 900ms var(--ease) 900ms forwards;
}
@keyframes fade { to { opacity: 1; } }

.hero__sub {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 560px;
  overflow: hidden;
}
/* Slides down from above, masked by the paragraph box */
.hero__sub > span {
  display: block;
  transform: translateY(-110%);
  animation: dropIn 800ms var(--ease) 1000ms forwards;
}
@keyframes dropIn { to { transform: translateY(0); } }
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--red);
  animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ------------------------------------------------------------
   01 / What we do
   ------------------------------------------------------------ */
.about__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.about__title {
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1;
  color: var(--white);
}
.about__instagram {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  color: var(--muted);
}
.about__instagram a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about__instagram svg { width: 12px; height: 12px; flex-shrink: 0; }
.about__instagram a:hover,
.about__instagram a:focus-visible { color: var(--red-hi); }
.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}
.about__text p { font-size: 17px; line-height: 1.55; }
.about__tagline {
  margin-top: 8px;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

/* ------------------------------------------------------------
   02 / Events
   ------------------------------------------------------------ */
.event {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(32px, 4vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color var(--t-ui) var(--ease);
}
.event:hover { border-color: var(--line-hover); }

.event__date {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.event__day {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.event__month {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: var(--white);
  padding-top: 2px;
}
.event__title {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
}
.event__desc {
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
}

.event__lineup {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.event__lineup .label {
  font-size: 11px;
  color: var(--dim);
}
.event__lineup-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 0;
  margin-top: 12px;
}
.event__lineup .label + .event__lineup-row { margin-top: 16px; }
.event__lineup-row li {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.3;
}
.event__lineup-row--top li { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; }
.event__lineup-row--rest li { font-size: clamp(14px, 1.2vw, 16px); color: var(--muted); }
.event__lineup-row li:not(:last-child)::after {
  content: "|";
  color: var(--red);
  font-weight: 400;
  margin: 0 14px;
}
.event__lineup-row--rest li:not(:last-child)::after { margin: 0 10px; }

.event__side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.event__meta { border-top: 1px solid var(--line); }
.event__meta > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.event__meta dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 3px;
}
.event__meta dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.event__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event__actions .btn { width: 100%; }
.btn--secondary:hover .btn__arrow { transform: translate(2px, -2px); }

/* Upcoming list */
.events__list {
  margin-top: clamp(64px, 8vw, 120px);
}
.events__subtitle {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}
.events__row--head { border-top: 1px solid var(--line); }
.events__row {
  display: grid;
  grid-template-columns: 1.2fr 4fr;
  align-items: start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  position: relative;
  transition: color var(--t-micro) var(--ease);
}
.events__row--head { padding: 14px 0; }
.events__row--head .label { color: var(--dim); }
.events__row span:first-child { color: var(--muted); white-space: nowrap; }
a.events__row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width var(--t-ui) var(--ease);
}
a.events__row:hover::before { width: 100%; }
a.events__row:hover span:first-child { color: var(--red); }

/* ------------------------------------------------------------
   03 / Gallery
   ------------------------------------------------------------ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(140px, 22vw, 300px);
  gap: var(--gap);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 500ms var(--ease);
  filter: grayscale(20%) contrast(1.05);
}
.gallery__item:hover img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }

/* Placeholder state (no image yet) */
.gallery__item::before {
  content: attr(data-index);
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--dim);
  z-index: 1;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 49.6%, var(--line) 49.6%, var(--line) 50.4%, transparent 50.4%);
  opacity: 0.8;
  pointer-events: none;
}
.gallery__item:has(img)::after { display: none; }
.gallery__item:has(img)::before { color: var(--white); mix-blend-mode: difference; }

.gallery__item--a { grid-column: 1 / 8;  grid-row: span 2; }
.gallery__item--b { grid-column: 8 / 13; grid-row: span 2; }
.gallery__item--c { grid-column: 1 / 5; }
.gallery__item--d { grid-column: 5 / 9; }
.gallery__item--e { grid-column: 9 / 13; }
.gallery__item--f { grid-column: 1 / 13; }

/* ------------------------------------------------------------
   04 / Newsletter
   ------------------------------------------------------------ */
.newsletter {
  border-top: 1px solid var(--line);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.newsletter__title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.96;
  color: var(--white);
  margin: 24px 0;
}
.newsletter__desc {
  font-size: 17px;
  line-height: 1.55;
  max-width: 440px;
}

.newsletter__form { display: flex; flex-direction: column; gap: 12px; }
.newsletter__field {
  display: flex;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--t-micro) var(--ease);
}
.newsletter__field:focus-within { border-bottom-color: var(--white); }
.newsletter__field input {
  flex: 1;
  min-width: 0;
  height: 60px;
  font-size: 18px;
  color: var(--white);
  outline: none;
}
.newsletter__field input::placeholder { color: var(--dim); }
.newsletter__field .btn { height: 44px; align-self: center; }
.newsletter__note {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}
.newsletter__status {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 1.5em;
  color: var(--red);
}
.newsletter__status.is-ok { color: var(--white); }
.newsletter__form.is-error .newsletter__field { border-bottom-color: var(--red); }

/* ------------------------------------------------------------
   04 / Contact
   ------------------------------------------------------------ */
.contact { border-top: 1px solid var(--line); }
.contact__title {
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.02;
  color: var(--white);
  max-width: 1100px;
}
.contact__cta {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.contact__cta p { color: var(--white); }
.contact__mail {
  display: inline-block;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--red);
  position: relative;
  padding-bottom: 6px;
  transition: color var(--t-micro) var(--ease);
}
.contact__mail::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--t-ui) var(--ease);
}
.contact__mail:hover { color: var(--red-hi); }
.contact__mail:hover::after { width: 100%; }
@media (max-width: 480px) {
  .contact__cta { font-size: 6vw; }
  .contact__mail { word-break: break-all; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 6vw, 96px) 0 40px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.footer__logo {
  color: var(--white);
  transition: color var(--t-micro) var(--ease);
}
.footer__logo:hover { color: var(--red); }
.footer__logo-svg { height: 28px; width: auto; }

.footer__social { display: flex; gap: clamp(24px, 4vw, 56px); }
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 6px;
  position: relative;
  transition: color var(--t-micro) var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--t-ui) var(--ease);
}
.social:hover { color: var(--red); }
.social:hover::after { width: 100%; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}
.footer__bottom .label { color: var(--dim); }
.footer__mail { text-transform: none; letter-spacing: 0.04em; transition: color var(--t-micro) var(--ease); }
.footer__mail:hover { color: var(--red); }

/* ------------------------------------------------------------
   Tickets — GoOut checkout dialog
   ------------------------------------------------------------ */
body:has(.checkout[open]) { overflow: hidden; }

.checkout {
  --inset: clamp(20px, 3vw, 32px);
  width: min(880px, 100% - 48px);
  height: min(920px, 100% - 48px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  overflow: hidden;
}
.checkout[open] { animation: checkoutIn var(--t-ui) var(--ease); }
.checkout::backdrop {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* literal values: older browsers don't pass custom properties to ::backdrop */
.checkout[open]::backdrop { animation: checkoutFade 320ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes checkoutIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes checkoutFade { from { opacity: 0; } }

.checkout__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.checkout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  height: 64px;
  padding: 0 var(--inset);
  border-bottom: 1px solid var(--line);
}
/* event name — wraps into two even lines on phones */
.checkout__title { line-height: 1.4; text-wrap: balance; }
.checkout__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  flex-shrink: 0;
  padding: 0 8px;
  margin-right: -8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--t-micro) var(--ease);
}
.checkout__close svg { width: 12px; height: 12px; }
.checkout__close:hover { color: var(--red); }

.checkout__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* the GoOut form has its own 15px padding → content lines up with the head */
  padding: calc(var(--inset) - 15px);
}
.checkout:not(.is-ready) .checkout__body { overflow: hidden; }

/* Loader until the GoOut iframe has loaded; fallback link shows up if it takes too long */
.checkout__status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  text-align: center;
}
.checkout.is-ready .checkout__status { display: none; }
.checkout__loader {
  position: relative;
  width: 96px; height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}
.checkout__loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-100%);
  animation: loaderLine 1.4s var(--ease) infinite;
}
@keyframes loaderLine {
  60%, 100% { transform: translateX(100%); }
}
.checkout__fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dim);
  opacity: 0;
  animation: fade 400ms var(--ease) 6s forwards;
  transition: color var(--t-micro) var(--ease);
}
.checkout__fallback:hover { color: var(--white); }
.checkout__fallback .btn__arrow { width: 12px; height: 12px; }

.checkout__embed {
  opacity: 0;
  transition: opacity var(--t-section) var(--ease);
}
.checkout.is-ready .checkout__embed { opacity: 1; }

/* ------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-section) var(--ease), transform var(--t-section) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.gallery__grid .reveal:nth-child(2) { transition-delay: 80ms; }
.gallery__grid .reveal:nth-child(3) { transition-delay: 60ms; }
.gallery__grid .reveal:nth-child(4) { transition-delay: 140ms; }
.gallery__grid .reveal:nth-child(5) { transition-delay: 220ms; }
.gallery__grid .reveal:nth-child(6) { transition-delay: 100ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__logo { opacity: 1; }
  .hero__sub > span { transform: none; }
  .hero__bottom { opacity: 1; }
  .checkout__fallback { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .events__row { grid-template-columns: 124px 1fr; gap: 20px; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta, .nav .lang { display: none; }
  .nav__burger { display: block; margin-left: auto; }

  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }

  .gallery__grid { grid-auto-rows: clamp(120px, 26vw, 220px); }
  .gallery__item--a { grid-column: 1 / 13; grid-row: span 2; }
  .gallery__item--b { grid-column: 1 / 7; grid-row: span 1; }
  .gallery__item--c { grid-column: 7 / 13; }
  .gallery__item--d { grid-column: 1 / 7; }
  .gallery__item--e { grid-column: 7 / 13; }
  .gallery__item--f { grid-column: 1 / 13; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__logo-svg { height: 22px; }
  .footer__social { flex-wrap: wrap; gap: 20px 32px; }
  .footer__bottom { flex-wrap: wrap; }

  /* checkout = full screen */
  .checkout { width: 100%; height: 100%; border: 0; border-radius: 0; }
}

@media (max-width: 480px) {
  .event { padding: 24px 20px; }
  .event__lineup-row { flex-wrap: nowrap; white-space: nowrap; }
  .event__lineup-row--top li { font-size: 5.6vw; }
  .event__lineup-row li { font-size: 4.6vw; }
  .event__lineup-row--rest li { font-size: 3.4vw; }
  .event__lineup-row li:not(:last-child)::after { margin: 0 2.4vw; }
  .event__lineup-row--rest li:not(:last-child)::after { margin: 0 2vw; }
  .events__row { grid-template-columns: 112px 1fr; gap: 16px; }
  .event__meta > div { grid-template-columns: 72px 1fr; }
  .newsletter__field { flex-direction: column; border-bottom: 0; gap: 16px; }
  .newsletter__field input { border-bottom: 1px solid var(--line-strong); }
  .newsletter__field .btn { height: 52px; align-self: stretch; }
  .event__actions .btn { width: 100%; }
}
