/* ============================================================
   Галереи Стефана Конана — оформление
   Белая бумага, тонкие линии, крупная типографика, движение.
   ============================================================ */

@view-transition { navigation: auto; }

:root {
  --paper: #ffffff;
  --canvas: #f4f3ef;
  --canvas-2: #e9e7e0;
  --ink: #0b0b0b;
  --ink-2: #3a3a36;
  --muted: #85847b;
  --line: rgba(11, 11, 11, 0.12);
  --line-soft: rgba(11, 11, 11, 0.06);
  --accent: #c2542b;
  --gut: clamp(16px, 3.4vw, 48px);
  --maxw: 1680px;
  --head-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

/* Атрибут hidden должен выигрывать у любых display в компонентах:
   иначе закрытая модалка или лайтбокс остаются прозрачным слоем поверх страницы
   и перехватывают все клики. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(15px, 0.55vw + 13px, 17px);
  line-height: 1.55;
  font-weight: 350;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 450; letter-spacing: -0.035em; line-height: 0.98; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.main { position: relative; z-index: 1; }
.sec { padding: clamp(72px, 11vh, 170px) 0; position: relative; }
.sec--tail { padding-bottom: clamp(80px, 12vh, 180px); }
.sec__label { display: block; margin-bottom: 22px; }

.skip {
  position: fixed; top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: var(--paper);
  z-index: 200; transform: translateY(-200%); transition: transform 0.3s;
}
.skip:focus { transform: none; }

/* ── фоновая сетка ─────────────────────────────────────────── */
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(6, 1fr);
  width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto;
}
.grid-lines i { border-left: 1px solid var(--line-soft); }
.grid-lines i:first-child { border-left: 0; }
@media (max-width: 760px) { .grid-lines { grid-template-columns: repeat(2, 1fr); } }

/* ── микротипографика ──────────────────────────────────────── */
.label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; display: inline-flex; align-items: center; gap: 8px; margin: 0;
}
.label--live { color: var(--ink); }
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(194, 84, 43, 0.5); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(194, 84, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(194, 84, 43, 0); } }

.chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 6px 10px; border-radius: 100px; color: var(--muted);
}
.chip--live { color: var(--ink); border-color: var(--ink); }

/* ── кнопки ────────────────────────────────────────────────── */
.btn {
  --pad: 14px 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 100px; font-size: 13.5px; letter-spacing: 0.01em;
  border: 1px solid var(--ink); overflow: hidden; isolation: isolate; transition: color 0.4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--ink); z-index: 0;
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--paper); }
.btn--solid:hover { color: var(--ink); }
.btn--line { background: transparent; }
.btn--line:hover { color: var(--paper); }
.btn--ghost { border-color: var(--line); padding: 11px 18px; font-size: 12.5px; min-height: 40px; }
.btn--ghost:hover { color: var(--paper); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; white-space: nowrap; }
.link-arrow i { transition: transform 0.45s var(--ease); font-style: normal; }
.link-arrow span { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0% 1px;
  background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.5s var(--ease); padding-bottom: 2px; }
.link-arrow:hover i { transform: translateX(6px); }
.link-arrow:hover span { background-size: 100% 1px; }

/* ── прелоадер ─────────────────────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--canvas); display: grid; place-items: center; }
.loader__in { display: flex; align-items: baseline; gap: 18px; font-family: var(--mono); }
.loader__name { font-size: clamp(11px, 1.4vw, 14px); letter-spacing: 0.3em; }
.loader__num { font-size: clamp(40px, 9vw, 110px); letter-spacing: -0.04em; font-weight: 400; }
.loader__veil { position: absolute; inset: 0; background: var(--canvas); transform-origin: top; }
.loader.is-done { pointer-events: none; }
.loader.is-done .loader__in { opacity: 0; transition: opacity 0.4s; }
.loader.is-done .loader__veil { transform: scaleY(0); transition: transform 0.75s var(--ease) 0.05s; }
.loader.is-hidden { display: none; }
html:not(.js) .loader { display: none; }

/* ── шапка ─────────────────────────────────────────────────── */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: var(--head-h);
  transition: transform 0.55s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.site-head.is-stuck { background: rgba(244, 243, 239, 0.82); backdrop-filter: saturate(1.4) blur(14px); }
.site-head.is-hidden { transform: translateY(-102%); }
.site-head__in {
  width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-head__line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.site-head.is-stuck .site-head__line { transform: scaleX(1); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.mark { width: 30px; height: 30px; flex: none; transition: transform 0.8s var(--ease); }
.brand:hover .mark { transform: rotate(180deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__ru { font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__lat { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav__link { font-size: 13.5px; position: relative; padding: 12px 0; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav__link span { position: relative; }
.site-nav__link span::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.site-nav__link:hover span::after, .site-nav__link.is-current span::after { transform: scaleX(1); transform-origin: left; }
.site-head__actions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 1080px) { .site-nav { display: none; } }
@media (max-width: 560px) {
  .brand__lat { display: none; }
  .brand__ru { font-size: 12.5px; letter-spacing: 0.04em; }
  .mark { width: 26px; height: 26px; }
  .site-head__actions .btn--ghost { display: none; }
  .menu-toggle__label { display: none; }
}

.menu-toggle { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; min-height: 44px; padding-inline: 4px; }
.menu-toggle__lines { display: grid; gap: 5px; width: 22px; }
.menu-toggle__lines i { height: 1px; background: var(--ink); transition: transform 0.45s var(--ease); }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ── полноэкранное меню ────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 115; background: var(--paper); display: grid; align-items: center;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.85s var(--ease); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr);
  width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; pointer-events: none; }
.menu__grid i { border-left: 1px solid var(--line-soft); }
.menu__in { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto;
  padding: calc(var(--head-h) + 12px) 0 24px;
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 60px; align-items: center;
  max-height: 100dvh; overflow-y: auto; }
.menu__nav { display: grid; }
.menu__link { display: flex; align-items: baseline; gap: 20px; padding: clamp(5px, 0.8vh, 12px) 0;
  font-size: clamp(26px, min(5.4vw, 6.6vh), 72px); letter-spacing: -0.04em; line-height: 1.04;
  opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.menu.is-open .menu__link { opacity: 1; transform: none; transition-delay: calc(0.06s * var(--i) + 0.2s); }
.menu__num { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.menu__word { position: relative; }
.menu__word::after { content: ''; position: absolute; left: 0; bottom: 0.1em; height: 2px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.menu__link:hover .menu__word::after { transform: scaleX(1); transform-origin: left; }
.menu__aside { display: grid; gap: 32px; align-content: center; opacity: 0; transition: opacity 0.6s 0.5s; }
.menu.is-open .menu__aside { opacity: 1; }
.menu__block { display: grid; gap: 6px; }
.menu__contact { font-size: 15px; color: var(--ink-2); }
.menu__contact:hover { color: var(--ink); }
@media (max-width: 900px) { .menu__in { grid-template-columns: 1fr; gap: 34px; align-content: center; } .menu__aside { display: none; } }

/* ── появление ─────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal] { transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.line { display: block; overflow: hidden; }
.line__in { display: block; transform: translateY(115%); }
html.js .line__in { transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 0.075s); }
.is-in .line__in { transform: none; }
html:not(.js) .line__in { transform: none; }

/* ── кадры и картинки ──────────────────────────────────────── */
.frame { position: relative; overflow: hidden; aspect-ratio: var(--ar, 4 / 5); background: var(--canvas-2); }
.frame .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05); transition: opacity 1.1s var(--ease), transform 1.5s var(--ease); }
.frame .img.is-loaded { opacity: 1; transform: none; }
html:not(.js) .frame .img { opacity: 1; transform: none; }
.frame--contain { background: var(--paper); }
.frame--tall { max-height: 76vh; width: auto; margin-inline: auto; }
.frame--contain .img { object-fit: contain; }

/* ── герой ─────────────────────────────────────────────────── */
.hero { position: relative; padding-top: calc(var(--head-h) + clamp(28px, 6vh, 74px)); padding-bottom: clamp(24px, 4vh, 56px); overflow: hidden; }
.hero__aura {
  position: absolute; top: -20%; left: 50%; width: min(120vw, 1400px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 214, 170, 0.55), rgba(255, 255, 255, 0) 70%),
    radial-gradient(closest-side at 65% 45%, rgba(180, 214, 255, 0.4), rgba(255, 255, 255, 0) 70%);
  filter: blur(20px); animation: aura 22s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes aura { to { transform: translateX(-46%) translateY(4%) scale(1.08); } }
.hero__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__text { padding-bottom: clamp(0px, 2vh, 20px); }
.hero__title { font-size: clamp(3rem, 8.6vw, 8.6rem); line-height: 0.86; letter-spacing: -0.05em; font-weight: 400; margin: 18px 0 0; }
.hero__ru { font-size: clamp(1.1rem, 2vw, 1.7rem); color: var(--muted); letter-spacing: -0.02em; margin: 14px 0 0; }
.hero__meta { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 54px); margin: clamp(26px, 4vh, 44px) 0 0; }
.hero__meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero__meta dd { font-size: 15px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 40px); }
.hero__media { margin: 0; }
.hero__art { box-shadow: 0 40px 90px -60px rgba(11, 11, 11, 0.55); background: var(--paper); max-height: 66vh; width: auto; margin-left: auto; }
.hero__cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); margin: 14px 0 0; text-transform: uppercase; }
.hero__foot { width: min(100% - var(--gut) * 2, var(--maxw)); margin: clamp(30px, 6vh, 70px) auto 0;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { display: block; width: 1px; height: 26px; background: var(--ink); transform-origin: top;
  animation: scrollhint 2.4s var(--ease-io) infinite; }
@keyframes scrollhint { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; align-items: start; }
  .hero__media { order: -1; }
  .hero__art { max-width: 74%; max-height: 52vh; margin-inline: 0; }
  .hero__foot { display: none; }
}

/* ── бегущая строка ────────────────────────────────────────── */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.ticker__track { display: flex; gap: 40px; align-items: center; white-space: nowrap; width: max-content;
  animation: ticker 46s linear infinite; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.ticker__track i { color: var(--accent); font-style: normal; font-size: 8px; }
@keyframes ticker { to { transform: translateX(-33.333%); } }

/* ── шапка секции ──────────────────────────────────────────── */
.sec-head { display: grid; grid-template-columns: 180px 1fr auto; gap: clamp(18px, 3vw, 50px);
  align-items: end; padding-bottom: clamp(28px, 4vh, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vh, 64px); }
.sec-head__left { display: flex; align-items: center; gap: 14px; }
.sec-head__n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.sec-head__title { font-size: clamp(1.9rem, 4.2vw, 4.1rem); letter-spacing: -0.04em; }
.sec-head__note { max-width: 46ch; color: var(--muted); margin: 14px 0 0; font-size: 15px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* ── манифест и цифры ──────────────────────────────────────── */
.manifest { padding: clamp(72px, 11vh, 170px) 0; background: var(--paper); }
.manifest__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(30px, 5vw, 90px); }
.manifest__text p { font-size: clamp(1.05rem, 1.5vw, 1.45rem); line-height: 1.45; letter-spacing: -0.02em; max-width: 32ch; }
.manifest__text p + p { margin-top: 1.1em; color: var(--ink-2); font-size: clamp(0.98rem, 1.15vw, 1.1rem); line-height: 1.6; max-width: 44ch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--paper); padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.stat__v { font-size: clamp(1.9rem, 3.4vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .manifest__grid { grid-template-columns: 1fr; } }

/* ── выставки ──────────────────────────────────────────────── */
.exh-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 3vw, 56px); align-items: start; }
.exh-grid__rest { display: grid; gap: clamp(24px, 3vw, 48px); }
.exh { display: block; }
.exh__media { margin-bottom: 18px; }
.exh__media .img { transition: transform 1.4s var(--ease), opacity 1s var(--ease); }
.exh:hover .exh__media .img { transform: scale(1.045); }
.exh__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.exh__dates { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.exh__title { font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -0.04em; }
.exh__ru { color: var(--muted); font-size: 0.55em; letter-spacing: -0.02em; }
.exh__artist { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
.exh--featured .exh__title { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
.exh-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 52px); margin-bottom: clamp(40px, 6vh, 90px); }
.exh-list--current { grid-template-columns: 1fr; }
.exh-list--current .exh__media { --ar: 16 / 9 !important; }
@media (max-width: 860px) { .exh-grid { grid-template-columns: 1fr; } }

/* ── индекс художников ─────────────────────────────────────── */
.art-index { position: relative; border-top: 1px solid var(--line); }
.art-row { display: grid; grid-template-columns: 60px minmax(0, auto) 1fr minmax(0, auto) 30px; gap: 20px;
  align-items: center; padding: clamp(20px, 3.4vh, 40px) 0; border-bottom: 1px solid var(--line); position: relative; }
.art-row__n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.art-row__name { font-size: clamp(1.6rem, 3.6vw, 3.4rem); letter-spacing: -0.045em; transition: transform 0.6s var(--ease); }
.art-row__line { height: 1px; background: var(--line); }
.art-row__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.art-row__go { transition: transform 0.5s var(--ease); opacity: 0.35; }
.art-row:hover .art-row__name { transform: translateX(14px); }
.art-row:hover .art-row__go { transform: translateX(8px); opacity: 1; }
.art-index__preview {
  position: fixed; top: 0; left: 0; width: 230px; aspect-ratio: 4 / 5; background-size: cover; background-position: center;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.94); transition: opacity 0.4s, transform 0.6s var(--ease);
  z-index: 60; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6);
}
.art-index__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 860px) { .art-row { grid-template-columns: 40px 1fr 26px; } .art-row__line, .art-row__meta { display: none; } }

.art-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 7vh, 100px); }
.art-card__media { margin-bottom: 16px; }
.art-card__media .img { transition: transform 1.3s var(--ease), opacity 1s; }
.art-card:hover .art-card__media .img { transform: scale(1.05); }
.art-card__name { font-size: 1.35rem; letter-spacing: -0.03em; }
.art-card__meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }

/* ── карточки работ ────────────────────────────────────────── */
.grid-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 40px) clamp(14px, 1.8vw, 32px); align-items: start; }
.grid-works .work:nth-child(4n + 2) { margin-top: clamp(20px, 4vw, 60px); }
.grid-works .work:nth-child(4n + 4) { margin-top: clamp(12px, 2.6vw, 40px); }
@media (max-width: 1100px) { .grid-works { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid-works { grid-template-columns: repeat(2, 1fr); } .grid-works .work { margin-top: 0 !important; } }

.work__media { width: 100%; display: block; background: var(--paper); }
.work__media .img { object-fit: contain; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.work:hover .work__media .img { transform: scale(1.035); }
.work__meta { padding-top: 12px; display: grid; gap: 4px; }
.work__title { font-size: 15px; font-weight: 450; letter-spacing: -0.02em; }
.work__ru { color: var(--muted); font-weight: 350; }
.work__sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.work--cat.is-hidden { display: none; }

/* ── горизонтальная лента ──────────────────────────────────── */
.rail { overflow-x: auto; scrollbar-width: none; cursor: grab; padding-inline: var(--gut); scroll-snap-type: x proximity; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail__track { display: flex; gap: clamp(16px, 2vw, 36px); width: max-content; padding-block: 6px; }
.work--rail { width: clamp(210px, 24vw, 360px); scroll-snap-align: start; }
.rail__foot { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.rail__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.rail__bar i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--ink); width: 12%; transform-origin: left; }

/* ── традиционное искусство ────────────────────────────────── */
.heritage { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 80px); align-items: center; }
.heritage__text p { font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.5; max-width: 34ch; letter-spacing: -0.02em; }
.heritage__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 26px); }
.work--mos-2 { margin-top: clamp(16px, 3vw, 44px); }
.work--mos-4 { margin-bottom: clamp(16px, 2vw, 30px); }
.work--mos-6 { margin-top: clamp(10px, 2vw, 30px); }
@media (max-width: 860px) { .heritage { grid-template-columns: 1fr; } }

/* ── подкаст ───────────────────────────────────────────────── */
.podcast { display: grid; justify-items: center; gap: 28px; text-align: center; padding: clamp(30px, 5vw, 70px) 0; }
.podcast__wave { display: flex; align-items: center; gap: 4px; height: 60px; }
.podcast__wave i { width: 2px; background: var(--ink); height: 20%; animation: wave 1.6s var(--ease-io) infinite; opacity: 0.55; }
.podcast__wave i:nth-child(3n) { animation-duration: 2.1s; }
.podcast__wave i:nth-child(4n) { animation-duration: 1.2s; }
.podcast__wave i:nth-child(odd) { animation-delay: 0.2s; }
@keyframes wave { 50% { height: 100%; opacity: 1; } }
.podcast__lead { font-size: clamp(1.05rem, 1.7vw, 1.5rem); max-width: 50ch; letter-spacing: -0.02em; line-height: 1.45; }
.podcast-page { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.podcast-page__text p { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; max-width: 52ch; }
.podcast-page__side { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 860px) { .podcast-page { grid-template-columns: 1fr; } }

/* ── визит ─────────────────────────────────────────────────── */
.visit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 3vw, 60px); }
.visit__card { display: grid; gap: 10px; align-content: start; }
.visit__card .label { margin-top: 18px; }
.visit__card .label:first-child { margin-top: 0; }
.visit__big { font-size: clamp(1.2rem, 2.2vw, 2rem); letter-spacing: -0.035em; position: relative; width: fit-content; }
.visit__big::after { content: ''; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.visit__big:hover::after { transform: scaleX(1); transform-origin: left; }
.visit__map { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--paper); overflow: hidden; display: grid; place-items: center; }
.visit__mapgrid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); }
.visit__mapgrid i { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.visit__pin { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); position: relative;
  box-shadow: 0 0 0 0 rgba(194, 84, 43, 0.45); animation: pulse 2.6s infinite; }
.visit__maplink { position: absolute; bottom: 18px; left: 18px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ── внутренние страницы ───────────────────────────────────── */
.phero { padding: calc(var(--head-h) + clamp(44px, 8vh, 104px)) 0 clamp(24px, 3vh, 40px); }
.phero + .sec { padding-top: clamp(28px, 4vh, 58px); }
.sec--catalog { padding-top: clamp(30px, 4vh, 56px); }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 5vh, 60px); }
.crumbs a:hover { color: var(--ink); }
.phero__kicker { display: block; margin-bottom: 18px; }
.phero__title { font-size: clamp(2.6rem, 8vw, 7.5rem); line-height: 0.88; letter-spacing: -0.05em; font-weight: 400; }
.phero__lead { max-width: 52ch; margin-top: clamp(20px, 3vh, 34px); font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--ink-2); }
.phero--404 { min-height: 70vh; display: grid; align-items: center; }

.ex-hero { padding: calc(var(--head-h) + clamp(40px, 8vh, 110px)) 0 0; }
.ex-hero__top { display: grid; gap: 16px; justify-items: start; }
.ex-hero__title { font-size: clamp(2.8rem, 9vw, 8rem); line-height: 0.86; letter-spacing: -0.05em; font-weight: 400; }
.ex-hero__ru { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.6rem); margin: 0; }
.ex-hero__meta { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 60px); margin-top: clamp(28px, 4vh, 48px);
  padding-bottom: clamp(28px, 4vh, 48px); border-bottom: 1px solid var(--line); }
.ex-hero__meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ex-hero__meta dd a { border-bottom: 1px solid var(--line); }
.ex-hero__media { margin-top: clamp(30px, 5vh, 60px); }
.ex-text { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 80px); align-items: start; }
.ex-text__aside { display: grid; gap: 16px; justify-items: start; position: sticky; top: calc(var(--head-h) + 30px); }
.ex-text__note { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 30ch; }
.ex-text__body p { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.5; letter-spacing: -0.02em; max-width: 44ch; }
@media (max-width: 860px) { .ex-text { grid-template-columns: 1fr; } .ex-text__aside { position: static; } }

.tail { display: grid; grid-template-columns: 1fr 0.5fr; gap: clamp(24px, 4vw, 70px); align-items: center;
  border-top: 1px solid var(--line); padding-top: clamp(30px, 5vh, 60px); }
.tail__title { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.04em; margin: 12px 0 16px; }
.tail__text p { max-width: 46ch; color: var(--ink-2); }
@media (max-width: 860px) { .tail { grid-template-columns: 1fr; } }

.artist-hero { padding: calc(var(--head-h) + clamp(40px, 8vh, 110px)) 0 0; }
.artist-hero__title { font-size: clamp(2.4rem, 8.4vw, 7.6rem); line-height: 0.88; letter-spacing: -0.05em; font-weight: 400; }
.artist-hero__row { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 50px); align-items: baseline;
  margin-top: clamp(20px, 3vh, 36px); padding-bottom: clamp(24px, 4vh, 44px); border-bottom: 1px solid var(--line); }
.artist-hero__ru { font-size: 1.1rem; color: var(--muted); margin: 0; }
.artist-hero__line, .artist-hero__count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 0; }
.bio { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.bio__media { display: grid; gap: 26px; position: sticky; top: calc(var(--head-h) + 30px); }
.bio__portrait { box-shadow: 0 40px 80px -60px rgba(0, 0, 0, 0.5); }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: var(--canvas); padding: 14px 16px; display: flex; justify-content: space-between; gap: 16px; }
.facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 13.5px; text-align: right; }
.bio__credits { display: grid; gap: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); }
.bio__text p { font-size: clamp(1.02rem, 1.35vw, 1.28rem); line-height: 1.55; letter-spacing: -0.018em; max-width: 52ch; }
.orig { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.orig summary { cursor: pointer; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.orig summary:hover { color: var(--ink); }
.orig p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-top: 16px; max-width: 60ch; }
@media (max-width: 900px) { .bio { grid-template-columns: 1fr; } .bio__media { position: static; } }

/* ── фильтры каталога ──────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: clamp(28px, 4vh, 50px);
  padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line);
  border-radius: 100px; font-size: 13px; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s; }
.filter i { font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--muted); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter.is-active i { color: rgba(255, 255, 255, 0.6); }
.filters__count { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); }

/* ── аукцион ───────────────────────────────────────────────── */
.lots { border-top: 1px solid var(--ink); margin-top: 30px; }
.lots__head, .lot { display: grid; grid-template-columns: 64px minmax(150px, 0.9fr) 80px 130px minmax(150px, 0.9fr) 130px; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); }
.lots__head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 12px 0; }
.lot { transition: background 0.4s; }
.lot:hover { background: var(--paper); }
.lot__n { font-family: var(--mono); font-size: 13px; }
.lot__artist { font-size: 16px; letter-spacing: -0.02em; }
.lot__year, .lot__start, .lot__est { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.lot__status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.lot__status.is-sold { color: var(--muted); }
.lot__status.is-open { color: var(--accent); }
@media (max-width: 860px) {
  .lots__head { display: none; }
  .lot { grid-template-columns: 50px 1fr auto; grid-template-areas: 'n a s' 'n y e'; row-gap: 6px; }
  .lot__n { grid-area: n; } .lot__artist { grid-area: a; } .lot__status { grid-area: s; text-align: right; }
  .lot__year { grid-area: y; } .lot__est { grid-area: e; text-align: right; } .lot__start { display: none; }
}
.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: clamp(36px, 6vh, 70px); padding-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--line); }
.cta-line p { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: -0.03em; max-width: 30ch; }

/* ── события ───────────────────────────────────────────────── */
.events { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 210px minmax(0, 1fr) 30px; gap: clamp(16px, 2vw, 40px); align-items: start;
  padding: clamp(22px, 3.4vh, 38px) 0; border-bottom: 1px solid var(--line); }
.event__body { display: block; max-width: 62ch; }
.event__date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.event__title { font-size: clamp(1.2rem, 2.2vw, 1.9rem); letter-spacing: -0.035em; }
.event__place { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
.event__text { display: block; font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.event__go { justify-self: end; align-self: center; opacity: 0.35; transition: transform 0.5s var(--ease), opacity 0.4s; }
.event:hover .event__go { transform: translateX(8px); opacity: 1; }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; gap: 10px; } .event__go { display: none; } }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(44px, 7vh, 90px); }
.format h3 { font-size: 1.3rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.format p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ── о галерее ─────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.about__text p { font-size: clamp(1.02rem, 1.35vw, 1.28rem); line-height: 1.55; letter-spacing: -0.018em; max-width: 52ch; }
.about__dirs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about__dirs li { background: var(--canvas); padding: clamp(20px, 2.6vw, 32px); }
.about__n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); }
.about__dirs h3 { font-size: 1.35rem; letter-spacing: -0.03em; margin: 12px 0 8px; }
.about__dirs p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ── контакты и формы ──────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.contacts__list { display: grid; gap: clamp(22px, 3vh, 38px); }
.contacts__item { display: grid; gap: 8px; }
.contacts__v { font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -0.035em; width: fit-content; border-bottom: 1px solid transparent; transition: border-color 0.4s; }
.contacts__v:hover { border-color: var(--ink); }
.contacts__legal { font-size: 14px; color: var(--ink-2); margin: 0; }
.contacts__title { font-size: clamp(1.5rem, 2.6vw, 2.4rem); letter-spacing: -0.04em; margin: 14px 0 26px; }
@media (max-width: 900px) { .contacts { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--wide, .check, .form .btn, .form__status { grid-column: 1 / -1; }
.field span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; transition: border-color 0.4s; border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.45; }
.check input { margin-top: 3px; accent-color: var(--ink); }
.form .btn { justify-self: start; }
.form__status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; margin: 0; min-height: 1.2em; }
.form__status.is-ok { color: var(--accent); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* ── модальное окно ────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(244, 243, 239, 0.72); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.5s; }
.modal__panel { position: relative; background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px);
  width: min(100%, 620px); max-height: 90vh; overflow: auto; transform: translateY(24px) scale(0.99); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 10px; right: 12px; font-size: 15px; color: var(--muted);
  width: 44px; height: 44px; display: grid; place-items: center; }
.modal__close:hover { color: var(--ink); }
.modal__title { font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -0.035em; margin: 12px 0 28px; max-width: 24ch; }

/* ── лайтбокс ──────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 220; background: rgba(248, 247, 244, 0.97); backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: 0; transition: opacity 0.45s; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: grid; gap: 18px; justify-items: center; padding: 6vh 8vw; }
.lightbox__img { max-height: 78vh; max-width: 84vw; width: auto; object-fit: contain;
  transform: scale(0.97); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s; box-shadow: 0 50px 90px -70px rgba(0, 0, 0, 0.7); }
.lightbox.is-open .lightbox__img { transform: none; opacity: 1; }
.lightbox__cap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 20px; font-size: 16px;
  width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--line);
  border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: border-color 0.4s, transform 0.4s; }
.lightbox__nav:hover { border-color: var(--ink); }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }
.lightbox__counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
@media (max-width: 700px) { .lightbox__nav { display: none; } .lightbox__img { max-width: 92vw; } }

/* ── «в подготовке» ────────────────────────────────────────── */
.pending { display: flex; gap: 14px; align-items: flex-start; border: 1px dashed var(--line); padding: 18px 22px;
  margin-bottom: 30px; max-width: 62ch; }
.pending__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }
.pending p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ── документы ─────────────────────────────────────────────── */
.legal { max-width: 74ch; margin-inline: 0; }
.legal__sec { padding: clamp(22px, 3vh, 34px) 0; border-bottom: 1px solid var(--line); }
.legal__sec h2 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.legal__sec p { color: var(--ink-2); font-size: 15px; }

/* ── подвал ────────────────────────────────────────────────── */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); position: relative; z-index: 1; overflow: hidden; }
.site-foot__cta { padding: clamp(60px, 10vh, 140px) 0 clamp(40px, 6vh, 80px); }
.site-foot__title { font-size: clamp(2rem, 5.4vw, 5rem); letter-spacing: -0.05em; line-height: 0.95; margin: 18px 0 34px; max-width: 18ch; }
.site-foot__ctarow { display: flex; flex-wrap: wrap; gap: 12px; }
.site-foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 60px);
  padding: clamp(30px, 5vh, 60px) 0; border-top: 1px solid var(--line); }
.site-foot__col ul { display: grid; gap: 8px; margin-top: 16px; }
.site-foot__col a { font-size: 14px; color: var(--ink-2); transition: color 0.3s; }
.site-foot__col a:hover { color: var(--ink); }
.site-foot__mark { display: flex; justify-content: center; padding: 0 var(--gut); }
.site-foot__mark span { font-size: clamp(2.4rem, 12.5vw, 12rem); letter-spacing: -0.06em; line-height: 0.85; color: transparent;
  -webkit-text-stroke: 1px rgba(11, 11, 11, 0.18); white-space: nowrap; user-select: none; }
.site-foot__legal { padding: clamp(24px, 4vh, 44px) 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.site-foot__legal p { margin: 0; font-size: 11.5px; color: var(--muted); max-width: 90ch; }
@media (max-width: 760px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ── cookie ────────────────────────────────────────────────── */
.cookie { position: fixed; left: var(--gut); bottom: var(--gut); z-index: 140; background: var(--paper);
  border: 1px solid var(--line); padding: 16px 18px; display: flex; gap: 18px; align-items: center;
  max-width: 460px; transform: translateY(16px); opacity: 0; transition: opacity 0.5s, transform 0.6s var(--ease); }
.cookie.is-on { opacity: 1; transform: none; }
/* плашка не должна перекрывать открытые слои */
.menu.is-open ~ .cookie, .modal.is-open ~ .cookie, .lightbox.is-open ~ .cookie {
  opacity: 0; pointer-events: none; transform: translateY(12px);
}
.cookie p { margin: 0; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-wrap: wrap; gap: 12px; }
  .cookie .btn { width: 100%; }
}

/* ── курсор ────────────────────────────────────────────────── */
.cursor { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; mix-blend-mode: difference; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor__dot { position: absolute; width: 6px; height: 6px; background: #fff; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__ring { position: absolute; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.35s;
  display: grid; place-items: center; }
.cursor.is-hover .cursor__ring { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.cursor.is-view .cursor__ring { width: 84px; height: 84px; background: #fff; border-color: #fff; }
.cursor__label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #000; opacity: 0; transition: opacity 0.3s; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ── доступность движения ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .line__in { transform: none !important; }
  .loader { display: none; }
}

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