/* MÉMO Community — memo-community.ru. Static, no build step, CSP 'self' only (no inline styles/scripts). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #050505; --panel: #0b0b0b; --line: #262626; --line-2: #3a3a3a;
  --text: #ececec; --muted: #9a9a9a; --dim: #6b6b6b; --white: #fff;
  --track: .22em; --wrap: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.6 "Montserrat", Arial, sans-serif; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.wrap { width: min(var(--wrap), 100% - 8vw); margin: 0 auto; }
.up { text-transform: uppercase; letter-spacing: var(--track); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 74px; display: flex; align-items: center; gap: 34px;
  padding: 0 4vw; background: linear-gradient(180deg, rgba(5,5,5,.92), rgba(5,5,5,.55)); backdrop-filter: blur(10px); }
.header.solid { background: rgba(5,5,5,.94); border-bottom: 1px solid #141414; }
.brand img { width: 38px; height: auto; }
.home .header .brand { display: none; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: #cfcfcf; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; border-bottom-color: #fff; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.soc { display: flex; gap: 16px; align-items: center; }
.soc a { color: #d8d8d8; display: inline-flex; }
.soc a:hover { color: #fff; }
.soc svg { width: 17px; height: 17px; fill: currentColor; }
.btn-ticket { border: 1px solid #cfcfcf; padding: 10px 18px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: #fff; }
.btn-ticket:hover { background: #fff; color: #000; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 34px; height: 34px; padding: 6px; }
.menu-btn span { display: block; height: 1.5px; background: #fff; margin: 6px 0; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; top: 0; right: 0; width: 70%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.05); }
.hero-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, #050505 30%, rgba(5,5,5,.75) 45%, rgba(5,5,5,.15) 70%, rgba(5,5,5,.35) 100%),
              linear-gradient(0deg, #050505 0%, rgba(5,5,5,0) 30%); }
.hero-in { position: relative; z-index: 2; padding-top: 74px; }
.hero-logo { width: min(330px, 62vw); }
.hero-title { margin: 30px 0 6px; font-size: clamp(16px, 2vw, 22px); font-weight: 400; letter-spacing: .5em; text-transform: uppercase; }
.hero-genre { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: #cfcfcf; margin: 0 0 26px; }
.hero-line { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: #bdbdbd; margin: 6px 0; }
.hero-line b { color: #fff; font-weight: 500; }
.scroll { position: absolute; right: 4vw; bottom: 9vh; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .3em; color: #aaa; }
.scroll span { writing-mode: vertical-rl; }
.scroll i { width: 15px; height: 15px; border: 1px solid #ccc; border-radius: 50%; }

/* ---------- sections ---------- */
.section { padding: 40px 0 46px; }
.section + .section { border-top: 1px solid #121212; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.head h2, .page-title h1 { margin: 0; font-weight: 400; text-transform: uppercase; letter-spacing: .2em; }
.head h2 { font-size: clamp(18px, 2vw, 24px); }
.more { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #ddd; white-space: nowrap; }
.more:hover { color: #fff; }
.more::after { content: " \2192"; }
.page-title { padding: 118px 0 18px; }
.page-title h1 { font-size: clamp(26px, 3.2vw, 40px); }
.page-title p { margin: 8px 0 0; font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: #bdbdbd; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 28px; margin: 22px 0 22px; }
.tabs button { background: none; border: 0; padding: 4px 0; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #9d9d9d; border-bottom: 1px solid transparent; }
.tabs button:hover { color: #fff; }
.tabs button.on { color: #fff; border-bottom-color: #fff; }
.empty { border: 1px solid var(--line); padding: 34px; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* round arrow */
.arrow { width: 30px; height: 30px; border: 1px solid #cfcfcf; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; color: #fff; flex: none; }
.arrow::before { content: "\2192"; }
.arrow:hover { background: #fff; color: #000; }

/* ---------- event cards (home grid) ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ev { position: relative; min-height: 236px; border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; padding: 18px 16px 16px; background: #0a0a0a; }
.ev .ev-img { position: absolute; top: 0; right: 0; width: 75%; height: 70%; object-fit: cover; object-position: center 20%; filter: grayscale(1); opacity: .9; }
.ev .ev-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.92) 25%, rgba(5,5,5,.2) 75%), linear-gradient(0deg, rgba(5,5,5,.95) 30%, rgba(5,5,5,0) 60%); }
.ev > *:not(.ev-img):not(.ev-shade) { position: relative; z-index: 1; }
.d-num { font-size: 28px; line-height: 1; font-weight: 500; }
.d-mon { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.d-day { font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-top: 4px; }
.ev-city { margin-top: 18px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.ev-venue { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ev-name { margin-top: auto; padding-top: 14px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: .03em; line-height: 1.05; text-transform: uppercase; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.ev-line { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #cfcfcf; }

/* events page rows */
.ev-list { display: grid; gap: 16px; }
.ev-row { position: relative; display: grid; grid-template-columns: 1fr; min-height: 200px; border: 1px solid var(--line-2); overflow: hidden; background: #0a0a0a; }
.ev-row .ev-img { position: absolute; top: 0; right: 0; width: 50%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1); }
.ev-row .ev-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #070707 50%, rgba(7,7,7,.5) 62%, rgba(7,7,7,.05) 85%); }
.ev-row.big .ev-img { width: 58%; }
.ev-row.big { min-height: 320px; }
.ev-row-in { position: relative; z-index: 1; display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding: 26px 28px; align-items: start; }
.ev-row .d-num { font-size: 40px; }
.ev-row .d-mon { font-size: 18px; }
.ev-row .ev-city { margin-top: 0; }
.ev-row .ev-name { padding-top: 10px; font-size: clamp(30px, 3.6vw, 52px); }
.ev-cta { position: absolute; z-index: 1; right: 22px; bottom: 22px; border: 1px solid #cfcfcf; padding: 10px 16px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(5,5,5,.5); }
.ev-cta:hover { background: #fff; color: #000; }
.ev-row.big .ev-cta::after { content: "  \2192"; }

/* ---------- music ---------- */
.player { display: grid; grid-template-columns: 1.55fr 1fr; border: 1px solid var(--line-2); background: #090909; }
.pl-main { display: grid; grid-template-columns: 112px 64px 1fr; gap: 22px; align-items: center; padding: 18px; }
.cover { width: 112px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.play { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #e5e5e5; background: transparent; display: grid; place-items: center; }
.play::before { content: ""; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.play.on::before { border: 0; width: 13px; height: 16px; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.play:hover { background: rgba(255,255,255,.08); }
.pl-title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.pl-genre { font-size: 12px; color: var(--muted); margin-top: 4px; }
.wave-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.wave { flex: 1; height: 34px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; min-width: 1px; background: #8a8a8a; border-radius: 1px; }
.wave i.past { background: #fff; }
.pl-time { font-size: 12px; color: #dcdcdc; }
.tracks { border-left: 1px solid var(--line-2); padding: 6px 18px; }
.track { display: grid; grid-template-columns: 30px 26px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #1d1d1d; font-size: 12px; color: #dadada; }
.track:last-child { border-bottom: 0; }
.track .n { color: var(--muted); font-size: 11px; }
.track .t-play { width: 20px; height: 20px; border: 1px solid #bbb; border-radius: 50%; background: none; display: grid; place-items: center; padding: 0; }
.track .t-play::before { content: ""; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; margin-left: 2px; }
.track time { color: #bdbdbd; font-size: 11.5px; }
.track .t-src { color: var(--dim); font-size: 12px; padding: 0 4px; }
.track .t-src:hover { color: #fff; }
.tracks.compact .t-play { display: none; }
.tracks.compact .track { grid-template-columns: 30px 1fr auto; }
.music-page .player { grid-template-columns: 1fr; }
.music-page .tracks { border-left: 0; border-top: 1px solid var(--line-2); }
.pl-icons { display: flex; justify-content: flex-end; gap: 18px; margin-top: 14px; }
.pl-icons button { background: none; border: 0; color: #cfcfcf; padding: 0; display: inline-flex; }
.pl-icons button:hover, .pl-icons button.on { color: #fff; }
.pl-icons svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pl-icons button.on svg { fill: currentColor; }
.disclaimer { margin-top: 12px; font-size: 10.5px; line-height: 1.6; color: var(--dim); letter-spacing: .04em; }

/* ---------- video ---------- */
.v-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v-card .media { position: relative; display: block; aspect-ratio: 16/9; border: 1px solid var(--line-2); background: #0d0d0d; overflow: hidden; }
.v-card .media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.v-card .media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.v-card .media .pbtn { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20,20,20,.88); display: grid; place-items: center; }
.v-card .media .pbtn::before { content: ""; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
.v-card .media .dur { position: absolute; z-index: 1; right: 10px; bottom: 8px; font-size: 11px; }
.v-cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #ddd; }
.v-cap time { color: #bdbdbd; letter-spacing: .04em; }
.video-page .v-grid { grid-template-columns: repeat(2, 1fr); }
.video-page .v-card.lead { grid-column: 1 / -1; }
.video-page .v-card.lead .media .pbtn { width: 66px; height: 66px; }
.video-page .v-card.lead .media .pbtn::before { border-left-width: 17px; border-top-width: 10px; border-bottom-width: 10px; }
.video-page .v-card .media .cap-in { position: absolute; z-index: 1; left: 14px; bottom: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.video-page .v-cap { display: none; }

/* ---------- photo ---------- */
.ph-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ph-strip img, .ph-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); border: 1px solid #1c1c1c; cursor: zoom-in; transition: filter .25s; }
.ph-strip img { aspect-ratio: 1 / 1.05; }
.ph-strip img:hover, .ph-grid img:hover { filter: grayscale(0); }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; gap: 10px; }
.ph-grid .tall { grid-row: span 2; }
.ph-grid .wide { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 4vw; }
.lightbox img { max-height: 88vh; width: auto; border: 1px solid #333; }
.lightbox button { position: absolute; top: 18px; right: 22px; background: none; border: 0; font-size: 30px; color: #fff; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.c-list { display: grid; gap: 24px; }
.c-item { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.c-item svg { width: 22px; height: 22px; fill: none; stroke: #e5e5e5; stroke-width: 1.5; margin-top: 2px; }
.c-item b { display: block; font-weight: 500; font-size: 13px; }
.c-item a, .c-item span { font-size: 12.5px; color: var(--muted); }
.c-item a:hover { color: #fff; }
.big-soc { display: flex; gap: 26px; margin-top: 36px; }
.big-soc svg { width: 26px; height: 26px; fill: #e5e5e5; }
.map { position: relative; border: 1px solid #141414; background: #060606; aspect-ratio: 1.25; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.form { display: grid; gap: 12px; margin-top: 20px; }
.form input, .form textarea { width: 100%; background: #0e0e0e; border: 1px solid #2a2a2a; color: #fff; padding: 12px 14px; font: inherit; font-size: 12.5px; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: #8a8a8a; }
.form button { border: 1px solid #e5e5e5; background: transparent; padding: 13px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.form button:hover { background: #fff; color: #000; }
.form .note { font-size: 10.5px; color: var(--dim); }

/* ---------- about ---------- */
.about-photo { width: 100%; aspect-ratio: 2.6; object-fit: cover; object-position: center 40%; filter: grayscale(1); border: 1px solid #161616; }
.about-text { max-width: 860px; margin: 28px 0; font-size: 13.5px; line-height: 1.85; color: #d4d4d4; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; text-align: center; }
.feat svg { width: 46px; height: 46px; fill: none; stroke: #e5e5e5; stroke-width: 1.3; margin: 0 auto 14px; }
.feat p { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.7; }
.values { margin-top: 40px; border: 1px solid var(--line-2); padding: 26px 28px; font-size: 13px; line-height: 1.8; color: #d4d4d4; }
.values b { color: #fff; font-weight: 500; letter-spacing: .06em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid #1a1a1a; margin-top: 30px; padding: 28px 0 34px; }
.f-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px; align-items: center; }
.f-logo { width: 62px; }
.f-text { font-size: 11px; line-height: 1.7; color: #bdbdbd; }
.f-text a { text-decoration: underline; text-underline-offset: 2px; }
.to-top { width: 36px; height: 36px; border: 1px solid #cfcfcf; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.to-top::before { content: "\2191"; }
.f-note { margin-top: 18px; font-size: 10.5px; line-height: 1.7; color: var(--dim); }
.f-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 20px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.f-links button { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.f-links a:hover, .f-links button:hover { color: #fff; }

/* ---------- age gate / cookie / music consent ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 40%, #121212, #030303 70%); }
.gate[hidden] { display: none; }
.gate-in { width: min(520px, 100%); text-align: center; }
.gate-logo { width: 170px; margin: 0 auto 30px; }
.gate h1 { font-size: 20px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.gate p { font-size: 12.5px; color: var(--muted); margin: 0 0 22px; line-height: 1.7; }
.check { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 12.5px; line-height: 1.6; color: #d4d4d4; border: 1px solid var(--line-2); padding: 14px 16px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: #fff; width: 16px; height: 16px; flex: none; }
.gate-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.btn { border: 1px solid #e5e5e5; background: transparent; padding: 12px 22px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.btn.primary { background: #fff; color: #000; }
.btn.primary:disabled { opacity: .35; cursor: not-allowed; }
.btn:not(.primary):hover { background: rgba(255,255,255,.08); }
.gate small { display: block; margin-top: 26px; font-size: 10px; letter-spacing: .24em; color: var(--dim); text-transform: uppercase; }
.cookie { position: fixed; z-index: 90; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(940px, 100% - 28px); background: #0d0d0d; border: 1px solid var(--line-2);
  padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.cookie[hidden] { display: none; }
.cookie b { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.cookie p { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.cookie .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie .btn { padding: 10px 14px; font-size: 9.5px; }
.modal { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(560px, 100%); background: #0c0c0c; border: 1px solid var(--line-2); padding: 30px 28px; }
.modal-card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.modal-card p { font-size: 12.5px; line-height: 1.7; color: #cfcfcf; }
.x { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 24px; color: #aaa; }
.c-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #1d1d1d; }
.c-row b { display: block; font-size: 12.5px; font-weight: 500; }
.c-row span { font-size: 11.5px; color: var(--muted); }
.c-row em { font-style: normal; font-size: 9.5px; letter-spacing: .16em; color: var(--muted); white-space: nowrap; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border: 1px solid #555; border-radius: 22px; transition: .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #888; transition: .2s; }
.switch input:checked + i { background: #fff; border-color: #fff; }
.switch input:checked + i::after { left: 21px; background: #000; }
.switch input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }
.modal-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .soc.top { display: none; }
  .ev-grid, .v-grid { grid-template-columns: repeat(2, 1fr); }
  .player { grid-template-columns: 1fr; }
  .tracks { border-left: 0; border-top: 1px solid var(--line-2); }
  .ph-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .header { gap: 14px; height: 64px; }
  .home .header .brand { display: block; }
  .nav, .header-right { display: none; }
  .menu-btn { display: block; }
  .header.open { height: auto; flex-wrap: wrap; padding-bottom: 18px; background: #050505; }
  .header.open .nav { display: flex; flex-direction: column; gap: 4px; width: 100%; order: 3; }
  .header.open .nav a { padding: 12px 0; font-size: 12px; border-bottom: 1px solid #161616; }
  .header.open .header-right { display: flex; width: 100%; order: 4; justify-content: space-between; margin: 10px 0 0; }
  .header.open .soc.top { display: flex; }
  .hero { min-height: 92vh; align-items: flex-end; padding-bottom: 12vh; }
  .hero-img { width: 100%; object-position: 62% 20%; }
  .hero-shade { background: linear-gradient(0deg, #050505 25%, rgba(5,5,5,.55) 60%, rgba(5,5,5,.25) 100%); }
  .scroll { display: none; }
  .page-title { padding-top: 92px; }
  .ev-grid, .v-grid, .video-page .v-grid { grid-template-columns: 1fr; }
  .ev { min-height: 220px; }
  .ev-row-in { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
  .ev-row .ev-cta { position: relative; right: auto; bottom: auto; margin: 0 20px 20px; display: inline-block; justify-self: start; }
  .pl-main { grid-template-columns: 84px 52px 1fr; gap: 14px; }
  .cover { width: 84px; }
  .play { width: 46px; height: 46px; }
  .contacts, .feats { grid-template-columns: 1fr; }
  .ph-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .ph-strip { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr auto; gap: 18px; }
  .f-row .f-text { grid-column: 1 / -1; grid-row: 2; }
  .cookie { grid-template-columns: 1fr; }
  .cookie .acts { justify-content: flex-start; }
  .tabs { gap: 18px; }
}
@media (max-width: 520px) {
  .pl-main { grid-template-columns: 70px 1fr; }
  .pl-main .play { grid-row: 1; grid-column: 2; justify-self: end; }
  .pl-main .pl-body { grid-column: 1 / -1; }
  .cover { width: 70px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

[hidden] { display: none; }
.gate-in { width: min(520px, 100%); text-align: center; }
.gate-logo { width: 170px; margin: 0 auto 30px; }
.gate h1 { font-size: 20px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.gate p { font-size: 12.5px; color: var(--muted); margin: 0 0 22px; line-height: 1.7; }
.check { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 12.5px; line-height: 1.6; color: #d4d4d4; border: 1px solid var(--line-2); padding: 14px 16px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: #fff; width: 16px; height: 16px; flex: none; }
.gate-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.btn { border: 1px solid #e5e5e5; background: transparent; padding: 12px 22px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.btn.primary { background: #fff; color: #000; }
.btn.primary:disabled { opacity: .35; cursor: not-allowed; }
.btn:not(.primary):hover { background: rgba(255,255,255,.08); }
.gate small { display: block; margin-top: 26px; font-size: 10px; letter-spacing: .24em; color: var(--dim); text-transform: uppercase; }
.cookie { position: fixed; z-index: 90; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(940px, 100% - 28px); background: #0d0d0d; border: 1px solid var(--line-2);
  padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.cookie[hidden] { display: none; }
.cookie b { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.cookie p { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.cookie .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie .btn { padding: 10px 14px; font-size: 9.5px; }
.modal { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(560px, 100%); background: #0c0c0c; border: 1px solid var(--line-2); padding: 30px 28px; }
.modal-card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.modal-card p { font-size: 12.5px; line-height: 1.7; color: #cfcfcf; }
.x { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 24px; color: #aaa; }
.c-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #1d1d1d; }
.c-row b { display: block; font-size: 12.5px; font-weight: 500; }
.c-row span { font-size: 11.5px; color: var(--muted); }
.c-row em { font-style: normal; font-size: 9.5px; letter-spacing: .16em; color: var(--muted); white-space: nowrap; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border: 1px solid #555; border-radius: 22px; transition: .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #888; transition: .2s; }
.switch input:checked + i { background: #fff; border-color: #fff; }
.switch input:checked + i::after { left: 21px; background: #000; }
.switch input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }
.modal-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .soc.top { display: none; }
  .ev-grid, .v-grid { grid-template-columns: repeat(2, 1fr); }
  .player { grid-template-columns: 1fr; }
  .tracks { border-left: 0; border-top: 1px solid var(--line-2); }
  .ph-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .header { gap: 14px; height: 64px; }
  .home .header .brand { display: block; }
  .nav, .header-right { display: none; }
  .menu-btn { display: block; }
  .header.open { height: auto; flex-wrap: wrap; padding-bottom: 18px; background: #050505; }
  .header.open .nav { display: flex; flex-direction: column; gap: 4px; width: 100%; order: 3; }
  .header.open .nav a { padding: 12px 0; font-size: 12px; border-bottom: 1px solid #161616; }
  .header.open .header-right { display: flex; width: 100%; order: 4; justify-content: space-between; margin: 10px 0 0; }
  .header.open .soc.top { display: flex; }
  .hero { min-height: 92vh; align-items: flex-end; padding-bottom: 12vh; }
  .hero-img { width: 100%; object-position: 62% 20%; }
  .hero-shade { background: linear-gradient(0deg, #050505 25%, rgba(5,5,5,.55) 60%, rgba(5,5,5,.25) 100%); }
  .scroll { display: none; }
  .page-title { padding-top: 92px; }
  .ev-grid, .v-grid, .video-page .v-grid { grid-template-columns: 1fr; }
  .ev { min-height: 220px; }
  .ev-row-in { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
  .ev-row .ev-cta { position: relative; right: auto; bottom: auto; margin: 0 20px 20px; display: inline-block; justify-self: start; }
  .pl-main { grid-template-columns: 84px 52px 1fr; gap: 14px; }
  .cover { width: 84px; }
  .play { width: 46px; height: 46px; }
  .contacts, .feats { grid-template-columns: 1fr; }
  .ph-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .ph-strip { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr auto; gap: 18px; }
  .f-row .f-text { grid-column: 1 / -1; grid-row: 2; }
  .cookie { grid-template-columns: 1fr; }
  .cookie .acts { justify-content: flex-start; }
  .tabs { gap: 18px; }
}
@media (max-width: 520px) {
  .pl-main { grid-template-columns: 70px 1fr; }
  .pl-main .play { grid-row: 1; grid-column: 2; justify-self: end; }
  .pl-main .pl-body { grid-column: 1 / -1; }
  .cover { width: 70px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* images via classes (CSP forbids inline style attributes) */
.i-oyshen { --img: url("assets/img/ev-oyshen.webp"); }
.i-silhouette { --img: url("assets/img/ev-silhouette.webp"); }
.i-crowd { --img: url("assets/img/ev-crowd.webp"); }
.i-smoke { --img: url("assets/img/ev-smoke.webp"); }
.i-hero { --img: url("assets/img/hero.webp"); }
.i-v1 { --img: url("assets/img/v-aftermovie.webp"); }
.i-v2 { --img: url("assets/img/v-oyshen-live.webp"); }
.i-v3 { --img: url("assets/img/v-teaser.webp"); }
.i-v4 { --img: url("assets/img/v-promo.webp"); }
[hidden] { display: none !important; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #fff; color: #000; padding: 10px 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.legal { max-width: 860px; font-size: 13.5px; line-height: 1.8; color: #d4d4d4; padding-bottom: 20px; }
.legal h2 { font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 28px 0 8px; color: #fff; }

.intro { max-width: 860px; font-size: 13.5px; line-height: 1.8; color: #d4d4d4; margin-bottom: 18px; }
.intro h2 { font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 28px 0 8px; color: #fff; }
.intro a, .about-text a, .values a, .f-text a, .f-note a, .pt-text a, .disclaimer a, .modal-md a, .gate-text a { text-decoration: underline; text-underline-offset: 2px; }
.gate-text p { margin: 0 0 22px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.modal-md p { font-size: 12.5px; line-height: 1.7; color: #cfcfcf; }
.f-text p, .f-note p { margin: 0 0 4px; }
.disclaimer p { margin: 0; }
.values p, .about-text p { margin: 0 0 12px; }
/* partners */
.pt-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pt-logo { display: grid; place-items: center; height: 96px; border: 1px solid var(--line-2); background: #0a0a0a; padding: 14px; transition: border-color .2s; }
.pt-logo:hover { border-color: #888; }
.pt-logo img { max-height: 64px; width: auto; filter: grayscale(1) brightness(1.4); transition: filter .2s; }
.pt-logo:hover img { filter: none; }
.pt-logo span, .pt-card-logo span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding-bottom: 20px; }
.pt-card { border: 1px solid var(--line-2); background: #0a0a0a; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pt-card-logo { height: 110px; display: grid; place-items: center; background: #070707; border: 1px solid #191919; }
.pt-card-logo img { max-height: 80px; width: auto; }
.pt-card h2 { margin: 6px 0 0; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pt-text { font-size: 12.5px; line-height: 1.7; color: #cfcfcf; }
.pt-text p { margin: 0 0 8px; }
.pt-card .more { margin-top: auto; }
.pt-card .more::after { content: " \2197"; }
.v-card .media { color: inherit; }
/* admin preview (:9000 "Сайт MÉMO"): hover shows where an element is edited */
body.editing [data-edit] { cursor: pointer; }
body.editing [data-edit]:hover { outline: 2px dashed #f59e0b; outline-offset: 3px; }
body.editing .edit-sel { outline: 2px solid #f59e0b !important; outline-offset: 3px; }
.edit-tip { position: fixed; z-index: 200; pointer-events: none; background: #f59e0b; color: #111; font: 600 11px/1.3 Montserrat, Arial, sans-serif; padding: 4px 8px; border-radius: 4px; letter-spacing: .02em; max-width: 420px; }
