/* Страница «О бренде» (03.12.2026). Подключается только на /o-brende.
   Заголовки и тексты — те же стили, что на всем сайте: .section__title (заголовок раздела), .section__label (подзаголовок моно), текст 16/21. */
.about { --ab-ease: cubic-bezier(.2,.7,.2,1); --ab-sand: #e3e8f1; --ab-stone: #eef0f4; --ab-gold: #b8935f; --ab-gold-text: #9a7646; /* золото — как крышки Золотой серии */ overflow-x: clip; }
/* Фоны разделов чередуются: белый, светло-голубой и светло-серый из палитры UREA (брендбук), один черный (просьба владелицы — не только черный и белый) */
.about figure { margin: 0; }
.about img { width: 100%; height: 100%; object-fit: cover; }
.about .section__label { margin: 0 0 10px; }

/* Появление при прокрутке */
.about [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ab-ease), transform .9s var(--ab-ease); transition-delay: var(--d, 0s); }
.about [data-reveal].is-in { opacity: 1; transform: none; }
/* шторка — на самой картинке: обрезанный целиком блок браузер считает «невидимым» и не запускает появление */
.about .ab-clip { overflow: hidden; }
.about .ab-clip img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.2s var(--ab-ease), transform 1.6s var(--ab-ease); transition-delay: var(--d, 0s); }
.about .ab-clip.is-in img, .about .is-in .ab-clip img { clip-path: inset(0 0 0 0); transform: scale(1); }
.about [data-parallax] { will-change: transform; }
.about .ab-clip.px-ready img { transition: transform .5s ease-out, clip-path 0s; transition-delay: 0s; }

.ab-text { margin: 0 0 14px; line-height: 21px; max-width: 720px; }

/* ---------- Первый экран ---------- */
.ab-hero { position: relative; min-height: 560px; height: calc(100svh - var(--header-h) - 37px); max-height: 1000px; color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: #111; }
.ab-hero__img { position: absolute; inset: 0; animation: ab-kb 18s ease-out forwards; }
@keyframes ab-kb { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.ab-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.72) 100%); }
.ab-hero__body { position: relative; padding-bottom: 48px; width: 100%; }
.ab-hero__title { font-size: clamp(56px, 15.5vw, 300px); line-height: .82; font-weight: 700; letter-spacing: .04em; margin: 0 0 28px -.04em; display: flex; overflow: hidden; }
.ab-hero__title span { display: inline-block; transform: translateY(105%); animation: ab-up 1.1s var(--ab-ease) forwards; animation-delay: calc(.08s * var(--i) + .15s); }
@keyframes ab-up { to { transform: none; } }
.ab-hero__lead { font-size: 16px; line-height: 21px; max-width: 460px; margin: 0; }
.ab-in { opacity: 0; transform: translateY(20px); animation: ab-fade 1s var(--ab-ease) forwards; animation-delay: var(--d, .4s); }
@keyframes ab-fade { to { opacity: 1; transform: none; } }

/* ---------- Кто мы ---------- */
.ab-intro { display: grid; gap: 40px; padding-top: 96px; padding-bottom: 72px; align-items: center; }
@media (min-width: 900px) { .ab-intro { grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 120px; padding-bottom: 96px; } }
.ab-intro__media { aspect-ratio: 4 / 5; }

/* ---------- Миссия: слова выезжают по очереди, вокруг плывут фото текстур ---------- */
.ab-mission { padding: 56px 0; overflow: hidden; background: var(--ab-sand); }
.ab-mission__wrap { position: relative; }
.ab-mission__body { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.ab-mission__text { font-size: clamp(20px, 1.9vw, 28px); font-weight: 400; line-height: 1.35; margin: 0; }
.ab-mission__text .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.ab-mission__text .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ab-ease); transition-delay: calc(.045s * var(--i) + .2s); }
.ab-mission__wrap.is-in .w > span { transform: none; }
.ab-mission__img { margin: 0; overflow: hidden; will-change: transform; }
.ab-mission__img img { transition: transform 1.4s var(--ab-ease); }
.ab-mission__img:hover img { transform: scale(1.06); }
@media (min-width: 1000px) {
  .ab-mission__wrap { min-height: 340px; display: flex; align-items: center; }
  .ab-mission__img { position: absolute; }
  .ab-mission__img.i1 { left: 0; top: 50%; width: 17%; margin-top: -8.5%; aspect-ratio: 1; }
  .ab-mission__img.i2 { right: 0; top: 50%; width: 17%; margin-top: -8.5%; aspect-ratio: 1; }

  .ab-mission__body { max-width: 58%; }
}
@media (max-width: 999px) {
  .ab-mission__wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ab-mission__img { aspect-ratio: 1; grid-row: 2; margin-top: 32px; }
  .ab-mission__body { grid-column: 1 / -1; grid-row: 1; }
}
/* ---------- Цифры: компактно в один ряд, линия прорисовывается, числа набегают ---------- */
.ab-facts { background: var(--black); color: var(--white); padding: 72px 0; }
.ab-facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
@media (min-width: 700px) { .ab-facts__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .ab-facts__grid { grid-template-columns: repeat(6, 1fr); } }
.ab-fact { position: relative; padding: 22px 0 28px; }
.ab-fact::before, .ab-fact::after { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: rgba(255,255,255,.18); }
.ab-fact::after { background: var(--ab-gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ab-ease); transition-delay: calc(var(--d, 0s) + .15s); }
.ab-fact.is-in::after { transform: scaleX(1); }
.ab-fact__n { font-size: clamp(44px, 4.6vw, 76px); line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.ab-fact__cap { margin: 12px 0 0; color: rgba(255,255,255,.7); line-height: 21px; font-size: 15px; }
/* ---------- История: линия времени (сжатая) ---------- */
.ab-history { padding-top: 96px; padding-bottom: 48px; }
.ab-history .section__title { margin-bottom: 40px; }
.ab-tl { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.ab-tl::before, .ab-tl::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--grey-line); }
.ab-tl::after { background: var(--ab-gold); height: calc(var(--p, 0) * 100%); transition: height .2s linear; }
.ab-tl__item { position: relative; display: grid; gap: 10px; padding: 0 0 40px; }
.ab-tl__item::before { content: ''; position: absolute; left: -33px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 1px solid var(--black); transition: background .4s; z-index: 1; }
.ab-tl__item.is-in::before { background: var(--ab-gold); border-color: var(--ab-gold); }
.ab-tl__year { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; line-height: 1; text-transform: uppercase; }
.ab-tl__body p { margin: 0; line-height: 21px; max-width: 640px; }
.ab-tl__img { aspect-ratio: 1; width: 160px; background: var(--grey-bg); }
@media (min-width: 900px) {
  .ab-tl { padding-left: 0; }
  .ab-tl::before, .ab-tl::after { left: 20%; }
  .ab-tl__item { grid-template-columns: 20% 1fr 320px; gap: 0; padding-bottom: 44px; align-items: start; }
  .ab-tl__item::before { left: calc(20% - 5px); }
  .ab-tl__year { padding-right: 36px; text-align: right; }
  .ab-tl__body { padding-left: 40px; padding-right: 32px; }
  .ab-tl__img { grid-column: 3; width: 320px; aspect-ratio: 4 / 5; }
}
/* ---------- Бегущая строка ---------- */
.ab-marquee { overflow: hidden; border-top: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); padding: 22px 0; white-space: nowrap; }
.ab-marquee__track { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; animation: ab-mq 38s linear infinite; }
.ab-marquee__track span { font-size: clamp(36px, 5.5vw, 84px); font-weight: 600; line-height: 1; text-transform: uppercase; }
.ab-marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--black); }
.ab-marquee__track i { font-style: normal; font-size: 28px; color: var(--ab-gold); }
@keyframes ab-mq { to { transform: translateX(-50%); } }

/* ---------- Ценности ---------- */
.ab-values { padding-top: 96px; padding-bottom: 96px; background: var(--ab-stone); box-shadow: 0 0 0 100vmax var(--ab-stone); clip-path: inset(0 -100vmax); }
.ab-values__grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .ab-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ab-values__grid { grid-template-columns: repeat(4, 1fr); } }
.ab-value { background: var(--white); padding: 28px 24px 32px; border-top: 2px solid transparent; min-height: 0; display: flex; flex-direction: column; transition: background .45s, color .45s, opacity .9s var(--ab-ease), transform .9s var(--ab-ease); }
.ab-value:hover { border-top-color: var(--ab-gold); }
.ab-value h3 { font-family: var(--mono); font-size: 16px; font-weight: 600; line-height: 25px; text-transform: uppercase; margin: 0 0 14px; }
.ab-value p { margin: 0; line-height: 21px; color: var(--grey-text); transition: color .45s; }
@media (hover: hover) { .ab-value:hover { background: var(--black); color: var(--white); } .ab-value:hover p { color: rgba(255,255,255,.75); } }

/* ---------- Производство ---------- */
.ab-prod { background: var(--ab-sand); padding: 96px 0; }
.ab-prod__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ab-prod__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.ab-prod__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ab-prod__pics figure { aspect-ratio: 4 / 5; }

/* ---------- Лаборатория: текст и два фото одной сеткой, без пустых мест ---------- */
.ab-lab { padding-top: 120px; padding-bottom: 120px; display: grid; gap: 12px; }
.ab-lab figure { aspect-ratio: 16 / 10; }
.ab-lab .m2 { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .ab-lab { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .ab-lab__head { grid-column: 1 / span 4; grid-row: 1; margin-bottom: 24px; }
  .ab-lab__head .ab-text { max-width: none; }
  .ab-lab .m2 { grid-column: 5 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .ab-lab .m1 { grid-column: 1 / span 4; grid-row: 2; aspect-ratio: 16 / 9; }
}
/* ---------- Безопасность ---------- */
.ab-safety { padding: 96px 0; background: var(--ab-stone); }
.ab-free li { border-bottom-color: rgba(0,0,0,.12) !important; }
.ab-safety__grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .ab-safety__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.ab-free ul { list-style: none; padding: 0; margin: 16px 0 0; }
.ab-free li { border-bottom: 1px solid var(--grey-line); padding: 10px 0; }
.ab-free li span { position: relative; display: inline-block; font-size: clamp(40px, 5.5vw, 80px); line-height: 1.05; font-weight: 600; text-transform: uppercase; }
.ab-free li span::after { content: ''; position: absolute; left: -2%; top: 50%; height: .07em; width: 104%; background: var(--ab-gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ab-ease); transition-delay: calc(var(--d, 0s) + .45s); }
.ab-free li.is-in span::after { transform: scaleX(1); }
.ab-free li.is-in span { color: var(--grey-text); transition: color .6s; transition-delay: calc(var(--d, 0s) + .7s); }

/* ---------- Награды: компактный список в три колонки, диплом открывается по кнопке ---------- */
.ab-awards { padding-top: 72px; padding-bottom: 72px; }
.ab-aw { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 40px; }
@media (min-width: 800px) { .ab-aw { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1300px) { .ab-aw { grid-template-columns: repeat(3, 1fr); } }
.ab-aw__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--grey-line); }
.ab-aw__year { font-size: 20px; font-weight: 600; line-height: 1; grid-row: 1 / span 2; color: var(--ab-gold-text); }
.ab-aw__title { margin: 0 !important; font-size: 13px; line-height: 19px; }
.ab-aw__cap { color: var(--grey-text); line-height: 18px; font-size: 13px; grid-column: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ab-aw__btn { grid-column: 3; grid-row: 1 / span 2; align-self: center; border: 0; background: none; padding: 4px 0; white-space: nowrap; font-size: 13px; }
.ab-aw__btn span { display: inline-block; transition: transform .3s; }
.ab-aw__btn:hover span { transform: translateX(4px); }
.ab-cta { margin-top: 40px; }
/* ---------- Увеличение диплома ---------- */
.ab-zoom { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; cursor: zoom-out; }
.ab-zoom[hidden] { display: none; }
.ab-zoom img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ab-zoom__close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); font-size: 22px; }

@media (max-width: 899px) {
  .ab-values, .ab-lab, .ab-awards { padding-top: 72px; padding-bottom: 72px; }
  .ab-history { padding-top: 72px; padding-bottom: 32px; }
  .ab-mission { padding: 56px 0 72px; }
  .ab-facts { padding: 56px 0; }
  .ab-prod, .ab-safety { padding: 72px 0; }
  .ab-value { min-height: 0; }
}

/* Если человек отключил анимации в системе — показываем все сразу */
/* Ценности на телефоне — лента, листается пальцем (иначе 4 карточки с фото занимают много места) */
@media (max-width: 699px) {
  .ab-values__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .ab-values__grid::-webkit-scrollbar { display: none; }
  .ab-value { flex: 0 0 78%; scroll-snap-align: start; padding-bottom: 22px; }
  .ab-value p { font-size: 14px; line-height: 19px; }
  .ab-tl__img { width: 220px; aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  .about *, .about *::before, .about *::after { animation: none !important; transition: none !important; }
  .about [data-reveal], .about .ab-in, .ab-hero__title span { opacity: 1 !important; transform: none !important; }
  .about .ab-clip img { clip-path: none !important; transform: none !important; }
  .ab-mission__text .w > span { transform: none !important; }
  .ab-fact::after { transform: scaleX(1); }
  .ab-free li span::after { transform: scaleX(1); }
}
