/* ЭТАП 03+ — блоки скролл-ленты финального PROTO (десктоп, плиты 1440xH).
   Мобильные версии блоков появятся после «MOB (WIP)» — пока блоки скрыты на <=700px */

.divider { height: calc(100 * 100vw / 1440); } /* высоту пересчитывает fit(); до него — той же формулой */

.stage-block {
  position: relative;
  overflow: hidden;
}
.plate-block {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1440px;
  height: 850px;
  transform-origin: top left;
}

/* ---- гигантский номер фоном (@519,-23, Verdana ext italic, #303030) ---- */
/* контурные цифры — SVG-рендеры из фигмы (bignum-*.svg в разметке) */

/* ---- рамка с видео (@31,24 452x794; слот @69,71 376x700) ---- */
.b1-videoframe { position: absolute; left: 31px; top: 24px; width: 452px; height: 794px; }
.b1-ramka { position: absolute; inset: 0; width: 100%; height: 100%; }
.b1-videoslot {
  position: absolute;
  left: 38px;
  top: 47px;
  width: 376px;
  height: 700px;
  background: #0d1114;
  object-fit: cover;      /* слот чуть у́же кадра — лишнее срезается по бокам */
  display: block;
}
.b1-videoslot span {
  font-family: var(--led);
  font-size: 12px;
  color: rgba(240,251,255,0.25);
  letter-spacing: 0.2em;
}

.b1-gears { position: absolute; left: 498px; top: 24px; width: 108px; height: 170px; }

/* ---- текст героя (@498,365 278x309) ---- */
.b1-herotext { position: absolute; left: 498px; top: 365px; width: 290px; }
.b1-num {
  font-family: var(--ledboard);
  font-size: 66px;
  line-height: 66px;
  color: #7f7f7f;
}
.b1-titlerow {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 20px;
  height: 16px; /* фигма: бокс строки 16px, глифы Verdana ext выступают вверх */
  white-space: nowrap;
}
.b1-dots { font-family: var(--led); font-size: 14px; color: #7f7f7f; }
.b1-name {
  font-family: var(--verdana-ext);
  font-weight: 700;
  font-style: italic;
  font-size: 44px;
  line-height: 38px;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.b1-name-ru { font-family: var(--led); font-size: 12px; color: #7f7f7f; }
.b1-desc {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 18.4px;
  color: var(--ink);
}
.b1-meta {
  margin-top: 20px;
  font-family: var(--led);
  font-size: 12px;
  line-height: 16.2px;
  color: #7f7f7f;
  white-space: pre;
}

/* ---- айтемы-полусферы (композитные рендеры из фигмы) ---- */
.b1-item, .b1-glasses { position: absolute; }
.b1-item-1 { left: 905px; top: 219.5px; width: 348px; height: 269.5px; }
.b1-item-2 { left: 1151.1px; top: 29.3px; width: 267.8px; height: 240px; }
.b1-glasses { left: 1059px; top: 489px; width: 370px; height: 370px; }

/* ---- подводки (линии должны примыкать к тексту и вести к айтему — коммент дизайнера) ---- */
.b1-pointer { position: absolute; }
.b1-pointer-1 { left: 1080.5px; top: 96.5px; width: 155.0px; height: 93.5px; }
.b1-pointer-2 { left: 882.0px; top: 191.0px; width: 84.5px; height: 105.0px; }
.b1-pointer-3 { left: 972.0px; top: 580.5px; width: 236.5px; height: 156.5px; }

/* ---- подписи айтемов ---- */
.b1-label { position: absolute; display: flex; flex-direction: column; gap: 10px; color: #78adb8; }
.b1-label-pink { color: #b878b6; }
.b1-label-cap { font-family: var(--led); font-size: 10px; line-height: 1; -webkit-text-stroke: 0.4px currentColor; }
.b1-label-val { font-family: var(--ledboard); font-size: 22px; line-height: 1; -webkit-text-stroke: 0.6px currentColor; text-transform: uppercase; }
.b1-label-1 { left: 1017px; top: 44px; width: 128px; }
.b1-label-2 { left: 818px; top: 140px; width: 150px; }
.b1-label-3 { left: 934px; top: 750px; width: 120px; }

/* ============ ЭТАП 04: галерея YANA (1440x1553) ============ */

/* слайдер @19,0 1402x757 — автолистание 5с, сдвиг 0.7s ease-in-out */
.g-slider {
  position: absolute;
  left: 19px;
  top: 0;
  width: 1402px;
  height: 757px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.g-track {
  display: flex;
  width: 2804px;
  height: 757px;
  transition: transform 0.7s ease-in-out;
}
.g-track img { width: 1402px; height: 757px; object-fit: cover; -webkit-user-drag: none; }

/* коллаж с гранж-масками (готовые рендеры групп из фигмы) */
.g-photo { position: absolute; }
.g-photo-1 { left: 948px;   top: 686px; width: 471.2px; height: 653.4px; }
.g-photo-2 { left: 592.9px; top: 974px; width: 411.3px; height: 570.4px; }
.g-photo-3 { left: 28px;    top: 710px; width: 692px;   height: 508.8px; }

/* подводки */
.g-pointer { position: absolute; }
.g-pointer-1 { left: 487.0px; top: 832.0px; width: 304.5px; height: 65.5px; }
.g-pointer-2 { left: 353.0px; top: 1247.0px; width: 291.0px; height: 74.03px; }

/* подпись оправы (@800,819, розовый) */
.g-frame-label {
  position: absolute;
  left: 800px;
  top: 819px;
  font-family: var(--led);
  font-size: 14px;
  line-height: 16.8px;
  color: #b878b6;
  -webkit-text-stroke: 0.4px currentColor;
}
.g-frame-label span:last-child { color: #fff; /* фигма: имя модели белым (посимвольный оверрайд) */
}

/* блок описания айтема (@121,1177) */
.g-item { position: absolute; left: 121px; top: 1177px; width: 235px; }
/* фигма: подпись (ОБЪЕКТ + имя) и описание — по одной центральной оси блока, текст по центру */
.g-item .b1-label { position: static; margin-left: 10px; width: 215px; align-items: center; text-align: center; }
.g-item-desc {
  margin: 10px 0 0 10px;
  width: 215px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 14px;
  text-align: center;
  color: #78adb8;
}
.g-item-gif {
  display: block;
  margin: 10px 0 0 23px;
  width: 189px;
  height: 189px;
  object-fit: cover;
}

/* ============ ЭТАП 05: блок 02 CARLEN (зеркальная раскладка) ============ */
.b2-glasses { left: 161px; top: -1px; width: 370px; height: 370px; }
.b2-item-1 { left: 20.3px;  top: 556.2px; width: 348px;   height: 269.5px; }
.b2-item-2 { left: 305.4px; top: 397px;   width: 267.8px; height: 240px; }
.b2-videoframe { left: 961px; top: 24px; }
.b2-gears { left: 846px; top: 24px; }
.b2-herotext { left: 610px; top: 369px; }
.b2-pointer-1 { left: 66.0px; top: 489.0px; width: 99.0px; height: 110.19px; }
.b2-pointer-2 { left: 229.5px; top: 420.5px; width: 149.5px; height: 103.5px; }
.b2-pointer-3 { left: 100.0px; top: 98.5px; width: 236.5px; height: 156.5px; }
.b2-label-1 { left: 32px;  top: 436px; width: 90px; }
.b2-label-2 { left: 196px; top: 367px; width: 90px; }
.b2-label-3 { left: 48px;  top: 266px; width: 130px; }

/* галерея CARLEN */
.cg-photo-1 { left: 11px;    top: 906.6px;  width: 465px;   height: 644.8px; }
.cg-photo-2 { left: 727.2px; top: 1025.6px; width: 692px;   height: 508.8px; }
.cg-photo-3 { left: 432.9px; top: 720px;    width: 411.3px; height: 570.4px; }
.cg-pointer-1 { left: 183.0px; top: 822.0px; width: 106.0px; height: 369.5px; }
.cg-pointer-2 { left: 1150.0px; top: 870.0px; width: 123.0px; height: 283.0px; }
.cg-frame-label { left: 103px; top: 809px; }
.cg-item { left: 907px; top: 797px; }

/* ============ ЭТАП 06: блок 03 LUCIA ============ */
.b3-item-1 { left: 22.3px;  top: 219px;  width: 348px;   height: 269.5px; }
.b3-item-2 { left: 277.4px; top: 29.3px; width: 267.8px; height: 240px; }
.b3-glasses { left: 185.3px; top: 489px; width: 370px; height: 370px; }
.b3-videoframe { left: 641px; top: 24px; }
.b3-gears { left: 1108px; top: 24px; }
.b3-herotext { left: 1115px; top: 349px; }
.b3-pointer-1 { left: 510.0px; top: 146.7px; width: 63.75px; height: 178.0px; }
.b3-pointer-2 { left: 150.0px; top: 168.5px; width: 7.0px; height: 94.7px; }
.b3-pointer-3 { left: 89.0px; top: 571.5px; width: 236.5px; height: 156.5px; }
.b3-label-1 { left: 460px; top: 336px; width: 150px; }
.b3-label-2 { left: 79px;  top: 115px; width: 160px; }
.b3-label-3 { left: 62px;  top: 741px; width: 80px; }

/* галерея LUCIA */
.lg-photo-1 { left: 34px;    top: 711.6px; width: 413.9px; height: 574px; }
.lg-photo-2 { left: 718px;   top: 697px;   width: 692px;   height: 508.8px; }
.lg-photo-3 { left: 386.7px; top: 981px;   width: 411.3px; height: 570.4px; }
.lg-pointer-1 { left: 524.0px; top: 868.0px; width: 90.5px; height: 212.0px; }
.lg-pointer-2 { left: 903.5px; top: 935.0px; width: 154.5px; height: 280.0px; }
.lg-frame-label { left: 625px; top: 856px; }
.lg-item { left: 939px; top: 1229px; }

/* ============ ЭТАП 07: блок 04 GAGAAT ============ */
.b4-herotext { left: 500px; top: 334px; }
.b4-item-1 { left: 929px;    top: 550.2px; width: 348px;   height: 269.5px; }
.b4-item-2 { left: 1151.1px; top: 357px;   width: 267.8px; height: 240px; }
.b4-glasses { left: 1046px; top: 2px; width: 370px; height: 370px; }
.b4-pointer-1 { left: 860.0px; top: 679.7px; width: 110.0px; height: 56.5px; }
.b4-pointer-2 { left: 1057.0px; top: 411.5px; width: 171.0px; height: 93.5px; }
.b4-pointer-3 { left: 928.0px; top: 98.5px; width: 236.5px; height: 156.5px; }
.b4-label-1 { left: 796px;  top: 748px; width: 140px; }
.b4-label-2 { left: 986px; top: 357px; width: 150px; } /* «РЕЗОНАТОР» длиннее «МАГНИТА» — левее, чтобы не уходить под кольцо */
.b4-label-3 { left: 900px;  top: 268px; width: 130px; }

/* галерея GAGAAT (1440x1523) */
.gg-photo-1 { left: 18px;    top: 825px;   width: 471.2px; height: 653.4px; }
.gg-photo-2 { left: 727.2px; top: 995.6px; width: 692px;   height: 508.8px; }
.gg-photo-3 { left: 432.9px; top: 690px;   width: 411.3px; height: 570.4px; }
.gg-pointer-1 { left: 316.0px; top: 954.0px; width: 205.5px; height: 376.0px; }
.gg-pointer-2 { left: 691.0px; top: 860.0px; width: 236.0px; height: 112.7px; }
.gg-frame-label { left: 534px; top: 1311px; }
.gg-item { left: 925px; top: 786px; }

@media (max-width: 700px) {
  .stage-block, .divider { display: none; } /* мобильные блоки — после MOB (WIP) */
}

/* ============ ЭТАП 08: VHS / магазин / карта / кредиты ============ */

/* VHS-контейнер 1400x700 (2:1), центр */
#vhs .plate-block { height: 700px; }
.vhs-video {
  position: absolute;
  left: 20px;
  top: 0;
  width: 1400px;
  height: 700px;
  object-fit: cover;
}

/* магазин: карточки 380x241, точки переключают ракурс */
.shop-card { position: absolute; width: 380px; height: 241px; }
.shop-img {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 360px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-img img { max-width: 100%; max-height: 100%; transition: opacity 0.3s ease-in-out; }
.shop-titlerow {
  position: absolute;
  left: 0;
  right: 0;
  top: 180px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.shop-dots { height: 20px; cursor: pointer; }
.shop-name {
  text-shadow: 0 0 8px rgba(255,255,255,0.45);
  font-family: var(--verdana-ext);
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.shop-btns {
  position: absolute;
  left: 0;
  right: 0;
  top: 218px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.shop-btns a {
  font-family: var(--led);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}
.shop-btns a:hover { color: #fff; }

/* карта: окно 1182x643 @129,104, пан слоя по мыши */
.map-window {
  position: absolute;
  left: 129px;
  top: 104px;
  width: 1182px;
  height: 643px;
  overflow: hidden;
}
.map-layer {
  position: absolute;
  left: -226px;
  top: -359px;
  width: 1634px;
  height: 1361px;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.4s ease-out;
}
.map-text {
  position: absolute;
  left: 441px;
  top: 214px;
  width: 300px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 18.4px;
  text-align: center;
  color: var(--ink);
}
.map-cta {
  position: absolute;
  left: 502px;
  top: 381px;
  width: 177px;
  height: 36px;
  transition: filter 0.15s ease-in-out;
}
.map-cta img { width: 100%; height: 100%; }
.map-cta:hover { filter: brightness(1.3); }
.map-border { position: absolute; pointer-events: none; }
.map-border-1 { left: 109px;  top: 58px;  width: 266px; height: 148px; }
.map-border-2 { left: 1223px; top: 551px; width: 170px; height: 217px; }
.map-border-3 { left: 358px;  top: 738px; width: 162px; height: 31px; }

/* кредиты 1440x339 */
#credits .plate-block { height: 339px; }
.cr-logo { position: absolute; left: 596px; top: 2px; width: 249px; height: 157px; }
.cr-brand { position: absolute; left: 600px; top: 142px; width: 238px; text-align: center; }
.cr-copy { font-family: var(--led); font-size: 10px; color: #fff; text-transform: uppercase; }
.cr-links { margin: 4px -60px 0; white-space: nowrap; font-family: var(--led); font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; } /* поля наружу: [Telegram] длиннее [email], строка не должна переноситься */
.cr-links a { color: inherit; text-decoration: none; transition: color 0.15s ease-in-out; }
.cr-links a:hover { color: #fff; }
/* юридические ссылки подвала — как ссылки соцсетей: цвет текста, белеют при наведении */
.cr-policies a, .m-cr-policies a { color: inherit; text-decoration: none; transition: color 0.15s ease-in-out; }
.cr-policies a:hover, .m-cr-policies a:hover { color: #fff; }
.cr-credits {
  position: absolute;
  left: 464px;
  top: 192px;
  width: 511px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 14.4px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}
.cr-legal { position: absolute; left: 130px; top: 343px; width: 1179px; }
.cr-pye-abs { position: absolute; left: 737px; top: 333px; width: 50px; height: 16px; } /* PYE LOGO op .2 запечён в рендере */

.cr-legal p {
  font-family: var(--led);
  font-size: 8px;
  line-height: 10.4px;
  text-align: center;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  -webkit-text-stroke: 0.3px currentColor;
}
.cr-policies {
  position: absolute;
  left: 567px;
  top: 378px;
  width: 305px;
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: 9px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* декоративные оверлеи не должны перехватывать курсор (ховер/клик по сферам и кольцам) */
.b1-pointer, .g-pointer, .b1-label, .b1-gears, .g-frame-label,
img[src*="assets/bignum-"] { pointer-events: none; }
