/* ЗАГОВОРСК
   Три луча. Бетон, кость, одна натриевая лампа на странице события.
   Токены: --bg --bone --mist --line --signal
   Радиус везде 0. Акцент артист-сайта: кость. Акцент event: --signal.
*/

:root {
  --bg: #0c0c0b;
  --bg-2: #161614;
  --bone: #e7e1d6;
  --bone-dim: #c9c3b6;
  --mist: #b7b2a6;
  --line: rgba(231, 225, 214, 0.16);
  --signal: #e2a23a;
  --signal-ink: #1a1208;
  --danger: #f0c2b0;
  --pad: clamp(16px, 4vw, 72px);
  --header: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1440px;
  --font-display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
iframe { border: 0; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--bone); color: #14120e; }
[data-page="event"] ::selection { background: var(--signal); color: var(--signal-ink); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}
[data-page="event"] :focus-visible { outline-color: var(--signal); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 90;
  background: var(--bone);
  color: #14120e;
  padding: 12px 16px;
}
.skip:focus { top: 12px; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }

/* Grain sits above content, never blocks clicks. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding: clamp(72px, 11vw, 140px) 0; }
.lede {
  max-width: 62ch;
  color: var(--bone-dim);
  font-size: clamp(17px, 1.4vw, 20px);
}

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(12px, 2vw, 28px); }
.page-head h1 { font-size: clamp(48px, 9vw, 128px); max-width: 12ch; }

/* Trust + header */
.trust {
  margin: 0;
  padding: 8px var(--pad);
  font-size: 12px;
  line-height: 1.45;
  color: var(--bone-dim);
  background: #090908;
  overflow-wrap: anywhere;
}
.trust a { color: var(--bone); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--pad);
  background: rgba(12, 12, 11, 0.94);
  border-bottom: 1px solid transparent;
}
.wordmark, .nav-cta, .nav-toggle { flex-shrink: 0; }
.has-hero .trust,
.has-hero .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
}
.has-hero .trust { background: rgba(12, 12, 11, 0.62); }
.has-hero .trust { top: 0; z-index: 41; }
.has-hero .site-header { top: 38px; }
.has-hero.chrome-solid .trust { display: none; }
.has-hero.chrome-solid .site-header {
  position: fixed;
  top: 0;
  background: rgba(12, 12, 11, 0.94);
  border-bottom-color: var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.wordmark img { width: 22px; height: 33px; }
.desk-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.desk-nav a { text-decoration: none; color: var(--bone-dim); }
.desk-nav a:hover,
.desk-nav a[aria-current="page"] { color: var(--bone); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 42px;
  padding: 0 16px;
  background: var(--bone);
  color: #16140f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-cta:hover { background: #fff; }
[data-page="event"] .nav-cta {
  background: var(--signal);
  color: var(--signal-ink);
}
[data-page="event"] .nav-cta:hover { background: #f0b85a; }
.nav-toggle { display: none; margin-left: 4px; width: 44px; height: 44px; color: var(--bone); flex-shrink: 0; }
.nav-toggle-box { position: relative; display: block; width: 26px; height: 14px; margin: 0 auto; }
.nav-toggle-box i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.nav-toggle-box i:first-child { transform: translateY(-5px); }
.nav-toggle-box i:last-child { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0c0c0b;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu-open .site-header { z-index: 70; background: #0c0c0b; }
.menu nav, .menu-social {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.menu nav {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 80px;
  gap: 2px;
}
.menu nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: -0.045em;
  line-height: 0.96;
  width: fit-content;
}
.menu-social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.js:not(.reduce) .menu nav a,
.js:not(.reduce) .menu-social a {
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.js:not(.reduce) .menu.is-open nav a,
.js:not(.reduce) .menu.is-open .menu-social a {
  opacity: 1;
  transform: none;
}
.menu.is-open nav a:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.16s; }
.menu.is-open nav a:nth-child(6) { transition-delay: 0.2s; }
.menu.is-open nav a:nth-child(7) { transition-delay: 0.24s; }
.menu.is-open .menu-social a { transition-delay: 0.28s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-fill { background: var(--bone); color: #16140f; }
.btn-fill:hover { background: #fff; }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: #f0b85a; }
.btn-ghost { border-color: rgba(231, 225, 214, 0.45); color: var(--bone); background: rgba(12, 12, 11, 0.35); }
.btn-ghost:hover { background: var(--bone); color: #16140f; }
.btn-arrow { display: inline-block; transition: transform 0.45s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active .btn-label, .btn:active .btn-arrow { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 32px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 11, 0.45) 0%, rgba(12, 12, 11, 0.05) 32%, rgba(12, 12, 11, 0.28) 58%, rgba(12, 12, 11, 0.88) 100%);
}
.hero-copy { position: relative; z-index: 2; width: min(var(--max), 100%); }
.mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title {
  font-size: clamp(34px, 8.4vw, 148px);
  max-width: 100%;
}
.event-title { font-size: clamp(64px, 16vw, 220px); }
.hero-sub {
  margin-top: 16px;
  max-width: 36ch;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--bone);
}
.hero-copy .btn-row { margin-top: 24px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* About */
.name-stack { display: grid; gap: 0; }
.name-stack a {
  display: block;
  width: fit-content;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 112px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--bone-dim);
}
@media (hover: hover) {
  .name-stack a { transition: transform 0.55s var(--ease), color 0.45s var(--ease); }
  .name-stack:hover a { color: #7d786e; }
  .name-stack a:hover { color: var(--bone); transform: translateX(14px); }
}
.about-grid {
  display: grid;
  gap: 36px;
}
.about-side { display: grid; gap: 28px; align-content: end; }
.mark-xl { width: 72px; height: auto; }

/* Marquee: one per artist site */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
}
.marquee-track span {
  padding-right: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bone-dim);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 32s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Dates, Garrix-like rows with air */
.tour-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.tour-head h2, .block-title {
  font-size: clamp(40px, 6vw, 84px);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 8px;
}
.filters label { display: grid; gap: 6px; font-size: 13px; color: var(--mist); }
.filters input, .filters select, .field input, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  min-width: 0;
  width: 220px;
}
.field textarea { width: 100%; min-height: 120px; resize: vertical; }
.field input, .field textarea { width: 100%; }
.filters input:focus-visible, .filters select:focus-visible,
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}
input::placeholder, textarea::placeholder { color: var(--mist); opacity: 1; }
input:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--bone);
  caret-color: var(--bone);
  box-shadow: 0 0 0 1000px var(--bg) inset;
}
.tour-list { border-top: 1px solid var(--line); }
.tour-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.tour-date {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.04em;
}
.tour-city { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.03em; }
.tour-name { color: var(--bone-dim); }
.tour-venue { color: var(--mist); font-size: 15px; }
.tour-empty { padding: 28px 0; color: var(--mist); }
.tour-empty[hidden] { display: none; }

/* Releases */
.release-stage {
  display: grid;
  gap: 24px;
  align-items: end;
}
.release-frame {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--bg-2);
}
.release-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.release-kicker { color: var(--mist); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.release-copy h3 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.embed-slot { margin-top: 18px; background: #090908; }
.embed-slot iframe { display: block; }

/* News */
.news-feature { display: grid; gap: 24px; align-items: end; }
.news-feature img { width: 100%; height: clamp(240px, 36vw, 460px); object-fit: cover; }
.news-feature time { color: var(--mist); font-size: 14px; }
.news-feature h2, .news-feature h3 {
  margin: 8px 0 12px;
  font-size: clamp(36px, 5vw, 72px);
}
.story { max-width: 68ch; display: grid; gap: 16px; }
.story p { color: var(--bone-dim); }

/* Gallery */
.mosaic {
  display: grid;
  gap: 12px;
}
.shot {
  display: block;
  padding: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  text-decoration: none;
  background: #090908;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption, .caption {
  display: block;
  padding-top: 10px;
  color: var(--mist);
  font-size: 14px;
}
.wide-shot img { height: clamp(240px, 48vw, 620px); }
.tall-shot img { height: clamp(280px, 42vw, 520px); }
.todo-slot {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(231, 225, 214, 0.28);
  color: var(--mist);
  text-align: center;
}
dialog.lightbox {
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 20px;
  background: #0c0c0b;
  color: var(--bone);
  border: 1px solid var(--line);
}
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.78); }
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lightbox img { max-height: 72dvh; width: auto; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; color: var(--mist); font-size: 14px; }

/* Press + contact */
.kit-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.kit-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.kit-list span { color: var(--mist); }
.form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--mist); }
.field .error { color: var(--danger); font-size: 14px; }
.field .error:empty { display: none; }
.form-status { min-height: 1.4em; color: var(--bone-dim); }
.contact-grid { display: grid; gap: 48px; }
.social-list { display: grid; gap: 10px; margin-top: 18px; }
.social-list a { width: fit-content; }

/* Footer */
.site-footer {
  position: relative;
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 28px; height: 42px; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-nav a, .footer-legal a { text-decoration: none; color: var(--bone-dim); font-size: 14px; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--bone); }
.seller-pending { max-width: 62ch; color: var(--mist); font-size: 13px; }
.beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(231, 225, 214, 0.22), transparent 72%) 18% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(231, 225, 214, 0.34), transparent 80%) 50% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(231, 225, 214, 0.22), transparent 72%) 82% 0 / 1px 100% no-repeat;
}

/* Curtain between pages */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: #0c0c0b;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}
body.is-leaving .curtain {
  transform: scaleY(1);
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Reveal via scroll-driven CSS where the browser understands it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: rise 1s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.js:not(.reduce) .mask-inner {
  animation: unmask 1s var(--ease) both;
}
@keyframes unmask {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: end; }
  .tour-row {
    grid-template-columns: 0.9fr 1.1fr 0.9fr 1.2fr auto;
    gap: 18px;
  }
  .release-stage { grid-template-columns: 1.3fr 0.9fr; gap: 48px; }
  .news-feature { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .mosaic { grid-template-columns: 1.45fr 0.8fr; }
  .wide-shot { grid-row: span 2; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.1fr 1.4fr 1fr; align-items: start; }
}
@media (max-width: 1080px) {
  .js .desk-nav { display: none; }
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { margin-left: auto; padding: 0 12px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding-top: 132px; }
  .has-hero .site-header { top: 58px; }
  .trust { font-size: 11px; }
  .site-header { gap: 8px; }
  .wordmark span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .release-frame, .release-frame img { min-height: 220px; }
  .kit-list li { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .mask-inner, [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media print {
  .trust, .site-header, .nav-toggle, .menu, .curtain, .marquee, body::after { display: none !important; }
  body { background: #fff; color: #111; }
  a { color: #111; }
}
