/* ==========================================================================
   ДОФАМИН — витрина: hero с рваным краем, нумерованные секции, кампания с
   каракулями, категории с вертикальными заголовками, «Пространство»,
   каталог, карточка товара, футер. Подключается после style.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Секции и заголовки
   -------------------------------------------------------------------------- */
.sec { padding: 70px 0 40px; }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad-x) 26px;
}
.sec-num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--red);
}
.sec-num--w { color: #fff; }
.sec-link { font-family: var(--f-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; transition: color 0.25s var(--ease); }
.sec-link:hover { color: var(--red); }

/* --------------------------------------------------------------------------
   HERO — белый лист с рваным краем, вырезка модели, огромный заголовок
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--bg);
}
.hero__sheet {
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 49.91% 0.00%, 50.76% 2.32%, 50.01% 4.45%, 49.43% 6.83%, 50.23% 9.05%, 49.27% 11.84%, 49.26% 13.64%, 50.35% 16.46%, 50.87% 17.75%, 50.28% 20.87%, 49.38% 23.31%, 50.05% 24.54%, 49.44% 25.85%, 49.15% 27.54%, 49.89% 29.67%, 50.03% 32.55%, 50.00% 35.03%, 49.92% 37.56%, 50.90% 39.31%, 50.61% 42.50%, 49.67% 45.12%, 49.62% 46.78%, 50.48% 48.12%, 50.62% 50.12%, 50.82% 52.09%, 49.10% 54.99%, 50.74% 56.61%, 50.86% 58.75%, 49.23% 60.74%, 50.50% 63.20%, 49.26% 64.94%, 50.84% 66.81%, 49.31% 69.52%, 49.28% 71.22%, 50.53% 72.54%, 50.11% 74.09%, 49.44% 76.19%, 49.34% 78.85%, 49.31% 81.34%, 49.48% 83.38%, 50.85% 85.12%, 49.65% 87.92%, 49.48% 90.89%, 50.64% 92.88%, 49.28% 95.37%, 49.48% 98.55%, 50.49% 100.00%, 0 100%);
}
/* волокна бумаги: сероватая тень чуть правее белого края */
.hero__sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 49%, rgba(0, 0, 0, 0.04) 49.8%, rgba(0, 0, 0, 0.11) 50.3%, rgba(0, 0, 0, 0) 51%);
}
.hero__tear {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -2px;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0 3px, rgba(0, 0, 0, 0) 3px 9px, rgba(0, 0, 0, 0.12) 9px 11px, rgba(0, 0, 0, 0) 11px 17px);
  filter: blur(0.4px);
  opacity: 0.8;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.hero__model {
  position: absolute;
  z-index: 2;
  right: 10%;
  bottom: 0;
  width: auto;
  height: 82%;
  max-width: 44vw;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  transform: translateX(40px);
  transition: transform 1.1s var(--ease);
}
.hero__slide.is-on .hero__model { transform: translateX(0); }
.hero__lead {
  position: absolute;
  top: calc(var(--head-h) + 2px);
  right: var(--pad-x);
  width: 262px;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 9.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: translateY(-8px);
  transition: transform 0.8s var(--ease) 0.15s;
}
.hero__slide.is-on .hero__lead { transform: translateY(0); }
.hero__title {
  position: absolute;
  left: 50.4%;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: 2px;
}
.hero__word {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 700;
  position: relative;
  z-index: 1;
  font-size: clamp(60px, 5.6vw, 86px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: translateY(105%) scaleY(1.12);
  transform-origin: bottom left;
  transition: transform 0.9s var(--ease) 0.1s, color 0.3s var(--ease);
}
.hero__slide.is-on .hero__word { transform: translateY(0) scaleY(1.12); }
.hero__title:hover .hero__word { color: var(--red); }
.hero__alias {
  position: relative;
  z-index: 3;
  display: inline-block;
  padding: 2px 8px 2px 6px;
  background: var(--bg);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: clamp(14px, 1.7vw, 24px);
  text-transform: uppercase;
  transform: translateY(120%);
  transition: transform 0.9s var(--ease) 0.25s;
}
.hero__slide.is-on .hero__alias { transform: translateY(0); }
.hero__nav {
  position: absolute;
  z-index: 4;
  right: var(--pad-x);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
}
.hero__nav button { padding: 0; background: none; border: none; font: inherit; color: var(--grey); transition: color 0.25s var(--ease); }
.hero__nav button:hover { color: var(--red); }
.hero__nav .pipes { min-width: 34px; text-align: center; }
.hero__idx { position: absolute; z-index: 4; left: var(--pad-x); bottom: 30px; font-family: var(--f-mono); font-size: 10px; color: var(--grey-dim); }

/* --------------------------------------------------------------------------
   Лента карточек (новинки, хиты) и сетка каталога
   -------------------------------------------------------------------------- */
.plist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 0 var(--pad-x);
}
.plist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip { display: flex; gap: 6px; padding: 0 var(--pad-x); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip .plc { flex: 0 0 calc((100% - 18px) / 4); scroll-snap-align: start; }

.plc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.05);
  transition: border-color 0.3s var(--ease);
}
.plc:hover { border-color: rgba(10, 10, 10, 0.18); }
.plc__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #fff;
}
.plc__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s var(--ease);
}
.plc__img--2 { opacity: 0; }
.plc.is-alt .plc__img--2 { opacity: 1; }
.plc__flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--red);
}
.plc__flag::before { content: "[ "; }
.plc__flag::after { content: " ]"; }
.plc__flag--sale { color: var(--fg); }
.plc__body { padding: 10px 12px 14px; }
.plc__name {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.plc__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--red);
}
.plc__price .price-old { font-size: 9px; color: var(--grey-dim); text-decoration: line-through; }

/* --------------------------------------------------------------------------
   03. КАМПАНИЯ — полноэкранное фото (слот под видео) + белые каракули
   -------------------------------------------------------------------------- */
.camp {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  margin-top: 60px;
  overflow: hidden;
  background: #061014;
  color: #fff;
}
.camp__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camp__doodles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.camp__hit { position: absolute; inset: 0; z-index: 3; cursor: crosshair; }
.camp__cap {
  position: absolute;
  z-index: 4;
  left: var(--pad-x);
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.camp__cap .mono { color: rgba(255, 255, 255, 0.8); }
.camp__cta {
  position: absolute;
  z-index: 4;
  right: var(--pad-x);
  bottom: 28px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.25s var(--ease);
}
.camp__cta::before, .camp__cta::after { color: rgba(255, 255, 255, 0.6); }
.camp__cta:hover { color: var(--red); }
.camp__hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  pointer-events: none;
}

.dd {
  position: absolute;
  width: 160px;
  height: 160px;
  overflow: visible;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.55));
  will-change: transform;
}
.dd path {
  fill: none;
  stroke: #fff;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dd.is-float { animation: ddfloat 3.6s ease-in-out infinite alternate; }
.dd.is-float--b { animation-name: ddfloatb; animation-duration: 4.2s; }
.dd.is-out { opacity: 0; transition: opacity 0.5s var(--ease); }
@keyframes ddfloat {
  0% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  100% { transform: translate(-50%, -50%) rotate(5deg) translateY(-14px); }
}
@keyframes ddfloatb {
  0% { transform: translate(-50%, -50%) rotate(3deg) translateX(0); }
  100% { transform: translate(-50%, -50%) rotate(-5deg) translateX(12px) translateY(-8px); }
}

/* --------------------------------------------------------------------------
   04. КАТЕГОРИИ — лента карточек с вертикальными заголовками
   -------------------------------------------------------------------------- */
.cats {
  display: flex;
  gap: 6px;
  padding: 0 0 0 var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats::after { content: ""; flex: 0 0 var(--pad-x); }
.catc {
  position: relative;
  flex: 0 0 auto;
  width: clamp(230px, 22vw, 330px);
  aspect-ratio: 5 / 7;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.05);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.3s var(--ease);
}
.catc:hover { border-color: rgba(10, 10, 10, 0.2); }
.catc img {
  position: absolute;
  right: 8%;
  bottom: 5%;
  width: auto;
  height: 82%;
  max-width: 62%;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  transition: transform 0.9s var(--ease);
}
.catc:hover img { transform: translateY(-6px); }
.catc__t {
  position: absolute;
  left: 6px;
  bottom: 12px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg) scaleX(1.08);
  transform-origin: center;
  transition: color 0.3s var(--ease);
}
.catc:hover .catc__t { color: var(--red); }
.catc__n { position: absolute; right: 10px; bottom: 10px; font-family: var(--f-mono); font-size: 10px; font-weight: 500; }

/* --------------------------------------------------------------------------
   05. ПРОСТРАНСТВО (ТРАНСФОРМАЦИЯ) — серый фон, вырезка, граффити
   -------------------------------------------------------------------------- */
.space {
  position: relative;
  margin-top: 70px;
  min-height: 640px;
  height: 92vh;
  height: 92svh;
  overflow: hidden;
  background: linear-gradient(180deg, #e9e6e4 0%, #f1efee 55%, #e6e3e1 100%);
}
.space__head {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  pointer-events: none;
}
.space__t {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.space__alias { font-family: var(--f-mono); font-weight: 500; font-size: clamp(13px, 1.4vw, 20px); letter-spacing: 0; }
.space__lead {
  width: 240px;
  font-weight: 700;
  font-size: 9.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}
.space__stage { position: absolute; inset: 0; }
.space__spray {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(72vw, 1180px);
  height: auto;
  transform: translate(-50%, -50%) rotate(-2deg);
  opacity: 0;
  filter: blur(14px);
  transition: opacity 1.2s var(--ease), filter 1.2s var(--ease);
  pointer-events: none;
}
.space__spray.on { opacity: 1; filter: blur(0); }
.space__model {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 74%;
  max-width: 70vw;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  transform: translate(-50%, 24px);
  transition: transform 1.1s var(--ease);
}
.space__model.on { transform: translate(-50%, 0); }
.space__icons {
  position: absolute;
  z-index: 3;
  top: 58%;
  display: flex;
  gap: 8px;
}
.space__icons--l { left: var(--pad-x); }
.space__icons--r { right: var(--pad-x); }
.space__icons span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.space__icons svg { width: 16px; height: 16px; stroke: var(--fg); fill: none; stroke-width: 1.3; }

/* --------------------------------------------------------------------------
   07. ФИЛЬМ — постер под видео
   -------------------------------------------------------------------------- */
.film { padding: 70px var(--pad-x) 0; }
.film__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a0a; }
.film__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.film__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 0;
  background: none;
  border: none;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.25s var(--ease);
}
.film__play::before, .film__play::after { color: rgba(255, 255, 255, 0.6); }
.film__play:hover { color: var(--red); }
.film__meta { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: flex; gap: 20px; font-family: var(--f-mono); font-size: 9px; color: rgba(255, 255, 255, 0.75); text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Манифест
   -------------------------------------------------------------------------- */
.manifest { padding: 90px var(--pad-x) 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.manifest__t { font-family: var(--f-head); font-weight: 700; font-size: clamp(40px, 6vw, 96px); line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.manifest__t span { display: block; }
.manifest__t .red { color: var(--red); }
.manifest__p { max-width: 440px; font-weight: 700; font-size: 10px; line-height: 1.6; letter-spacing: 0.02em; text-transform: uppercase; }
.manifest__p + .manifest__p { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Каталог: верхняя строка с mono-контролами
   -------------------------------------------------------------------------- */
.cat-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: calc(var(--head-h) + 22px) var(--pad-x) 18px;
}
.cat-top__title {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.02em;
}
.cat-top__count { font-family: var(--f-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.cat-top__ctl { display: flex; align-items: center; gap: 22px; }
.ctl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.ctl:hover { color: var(--red); }
.ctl i { font-style: normal; }
.ctl__val { font-weight: 600; }
.ctl__val::before { content: "[ "; color: var(--grey-dim); }
.ctl__val::after { content: " ]"; color: var(--grey-dim); }
.ctl__val--ink { padding: 1px 8px; background: var(--fg); color: #fff; clip-path: polygon(2% 8%, 98% 0, 100% 90%, 96% 100%, 3% 96%, 0 20%); }
.ctl__val--ink::before, .ctl__val--ink::after { content: none; }
.ctl [data-filter-count] { color: var(--red); }
.views { display: flex; gap: 10px; margin-left: 6px; }
.views button { padding: 0; background: none; border: none; line-height: 0; color: var(--grey-dim); transition: color 0.25s var(--ease); }
.views button:hover, .views button.is-on { color: var(--fg); }
.views svg { width: 14px; height: 14px; }
.pop {
  position: absolute;
  z-index: 50;
  top: 100%;
  right: var(--pad-x);
  display: flex;
  gap: 14px;
  margin-top: -8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--fg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.pop.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.pop button { padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; color: var(--grey); white-space: nowrap; transition: color 0.2s var(--ease); }
.pop button::before { content: "[ "; color: var(--grey-dim); }
.pop button::after { content: " ]"; color: var(--grey-dim); }
.pop button:hover, .pop button.is-on { color: var(--fg); }
.pop button.is-on::before, .pop button.is-on::after { color: var(--red); }
.cat-empty { padding: 80px var(--pad-x) 120px; text-align: center; color: var(--grey); }
.cat-empty .h-sec { margin-bottom: 12px; color: var(--fg); }
.cat-empty button { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Панель фильтра (полная) — слева
   -------------------------------------------------------------------------- */
.fd {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 135;
  width: 100%;
  max-width: 520px;
  height: 100%;
  overflow-y: auto;
  background: var(--bg);
  border-right: 1px solid var(--line-soft);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
}
body.filter-open .fd { transform: translateX(0); visibility: visible; }
body.filter-open .veil { opacity: 1; visibility: visible; }
.fd__head { display: flex; align-items: center; justify-content: space-between; padding: 28px var(--pad-x) 0; }
.fd__head .h-sec { font-size: 24px; }
.fd__cols { padding: 24px var(--pad-x) 60px; }
.fd__col + .fd__col { margin-top: 28px; }
.fd__col h3 { margin-bottom: 10px; font-family: var(--f-head); font-weight: 700; font-size: 16px; text-transform: uppercase; }
.fd__col h3 i { font-style: normal; color: var(--red); margin-right: 6px; }
.fd__opts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fd-item, .fd-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.fd-item::before, .fd-opt::before { content: "[ "; color: var(--grey-dim); }
.fd-item::after, .fd-opt::after { content: " ]"; color: var(--grey-dim); }
.fd-item:hover, .fd-opt:hover { color: var(--fg); }
.fd-item.is-on { color: var(--fg); }
.fd-item.is-on::before, .fd-item.is-on::after { color: var(--red); }
.fd-opt input { appearance: none; width: 0; height: 0; margin: 0; }
.fd-opt:has(input:checked) { color: var(--fg); }
.fd-opt:has(input:checked)::before, .fd-opt:has(input:checked)::after { color: var(--red); }
.fd-sw { display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; border: 1px solid var(--line); }

.fd-range { padding-top: 4px; }
.fd-range__vals { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; }
.fd-range__vals b { font-weight: 600; color: var(--red); }
.fd-range__track { position: relative; height: 30px; margin-top: 8px; }
.fd-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: var(--line); }
.fd-range__fill { position: absolute; top: 14px; height: 1px; background: var(--fg); }
.fd-range input[type="range"] { position: absolute; left: 0; top: 0; width: 100%; height: 30px; margin: 0; appearance: none; background: transparent; pointer-events: none; }
.fd-range input[type="range"]::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 0; background: var(--fg); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--fg); cursor: pointer; pointer-events: auto; }
.fd-range input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 0; background: var(--fg); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--fg); cursor: pointer; pointer-events: auto; }
.fd-range input[type="range"]::-webkit-slider-runnable-track { height: 30px; background: transparent; }
.fd-range input[type="range"]::-moz-range-track { height: 30px; background: transparent; }

.fd__foot { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.fd__foot .btn-solid { flex: 1; }
.fd__reset { background: none; border: none; padding: 0; font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.fd__reset:hover { color: var(--red); }

/* --------------------------------------------------------------------------
   Карточка товара: лейблы слева / вертикальный стек фото / липкая колонка
   -------------------------------------------------------------------------- */
.pp {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 380px;
  column-gap: 28px;
  align-items: start;
  padding: var(--head-h) var(--pad-x) 0;
}
.pp-labels {
  position: sticky;
  top: var(--head-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - var(--head-h));
  height: calc(100svh - var(--head-h));
  padding: 8px 0 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--grey);
}
.pp-gallery { position: relative; }
.pp-track { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; background: #fff; border: 1px solid rgba(10, 10, 10, 0.05); }
.pp-slide img { display: block; width: 100%; height: auto; max-height: calc(100svh - var(--head-h) - 24px); aspect-ratio: 3 / 4; object-fit: contain; }
.pp-slide::after {
  content: attr(data-n);
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--grey-dim);
}
.pp-dots { display: none; }
.pp-arr {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 18px 8px;
  background: none;
  border: none;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.pp-arr span { display: inline-block; padding: 6px 8px; background: rgba(255, 255, 255, 0.85); transition: transform 0.35s var(--ease); }
.pp-arr--prev { left: 6px; }
.pp-arr--next { right: 6px; }
.pp-arr:hover { color: var(--red); }
.pp-arr--prev:hover span { transform: translateX(-4px); }
.pp-arr--next:hover span { transform: translateX(4px); }
.pp-count { position: absolute; left: 12px; bottom: 8px; z-index: 2; font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--grey); }

.pp-info { min-width: 0; }
.pp-sticky { position: sticky; top: var(--head-h); padding: 6px 0 40px; }
.pp-back { display: inline-block; margin-bottom: 18px; padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; color: var(--grey); }
.pp-back:hover { color: var(--red); }
.pp-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.pp-price { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; margin-top: 18px; font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--red); }
.pp-price .price::before { content: "("; }
.pp-price .price::after { content: ")"; }
.pp-price .price-old { font-size: 10px; font-weight: 500; color: var(--grey-dim); text-decoration: line-through; }
.pp-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 26px; }
.pp-label { font-family: var(--f-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.pp-link { padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 9px; font-weight: 600; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.pp-link:hover { color: var(--red); }
.pp-sizes { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; }
.pp-size { padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--fg); transition: color 0.2s var(--ease); }
.pp-size::before { content: "[ "; color: var(--grey-dim); font-weight: 400; }
.pp-size::after { content: " ]"; color: var(--grey-dim); font-weight: 400; }
.pp-size:hover { color: var(--red); }
.pp-size.is-active::before, .pp-size.is-active::after { color: var(--red); }
.pp-size.is-active { color: var(--fg); }
.pp-size[disabled] { color: var(--grey-dim); cursor: not-allowed; text-decoration: line-through; }
.pp-sizes.is-shake { animation: shake 0.45s var(--ease); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.pp-model { margin-top: 8px; text-align: right; font-size: 10px; color: var(--grey); }
.pp-model b { font-weight: 600; color: var(--fg); }
.pp-stock { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.pp-stock i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(23, 163, 74, 0.2); }
.pp-stock.is-last i { background: var(--red); box-shadow: 0 0 0 2px rgba(229, 38, 31, 0.2); }
.pp-colors { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; }
.pp-sw { font-family: var(--f-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--grey); transition: color 0.2s var(--ease); }
.pp-sw::before { content: "[ "; color: var(--grey-dim); font-weight: 400; }
.pp-sw::after { content: " ]"; color: var(--grey-dim); font-weight: 400; }
.pp-sw.is-active { color: var(--fg); }
.pp-sw:hover { color: var(--red); }
.pp-thumbs { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.pp-thumbs button { padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 10px; font-weight: 600; color: var(--grey); }
.pp-thumbs button::before { content: "[ "; color: var(--grey-dim); font-weight: 400; }
.pp-thumbs button::after { content: " ]"; color: var(--grey-dim); font-weight: 400; }
.pp-thumbs button.is-active { color: var(--fg); }
.pp-thumbs button.is-active::before, .pp-thumbs button.is-active::after { color: var(--red); }
.pp-thumbs button img { display: none; }

/* кнопка-мазок кисти */
.pp-add { margin-top: 34px; }
.brush {
  position: relative;
  display: block;
  width: 100%;
  height: 54px;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  overflow: visible;
}
.brush svg { position: absolute; inset: -6px 0; width: 100%; height: calc(100% + 12px); }
.brush__bg path { fill: #8f8b8a; transition: fill 0.35s var(--ease); }
.brush.has-size .brush__bg path { fill: var(--fg); }
.brush__over { clip-path: inset(0 100% 0 0); transition: clip-path 0.55s var(--ease); }
.brush__over path { fill: var(--red); }
.brush:hover .brush__over { clip-path: inset(0 0 0 0); }
.brush__t { position: relative; z-index: 2; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pp-need { height: 0; overflow: hidden; margin-top: 0; font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; color: var(--red); text-align: center; transition: height 0.3s var(--ease), margin 0.3s var(--ease); }
.pp-need.is-shown, .pp-need.is-ok { height: 16px; margin-top: 10px; }
.pp-need.is-ok { color: var(--green); }
.pp-fav { display: block; margin: 18px auto 0; padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 9px; font-weight: 600; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.pp-fav:hover, .pp-fav.is-on { color: var(--red); }

.pp-accs { margin-top: 44px; border-top: 1px solid var(--line-soft); }
.pp-acc { border-bottom: 1px solid var(--line-soft); }
.pp-acc__t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
}
.pp-acc__t i { position: relative; width: 10px; height: 10px; }
.pp-acc__t i::before, .pp-acc__t i::after { content: ""; position: absolute; background: var(--fg); transition: transform 0.3s var(--ease); }
.pp-acc__t i::before { left: 0; top: 4.5px; width: 10px; height: 1px; }
.pp-acc__t i::after { left: 4.5px; top: 0; width: 1px; height: 10px; }
.pp-acc.is-open .pp-acc__t i::after { transform: scaleY(0); }
.pp-acc__b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.pp-acc__b > div { overflow: hidden; }
.pp-acc.is-open .pp-acc__b { grid-template-rows: 1fr; }
.pp-acc__b p, .pp-acc__b li { font-size: 11px; line-height: 1.7; color: var(--grey); }
.pp-acc__b p { padding-bottom: 12px; }
.pp-acc__b ul { padding: 0 0 12px 14px; list-style: square; }
.pp-sku { padding-bottom: 6px; font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; color: var(--grey-dim); }
.p-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 150;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  background: var(--fg);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.p-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
body.cart-open .p-toast { opacity: 0; visibility: hidden; }

/* похожие */
.sim { padding: 70px 0 40px; }
.sim__head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--pad-x) 22px; }
.sim__nav { display: flex; gap: 12px; }
.sim__nav button { padding: 0; background: none; border: none; font-family: var(--f-mono); font-size: 10px; color: var(--grey); }
.sim__nav button:hover { color: var(--red); }
.sim__track { display: flex; gap: 6px; padding: 0 var(--pad-x); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sim__track::-webkit-scrollbar { display: none; }
.sim__track .plc { flex: 0 0 calc((100% - 18px) / 4); scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   Футер: полноэкранный кадр фильма, серый бэнд с рваным краем, огромный бренд
   -------------------------------------------------------------------------- */
.ft { margin-top: 90px; }
.ft--inner { margin-top: 70px; }
.ft__film { position: relative; height: 62vh; min-height: 380px; overflow: hidden; background: #0a0a0a; }
.ft__film img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ft__band {
  position: relative;
  margin-top: -34px;
  padding: 60px var(--pad-x) 0;
  color: #fff;
  background: linear-gradient(180deg, #8f8c8a 0%, #7f7c7a 100%);
  clip-path: polygon(0 26px, 2.8% 10px, 6.1% 22px, 9.4% 4px, 12.7% 18px, 16.0% 12px, 19.3% 30px, 22.6% 8px, 25.9% 24px, 29.2% 6px, 32.5% 20px, 35.8% 14px, 39.1% 32px, 42.4% 10px, 45.7% 22px, 49.0% 2px, 52.3% 18px, 55.6% 12px, 58.9% 30px, 62.2% 8px, 65.5% 26px, 68.8% 4px, 72.1% 20px, 75.4% 14px, 78.7% 32px, 82.0% 10px, 85.3% 24px, 88.6% 6px, 91.9% 18px, 95.2% 12px, 98.4% 28px, 100% 8px, 100% 100%, 0 100%);
}
.ft--inner .ft__band { margin-top: 0; }
/* волокна по кромке */
.ft__band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.ft__nav { display: flex; justify-content: space-between; gap: 30px; }
.ft__links { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 26px; }
.ft__links--r { grid-template-columns: repeat(3, auto); justify-content: end; text-align: right; }
.ft__links a { font-family: var(--f-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; white-space: nowrap; transition: opacity 0.25s var(--ease); }
.ft__links a:hover { opacity: 0.6; }
.ft__hero { position: relative; margin-top: 64px; height: clamp(160px, 22vw, 320px); }
.ft__brand {
  position: absolute;
  left: -0.03em;
  bottom: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(96px, 17vw, 250px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}
.ft__model {
  position: absolute;
  z-index: 2;
  left: 44%;
  bottom: -18px;
  width: auto;
  height: 118%;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ft__tag {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 34%;
  padding: 6px 18px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: #6a6866;
  clip-path: polygon(3% 12%, 97% 0, 100% 84%, 95% 100%, 4% 94%, 0 26%);
  transform: rotate(-4deg);
}
.ft__sub { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; margin-top: 30px; }
.ft__subt { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: clamp(40px, 5vw, 76px); line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.ft__suba { font-family: var(--f-mono); font-weight: 500; font-size: clamp(13px, 1.4vw, 20px); letter-spacing: 0; text-transform: uppercase; }
.ft__field { position: relative; }
.ft__field input {
  width: 100%;
  height: 34px;
  padding: 0 40px 0 0;
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
}
.ft__field input::placeholder { color: rgba(255, 255, 255, 0.7); text-transform: uppercase; font-size: 10px; }
.ft__field input:focus { outline: none; border-color: var(--fg); }
.ft__field button { position: absolute; right: 0; bottom: 8px; padding: 0; background: none; border: none; color: #fff; font-family: var(--f-mono); font-size: 10px; }
.ft__field button:hover { color: var(--fg); }
.ft__note { position: absolute; right: 0; top: 100%; margin-top: 8px; font-family: var(--f-mono); font-size: 9px; color: #fff; }
.ft__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 44px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.ft__bottom b { color: #fff; }
.ft__legal, .ft__contacts { display: flex; flex-wrap: wrap; gap: 14px; }
.ft__legal a:hover, .ft__contacts a:hover { color: var(--fg); }
.footer__demo { padding: 12px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 11px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.footer__demo a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.footer__demo a:hover { color: var(--fg); }

/* cookie-карточка как у референса: белое поле, пунктирная рамка, крестик, мазки, кольцо */
body .lgbar {
  z-index: 95;
  left: auto;
  right: 22px;
  bottom: 22px;
  width: min(640px, calc(100vw - 44px));
  display: block;
  padding: 22px;
  border: none;
  border-radius: 0;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
  background: #fff;
  overflow: visible;
}
body .lgbar__in { position: relative; padding: 34px 40px 30px; border: 1px dashed var(--fg); }
body .lgbar__title { padding-right: 60px; font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: 0; text-transform: uppercase; color: var(--fg); }
body .lgbar__txt { flex: none; margin: 18px 0 0; max-width: 78%; font-family: var(--f-text); font-size: 15px; line-height: 1.35; font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; color: var(--fg); }
body .lgbar__txt::before { content: none; }
body .lgbar__txt a { color: var(--red); text-decoration: none; }
body .lgbar__txt a:hover { text-decoration: underline; text-underline-offset: 3px; }
body .lgbar__x { position: absolute; top: 34px; right: 40px; width: 34px; height: 34px; padding: 0; background: none; border: none; cursor: pointer; }
body .lgbar__x::before, body .lgbar__x::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: var(--fg); transform: rotate(45deg); }
body .lgbar__x::after { transform: rotate(-45deg); }
body .lgbar__acts { display: flex; align-items: center; gap: 28px; margin-top: 70px; }
body .lgbar__btn, body .lgbar__btn--main {
  position: relative;
  flex: 0 0 auto;
  min-width: 190px;
  height: 46px;
  padding: 0 22px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: none;
  border-radius: 0;
  clip-path: none;
  filter: none;
  cursor: pointer;
}
body .lgbar__btn svg { position: absolute; inset: -8px -6px; width: calc(100% + 12px); height: calc(100% + 16px); z-index: 0; pointer-events: none; }
body .lgbar__btn svg path { fill: #111; transition: fill 0.25s var(--ease); }
body .lgbar__btn:hover svg path { fill: var(--red); }
body .lgbar__btn span { position: relative; z-index: 1; }
body .lgbar__btn span::before { content: "[ "; color: rgba(255, 255, 255, 0.55); }
body .lgbar__btn span::after { content: " ]"; color: rgba(255, 255, 255, 0.55); }
body .lgbar__btn:hover, body .lgbar__btn--main:hover { background: none; filter: none; }
body .lgbar__set { margin-left: auto; font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; white-space: nowrap; }
body .lgbar__set::after { content: ""; display: inline-block; margin-left: 10px; border: 5px solid transparent; border-top-color: var(--fg); border-bottom: 0; vertical-align: 2px; }
body .lgbar__ring { position: absolute; right: -78px; top: 50%; width: 130px; height: 44px; transform: translateY(-50%); pointer-events: none; }

/* --------------------------------------------------------------------------
   HERO — брендовый слайд: огромный бренд, сплит-фото по рваному краю, слоган
   -------------------------------------------------------------------------- */
.hero__slide--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  background: linear-gradient(180deg, #ebe9e8 0%, #d9d6d5 60%, #c9c6c5 100%);
}
.hero__slide--brand::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 3px;
  margin-left: -2px;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0 3px, rgba(0, 0, 0, 0) 3px 9px, rgba(0, 0, 0, 0.12) 9px 11px, rgba(0, 0, 0, 0) 11px 17px);
  z-index: 3;
  opacity: 0.8;
}
.hero__brand {
  position: absolute;
  z-index: 4;
  left: var(--pad-x);
  top: 18%;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(56px, 6.4vw, 100px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: translateY(-14px) scaleY(1.1);
  transform-origin: left top;
  transition: transform 0.9s var(--ease) 0.1s;
}
.hero__slide.is-on .hero__brand { transform: translateY(0) scaleY(1.1); }
.hero__split { position: absolute; inset: 0; z-index: 2; }
.hero__half {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 94%;
  max-width: 60vw;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  transform: translate(-50%, 24px);
  transition: transform 1.1s var(--ease);
}
.hero__half--l { clip-path: inset(0 50% 0 0); }
.hero__half--r { clip-path: inset(0 0 0 50%); filter: grayscale(1) contrast(1.06); }
.hero__slide.is-on .hero__half { transform: translate(-50%, 0); }
.hero__claim {
  position: absolute;
  z-index: 4;
  right: var(--pad-x);
  top: 40%;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: right;
  transform: translateY(12px);
  transition: transform 0.9s var(--ease) 0.25s;
}
.hero__slide.is-on .hero__claim { transform: translateY(0); }
.hero__cap {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.hero__capw {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: scaleY(1.12);
  transform-origin: bottom center;
}
.hero__capw b { color: var(--red); }
.hero__capw i { font-style: normal; color: #fff; text-shadow: 0 0 1px rgba(0, 0, 0, 0.25); }
.hero__cap small { display: inline-block; margin-top: 10px; padding: 3px 8px; background: var(--bg); font-family: var(--f-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; color: var(--fg); }
.hero__cap:hover .hero__capw b { color: var(--fg); }
.hero__slide--brand .hero__title, .hero__slide--brand .hero__lead { display: none; }
/* слайды-сцены: полноширинный кадр, слева ч/б, справа цвет, стык по рваной линии */
.hero__tear { z-index: 3; }
.hero__slides { z-index: 2; }
.hero__scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide--scene .hero__lead, .hero__slide--scene .hero__title { z-index: 3; }
.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 49%, rgba(0, 0, 0, 0.05) 49.8%, rgba(0, 0, 0, 0.14) 50.3%, rgba(0, 0, 0, 0) 51%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.06);
  transform-origin: 50% 100%;
  transition: transform 1.4s var(--ease);
}
.hero__bg--l { clip-path: inset(0 50% 0 0); filter: grayscale(1) contrast(1.05); }
.hero__bg--r { clip-path: inset(0 0 0 50%); }
.hero__slide.is-on .hero__bg { transform: scale(1); }
.hero__slide--scene .hero__lead { color: var(--fg); }
.hero__slide--scene .hero__word { color: var(--red); text-shadow: 0 0 1px rgba(255, 255, 255, 0.35); }
.hero__slide--scene .hero__title:hover .hero__word { color: #fff; }


/* --------------------------------------------------------------------------
   05. КАТЕГОРИИ — две панели с вырезками и рваным стыком
   -------------------------------------------------------------------------- */
.duo { padding: 40px 0 0; }
.duo__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.duo__panel { position: relative; display: block; height: 88vh; height: 88svh; min-height: 560px; overflow: hidden; background: #fff; }
.duo__lead {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: var(--pad-x);
  width: 250px;
  font-weight: 700;
  font-size: 9.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.duo__panel--r .duo__lead { left: auto; right: var(--pad-x); text-align: right; }
.duo__model {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 84%;
  max-width: 90%;
  object-fit: contain;
  object-position: bottom;
  mix-blend-mode: multiply;
  transform: translate(-50%, 0) scale(1);
  transition: transform 1.2s var(--ease);
}
.duo__panel:hover .duo__model { transform: translate(-50%, 0) scale(1.03); }
.duo__t {
  position: absolute;
  z-index: 3;
  left: var(--pad-x);
  bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.duo__panel--r .duo__t { left: auto; right: var(--pad-x); flex-direction: row-reverse; }
.duo__w { font-family: var(--f-head); font-weight: 700; font-size: clamp(56px, 5.6vw, 86px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; transform: scaleY(1.12); transform-origin: bottom left; transition: color 0.3s var(--ease); }
.duo__panel:hover .duo__w { color: var(--red); }
.duo__a { padding: 2px 8px; background: #fff; font-family: var(--f-mono); font-weight: 500; font-size: clamp(14px, 1.7vw, 24px); text-transform: uppercase; }
.duo__n { position: absolute; z-index: 3; right: var(--pad-x); bottom: 30px; font-family: var(--f-mono); font-size: 10px; font-weight: 500; }
.duo__panel--r .duo__n { right: auto; left: var(--pad-x); }
.duo__tear {
  position: absolute;
  z-index: 4;
  top: 0; bottom: 0; left: 50%;
  width: 26px;
  margin-left: -13px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.05) 48%, rgba(0, 0, 0, 0.12) 51%, rgba(0, 0, 0, 0) 60%),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0 3px, rgba(0, 0, 0, 0) 3px 9px, rgba(0, 0, 0, 0.1) 9px 11px, rgba(0, 0, 0, 0) 11px 17px);
  background-size: 100% 100%, 3px 100%;
  background-position: 0 0, 12px 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   07. ФИЛЬМ — заголовок по центру, постер в «рваной» маске
   -------------------------------------------------------------------------- */
.film__icons { display: flex; gap: 6px; }
.film__icons span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--fg); border-radius: 50%; }
.film__icons svg { width: 12px; height: 12px; fill: none; stroke: var(--fg); stroke-width: 1.4; }
.film__t { margin: 6px auto 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(40px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; text-align: center; }
.film__lead { max-width: 640px; margin: 18px auto 0; font-weight: 700; font-size: 10px; line-height: 1.45; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; }
.film__stage {
  position: relative;
  width: min(760px, 64vw);
  aspect-ratio: 16 / 10;
  margin: 24px auto 0;
  overflow: hidden;
  background: #0a0a0a;
  clip-path: polygon(6% 22%, 14% 8%, 30% 12%, 46% 2%, 62% 10%, 80% 4%, 94% 14%, 100% 34%, 96% 52%, 100% 70%, 92% 88%, 74% 96%, 58% 90%, 42% 100%, 26% 92%, 10% 96%, 0 78%, 4% 58%, 0 40%);
  transition: clip-path 0.8s var(--ease);
}
.film__stage:hover { clip-path: polygon(3% 14%, 12% 4%, 30% 8%, 46% 0, 62% 6%, 82% 0, 97% 8%, 100% 30%, 98% 52%, 100% 74%, 95% 92%, 76% 100%, 58% 94%, 42% 100%, 24% 96%, 8% 100%, 0 82%, 2% 58%, 0 36%); }
.film__meta { position: static; display: flex; justify-content: center; gap: 20px; margin-top: 16px; font-size: 9px; color: var(--grey); text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Манифест как в референсе: текст слева, огромный заголовок справа
   -------------------------------------------------------------------------- */
.manifest { padding: 90px var(--pad-x) 20px; grid-template-columns: 1fr 1.3fr; align-items: center; }
.manifest__t { text-align: right; }

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .pp { grid-template-columns: 48px minmax(0, 1fr) 340px; column-gap: 20px; }
}

@media (max-width: 1100px) {
  .plist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip .plc, .sim__track .plc { flex-basis: calc((100% - 12px) / 3); }
  .hero__model { right: 4%; max-width: 46vw; }
  .ft__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .sec { padding: 46px 0 20px; }
  .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .plist--2 { grid-template-columns: 1fr; }
  .strip .plc, .sim__track .plc { flex-basis: calc((100% - 4px) / 2); }
  .plc__body { padding: 8px 10px 12px; }

  .hero { min-height: 0; height: 100svh; }
  .hero__sheet { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .hero__sheet::after, .hero__tear { display: none; }
  .hero__model { right: 50%; transform: translateX(50%) translateY(20px); height: 60%; max-width: 88vw; bottom: 22%; }
  .hero__slide.is-on .hero__model { transform: translateX(50%) translateY(0); }
  .hero__bg { object-position: 64% center; }
  .hero__scene::after { display: none; }
  .hero__lead { top: calc(var(--head-h) + 6px); left: var(--pad-x); right: var(--pad-x); width: auto; font-size: 9px; }
  .hero__title { left: var(--pad-x); right: var(--pad-x); bottom: 54px; flex-direction: column; gap: 4px; white-space: normal; }
  .hero__word { font-size: clamp(56px, 19vw, 84px); }
  .hero__nav { right: var(--pad-x); bottom: 18px; }
  .hero__idx { bottom: 20px; }

  .camp { margin-top: 30px; min-height: 0; height: 80svh; }
  .camp__hint { display: none; }
  .dd { width: 110px; height: 110px; }

  .catc { width: 66vw; }
  .catc__t { font-size: 40px; }

  .space { margin-top: 40px; min-height: 0; height: 84svh; }
  .space__head { flex-direction: column; gap: 14px; top: 20px; }
  .space__t { flex-direction: column; gap: 2px; font-size: 44px; }
  .space__lead { width: auto; max-width: 300px; }
  .space__spray { top: 50%; width: 96vw; }
  .space__model { height: 52%; max-width: 92vw; }
  .space__icons { top: auto; bottom: 14px; }

  .film { padding: 44px var(--pad-x) 0; }
  .manifest { grid-template-columns: 1fr; gap: 20px; padding-top: 60px; }

  .cat-top { flex-wrap: wrap; row-gap: 12px; padding-top: calc(var(--head-h) + 16px); }
  .cat-top__ctl { width: 100%; justify-content: space-between; gap: 12px; }
  .cat-top__count { order: 3; width: 100%; }
  .pop { right: var(--pad-x); left: var(--pad-x); flex-wrap: wrap; margin-top: -4px; }
  .views { margin-left: auto; }

  .fd { max-width: 100%; }

  .pp { display: block; padding: var(--head-h) 0 0; }
  .pp-labels { position: static; height: auto; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 10px var(--pad-x); }
  .pp-slide { border: none; }
  .pp-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
  .pp-dots i { width: 6px; height: 6px; background: var(--grey-dim); }
  .pp-dots i.is-on { background: var(--red); }
  .pp-arr { top: auto; bottom: 26px; transform: none; padding: 8px 6px; font-size: 11px; }
  .pp-count { bottom: 34px; }
  .pp-info { padding: 22px var(--pad-x) 30px; }
  .pp-sticky { position: static; padding: 0; }
  .pp-thumbs { display: none; }
  .sim { padding: 40px 0 30px; }
  .ft__top { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; }
}

@media (max-width: 860px) {
  .hero__brand { top: calc(var(--head-h) + 10px); font-size: clamp(48px, 15vw, 72px); }
  .hero__slide--brand::before { left: 50%; }
  .hero__half { height: 58%; bottom: 20%; max-width: 92vw; }
  .hero__claim { top: auto; bottom: 21%; right: var(--pad-x); left: var(--pad-x); font-size: 22px; text-align: right; }
  .hero__cap { bottom: 50px; }
  .hero__capw { font-size: clamp(40px, 13vw, 60px); line-height: 0.9; }
  .hero__capw b { display: block; }
  .hero__cap small { margin-top: 6px; }
  .duo__grid { grid-template-columns: 1fr; }
  .duo__panel { height: 78svh; min-height: 480px; }
  .duo__tear { display: none; }
  .duo__panel + .duo__panel { border-top: 1px dashed var(--line); }
  .duo__lead { width: auto; right: var(--pad-x); }
  .duo__w { font-size: clamp(48px, 15vw, 72px); }
  .film__stage { width: 100%; aspect-ratio: 4 / 3; }
  .film__lead { font-size: 9.5px; }
  .manifest { grid-template-columns: 1fr; }
  .manifest__t { text-align: left; }
  .ft__film { height: 44vh; min-height: 260px; }
  .ft__band { padding-top: 48px; }
  .ft__nav { flex-direction: column; gap: 14px; }
  .ft__links, .ft__links--r { grid-template-columns: 1fr 1fr; justify-content: start; text-align: left; }
  .ft__hero { height: 30vw; margin-top: 40px; }
  .ft__brand { font-size: 22vw; }
  .ft__model { left: 52%; height: 120%; }
  .ft__tag { font-size: 14px; right: 2%; }
  .ft__sub { grid-template-columns: 1fr; gap: 16px; }
  .ft__note { position: static; margin-top: 6px; }
  body .lgbar { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 12px; }
  body .lgbar__in { padding: 22px 18px 20px; }
  body .lgbar__title { font-size: 20px; padding-right: 40px; }
  body .lgbar__txt { max-width: none; font-size: 12px; }
  body .lgbar__x { top: 20px; right: 16px; width: 28px; height: 28px; }
  body .lgbar__acts { flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  body .lgbar__btn, body .lgbar__btn--main { min-width: 0; flex: 1 1 45%; height: 42px; font-size: 15px; }
  body .lgbar__set { margin-left: 0; }
  body .lgbar__ring { display: none; }
}
