/* =====================
   Pages: local styles
   Used by all internal pages inside /pages

   Main idea:
   page-grid      — 12-column grid
   page-photo     — image/video frame
   page-info      — transparent text card
   page-divider   — full-width section divider
   frame-1..9     — fixed Figma frame proportions
===================== */

/* =====================
   Page flow
===================== */
.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* =====================
   Page hero
===================== */
.page-hero {
  position: relative;
  height: auto;
  min-height: clamp(320px, 27vw, 520px);
  /* One inline inset owns the hero axis; children add no horizontal spacing. */
  padding-block: 120px clamp(28px, 2.6vw, 50px);
  padding-inline: var(--section-content-inset);
  border-radius: var(--radius-xl);

  display: flex;
  align-items: flex-end;

  background: transparent;
  overflow: hidden;
}
.page-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 150px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
}
.page-hero__subtitle {
  margin: 0; 

  color: rgba(255, 255, 255, 0.75);


}
.page-back {
  position: absolute;
  top: 50px;
  left: var(--section-content-inset);

  width: 54px;
  height: 54px;
}
.page-back__icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity  0.3s ease;
  pointer-events: none;
}
.page-back__icon--default {
  opacity: 1;
}
.page-back__icon--hover {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
.page-back:hover .page-back__icon--default {
    opacity: 0;
  }
.page-back:hover .page-back__icon--hover {
    opacity: 1;
  }
}

/* Телефон — анимация непосредственно при нажатии */
@media (hover: none) and (pointer: coarse) {
.page-back:active .page-back__icon--default {
    opacity: 0;
  }
.page-back:active .page-back__icon--hover {
    opacity: 1;
  }
} 

/* =====================
   12-column grid
===================== */
.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(34px, 4.17vw, 80px), auto);
  gap: var(--gap);
  align-items: stretch;
}

/* Optional width helpers if a block needs manual sizing */
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

/* =====================
   Fixed frame presets from Figma
   Container width: 1900px, gap: 10px, 12 columns
===================== */

/* 1900×1080 */
.frame-1 {
  grid-column: span 12;
  grid-row: span 12;
}

/* 1263×713 */
.frame-2 {
  grid-column: span 8;
  grid-row: span 8;
}

/* 945×534 */
.frame-3 {
  grid-column: span 6;
  grid-row: span 6;
}

/* 468×331 */
.frame-4 {
  grid-column: span 3;
  grid-row: span 4;
}

/* 468×262 */
.frame-5 {
  grid-column: span 3;
  grid-row: span 3;
}

/* 945×672 */
.frame-6 {
  grid-column: span 6;
  grid-row: span 8;
}

/* 1900×534 */
.frame-7 {
  grid-column: span 12;
  grid-row: span 6;
}

/* 627×712 */
.frame-8 {
  grid-column: span 4;
  grid-row: span 8;
}

/* 627×627 */
.frame-9 {
  grid-column: span 4;
  grid-row: span 7;
}

/* 308 × 309 */
.frame-10 {
  grid-column: span 2;
  grid-row: span 4;
}

/* 627 × 440 */
.frame-11 {
  grid-column: span 4;
  grid-row: span 5;
}

/* 546 × 712 */
.frame-12 {
  grid-column: span 4;
  grid-row: span 8;
}
.showcase-frame-8 {
  grid-column: 1 / -1;
  aspect-ratio: 1800 / 330;
}
.place {
  grid-column: var(--col);
  grid-row: var(--row);
}

/* =====================
   Photo / video frame
===================== */
.page-photo,
.page-card,
.page-video {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: transparent;
}
.page-photo img,
.page-photo video,
.page-card img,
.page-card video,
.page-video img,
.page-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: brightness(0.8);
  transition: filter 0.35s ease;
}
.page-photo:hover img,
.page-photo:hover video,
.page-card:hover img,
.page-card:hover video,
.page-video:hover img,
.page-video:hover video {
  filter: brightness(1);
}
.page-photo::after,
.page-card::after,
.page-video::after,
.page-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.4),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.60),
    inset -3px -8px 1px -6px rgba(255, 255, 255, 0.2);
}
.photo-zoom-102 img {
  transform: scale(1.02);
}
.photo-zoom-105 img {
  transform: scale(1.05);
}
.photo-zoom-108 img {
  transform: scale(1.08);
}

/* =====================
   Photo frame with text
===================== */
.page-photo__text,
.page-card__text {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;

  width: 100%;
  padding: 0 32px;

  transform: translate(-50%, -50%);

  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.35s ease;

  text-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
}
.page-photo:hover .page-photo__text,
.page-card:hover .page-card__text {
  color: rgba(255, 255, 255, 1);
}
.page-photo__title,
.page-card__title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.page-photo__subtitle,
.page-card__subtitle {
  margin-top: 14px;

  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}

/* =====================
   Transparent text card
===================== */
.page-info,
.page-text-card {
  padding: 44px 54px;
  border-radius: 30px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  overflow: visible;
  min-width: 0;
}
.page-info h2,
.page-text-card h2 {
  margin: 0;

  
  
  
  
  text-transform: uppercase;
  color: #77adff;
}
.page-info__body {
  margin-top: 110px;
}
.page-info p,
.page-text-card p {
  margin: 0 0 18px 0;

  color: rgba(255, 255, 255, 0.8);
}
.page-info p:last-child,
.page-text-card p:last-child {
  margin-bottom: 0;
}
.page-info p.page-info__accent {
  
  
  color: #00e5ff;
}

/* =====================
   Section divider
===================== */
.page-divider,
.page-section {
  grid-column: 1 / -1;
  min-height: 160px;
  padding: 34px 54px;
  border-radius: 30px;

  display: flex;
  align-items: center;

  overflow: hidden;
  grid-row: span 2;
}
.page-divider h2,
.page-section h2 {
  margin: 0;

  
  
  
  
  text-transform: uppercase;
  color: #77adff;
}

/* =====================
   Вертикальная прокрутка длинного изображения
===================== */
.vertical-scroll {
  position: relative;
  width: 100%;
}
.vertical-scroll__sticky {
  position: sticky;
  top: 10px;

  width: 100%;
  height: calc(100vh - 20px);

  overflow: hidden;
}
.vertical-scroll__frame {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;
  border-radius: 30px;
}
.vertical-scroll__image {
  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 100%;
  height: auto;
  max-height: none;

  object-fit: initial;
  object-position: top center;

  filter: brightness(0.8);

  transform: translate3d(0, 0, 0);
  will-change: transform;

  transition:
    filter 0.3s ease,
    transform 0.1s linear;
}
.vertical-scroll__frame:hover .vertical-scroll__image {
  filter: brightness(1);
}

/* Стеклянная рамка */
.vertical-scroll__frame::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  border-radius: inherit;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.4),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.6),
    inset -3px -8px 1px -6px rgba(255, 255, 255, 0.2);
}

/* =====================
   page-divider--large
===================== */
.page-divider--large {
  width: 100%;
  min-height: 213px;
  box-sizing: border-box;

  padding: 38px 48px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 30px;

  grid-row: auto;
  overflow: hidden;
}
.page-divider--large .page-divider__title--large {
  
  
  
  
  letter-spacing: 0;

  color: #77adff;
  text-transform: uppercase;
}
.page-divider--large .page-divider__text--large {
  max-width: 1100px;

  margin: 30px 0 0;

  letter-spacing: 0;

  color: rgba(255, 255, 255, 0.78);
}

/* =====================
   Project showcase
   Информационный блок + галерея
===================== */
.project-showcase {
  width: 100%;
  box-sizing: border-box;

  padding: 38px 50px 50px;

  display: flex;
  flex-direction: column;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;


  overflow: hidden;
}

/* Верхняя информационная часть */
.project-showcase__header {
  width: 100%;
  margin-bottom: 38px;
}
.project-showcase__title {
  margin: 0;

  
  
  
  
  letter-spacing: 0;

  color: #77adff;
  text-transform: uppercase;
}
.project-showcase__text {
  max-width: 1100px;

  margin: 30px 0 0;

  letter-spacing: 0;

  color: rgba(255, 255, 255, 0.78);
}

/* =====================
   Единая рамка: текст + vertical scroll
===================== */
.vertical-scroll--showcase {
  position: relative;
  width: 100%;
}
.vertical-scroll--showcase .vertical-scroll__sticky {
  position: sticky;
  top: 10px;

  width: 100%;
  height: calc(100vh - 20px);

  overflow: hidden;
}


/* Единая внешняя рамка */
.vertical-scroll--showcase .project-showcase--scroll {
  position: relative;

  width: 100%;
  height: 100%;

  box-sizing: border-box;

  padding: 38px 50px 50px;

  display: flex;
  flex-direction: column;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;

  background: transparent;

  overflow: hidden;
}


/* Убираем дополнительные рамки */
.vertical-scroll--showcase .project-showcase--scroll::after,
.vertical-scroll--showcase .project-showcase__header::after,
.vertical-scroll--showcase .vertical-scroll__frame::after {
  display: none;
}


/* Заголовок + описание */
.vertical-scroll--showcase .project-showcase__header {
  position: relative;

  flex: 0 0 auto;

  width: 100%;

  margin: 0 0 38px;
  padding: 0;

  border: none;
  border-radius: 0;

  background: transparent;

  overflow: visible;
}


/* Заголовок */
.vertical-scroll--showcase .project-showcase__title {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}


/* Текст */
.vertical-scroll--showcase .project-showcase__text {
  max-width: 1100px;

  margin: 30px 0 0;

  color: rgba(255, 255, 255, 0.78);
}


/* Область изображения */
.vertical-scroll--showcase .vertical-scroll__frame {
  position: relative;

  flex: 1 1 auto;

  width: 100%;
  min-height: 0;

  margin: 0;

  border: none;
  border-radius: 24px;

  background: transparent;

  overflow: hidden;
}


/* Длинное изображение */
.vertical-scroll--showcase .vertical-scroll__image {
  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 100%;
  height: auto;
  max-height: none;

  margin: 0;

  object-fit: initial;
  object-position: top center;

  border-radius: 0;

  filter: brightness(0.8);

  transform: translate3d(0, 0, 0);

  will-change: transform;

  transition:
    filter 0.3s ease,
    transform 0.1s linear;
}


/* Осветление при наведении */
.vertical-scroll--showcase
.vertical-scroll__frame:hover
.vertical-scroll__image {
  filter: brightness(1);
}

/* =====================
   Внутренняя сетка
===================== */
.project-showcase__gallery,
.showcase-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;

  gap: 10px;
}

/* =====================
   Общий вид фотографии
===================== */
.project-showcase__photo {
  position: relative;

  min-width: 0;
  min-height: 0;

  margin: 0;

  border-radius: 24px;
  overflow: hidden;

  cursor: zoom-in;
}
.project-showcase__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  filter: brightness(0.92);

  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}
.project-showcase__photo:hover img {
  filter: brightness(1);
}

/* Стеклянная рамка поверх фото */
.project-showcase__photo::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  border-radius: inherit;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.4),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.6),
    inset -3px -8px 1px -6px rgba(255, 255, 255, 0.2);
}

/* =====================
   Размеры рамок
===================== */

/* 586 × 462 */
.showcase-frame-1 {
  grid-column: span 4;
  aspect-ratio: 586 / 462;
}

/* 1193 × 462 */
.showcase-frame-2 {
  grid-column: span 8;
  aspect-ratio: 1193 / 462;
}

/* 586 × 939 */
.showcase-frame-3 {
  grid-column: span 4;
  aspect-ratio: 586 / 939;
}

/* 1800 × 939 */
.showcase-frame-4 {
  grid-column: 1 / -1;
  aspect-ratio: 1800 / 939;
}

/* 1800 × 1289 */
.showcase-frame-5 {
  grid-column: 1 / -1;
  aspect-ratio: 1800 / 1289;
}

/* 953 × 729 */
.showcase-frame-6 {
  grid-column: span 6;
  aspect-ratio: 953 / 729;
}

/* 890 × 748 */
.showcase-frame-7 {
  grid-column: span 6;
  aspect-ratio: 890 / 748;
}

/* =====================
   Дополнительные варианты
===================== */

/* Полная ширина без сохранения конкретной пропорции */
.showcase-frame-full {
  grid-column: 1 / -1;
}

/* Фото на половину ширины */
.showcase-frame-half {
  grid-column: span 6;
}

/* Фото на треть ширины */
.showcase-frame-third {
  grid-column: span 4;
}

/* Фото на две трети ширины */
.showcase-frame-two-thirds {
  grid-column: span 8;
}

/* Используй, когда изображение должно полностью заполнить рамку */
.project-showcase__photo--cover img {
  object-fit: cover;
}

/* Используй, когда готовое изображение должно растянуться точно по рамке */
.project-showcase__photo--fill img {
  object-fit: contain;
}

/* Белый фон */
.project-showcase__photo--light {
  background: #ffffff;
}

/* Тёмный фон */
.project-showcase__photo--dark {
  background: #202020;
}

/* Без затемнения изображения */
.project-showcase__photo--clear img {
  filter: none;
}
.project-showcase__photo--clear:hover img {
  filter: none;
}

/* =====================
   Slider-like frame
   Static visual block for now
===================== */
.page-slider {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: transparent;
}
.page-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: brightness(0.8);
  transition: filter 0.35s ease;
}
.page-slider:hover img {
  filter: brightness(1);
}
.page-slider__text {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 1;

  width: 100%;
  padding: 0 80px;

  transform: translateX(-50%);

  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.35s ease;

  text-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
}
.page-slider:hover .page-slider__text {
  color: rgba(255, 255, 255, 1);
}
.page-slider__title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.page-slider__subtitle {
  margin-top: 14px;

  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}
.page-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;

  width: 54px;
  height: 54px;

  border: none;
  background: transparent;
  cursor: pointer;

  transform: translateY(-50%);
}
.page-slider__arrow--prev {
  left: 32px;
}
.page-slider__arrow--next {
  right: 32px;
}
.page-slider__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 18px;
  height: 18px;

  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-radius: 2px;

  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.page-slider__arrow:hover::before {
  opacity: 1;
}
.page-slider__arrow--prev::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.page-slider__arrow--next::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

/* =====================
   Project navigation
===================== */
.project-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr);
  gap: var(--gap);
}
.project-nav__button,
.project-nav__title {
  min-height: 70px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.project-nav__button {
  padding: 0 32px;
  gap: 28px;

  white-space: nowrap;

  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}
.project-nav__button:hover {
  --glass-bg: #0E5CE2;
  color: #ffffff;
}
.project-nav__label {
  display: block;
  white-space: nowrap;
}
.project-nav__icons {
  position: relative;

  width: 24px;
  height: 24px;

  flex: 0 0 24px;
}
.project-nav__icon {
  position: absolute;
  inset: 0;

  width: 24px;
  height: 24px;

  display: block;
  object-fit: contain;

  transition: opacity 0.25s ease;
}
.project-nav__icon--default {
  opacity: 1;
}
.project-nav__icon--hover {
  opacity: 0;
}
.project-nav__button:hover .project-nav__icon--default {
  opacity: 0;
}
.project-nav__button:hover .project-nav__icon--hover {
  opacity: 1;
}
.project-nav__title {
  padding: 0 32px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  pointer-events: none;
}


/* =====================
   Карточка следующего проекта
===================== */
.project-preview {
  width: 100%;

  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;

  color: inherit;
  text-decoration: none;
}
.project-preview__content {
  position: relative;

  min-height: 308px;
  padding: 0;

  border-radius: 30px;
  overflow: hidden;
}
.project-preview__title {
  position: absolute;
  top: 50px;
  left: 50px;

  margin: 0;

  letter-spacing: 0;

  color: #ffffff;
  text-transform: uppercase;
}
.project-preview__subtitle {
  position: absolute;
  left: 50px;
  bottom: 50px;

  margin: 0;

  color: rgba(255, 255, 255, 0.72);
}
.project-preview__title {
  color: #ffffff;
}
.project-preview__title-accent {
  color: #77adff;
}
.project-preview__arrow {
  position: absolute;
  right: 50px;
  bottom: 50px;

  width: 54px;
  height: 54px;
}
.project-preview__arrow-icon {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;

  transition: opacity 0.25s ease;
}
.project-preview__arrow-icon--default {
  opacity: 1;
}
.project-preview__arrow-icon--hover {
  opacity: 0;
}
.project-preview:hover .project-preview__arrow-icon--default {
  opacity: 0;
}
.project-preview:hover .project-preview__arrow-icon--hover {
  opacity: 1;
}
.project-preview__photo {
  width: 100%;
  height: 100%;

  border-radius: 30px;
  overflow: hidden;
}
.project-preview__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: brightness(0.78);

  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}
.project-preview:hover .project-preview__photo img {
  filter: brightness(1);
  transform: scale(1.02);
}

/* =====================
   Lightbox
===================== */
.page-photo,
.page-slider__slide {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox__image {
  max-width: 96vw;
  max-height: 94vh;

  width: auto;
  height: auto;

  object-fit: contain;
  border-radius: 18px;

  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
}
.lightbox__mobile-track {
  display: none;
}

/* Общие стили кнопок */
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  z-index: 5;

  width: 72px;
  height: 72px;

  padding: 0;
  border: none;
  border-radius: 0;

  cursor: pointer;
  background: transparent;
}

/* Кнопка закрытия */
.lightbox__close {
  top: 24px;
  right: 28px;
}
.lightbox__close-icon {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  transform: translate(-50%, -50%);

  transition: opacity 0.25s ease;
}

/* Стрелки */
.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__arrow--prev {
  left: 28px;
}
.lightbox__arrow--next {
  right: 28px;
}
.lightbox__arrow-icon {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 100%;
  height: 100%;
  object-fit: contain;

  display: block;

  transform: translate(-50%, -50%);

  transition: opacity 0.25s ease;
}

/* Обычные и hover-иконки */
.lightbox__close-icon--default,
.lightbox__arrow-icon--default {
  opacity: 1;
}
.lightbox__close-icon--hover,
.lightbox__arrow-icon--hover {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
.lightbox__close:hover .lightbox__close-icon--default,
.lightbox__arrow:hover .lightbox__arrow-icon--default {
    opacity: 0;
  }
.lightbox__close:hover .lightbox__close-icon--hover,
.lightbox__arrow:hover .lightbox__arrow-icon--hover {
    opacity: 1;
  }
}

/* =====================
   Page slider
===================== */
.page-slider {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
}
.page-slider__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.page-slider__slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.75s;
}
.page-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.page-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 6px;

  transform: translateX(-50%);
}
.page-slider__dot {
  width: 6px;
  height: 6px;

  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.45);

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}
.page-slider__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.page-slider__dot.is-active {
  background: #0e5ce2;
  transform: scale(1.15);
}
.page-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  border-radius: inherit;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.4),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.6);
}
.page-photo--catalog-main {
  background: #d9ded8;
}
.page-photo--catalog-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* =====================
   Site button
===================== */
.page-info__button--polytechnic {
  width: 160px;
  min-width: 160px;

  height: 40px;
  min-height: 40px;

  flex: 0 0 40px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: auto;
  padding: 0;

  box-sizing: border-box;

  border: none;
  border-radius: 20px;

  background: #0e5ce2;

  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;

  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  box-shadow: none;
  filter: none;
  transition: background-color 0.2s ease;
}
.page-info__button--polytechnic:hover {
  background: #0b50c7;
}
.page-info__button--polytechnic:active {
  background: #0945ad;
}

/* =====================
   Horizontal scroll
===================== */
.horizontal-scroll {
  position: relative;
  width: 100%;
}
.horizontal-scroll__sticky {
  position: sticky;
  top: 10px;

  width: 100%;
  height: calc(100vh - 20px);

  display: flex;
  align-items: center;

  overflow: hidden;
}
.horizontal-scroll__frame {
  position: relative;

  width: 100%;
  aspect-ratio: 1900 / 1080;

  max-height: calc(100vh - 20px);

  overflow: hidden;
  border-radius: 30px;
  background: transparent;
}
.horizontal-scroll__track {
  position: relative;
  z-index: 1;

  width: max-content;
  height: 100%;

  display: flex;
  align-items: stretch;

  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.horizontal-scroll__image {
  display: block;

  width: auto;
  max-width: none;
  height: 100%;

  object-fit: contain;
  flex: 0 0 auto;
}

/* Светлая стеклянная рамка поверх фото */
.horizontal-scroll__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  border-radius: inherit;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.4),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.6),
    inset -3px -8px 1px -6px rgba(255, 255, 255, 0.2);
}

/* =====================
   Horizontal scroll — 2 отдельных фрейма
===================== */
.horizontal-scroll--cards .horizontal-scroll__sticky {
  position: sticky;
  top: 10px;

  width: 100%;
  height: calc(100vh - 20px);

  display: flex;
  align-items: center;

  overflow: hidden;
}

/* Технический общий контейнер для JS */
.horizontal-scroll--cards .horizontal-scroll__frame--cards {
  width: 100%;
  height: 100%;

  max-height: none;
  aspect-ratio: auto;

  overflow: hidden;

  border: none;
  border-radius: 0;

  background: transparent;
  box-shadow: none;
}

/* Убираем общую стеклянную рамку */
.horizontal-scroll--cards .horizontal-scroll__frame--cards::after {
  display: none;
}

/* Лента, которая двигается влево */
.horizontal-scroll--cards .horizontal-scroll__track {
  width: max-content;
  height: 100%;

  display: flex;
  align-items: center;

  gap: 10px;

  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Отдельный фрейм */
.horizontal-scroll--cards .horizontal-scroll__card {
  position: relative;

  height: calc(100vh - 40px);
  aspect-ratio: 1423 / 1068;
  width: auto;

  flex: 0 0 auto;

  border-radius: 30px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.04);
}

/* Картинка внутри отдельного фрейма */
.horizontal-scroll--cards .horizontal-scroll__card img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  border-radius: inherit;

  filter: brightness(0.82);
  transition: filter 0.35s ease;
}

/* Осветление при наведении */
.horizontal-scroll--cards .horizontal-scroll__card:hover img {
  filter: brightness(1);
}

/* Стеклянная рамка поверх каждого фото */
.horizontal-scroll--cards .horizontal-scroll__card::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  pointer-events: none;

  border-radius: inherit;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.45),
    inset -2px -2px 0 -2px rgba(255, 255, 255, 0.55);
}

/* =====================
   Страница оформления выставки
===================== */
.exhibition-intro {
  grid-column: 1 / -1;
  grid-row: span 2;

  min-height: 160px;
  padding: 34px 54px;
  border-radius: 30px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;

  overflow: hidden;
}
.exhibition-intro h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.exhibition-intro p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--exhibition {
  padding: 34px 40px;
}
.page-info--exhibition > h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--exhibition .page-info__body {
  margin-top: 30px;
}
.exhibition-item {
  margin-bottom: 14px;
}
.exhibition-item:last-child {
  margin-bottom: 0;
}
.exhibition-item h3 {
  margin: 0 0 3px;

  
  

  color: #00e5ff;
  text-transform: uppercase;
}
.exhibition-item p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}
.page-video--vertical video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-video--vertical video:fullscreen,
.page-video--vertical video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  background: #000;
}

/* =====================
   ПРЕЗЕНТАЦИОННЫЕ МАТЕРИАЛЫ
===================== */
.page-hero__title--presentations {
  font-size: 130px;
  line-height: 0.98;
}
.presentations-vertical-mobile {
  display: none;
}

/* =====================
   КПР
===================== */
.page-hero__title--complex-print {
  font-size: 90px;
  line-height: 1;
  transform: translateY(-30px);
}
.complex-print-cards-mobile-slider {
  display: none;
}

/* =====================
   Страница конференции
===================== */
.conference-intro {
  grid-column: 1 / -1;
  grid-row: span 2;

  min-height: 160px;
  padding: 34px 54px;
  border-radius: 30px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;

  overflow: hidden;
}
.conference-intro h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.conference-intro p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--conference {
  padding: clamp(24px, 2.2vw, 34px)
           clamp(28px, 2.6vw, 40px);

  display: flex;
  flex-direction: column;
}
.page-info--conference > h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--conference .page-info__body {
  margin-top: auto;
}
.conference-item {
  margin-bottom: clamp(8px, 0.75vw, 14px);
}
.conference-item:last-child {
  margin-bottom: 0;
}
.conference-item h3 {
  margin: 0 0 3px;

  
  

  color: #00e5ff;
  text-transform: uppercase;
}
.conference-item p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 769px) {
.anniversary-page .page-info.frame-8 > h2 + p {
    margin-top: 12px;
  }
}

/* =====================
   Страница выставки Новосибирск
===================== */
.expo-intro {
  grid-column: 1 / -1;
  grid-row: span 2;

  min-height: 160px;
  padding: 34px 54px;
  border-radius: 30px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;

  overflow: hidden;
}
.expo-intro h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.expo-intro p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}
.page-hero__title--expo {
  font-size: 130px;
  margin-bottom: 3px;
}

/* =====================
   Научных достижений селекционных центров
===================== */
.page-info--catalog {
  padding: 36px 44px;
}
.page-info--catalog h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--catalog .page-info__body {
  margin-top: auto;
}
.page-info--catalog p {
  margin-bottom: 16px;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--catalog .page-info__accent {
  margin: 0 0 16px;

  color: #00e5ff;
}
.page-info--catalog p:last-child {
  margin-bottom: 0;
}
.catalog-mobile-slider {
  display: none;
}

/* =====================
   Буклет стратегии ДНТП
===================== */
.page-info--booklet {
  padding: 44px 54px;
}
.page-info--booklet h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--booklet .page-info__body {
  margin-top: 42px;
}
.page-info--booklet p {
  margin-bottom: 16px;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--booklet .page-info__accent {
  margin-bottom: 4px;

  color: #00e5ff;
}
.page-info--booklet p:last-child {
  margin-bottom: 0;
}

/* =====================
   Страница Aramco
===================== */
.page-info--aramco {
  padding: clamp(28px, 2.8vw, 44px) clamp(30px, 3.4vw, 54px);
}
.page-info--aramco h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--aramco .page-info__body {
  margin-top: auto;
}
.page-info--aramco p {
  margin-bottom: clamp(10px, 1vw, 16px);

  color: rgba(255, 255, 255, 0.8);
}
.page-info--aramco p:last-child {
  margin-bottom: 0;
}

/* =====================
   Общественный запрос на науку
===================== */
.page-info--science-request {
  padding: 44px 54px;
}
.page-info--science-request h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--science-request .page-info__body {
  margin-top: auto;
}
.page-info--science-request p {
  margin-bottom: 16px;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--science-request p:last-child {
  margin-bottom: 0;
}

/* =====================
   Страница брендбука ДНТП
===================== */
.page-info--brandbook {
  padding: clamp(28px, 2.8vw, 44px) clamp(30px, 3.4vw, 54px);
}
.page-info--brandbook h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--brandbook .page-info__body {
  margin-top: auto;
}
.page-info--brandbook p {
  margin-bottom: clamp(8px, 0.8vw, 16px);

  color: rgba(255, 255, 255, 0.8);
}
.page-info--brandbook p:last-child {
  margin-bottom: 0;
}
.brandbook-mobile-slider {
  display: none;
}

/* =====================
   Страница Аллеи Конгресса
===================== */
.page-info--exhibition-alley {
  padding: 44px 54px;
}
.page-info--exhibition-alley h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--exhibition-alley .page-info__body {
  margin-top: auto;
}
.page-info--exhibition-alley p {
  margin-bottom: 16px;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--exhibition-alley p:last-child {
  margin-bottom: 0;
}

/* =====================
   Страница билбордов
===================== */
.page-info--billboards {
  padding: clamp(28px, 2.8vw, 44px)
           clamp(30px, 3.4vw, 54px);
}
.page-info--billboards h2 {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--billboards {
  display: flex;
  flex-direction: column;
}
.page-info--billboards .page-info__body {
  margin-top: auto;
}
.page-info--billboards p {
  margin-bottom: clamp(8px, 0.8vw, 16px);

  color: rgba(255, 255, 255, 0.8);
}
.page-info--billboards p:last-child {
  margin-bottom: 0;
}

/* =====================
   Horizontal scroll gallery
===================== */
.scroll-gallery {
  position: relative;

  width: 100%;
  min-width: 0;
  margin: 0;
}
.scroll-gallery__sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;

  overflow: hidden;
}
.scroll-gallery__track {
  display: flex;
  align-items: stretch;
  gap: var(--gap);

  width: max-content;
  min-width: max-content;
  height: 100%;

  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.scroll-gallery__item {
  flex: 0 0 auto;

  width: auto;
  height: 100%;

  aspect-ratio: 546 / 712;
}
.scroll-gallery__item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =====================
   Digital среда
===================== */
.page-hero__title--digital {
  max-width: 1700px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 130px;
  font-weight: 600;
  text-transform: uppercase;
}
.page-info--digital {
  padding: clamp(28px, 2.8vw, 44px)
           clamp(30px, 3.4vw, 54px);

  display: flex;
  flex-direction: column;
}
.page-info--digital .page-info__title--digital {
  margin: 0;

  
  

  color: #77adff;
  text-transform: uppercase;
}
.page-info--digital .page-info__body--digital {
  margin-top: auto;
}
.digital-info__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;

  margin-bottom: 26px;
}
.digital-info__item:last-child {
  margin-bottom: 0;
}
.digital-info__number {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;

  color: #77adff;
}
.page-info--digital .digital-info__item p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}
.page-info--digital .digital-info__item strong {
  font-weight: 700;
  color: #77adff;
}

/* =====================
   Разработка триптиха
===================== */
.page-hero--strategic {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.page-hero__title--strategic {
  font-family: var(--font-heading);
  font-size: 90px;
  font-weight: 600;
}
.page-info__body--strategic {
  max-width: none;
  margin-top: auto;

}
.page-info__logo img {
  display: block;

  width: 263px;
  height: auto;

  object-fit: contain;
}
.strategic-source {
  margin-top: clamp(8px, 1vw, 20px);

  font-family: var(--font-body);
  font-size: clamp(9px, 0.7vw, 14px);
  font-weight: 300;
  line-height: 1.1;

  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 769px) {
.strategic-page .page-video.frame-2 {
  align-self: start;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}
.strategic-page .page-info.frame-8 {
  padding: clamp(26px, 2.5vw, 44px)
           clamp(28px, 3vw, 54px);
}
}

/* =====================
   Политехнический музей
===================== */
.page-hero--polytechnic {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.page-hero__title--polytechnic {
  font-family: var(--font-heading);
  font-size: clamp(72px, 7vw, 120px);
  font-weight: 600;
  text-transform: uppercase;
}
.page-info .page-info__title--polytechnic {
  
  
  
  text-transform: uppercase;
  
}
.page-info__body--polytechnic {
  margin-top: auto;

}

/* =====================
   Буклет «Технологии реагирования и очистки территорий в зоне чрезвычайных ситуаций»
===================== */
.page-hero--reference {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.page-hero__title--reference {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 130px;
  font-weight: 600;
  letter-spacing: 0;

  color: #ffffff;
  text-transform: uppercase;
}
.page-hero__subtitle--reference {

  color: rgba(255, 255, 255, 0.8);
} 

/* =====================
   Трансстрой-поволжье
===================== */
.page-hero__title--transstroy {
  font-family: var(--font-heading);
  font-size: 130px;
  font-weight: 600;
  line-height: 130px;
  letter-spacing: 0;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.transstroy-mobile-slider {
  display: none;
}

/* =====================
   Vesta irus
===================== */
.page-hero--vesta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.page-hero__title--vesta {
  font-family: var(--font-heading);
  font-size: 130px;
  font-weight: 600;
  line-height: 130px;
  letter-spacing: 0;

  color: #ffffff;
  text-transform: uppercase;
}
.page-hero__subtitle--vesta {

  letter-spacing: 0;
}

/* Vesta helpers: neutral on desktop so the original grid stays intact. */
.vesta-polygraphy__media,
.vesta-mobile-slider {
  display: contents;
}
.vesta-mobile-slider__dots,
.vesta-packaging__more {
  display: none;
}

/* Content must contribute to grid sizing, even when it spans several rows. */
.page-grid > *,
.page-hero__text,
.page-hero__content { min-width: 0; }
.page-info,
.page-text-card { overflow-wrap: anywhere; }
.page-info > *,
.page-text-card > * { flex-shrink: 0; }
.page-hero__title { overflow-wrap: anywhere; max-width: 100%; }
.page-info__logo img { max-width: 100%; height: auto; }
.project-preview__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: space-between;
  align-items: end;
  gap: 24px;
  padding: clamp(24px, 2.6vw, 50px);
  overflow: visible;
}
.project-preview__title,
.project-preview__subtitle,
.project-preview__arrow {
  position: static;
  min-width: 0;
}
.project-preview__title { grid-column: 1 / -1; overflow-wrap: anywhere; }
.project-preview__subtitle { grid-column: 1; overflow-wrap: anywhere; }
.project-preview__arrow { position: relative; right: auto; bottom: auto; grid-column: 2; justify-self: end; }
.project-preview__photo { min-width: 0; min-height: 0; }
.project-nav__button,
.project-nav__title { min-width: 0;  }
.project-nav__button { padding: 12px clamp(10px, 1.6vw, 32px); gap: clamp(8px, 1.2vw, 24px); }
.project-nav__label { white-space: normal; text-align: center; }
.project-nav .project-nav__title { white-space: normal; overflow: visible; text-align: center; padding: 12px 20px; }
.project-nav__button:focus-visible .project-nav__icon--default { opacity: 0; }
.project-nav__button:focus-visible .project-nav__icon--hover { opacity: 1; }
.page-video video { object-fit: contain; }
.page-grid > .page-video.frame-1 {
  grid-row: auto;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: none;
  min-height: 0;
}
.page-video--vertical video { object-fit: contain; }

@media (min-width: 769px) {
.page-hero__title { font-size: clamp(48px, 7.8vw, 150px); line-height: 1.02; }
.page-hero__title--presentations { font-size: clamp(48px, 6.3vw, 120px); }
.page-hero__title--digital,
.page-hero__title--expo,
.page-hero__title--reference,
.page-hero__title--transstroy,
.page-hero__title--vesta { font-size: clamp(48px, 6.3vw, 130px); line-height: 1.02; }
.page-hero__title--complex-print,
.page-hero__title--strategic {
    font-size: clamp(38px, 4.68vw, 90px); transform: none;
  }
.page-hero__title--polytechnic { font-size: clamp(40px, 5.8vw, 120px); }
.page-info,
.page-text-card { padding: clamp(24px, 2.3vw, 44px) clamp(24px, 2.8vw, 54px); }



.page-info__body { margin-top: clamp(24px, 5.7vw, 110px); }
.page-info--booklet .page-info__body { margin-top: clamp(24px, 2.2vw, 42px); }
.page-info--catalog .page-info__body { margin-top: auto; padding-top: 20px; }
.page-divider,
.page-section,
.conference-intro,
.expo-intro,
.exhibition-intro {
    overflow: visible;
    padding: clamp(24px, 1.8vw, 34px) clamp(24px, 2.8vw, 54px);
  }
.page-divider h2,
.page-section h2 {   overflow-wrap: anywhere; }

.conference-intro,
.expo-intro,
.exhibition-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.6vw, 70px); }
.conference-intro h2,
.expo-intro h2,
.exhibition-intro h2 {  overflow-wrap: anywhere; }

}
@media (min-width: 769px) and (max-width: 1100px) {
.page-grid > .page-info.frame-8 { grid-column: span 6; }
.page-grid > .page-info.frame-8 + :is(.page-photo,
.page-video).frame-2 { grid-column: span 6; }
.project-preview { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* vestairus/7.png has 4px transparent side fringes and an 8px export shadow
   below the 1920 x 3587 artwork. Map that artwork to the frame without
   changing its ratio or overwriting the source used by the gallery. */
.vesta-page .vertical-scroll--showcase .vertical-scroll__frame {
  background: #ffffff;
}
.vesta-page .vertical-scroll--showcase .vertical-scroll__image {
  width: calc(100% * 1928 / 1920);
  max-width: none;
  left: calc(-100% * 4 / 1920);
  clip-path: inset(0 0 calc(100% * 8 / 3595));
}

/* ==================================================
   SHARED MOBILE
================================================== */

@media (max-width: 768px) {
.page-main {
    gap: 6px;
  }
.page-hero,
.page-hero--polytechnic,
.page-hero--reference,
.page-hero--strategic,
.page-hero--vesta {
    width: 100%;
    height: auto;
    min-height: 158px;
    padding-block: 20px;
    border-radius: 20px;
  }
.page-back {
    top: 20px;
    width: 30px;
    height: 30px;
  }
.page-hero__text,
.page-hero__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-self: stretch;
  }
.page-hero__title {
    margin: 0;
    font-size: 42px;
    line-height: 0.98;
    transform: none;
  }
.page-hero__subtitle {
    max-width: 100%;
    margin: 6px 0 0;

  }
.page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 6px;
  }
.page-grid > *,
.page-grid .frame-1,
.page-grid .frame-2,
.page-grid .frame-3,
.page-grid .frame-4,
.page-grid .frame-5,
.page-grid .frame-6,
.page-grid .frame-7,
.page-grid .frame-8,
.page-grid .frame-9,
.page-grid .frame-10,
.page-grid .frame-11,
.page-grid .frame-12 {
    grid-row: auto;
  }
.page-grid .frame-1,
.page-grid .frame-2,
.page-grid .frame-3,
.page-grid .frame-6,
.page-grid .frame-7,
.page-grid .frame-8,
.page-grid .frame-11,
.page-grid .frame-12 {
    grid-column: 1 / -1;
  }
.page-grid .frame-4,
.page-grid .frame-5,
.page-grid .frame-9,
.page-grid .frame-10 {
    grid-column: span 1;
  }
.page-grid > .page-photo.frame-1,
.page-grid > .page-photo.frame-2,
.page-grid > .page-photo.frame-3,
.page-grid > .page-photo.frame-6,
.page-grid > .page-photo.frame-7,
.page-grid > .page-photo.frame-8,
.page-grid > .page-photo.frame-11,
.page-grid > .page-photo.frame-12,
.page-grid > .page-video.frame-1,
.page-grid > .page-video.frame-2,
.page-grid > .page-video.frame-7,
.page-grid > .page-slider.frame-1,
.page-grid > .page-slider.frame-2,
.page-grid > .page-slider.frame-3,
.page-grid > .page-slider.frame-7 {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 308 / 173;
  }
.page-grid > .page-photo.frame-4,
.page-grid > .page-photo.frame-9,
.page-grid > .page-photo.frame-10 {
    grid-column: span 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 151 / 147;
  }
.page-grid > .page-photo.frame-4 {
    aspect-ratio: 151 / 107;
  }
.page-grid > .page-photo.frame-5 {
    grid-column: span 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 151 / 85;
  }
.page-photo,
.page-card,
.page-video,
.page-slider,
.project-showcase__photo {
    border-radius: 20px;
  }
.page-photo img,
.page-photo video,
.page-card img,
.page-card video,
.page-video img,
.page-video video {
    object-position: center;
  }
.page-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 308 / 173;
  }
.page-slider__dots {
    bottom: 10px;
    gap: 6px;
  }
.page-slider__dot {
    width: 5px;
    height: 5px;
  }
.page-info,
.page-text-card,
.page-info--aramco,
.page-info--booklet,
.page-info--science-request,
.page-info--catalog,
.page-info--billboards,
.page-info--brandbook,
.page-info--digital,
.page-info--conference {
    height: auto;
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }
.page-info__body,
.page-info--aramco .page-info__body,
.page-info--booklet .page-info__body,
.page-info--science-request .page-info__body,
.page-info--catalog .page-info__body,
.page-info--billboards .page-info__body,
.page-info--brandbook .page-info__body,
.page-info--digital .page-info__body--digital,
.page-info--conference .page-info__body {
    margin-top: 24px;
  }
.page-info p,
.page-text-card p,
.page-info--aramco p,
.page-info--booklet p,
.page-info--science-request p,
.page-info--catalog p,
.page-info--billboards p,
.page-info--brandbook p,
.page-info--digital p,
.page-info--conference p {
    margin-bottom: 9px;
    
    
  }
.conference-intro,
.expo-intro,
.exhibition-intro {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    padding: 20px;
    display: block;
    border-radius: 20px;
  }
.conference-intro p,
.expo-intro p,
.exhibition-intro p {
    margin: 24px 0 0;
    
    
  }
.conference-item h3,
.exhibition-item h3 {
    margin-bottom: 3px;
    
    
  }
.page-divider,
.page-section,
.page-divider--large {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
    grid-row: auto; 
  }
.page-divider--large .page-divider__text--large,
.project-showcase__text,
.vertical-scroll--showcase .project-showcase__text {
    max-width: none;
    margin-top: 12px;
    
    
  }
.page-divider br,
.project-showcase br,
.project-preview br {
    display: none;
  }
.horizontal-scroll,
.horizontal-scroll--cards,
.scroll-gallery,
.vertical-scroll,
.vertical-scroll--showcase {
    height: auto !important;
    min-height: 0 !important;
  }
.horizontal-scroll__sticky,
.horizontal-scroll--cards .horizontal-scroll__sticky,
.scroll-gallery__sticky,
.vertical-scroll__sticky,
.vertical-scroll--showcase .vertical-scroll__sticky {
    position: static;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
.vertical-scroll__sticky,
.vertical-scroll--showcase .vertical-scroll__sticky {
    overflow: visible;
  }
.horizontal-scroll__frame,
.horizontal-scroll--cards .horizontal-scroll__frame--cards {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 308 / 173;
    border-radius: 20px;
  }
.horizontal-scroll__track {
    width: 100%;
    height: 100%;
    transform: none !important;
    will-change: auto;
  }
.horizontal-scroll__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.horizontal-scroll--cards .horizontal-scroll__frame--cards {
    aspect-ratio: auto;
  }
.horizontal-scroll--cards .horizontal-scroll__track,
.scroll-gallery__track {
    width: 100%;
    min-width: 0;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    transform: none !important;
    will-change: auto;
  }
.horizontal-scroll--cards .horizontal-scroll__card,
.scroll-gallery__item {
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 151 / 147;
    border-radius: 20px;
  }
.vertical-scroll:not(.vertical-scroll--showcase) .vertical-scroll__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 173;
    border-radius: 20px;
  }
.vertical-scroll:not(.vertical-scroll--showcase) .vertical-scroll__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.vertical-scroll--showcase .project-showcase--scroll,
.project-showcase {
    height: auto;
    padding: 20px;
    border-radius: 20px;
  }
.vertical-scroll--showcase .project-showcase__header,
.project-showcase__header {
    margin: 0 0 16px;
  }
.vertical-scroll--showcase .vertical-scroll__frame {
    flex: none;
    height: auto;
    aspect-ratio: 268 / 496;
    border-radius: 16px;
  }
.vertical-scroll--showcase .vertical-scroll__image,
.vertical-scroll__image {
    position: static;
    width: 100%;
    height: auto;
    filter: brightness(0.9);
    transform: none !important;
    will-change: auto;
  }
.showcase-grid,
.project-showcase__gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 6px;
  }
.project-showcase__photo,
.project-showcase__gallery > * {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 16px;
  }
.project-showcase__photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
.project-preview {
    grid-template-columns: 1fr;
    gap: 6px;
  }
.project-preview__content {
    min-height: 109px;
    padding: 20px;
    border-radius: 20px;
  }
.project-preview__title {
    position: static;
    
    
  }
.project-preview__subtitle {
    left: 20px;
    right: 64px;
    bottom: 20px;
    
    
  }
.project-preview__arrow {
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
  }
.project-preview__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 173;
    border-radius: 20px;
  }
.project-nav {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
.project-nav__title {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 36px;
    padding: 0 14px;
    
  }
.project-nav__button {
    min-width: 0;
    min-height: 34px;
    padding: 0 10px;
    gap: 6px;

    display: flex;
    align-items: center;
    justify-content: center;
  }
.project-nav__label {
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateY(-1px);
  }
.project-nav__icons,
.project-nav__icon {
    width: 14px;
    height: 14px;
  }
.project-nav__icons {
    flex-basis: 14px;
  }
.page-hero__title {
    font-size: 42px;
  }
.page-info p.page-info__accent {
    margin-bottom: 12px;

  }
.page-info__button--polytechnic {
    width: 100px;
    min-width: 100px;

    height: 28px;
    min-height: 28px;
    flex-basis: 28px;

    margin-top: 14px;
    padding: 0 12px;

    font-size: 12px;
    line-height: 28px;
  }
}

/* ==================================================
   ANNIVERSARY CONFERENCE — MOBILE
================================================== */

@media (max-width: 768px) {
.anniversary-page .page-hero {
    min-height: 158px;
  }
.anniversary-page .page-hero__title {
    font-size: 42px;
    line-height: 0.98;
  }
.anniversary-page .page-grid > .page-photo.frame-6,
.anniversary-page .anniversary-media-pair {
    grid-column: span 1;
    aspect-ratio: 151 / 147;
  }
.anniversary-page .page-grid > .page-photo.anniversary-wide-mobile {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 308 / 173;
  }
.anniversary-page .anniversary-feature-media {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }
.anniversary-page .anniversary-mobile-hidden {
    display: none;
  }
.anniversary-page .conference-intro {
    order: -3;
  }
.anniversary-page .anniversary-feature-media {
    order: -2;
  }
.anniversary-page .page-info--conference {
    order: -1;
  }

}


/* ==================================================
   ARAMCO BOOKLET — MOBILE
================================================== */

@media (max-width: 768px) {
.aramco-page .page-hero {
    min-height: 158px;
  }
.aramco-page .page-hero__title {
    font-size: 42px;
    line-height: 0.98;
  }
.aramco-page .page-grid > .page-photo.frame-3 {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }


}


/* ==================================================
   COMPLEX PRINT SOLUTIONS — MOBILE
================================================== */

@media (max-width: 768px) {
.complex-print-page .page-hero {
    min-height: 178px;
  }
.complex-print-page .page-hero__title--complex-print {
    font-size: 30px;
    line-height: 1.02;
  }
.complex-print-page .page-grid > .page-photo.frame-9,
.complex-print-page .complex-print-intro-grid > .page-photo.frame-3,
.complex-print-page .complex-print-gallery-grid > .page-photo.frame-3 {
    grid-column: span 1;
    aspect-ratio: 151 / 147;
  }
.complex-print-page .page-grid > .page-photo.frame-3 {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 1900 / 1080;
  }
.complex-print-page .page-grid > .page-photo.frame-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.complex-print-page .horizontal-scroll--cards {
    display: none;
  }
.complex-print-page .complex-print-cards-mobile-slider {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 1900 / 1080;
    border-radius: 20px;
    overflow: hidden;
  }
.complex-print-page
  .complex-print-cards-mobile-slider
  .page-slider__viewport {
    width: 100%;
    height: 100%;
  }
.complex-print-page
  .complex-print-cards-mobile-slider
  .page-slider__slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.complex-print-page .complex-print-mobile-hidden {
    display: none;
  }
.complex-print-page .page-grid > .page-photo.complex-square-mobile {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
.complex-print-page .page-grid > .page-photo.complex-square-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.complex-print-page .vertical-scroll.complex-square-mobile {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
.complex-print-page .vertical-scroll.complex-square-mobile .vertical-scroll__sticky {
    position: relative;
    top: auto;
    width: 100%;
    height: 100%;
  }
.complex-print-page .vertical-scroll.complex-square-mobile .vertical-scroll__frame {
    width: 100%;
    height: 100%;
  }
.complex-print-page .vertical-scroll.complex-square-mobile .vertical-scroll__image {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }  
}  


/* ==================================================
   DIGITAL VISUAL CONTENT — MOBILE
================================================== */

@media (max-width: 768px) {
.digital-page .page-hero {
    min-height: 178px;
  }
.digital-page .page-grid > .page-photo.frame-10,
.digital-page .page-grid > .page-photo.frame-11,
.digital-page .digital-media-pair {
    grid-column: span 1;
    aspect-ratio: 151 / 147;
  }
.digital-page .digital-feature-media {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }
.digital-page .digital-mobile-hidden {
    display: none;
  }
.digital-page .page-info--digital .digital-info__item {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 3px;
    margin-bottom: 14px;
  }
.digital-page .page-info--digital .digital-info__number {
    font-size: clamp(8px, 2.6vw, 12px);
    line-height: 1.24;
  }
.digital-page .page-grid > .page-photo.digital-square-mobile {
    grid-column: span 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
.digital-page .digital-square-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.digital-page .page-grid > .page-photo.digital-rect-mobile {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 190;
  }
.digital-page .digital-rect-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.digital-page .digital-info__number {
    font-size: 13px;
    line-height: 1.25;
  }
.digital-page .page-hero .page-hero__title--digital {
  font-size: 30px;
  line-height: 1.02;
  }
.digital-page .page-info--digital .digital-info__number,
.digital-page .page-info--digital .digital-info__item p strong {
    font-size: 14px;
    line-height: 16px;
  }  
}


/* ==================================================
   DNTP BRANDBOOK — MOBILE
================================================== */

@media (max-width: 768px) {
.brandbook-page .page-hero {
    min-height: 158px;
  }
.brandbook-page .page-hero__title {
    font-size: 42px;
    line-height: 0.98;
  }
.brandbook-page .brandbook-mobile-hidden {
    display: none;
  }
.brandbook-page .brandbook-mobile-slider {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 308 / 173;
  }  
}


/* ==================================================
   DNTP STRATEGY BOOKLET — MOBILE
================================================== */

@media (max-width: 768px) {
.strategy-booklet-page .page-hero {
    min-height: 158px;
  }
.strategy-booklet-page .page-hero__title {
    font-size: 42px;
    line-height: 0.98;
  }
.strategy-booklet-page .page-grid > .page-photo.frame-3 {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }
.strategy-booklet-page .page-info--booklet .page-info__accent {
    margin-top: 15px;
  }
.strategy-booklet-page
  .page-info--booklet
  .page-info__body
  p:nth-child(4) {
    transform: translateY(-6px);
  }  
}


/* ==================================================
   MINISTRY BILLBOARDS — MOBILE
================================================== */

@media (max-width: 768px) {
.billboards-page .page-hero {
    min-height: 158px;
  }
.billboards-page .page-hero__title {
    font-size: 42px;
    line-height: 0.98;
  }
.billboards-page .page-grid > .page-photo.frame-8 {
    grid-column: span 1;
    aspect-ratio: 151 / 147;
  }
.billboards-page .billboard-tall-mobile {
  grid-column: span 1;
  grid-row: span 2;

  width: 100%;
  height: 100%;

  aspect-ratio: auto;
  }
}


/* ==================================================
   NOVOSIBIRSK EXPO DESIGN — MOBILE
================================================== */

@media (max-width: 768px) {
.novosibirsk-page .page-hero {
    min-height: 158px;
  }
.novosibirsk-page .page-hero__title--expo {
    font-size: 30px;
    line-height: 0.98;
  }
.novosibirsk-page .page-grid > .page-photo.frame-3 {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }
.novosibirsk-page .novosibirsk-mobile-hidden {
    display: none;
  }

}


/* ==================================================
   POLYTECHNIC MUSEUM — MOBILE
================================================== */

@media (max-width: 768px) {
.polytechnic-page .page-hero--polytechnic {
    min-height: 178px;
  }
.polytechnic-page .page-hero__title--polytechnic {
    font-size: 30px;
    line-height: 1.02;
  }
.polytechnic-page .page-grid > .page-photo.polytechnic-square-mobile {
    grid-column: span 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
.polytechnic-page .polytechnic-square-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}


/* ==================================================
   PRESENTATIONS — MOBILE
================================================== */

@media (max-width: 768px) {
.presentations-page .page-hero {
    min-height: 158px;
  }
.presentations-page .page-hero__title--presentations {
    font-size: clamp(30px, 8vw, 34px);
    line-height: 1.02;
  }
.presentations-page .presentations-mobile-hidden,
.presentations-page .presentations-preview-photo {
    display: none;
  }
.presentations-page .project-preview__content {
    min-height: 173px;
  }
.presentations-page .vertical-scroll {
    display: none;
  }
.presentations-page .presentations-vertical-mobile {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border-radius: 20px;
    overflow: hidden;
  }
.presentations-page .presentations-vertical-mobile img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
.presentations-page .presentations-touch-scroll {
    height: auto !important;
    min-height: 0 !important;
  }
.presentations-page
  .presentations-touch-scroll
  .horizontal-scroll__sticky {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
  }
.presentations-page
  .presentations-touch-scroll
  .horizontal-scroll__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 173;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
.presentations-page
  .presentations-touch-scroll
  .horizontal-scroll__frame::-webkit-scrollbar {
    display: none;
  }
.presentations-page
  .presentations-touch-scroll
  .horizontal-scroll__track {
    display: flex;
    width: max-content;
    height: 100%;

    transform: none !important;
    will-change: auto;
  }
.presentations-page
  .presentations-touch-scroll
  .horizontal-scroll__image {
    flex: 0 0 auto;

    width: auto;
    max-width: none;
    height: 100%;

    object-fit: contain;
  }
.presentations-page
  .presentations-touch-scroll
  .horizontal-scroll__frame::after {
    display: none;
  }
.presentations-page .project-preview__content {
    min-height: 150px;
    padding: 16px 18px;
  }
.presentations-page .project-preview__title-accent {
    font-size: 18px;
  }

}
.reference-page .project-nav__title {
  
  
  padding: 0 16px;
  text-align: center;
  white-space: normal;
}

/* ==================================================
   REFERENCE MANUAL — MOBILE
================================================== */

@media (max-width: 768px) {
.reference-page .page-hero--reference {
    min-height: 178px;
  }
.reference-page .page-hero__title--reference {
    font-size: 30px;
    line-height: 1.02;
  }
.reference-page .page-hero__subtitle--reference {
    max-width: 100%;
    margin: 6px 0 0;
    
    
  }
.reference-page .page-grid > .page-photo.frame-3 {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }


}


/* ==================================================
   SCIENCE REQUEST BOOKLET — MOBILE
================================================== */

@media (max-width: 768px) {
.science-request-page .page-hero {
    min-height: 158px;
  }
.science-request-page .page-hero__title {
    line-height: 0.98;
  }
.science-request-page .page-grid > .page-photo.frame-3 {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }
}


/* ==================================================
   SCIENTIFIC ACHIEVEMENTS CATALOG — MOBILE
================================================== */

@media (max-width: 768px) {
.catalog-page .catalog-mobile-slider {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 308 / 199;
  }
.catalog-page .page-hero {
    min-height: 158px;
  }
.catalog-page .page-hero__title {
    font-size: clamp(32px, 12.5vw, 48px);
    line-height: 0.98;
  }
.catalog-page .page-grid > .page-photo.frame-4 {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 199;
  }
.catalog-page .catalog-mobile-hidden {
    display: none;
  }

  /* КАТАЛОГ */
.catalog-page .page-hero__title {
    font-size: 42px;
  }

  /* Научных достижений селекционных центров */


  /* Синий заголовок внутри большой карточки */


  /* Обычный текст внутри карточки */


  /* Бирюзовая жирная строка */
.catalog-page .page-info__accent {
    margin-bottom: 12px;

  }

}


/* ==================================================
   STRATEGIC SESSION PRESENTATIONS — MOBILE
================================================== */

@media (max-width: 768px) {
.strategic-page .page-info__logo img {
    width: clamp(180px, 55vw, 220px);
  }
.strategic-page .page-hero--strategic {
    min-height: 178px;
  }
.strategic-page .page-hero__title--strategic {
    font-size: clamp(23px, 7.5vw, 34px);
    line-height: 1.02;
  }
.strategic-page .strategic-touch-scroll {
    height: auto !important;
    min-height: 0 !important;
  }
.strategic-page .strategic-touch-scroll .horizontal-scroll__sticky {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
  }
.strategic-page .strategic-touch-scroll .horizontal-scroll__frame {
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 173;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
.strategic-page
  .strategic-touch-scroll
  .horizontal-scroll__frame::-webkit-scrollbar {
    display: none;
  }
.strategic-page .strategic-touch-scroll .horizontal-scroll__track {
    display: flex;
    width: max-content;
    height: 100%;

    transform: none !important;
    will-change: auto;
  }
.strategic-page .strategic-touch-scroll .horizontal-scroll__image {
    flex: 0 0 auto;

    width: auto;
    max-width: none;
    height: 100%;

    object-fit: contain;
  }
.strategic-page .strategic-touch-scroll .horizontal-scroll__frame::after {
    display: none;
  }
.strategic-page .strategic-touch-photo {
  grid-column: 1 / -1;

  width: 100%;
  height: auto;
  aspect-ratio: 308 / 173;

  overflow-x: auto;
  overflow-y: hidden;

  border-radius: 20px;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.strategic-page .strategic-touch-photo::-webkit-scrollbar {
    display: none;
  }
.strategic-page .strategic-touch-photo img {
    display: block;

    width: auto;
    max-width: none;
    height: 100%;

    object-fit: contain;
  }
.strategic-page .page-hero__title--strategic {
    font-size: 21px;
  }
}


/* ==================================================
   TRANSSTROY POVOLZHYE — MOBILE
================================================== */

@media (max-width: 768px) {
.transstroy-page .page-hero {
    min-height: 158px;
  }
.transstroy-page .page-hero__title--transstroy {
    font-size: 38px;
    line-height: 0.98;
  }
.transstroy-page .page-grid > .page-photo.frame-9 {
    grid-column: span 1;
    aspect-ratio: 151 / 147;
  }
.transstroy-page .transstroy-mobile-hidden {
    display: none;
  }
.transstroy-page .transstroy-mobile-slider {
    display: block;
    grid-column: 1 / -1;

    width: 100%;
    aspect-ratio: 1.6 / 1;

    border-radius: 20px;
    overflow: hidden;
  }
.transstroy-page .transstroy-mobile-slider .page-slider__slide {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }
.transstroy-page .page-grid > .page-photo.frame-9.transstroy-tall-mobile {
    grid-column: 2;
    grid-row: span 2;

    width: 100%;
    height: auto;

    aspect-ratio: 151 / 300;
  }


}


/* ==================================================
   VESTA IRUS — MOBILE
================================================== */

@media (max-width: 768px) {
.vesta-page .vertical-scroll--showcase .vertical-scroll__frame {
    aspect-ratio: 1920 / 3587;
  }
.vesta-page .vertical-scroll--showcase .vertical-scroll__image {
    position: absolute;
  }
.vesta-page .page-hero--vesta {
    min-height: 170px;
    justify-content: flex-end;
    align-items: flex-start;
  }
.vesta-page .page-hero__title--vesta {
    font-size: 42px;
    line-height: 0.92;
  }
.vesta-page .page-hero__subtitle--vesta {
    max-width: 88%;
    margin: 8px 0 0;
    
    
  }
.vesta-intro .page-info,
.vesta-intro .page-photo {
    grid-column: 1 / -1;
  }
.vesta-intro .page-info {
    justify-content: space-between;
  }
.vesta-intro .page-photo {
    aspect-ratio: 308 / 173;
  }
.vesta-polygraphy__tile {
    aspect-ratio: 151 / 147;
  }
.vesta-polygraphy__tile--30 { order: 1; }
.vesta-polygraphy__tile--1 { order: 2; }
.vesta-polygraphy__tile--26 { order: 3; }
.vesta-polygraphy__tile--25 { order: 4; }
.vesta-polygraphy__tile--29 { order: 5; }
.vesta-polygraphy__tile--28 { order: 6; }
.vesta-polygraphy__media {
    order: 7;
    grid-column: 1 / -1;
  }
.vesta-mobile-slider {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.vesta-digital-slider {
    grid-column: 1 / -1;
  }
.vesta-mobile-slider > .vesta-mobile-slider__slide,
.vesta-mobile-slider > .vesta-mobile-slider__slide.is-active {
    display: block;

    grid-column: auto;
    grid-row: auto;

    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    border-radius: 20px;
    overflow: hidden;
  }
.vesta-mobile-slider__dot {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.78);
    cursor: pointer;
  }
.vesta-mobile-slider__dot.is-active {
    background: #77adff;
  }
.vesta-polygraphy__reference--9 {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 308 / 173;
  }
.vesta-polygraphy__preserved--22 {
    grid-column: 1;
    grid-row: 3;
    aspect-ratio: 2300 / 1384;
  }
.project-showcase--vesta-packaging .project-showcase__gallery {
    grid-template-columns: 1fr;
    gap: 6px;
  }
.project-showcase--vesta-packaging .project-showcase__photo {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: auto;
  }
.project-showcase--vesta-packaging .vesta-packaging__extra {
    display: none;
  }
.project-showcase--vesta-packaging.is-expanded .vesta-packaging__extra {
    display: block;
  }
.vesta-packaging__more {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 26px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #0e5ce2;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
  }
.project-showcase--vesta-packaging.is-expanded .vesta-packaging__more {
    display: none;
  }
.vesta-page .vesta-digital-grid .page-photo {
    aspect-ratio: 308 / 173;
  }

}


/* ==================================================
   YOUNG SCIENTISTS EXHIBITION — MOBILE
================================================== */

@media (max-width: 768px) {
.young-scientists-page .page-hero {
    min-height: 158px;
  }
.young-scientists-page .page-hero__title--expo {
    font-size: 30px;
    line-height: 0.98;
  }
.young-scientists-page .page-grid > .page-photo.frame-3,
.young-scientists-page .page-grid > .page-photo.frame-9 {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 173;
  }
.young-scientists-page .page-video--vertical {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 308 / 173;
  }
.young-scientists-page .page-video--vertical video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.young-scientists-page .young-mobile-hidden {
    display: none;
  }
.young-scientists-page .horizontal-scroll--cards {
  height: auto !important;
  overflow: visible;
}
.young-scientists-page .horizontal-scroll--cards .horizontal-scroll__sticky {
  position: static;
  width: 100%;
  height: auto;
  overflow: visible;
}
.young-scientists-page .horizontal-scroll--cards .horizontal-scroll__frame--cards {
  width: 100%;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;

  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
}
.young-scientists-page .horizontal-scroll--cards .horizontal-scroll__frame--cards::-webkit-scrollbar {
  display: none;
}
.young-scientists-page .horizontal-scroll--cards .horizontal-scroll__track {
  display: flex;
  width: max-content;
  height: auto;
  gap: 6px;

  transform: none !important;
}
.young-scientists-page .horizontal-scroll--cards .horizontal-scroll__card {
  flex: 0 0 calc(100vw - 52px);
  width: calc(100vw - 52px);
  height: auto;

  aspect-ratio: 3 / 2;

  border-radius: 20px;
  overflow: hidden;

  scroll-snap-align: start;
}
.young-scientists-page
.horizontal-scroll--cards
.horizontal-scroll__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ==================================================
   lightbox-mobile
================================================== */
@media (max-width: 768px) {
.lightbox__close,
.lightbox__arrow {
    display: none;
  }
.lightbox {
    padding: 0;
    overflow: hidden;

    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }
.lightbox__image {
    display: none;
  }
.lightbox__mobile-track {
    position: absolute;
    inset: 0;

    display: flex;

    width: 300vw;
    height: 100%;

    transform: translate3d(-100vw, 0, 0);

    will-change: transform;

    touch-action: none;
  }
.lightbox__mobile-image {
    flex: 0 0 100vw;

    width: 100vw;
    height: 100%;

    object-fit: contain;

    transform-origin: center center;
    will-change: transform;

    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    touch-action: none;
  }
.lightbox__mobile-image--current {
    pointer-events: auto;
  }
}
.page-slider {
  touch-action: pan-y;
}
.page-slider__slide.is-active {
  z-index: 2;
}
.page-slider__slide.is-swipe-target {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
}

/* =====================
   DIRECTION NTP
===================== */
.page-info--ntp-polygraphy {
  padding: 44px 54px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.page-info--ntp-polygraphy .page-info__body--ntp-polygraphy {
  margin-top: 0;
}
.page-info--ntp-polygraphy .conference-item {
  margin-bottom: clamp(8px, 0.75vw, 14px);
}
.page-info--ntp-polygraphy .conference-item:last-child {
  margin-bottom: 0;
}
.page-info--ntp-polygraphy .conference-item h3 {
  margin: 0 0 3px;

  
  

  color: #00e5ff;
  text-transform: uppercase;
}
.page-info--ntp-polygraphy .conference-item p {
  margin: 0;

  color: rgba(255, 255, 255, 0.8);
}
.direction-ntp-page
.horizontal-scroll__card.ntp-polygraphy-scroll img {
  transform: scale(1.35);
}
.direction-ntp-page .ntp-mobile-site-link,
.direction-ntp-page .ntp-logo-timeline-mobile {
  display: none;
}

/* ==================================================
   DIRECTION NTP — MOBILE
================================================== */

@media (max-width: 768px) {
.direction-ntp-page .page-hero {
    min-height: 145px;
  }
.direction-ntp-page .page-hero__title--direction-ntp {
    font-size: clamp(27px, 8.75vw, 42px);
    line-height: 0.98;
    white-space: nowrap;
  }
.direction-ntp-page .page-grid > * {
    grid-row: auto;
  }
.direction-ntp-page .page-info,
.direction-ntp-page .page-info--brandbook,
.direction-ntp-page .page-info--booklet,
.direction-ntp-page .page-info--ntp-polygraphy {
    height: auto;
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }
.direction-ntp-page .page-info p,
.direction-ntp-page .page-info--brandbook p,
.direction-ntp-page .page-info--booklet p {
    margin-bottom: 9px;
    
    
  }
.direction-ntp-page .page-info__body,
.direction-ntp-page .page-info--brandbook .page-info__body,
.direction-ntp-page .page-info--booklet .page-info__body {
    margin-top: 24px;
  }
.direction-ntp-page .page-info p.page-info__accent {
    margin: 10px 0 8px;
    
    
  }
.direction-ntp-page .ntp-intro-grid > * {
    grid-column: 1 / -1;
  }
.direction-ntp-page .page-info--ntp-intro {
    justify-content: center;
  }
.direction-ntp-page .ntp-mobile-site-link {
    align-self: flex-start;
    display: inline-flex;
    margin-top: 28px;
  }
.direction-ntp-page .burger-menu__order-button:active {
    transform: scale(0.97);
  }
.direction-ntp-page .ntp-intro-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 308 / 173;
  }
.direction-ntp-page .project-showcase--ntp {
    height: auto;
    padding: 20px;
    border-radius: 20px;
  }
.direction-ntp-page .project-showcase--ntp .project-showcase__header {
    margin: 0 0 16px;
  }
.direction-ntp-page .project-showcase--ntp .project-showcase__text {
    margin-top: 16px;
    
    
  }
.direction-ntp-page .direction-ntp-mobile-hidden {
    display: none;
  }
.direction-ntp-page .ntp-logo-timeline-mobile {
    grid-column: 1;
    display: block;
    width: 100%;
    padding: 0;
    overflow: visible;
    background: transparent;
  }
.direction-ntp-page .ntp-logo-timeline-mobile > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: none;
  }
.direction-ntp-page .ntp-brandbook-grid > .page-info--brandbook,
.direction-ntp-page .ntp-brandbook-grid > .page-photo.frame-2,
.direction-ntp-page .ntp-brandbook-grid > .brandbook-mobile-slider {
    grid-column: 1 / -1;
  }
.direction-ntp-page .brandbook-mobile-hidden {
    display: none;
  }
.direction-ntp-page .brandbook-mobile-slider {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 308 / 173;
    touch-action: pan-y;
  }
.direction-ntp-page .brandbook-mobile-slider .page-slider__slide {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
  }
.direction-ntp-page .ntp-brandbook-grid > .page-photo.frame-5 {
    grid-column: span 1;
    aspect-ratio: 151 / 85;
  }
.direction-ntp-page .page-divider--large {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }
.direction-ntp-page .page-divider--large .page-divider__text--large {
    margin-top: 26px;
    
    
  }
.direction-ntp-page .ntp-souvenir-grid > * {
    grid-row: auto;
  }
.direction-ntp-page .ntp-souvenir-grid > :nth-child(1),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(2),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(4),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(5) {
    grid-column: span 1;
    aspect-ratio: 151 / 85;
  }
.direction-ntp-page .ntp-souvenir-grid > :nth-child(3),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(6),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(7),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(11),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(12) {
    grid-column: 1 / -1;
  }
.direction-ntp-page .ntp-souvenir-grid > :nth-child(3),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(6),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(12) {
    aspect-ratio: 308 / 173;
  }
.direction-ntp-page .ntp-souvenir-grid > :nth-child(8),
.direction-ntp-page .ntp-souvenir-grid > :nth-child(9) {
    grid-column: span 1;
    aspect-ratio: 151 / 107;
  }
.direction-ntp-page .ntp-souvenir-grid > :nth-child(11) {
    aspect-ratio: 308 / 230;
  }
.direction-ntp-page .ntp-polygraphy-grid > .page-photo {
    grid-column: 1 / -1;
    order: 1;
    aspect-ratio: 308 / 173;
  }
.direction-ntp-page .ntp-polygraphy-grid > .page-info--ntp-polygraphy {
    grid-column: 1 / -1;
    order: 2;
  }
.direction-ntp-page .page-info--ntp-polygraphy .conference-item {
    text-align: left;
    margin-bottom: 9px;
  }
.direction-ntp-page .page-info--ntp-polygraphy .conference-item:last-child {
    margin-bottom: 0;
  }
.direction-ntp-page .page-info--ntp-polygraphy .conference-item h3 {
    margin-bottom: 2px;
    
    
  }
.direction-ntp-page .ntp-polygraphy-vertical {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 308 / 286;
  }
.direction-ntp-page .ntp-polygraphy-vertical .vertical-scroll__sticky,
.direction-ntp-page .ntp-polygraphy-vertical .vertical-scroll__frame {
    position: static;
    width: 100%;
    height: 100%;
  }
.direction-ntp-page .ntp-polygraphy-vertical .vertical-scroll__frame {
    aspect-ratio: auto;
    border-radius: 20px;
  }
.direction-ntp-page .ntp-polygraphy-vertical .vertical-scroll__image {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }
.direction-ntp-page .ntp-polygraphy-horizontal,
.direction-ntp-page .ntp-polygraphy-horizontal .horizontal-scroll__sticky,
.direction-ntp-page .ntp-polygraphy-horizontal .horizontal-scroll__frame--cards {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
  }
.direction-ntp-page .ntp-polygraphy-horizontal .horizontal-scroll__track {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    transform: none !important;
  }
.direction-ntp-page .ntp-polygraphy-horizontal .horizontal-scroll__card {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
.direction-ntp-page .ntp-polygraphy-horizontal .horizontal-scroll__card img {
    height: auto;
    object-fit: contain;
    transform: none;
  }
.direction-ntp-page .ntp-booklet-grid > *,
.direction-ntp-page .ntp-presentations-grid > * {
    grid-column: 1 / -1;
    grid-row: auto;
  }
.direction-ntp-page .ntp-booklet-grid > .page-photo,
.direction-ntp-page .ntp-presentations-grid > .page-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 308 / 173;
  }
.direction-ntp-page .ntp-digital-grid > :nth-child(1),
.direction-ntp-page .ntp-digital-grid > :nth-child(2),
.direction-ntp-page .ntp-digital-grid > :nth-child(5),
.direction-ntp-page .ntp-digital-grid > :nth-child(6),
.direction-ntp-page .ntp-digital-grid > :nth-child(7),
.direction-ntp-page .ntp-digital-grid > :nth-child(8) {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }
.direction-ntp-page .ntp-digital-grid > :nth-child(3),
.direction-ntp-page .ntp-digital-grid > :nth-child(4) {
    grid-column: 1 / -1;
    aspect-ratio: 308 / 173;
  }
.direction-ntp-page .project-preview__content {
    min-height: 154px;
  }
.direction-ntp-page .project-preview__arrow {
    width: 36px;
    height: 36px;
  }

}

/* Keep the mobile artwork and ordering, with room for text and controls. */
@media (max-width: 768px) {
.page-hero { padding-top: 68px; overflow: visible; }
.anniversary-page .page-hero__title { font-size: clamp(30px, 9.3vw, 42px); }
.complex-print-page .page-hero__title--complex-print,
.polytechnic-page .page-hero__title--polytechnic { font-size: clamp(24px, 7.4vw, 30px); }
.presentations-page .page-hero__title--presentations { font-size: clamp(24px, 7.4vw, 34px); }
.project-preview__content { gap: 16px; }
.project-preview__subtitle { position: static; }
.project-preview__arrow { position: relative; right: auto; bottom: auto; }
.project-nav__label { overflow: visible; white-space: normal; transform: none; }
.project-nav__button { min-height: 44px; padding: 8px 10px; }
.project-nav .project-nav__title {  padding: 10px 14px; }
.young-scientists-page .page-video--vertical video { object-fit: contain; }
.lightbox .lightbox__close { display: block; top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* Corrections from the September 20 review; preserve the existing page grids. */
@media (min-width: 769px) {
.anniversary-page .page-info--conference { row-gap: 24px; }
.novosibirsk-page .expo-intro { align-items: center; }
.polytechnic-page .page-info__body--polytechnic { margin-top: auto; padding-top: 24px; }
.polytechnic-page .page-info__button--polytechnic { margin-top: 24px; }
.direction-ntp-page .ntp-mobile-site-link {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
  }
.direction-ntp-page .page-info--ntp-intro { row-gap: 24px; }
}

@media (max-width: 768px) {
.young-scientists-page .page-info--exhibition-alley .page-info__body { margin-top: 24px; }

}

/* Shared mobile hero captions: match the 14px body copy on internal pages.
   Include the hero ancestor to override earlier page-specific variants. */




/* One content inset for text cards in each column; full-bleed media stays untouched.
   Showcase uses a real 1px border, while glass cards have an inset decoration. */
.page-shell .page-main :is(.page-info.frame-8, .page-info, .page-text-card,
  .page-divider, .page-section, .conference-intro, .expo-intro, .exhibition-intro) {
  padding-inline: var(--section-content-inset);
}
.page-shell .page-main .project-showcase {
  padding-inline: calc(var(--section-content-inset) - 1px);
}

@media (max-width: 768px) {
  .scroll-top span {
    translate: 0 2px;
  }
}

@media (max-width: 768px) {
  .strategic-page .page-info__logo img {
    width: clamp(130px, 38vw, 150px);
  }
}

@media (min-width: 769px) {
  .page-hero__title {
    transform: translateX(-7px);
  }
}

@media (min-width: 769px) {
  .strategic-page .page-hero__title.page-hero__title--strategic {
    transform: translateX(-5px);
  }
}
/* Match spacing between consecutive body paragraphs in the NTP polygraphy intro. */
@media (max-width: 768px) {
  .direction-ntp-page .page-divider--large .page-divider__text--large + .page-divider__text--large {
    margin-top: 9px;
  }
}
