/* ============================================================
   С?М — стили главной страницы
   ============================================================ */

/* ---------- герой: два кадра на весь экран ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink);
  height: calc(100vh - var(--header-h) - 38px);
  height: calc(100svh - var(--header-h) - 38px);
  min-height: 540px; max-height: 1080px;
}
.hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hero__shot { position: relative; overflow: hidden; background: var(--ink); }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__shot:first-child img { object-position: 60% 30%; }
.hero__shot:last-child img { object-position: center 22%; }
/* затемнение: ровный тон + усиление к низу, чтобы белый лок-ап читался */
.hero__media::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(17,17,17,0.18) 0%, rgba(17,17,17,0.32) 46%, rgba(17,17,17,0.62) 100%),
    rgba(17,17,17,0.28);
}
.hero__manifest {
  position: absolute; z-index: 3; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: min(560px, 82vw); text-align: center; color: #fff; text-wrap: balance;
  font-size: clamp(14px, 1.15vw, 18px); line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero__manifest p { margin: 0; }
.hero__manifest b { display: block; font-weight: 600; margin-top: 1.9em; }
.hero__title {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 0 2.2vw; font-size: 0; line-height: 0; pointer-events: none;
}
/* лок-ап во всю ширину, но не выше ~40% экрана — чтобы на низких мониторах
   оставалось место манифесту (пропорция знака 1860:404) */
.hero__lockup {
  display: block; height: auto; margin: 0 auto;
  width: min(100%, calc((100vh - var(--header-h) - 38px) * 1.84));
  width: min(100%, calc((100svh - var(--header-h) - 38px) * 1.84));
}

/* ---------- плитки коллекций ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--paper); }
.tile { position: relative; aspect-ratio: 3 / 3.9; overflow: hidden; display: block; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.5s, opacity 0.3s; }
.tile:hover img { transform: scale(1.05); opacity: 1; }
.tile__label {
  position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 15px; z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.tile--cta { background: var(--lime); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.tile--cta span { font-size: 17px; font-weight: 500; text-align: center; max-width: 150px; }
.tile--cta .icon { width: 46px; height: 46px; transition: transform 0.2s; }
.tile--cta:hover .icon { transform: translateY(6px); }

/* ---------- список коллекций ---------- */
.colist { position: relative; padding-block: 90px; }
.colist__img { position: absolute; top: 50%; width: 300px; aspect-ratio: 3/4; object-fit: cover; transform: translateY(-50%); opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.colist__img--l { left: var(--pad); }
.colist__img--r { right: var(--pad); }
.colist__img.is-show { opacity: 1; }
.colist__items { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.colist__item {
  position: relative; font-size: clamp(28px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.01em;
  color: var(--mute); transition: color 0.15s; padding: 2px 40px; text-align: center;
}
.colist__item:hover { color: var(--ink); }
.colist__item.is-hot { color: var(--plum); }
.colist__item sup, .colist__item sub { position: absolute; font-size: 14px; color: var(--mute); }
.colist__item sup { left: 0; top: 12px; }
.colist__item sub { right: 0; top: 12px; }

/* ---------- слайдер лукбука ---------- */
.look { padding-block: 70px 40px; }
.look__stage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; gap: 18px; align-items: center; }
.look__shot { aspect-ratio: 3 / 4.6; overflow: hidden; background: var(--off); }
.look__shot img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.look__circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; justify-self: center; width: 100%; max-width: 470px; position: relative; }
.look__circle::after { content: ''; position: absolute; right: 8%; bottom: 4%; width: 14px; height: 80px; background: var(--lime); }
.look__circle img { width: 100%; height: 100%; object-fit: cover; }
.look__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px;
  background: var(--paper); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
}
.look__nav:hover { background: var(--off); }
.look__nav--prev { left: 6px; }
.look__nav--next { right: 6px; }
.look__word {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7vw, 120px);
  margin-top: -0.45em; position: relative; z-index: 4; pointer-events: none; text-transform: lowercase;
  color: var(--paper); -webkit-text-stroke: 2px var(--ink); letter-spacing: 0.04em;
}
.look__word b { color: var(--lime); -webkit-text-stroke: 0; }

/* ---------- промо-баннер ---------- */
.promo-banner { background: var(--lime); padding: 56px 0; }
.promo-banner__in { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.promo-banner__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 56px); text-transform: lowercase; line-height: 1; }
.promo-banner__code {
  margin-left: auto; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 18px 26px;
}
.promo-banner__code b { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.06em; color: var(--lime); }
.promo-banner__sub { flex-basis: 100%; font-size: 15px; }

/* ---------- преимущества ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.perk { background: var(--paper); padding: 34px 26px; }
.perk__num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--plum); margin-bottom: 14px; }
.perk__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.perk p { font-size: 14px; color: var(--mute); margin: 0; }

/* ---------- о бренде ---------- */
.brand-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.brand-block__media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.brand-block__media img { width: 100%; height: 100%; object-fit: cover; }
.brand-block__text .h2 { margin-bottom: 18px; }
.brand-block__text p { color: var(--ink-soft); max-width: 520px; }

/* ---------- блог на главной ---------- */
.blogrow { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 20px; }
.bcard { display: flex; flex-direction: column; gap: 12px; }
.bcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--off); }
.bcard--lead .bcard__media { aspect-ratio: 16 / 9; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mute); }
.bcard__meta .tag { font-size: 11.5px; }
.bcard__title { font-size: 16px; line-height: 1.35; }
.bcard--lead .bcard__title { font-size: clamp(18px, 1.8vw, 26px); }
.bcard:hover .bcard__title { color: var(--plum); }
.bcard__more { margin-top: auto; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- SEO-текст ---------- */
.seo-text { border-top: 1px solid var(--line); padding-block: 44px 10px; color: var(--mute); font-size: 13.5px; }
.seo-text h1 { font-size: 15px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.seo-text p { max-width: 900px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .colist__img { display: none; }
  .blogrow { grid-template-columns: 1fr 1fr; }
  .bcard--lead { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero { min-height: 480px; }
  .hero__manifest { top: 40%; font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--cta { aspect-ratio: auto; padding: 34px 16px; }
  .look__stage { grid-template-columns: 1fr 1fr; }
  .look__shot:nth-child(3), .look__shot:nth-child(4) { display: none; }
  .look__circle { max-width: none; aspect-ratio: 3/4.6; border-radius: 0; }
  .perks { grid-template-columns: 1fr 1fr; }
  .brand-block { grid-template-columns: 1fr; }
  .promo-banner__code { margin-left: 0; }
}
@media (max-width: 620px) {
  .blogrow { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
}
