/* =========================================================
   MOOD MODELS — «Editorial»
   Светлая классика: белый фон, чёрная типографика, слайдшоу-триптих
   ========================================================= */

:root {
  --black: #0b0b0b;
  --white: #ffffff;
  --paper: #f5f4f1;
  --line: #e2e1dd;
  --muted: #77746f;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(80px, 11vw, 160px) 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 34px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: transparent; color: var(--black); border-color: var(--black); }
.btn--wide { width: 100%; }

/* ---------- Шапка / навигация ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.topbar {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  overflow: hidden;
  max-height: 40px;
  transition: max-height .4s var(--ease), border-color .4s var(--ease);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar__links { display: flex; gap: 28px; align-items: center; }
.topbar__links a { opacity: .85; transition: opacity .2s; }
.topbar__links a:hover { opacity: 1; }
.topbar__lang b { font-weight: 600; }

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
  transition: height .4s var(--ease);
}
.nav__list { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__list--right { justify-content: flex-end; }
.nav__list a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__logo img {
  height: 46px;
  width: auto;
  filter: invert(1);
  transition: height .4s var(--ease), filter .4s var(--ease);
}

.header.is-solid {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid .topbar { max-height: 0; border-color: transparent; }
.header.is-solid .nav__inner { height: 68px; }
.header.is-solid .nav__logo img { height: 36px; filter: none; }

.burger { display: none; width: 40px; height: 40px; position: relative; justify-self: end; }
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  padding: 120px var(--gutter) 40px;
  background: var(--white);
  color: var(--black);
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden; /* закрытое меню не ловит Tab и не читается скринридером */
  pointer-events: none;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.mobile-menu > a {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.3;
}
.mobile-menu__contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-open .header { color: var(--black); }
.menu-open .header .nav__logo img { filter: none; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: flex-end; /* текст ниже лиц на фото */
  justify-content: center;
  text-align: center;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide figure { margin: 0; overflow: hidden; position: relative; }
.hero__slide figure + figure { border-left: 1px solid rgba(255, 255, 255, .08); }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.12);
  transition: transform 7s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__slide figure:nth-child(2) img { transition-delay: .15s; }
.hero__slide figure:nth-child(3) img { transition-delay: .3s; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 30%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .7) 100%);
}

.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(110px, 16vh, 170px); }
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: .5em;
  text-transform: uppercase;
  margin-bottom: clamp(12px, 2vw, 24px);
  opacity: .9;
}
/* Надпись MOOD MODELS — сам логотип, чтобы шрифт точно совпадал с макетом */
.hero__title {
  width: min(62vw, 720px);
  margin: 0 auto;
  line-height: 0;
}
.hero__title img { width: 100%; height: auto; }
.hero__lead {
  max-width: 460px;
  margin: clamp(18px, 2.4vw, 32px) auto 0;
  font-size: 14px;
  letter-spacing: .06em;
  opacity: .85;
}
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.hero__bottom {
  position: absolute;
  left: 0; right: 0;
  bottom: 32px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__counter { font-variant-numeric: tabular-nums; }
.hero__progress { display: flex; gap: 8px; }
.hero__progress button {
  flex: 1;
  height: 16px;
  position: relative;
}
.hero__progress button::before,
.hero__progress button::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .3);
}
.hero__progress button::after {
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__progress button.is-done::after { transform: scaleX(1); }
.hero__progress button.is-active::after { animation: progress var(--slide-time, 6s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__scroll { display: flex; align-items: center; gap: 12px; }
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: currentColor;
  animation: scrollLine 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Заголовки секций ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; margin-bottom: 40px; }
.section-head__num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 14px;
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.section-head__text { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* ---------- Новости ---------- */
.news { border-bottom: 1px solid var(--line); }
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--black);
}
.news__head .section-head__num { display: block; margin-bottom: 6px; }

.news__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.news-card__link { display: block; }
.news-card__img { overflow: hidden; background: var(--paper); }
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.news-card:hover .news-card__img img { transform: scale(1.04); filter: grayscale(0); }
.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.news-card__meta span { color: var(--black); font-weight: 500; }
.news-card__meta span::after { content: '·'; margin-left: 14px; color: var(--muted); }
.news-card__title { font-family: var(--serif); font-weight: 400; }
.news-card__title span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.news-card:hover .news-card__title span { background-size: 100% 1px; }
.news-card--static .news-card__title span { background: none; } /* не ссылка — без подчёркивания */

.news-card--featured .news-card__img { aspect-ratio: 3 / 2; }
.news-card--featured .news-card__meta { margin: 24px 0 12px; }
.news-card--featured .news-card__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.news-card__text { margin-top: 14px; max-width: 560px; color: var(--muted); }
.news-card__more {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.news__list { display: flex; flex-direction: column; }
.news-card--row .news-card__link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.news-card--row:first-child .news-card__link { padding-top: 0; }
.news-card--row:last-child .news-card__link { border-bottom: 0; }
.news-card--row .news-card__img { aspect-ratio: 4 / 5; }
.news-card--row .news-card__meta { flex-direction: column; gap: 2px; margin-bottom: 10px; }
.news-card--row .news-card__meta span::after { content: none; }
.news-card--row .news-card__title { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; }

/* ---------- Альбомы ---------- */
.albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 48px);
}
.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 4vw, 64px) clamp(16px, 3vw, 48px) clamp(28px, 3vw, 48px);
}
.album__stack {
  position: relative;
  display: block;
  width: min(90%, 391px); /* было min(78%, 340px), +15% */
  aspect-ratio: 4 / 5;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.album__page {
  position: absolute;
  inset: 0;
  padding: 10px 10px 34px;
  background: var(--white);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .06);
  transition: transform .6s var(--ease);
}
.album__page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1);
}
.album__page:nth-child(1) { transform: rotate(-7deg) translate(-6%, 2%); }
.album__page:nth-child(2) { transform: rotate(5deg) translate(5%, 1%); }
.album__page:nth-child(3) { transform: rotate(-1deg); }
.album:hover .album__page:nth-child(1) { transform: rotate(-11deg) translate(-12%, 4%); }
.album:hover .album__page:nth-child(2) { transform: rotate(9deg) translate(11%, 3%); }
.album:hover .album__page:nth-child(3) { transform: rotate(0deg) translateY(-4%); }

.album__meta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.album__label {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.album__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.1;
  white-space: nowrap;
}
.album__count { font-size: 13px; color: var(--muted); }
.album__open {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

/* ---------- Галерея моделей ---------- */
.gallery { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: 90px; }
.gallery.is-entering { animation: galleryIn .7s var(--ease) both; }
@keyframes galleryIn { from { opacity: 0; transform: translateY(24px); } }
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--black);
}
.gallery__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.gallery__tabs { display: flex; gap: 6px; margin-right: auto; margin-left: 24px; }
.gallery__tabs button {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.gallery__tabs button:hover { border-color: var(--black); }
.gallery__tabs button[aria-selected="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.gallery__close {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.gallery__close:hover { color: var(--black); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px);
}
.card { animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }
.card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.card:hover .card__photo img { transform: scale(1.05); filter: grayscale(0); }
.card__params {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 14px 12px;
  background: rgba(255, 255, 255, .94);
  text-align: center;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.card:hover .card__params { transform: translateY(0); }
.card__params div { display: flex; flex-direction: column; }
.card__params dt { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__params dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; }
.card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.card__name { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.card__height { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.card__mobile-params { display: none; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Заглушка, пока у модели нет фото */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--paper);
}
.ph__letter { font-family: var(--serif); font-size: clamp(56px, 6vw, 88px); line-height: 1; color: #cfccc6; }
.ph__note { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.mp-viewer--empty { cursor: default; }
.mp-viewer--empty .ph__letter { font-size: clamp(110px, 12vw, 180px); }

/* Золотая рамка по краю фото у топ-моделей */
.gold-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 5px solid transparent;
  border-image: linear-gradient(135deg, #8a6420 0%, #d9b45a 22%, #f6e3a1 42%, #b8892e 62%, #f1d68a 82%, #8a6420 100%) 1;
  pointer-events: none;
}
.mp-viewer .gold-frame { border-width: 6px; }

.card__link { display: block; }
.card__link:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }

/* ---------- Страница модели (model.html) ---------- */
.model-page { padding: calc(68px + clamp(24px, 3vw, 40px)) 0 clamp(80px, 10vw, 140px); animation: galleryIn .6s var(--ease) both; }
.mp-empty { min-height: 50vh; padding-top: 40px; }
.mp-empty__text { margin: 20px 0 32px; color: var(--muted); }

.mp-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.mp-back, .mp-nav {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mp-back { display: inline-flex; gap: 10px; align-items: center; transition: opacity .2s; }
.mp-back:hover { opacity: .6; }
.mp-nav { display: flex; align-items: center; gap: 10px; }
.mp-nav__count { margin-right: 8px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mp-nav__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0;
  transition: background .25s, color .25s, border-color .25s;
}
.mp-nav__arrow:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.mp-main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.mp-photo { position: sticky; top: 92px; }

/* Главное фото: все снимки лежат стопкой, активный проявляется */
.mp-viewer {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--paper);
}
.mp-viewer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1);
  opacity: 0;
  transition: opacity .8s var(--ease), filter .6s var(--ease), transform .9s var(--ease);
}
.mp-viewer__img.is-active { opacity: 1; }
.mp-viewer:hover .mp-viewer__img { filter: grayscale(0); transform: scale(1.02); }

/* Полоска таймера до следующего фото */
.mp-progress { height: 2px; margin-top: 12px; background: var(--line); overflow: hidden; }
.mp-progress span {
  display: block;
  height: 100%;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  animation: shotProgress var(--shot-time, 3s) linear forwards;
}
@keyframes shotProgress { to { transform: scaleX(1); } }

/* Миниатюры под главным фото */
.mp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.mp-thumb {
  flex: 0 0 72px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
  opacity: .45;
  outline: 1px solid transparent;
  outline-offset: 2px;
  transition: opacity .3s var(--ease), outline-color .3s var(--ease);
}
.mp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.mp-thumb:hover { opacity: .8; }
.mp-thumb.is-active { opacity: 1; outline-color: var(--black); }

.mp-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.mp-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.01em;
}
.mp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(28px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--line);
}
.mp-stats div { padding: 18px 0 16px; }
.mp-stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.mp-stats dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mp-stats dd { margin-top: 4px; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.mp-stats small { margin-left: 4px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.mp-params { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.mp-note {
  margin-top: clamp(28px, 3vw, 40px);
  padding: 18px 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.mp-params div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mp-params dt { color: var(--muted); }
.mp-params dd { font-weight: 500; text-align: right; }

.mp-manager { margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 2.5vw, 32px); background: var(--paper); }
.mp-manager__label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.mp-manager__person { display: flex; align-items: center; gap: 16px; margin: 18px 0 20px; }
.mp-manager__avatar {
  flex: 0 0 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
}
.mp-manager__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.mp-contacts { margin-bottom: 20px; border-top: 1px solid #dcdad5; }
.mp-contacts a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #dcdad5;
  font-size: 14px;
  transition: padding .3s var(--ease);
}
.mp-contacts a:hover { padding-left: 8px; }
.mp-contacts span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mp-contacts b { font-weight: 500; text-align: right; word-break: break-word; }

.mp-section { margin-top: clamp(64px, 8vw, 110px); }
.mp-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--black);
}
.mp-section__head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.mp-section__head span, .mp-section__head a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mp-section__head a { color: var(--black); padding-bottom: 3px; border-bottom: 1px solid currentColor; }

/* ---------- Просмотр фото ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  background: rgba(8, 8, 8, .96);
  color: var(--white);
  animation: fadeIn .3s var(--ease) both;
}
@keyframes fadeIn { from { opacity: 0; } }
.lightbox[hidden] { display: none; }
.lightbox__stage {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  max-height: calc(100svh - 120px);
  object-fit: contain;
}
.lightbox__arrow, .lightbox__close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 16px;
  transition: background .25s, color .25s;
}
.lightbox__arrow:hover, .lightbox__close:hover { background: var(--white); color: var(--black); }
.lightbox__arrow--prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lightbox__arrow--next { grid-column: 3; grid-row: 1; justify-self: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__count {
  position: absolute;
  left: 0; right: 0;
  bottom: 18px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .2em;
}
.lightbox.is-single .lightbox__arrow { visibility: hidden; }
.lightbox-open { overflow: hidden; }

/* ---------- Стать моделью ---------- */
.casting { background: var(--paper); }
.casting__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.casting__visual { position: sticky; top: 100px; }
.casting__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1);
}
.casting__quote {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
}

.requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.requirements__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 0;
  font-size: 14px;
}
.requirements__item + .requirements__item { padding-left: 24px; border-left: 1px solid var(--line); }
.requirements__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form { display: flex; flex-direction: column; gap: 26px; }
.form__row--radio { display: flex; gap: 10px; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span {
  display: inline-block;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid #cfcdc8;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.radio input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.radio input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input {
  font: inherit;
  font-size: 16px;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid #c9c7c2;
  background: transparent;
  border-radius: 0;
  outline: none;
  transition: border-color .25s;
}
.field input:focus { border-color: var(--black); }
.field.is-invalid input { border-color: #b3261e; }
.upload {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px;
  text-align: center;
  border: 1px dashed #b9b6b0;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.upload:hover { border-color: var(--black); background: rgba(255, 255, 255, .6); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__title { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.upload__hint { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--black); width: 16px; height: 16px; }
.check.is-invalid { color: #b3261e; }
.form__status { font-size: 14px; min-height: 1em; }
.form__status.is-success { font-family: var(--serif); font-size: 20px; }

/* ---------- Футер ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(64px, 8vw, 110px) 0 32px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.footer__logo img { height: clamp(64px, 8vw, 110px); width: auto; }
.footer__tagline { max-width: 320px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 8px;
}
.footer__col a, .footer__col span { color: rgba(255, 255, 255, .85); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom a:hover { color: var(--white); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; height: 68px; }
  .nav__list { display: none; }
  .nav__logo img { height: 34px; }
  .header.is-solid .nav__logo img { height: 30px; }
  .burger { display: block; }
  .mobile-menu { display: flex; }

  .hero__slide { grid-template-columns: 1fr; }
  .hero__slide figure:not(:first-child) { display: none; }
  .hero__bottom { grid-template-columns: auto 1fr; }
  .hero__scroll { display: none; }

  .news__grid { grid-template-columns: 1fr; }
  .news-card--row:first-child .news-card__link { padding-top: 24px; }

  .mp-main { grid-template-columns: 1fr; }
  .mp-photo { position: static; max-width: 560px; }

  .casting__inner { grid-template-columns: 1fr; }
  .casting__visual { position: static; }
  .casting__visual img { aspect-ratio: 16 / 10; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero__title { width: 84vw; }
  .hero__actions .btn { width: 100%; }

  .mp-back { letter-spacing: .12em; }
  .mp-nav__count { display: none; }
  .mp-stats { grid-template-columns: repeat(2, 1fr); }
  .mp-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .mp-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mp-params { grid-template-columns: 1fr; }
  .mp-thumb { flex: 0 1 60px; min-width: 0; } /* 5–6 миниатюр сжимаются и влезают в ширину экрана */
  .gold-frame { border-width: 3px; }
  .lightbox { grid-template-columns: 1fr 1fr; }
  .lightbox__stage { grid-column: 1 / -1; padding: 0 12px; }
  .lightbox__stage img { max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); }
  .lightbox__arrow { grid-row: 1; align-self: end; margin-bottom: 24px; }
  .lightbox__arrow--prev { grid-column: 1; }
  .lightbox__arrow--next { grid-column: 2; }
  .lightbox__count { bottom: 38px; }

  .news-card--featured .news-card__img { aspect-ratio: 4 / 3; }
  .news-card--row .news-card__link { grid-template-columns: 88px 1fr; gap: 18px; }
  .news-card__meta { letter-spacing: .12em; }

  .albums { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__tabs { margin-left: 0; order: 3; width: 100%; }
  .gallery__tabs button { flex: 1; padding: 9px 4px; letter-spacing: .1em; white-space: nowrap; }
  .card__params { display: none; }
  .card__info { flex-direction: column; gap: 0; }
  .card__height { display: none; }
  .card__mobile-params { display: block; }
  .card__name { font-size: 17px; }

  .requirements { grid-template-columns: 1fr; }
  .requirements__item + .requirements__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .form__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
