/* ============================================================
   MÜGE - muge.su
   Дизайн-система: тихая дороговизна, скандинавский минимализм
   Палитра из фирменной коробки: глубокий navy, голубые волны,
   кремовая база, терракотовый край глины
   ============================================================ */

:root {
  /* Цвет */
  --navy-950: #0a1428;
  --navy-900: #0e1f3d;
  --navy-800: #16294a;
  --navy-700: #1f3a63;
  --blue-400: #6090c0;
  --blue-300: #8fb2d9;
  --blue-100: #dbe7f3;
  --cream-25: #f8f4e8;
  --cream-50: #f3eedc;
  --cream-100: #eae2c9;
  --cream-200: #ddd3b4;
  --brand-500: #3e4b85;
  --brand-600: #333d6e;
  --terra-500: #b76b42;
  --terra-600: #9e5531;
  --terra-100: #f0dfd3;
  --ink-900: #131c2e;
  --ink-600: #45506a;
  --ink-400: #7a839a;
  --white: #ffffff;

  /* Типографика */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  /* Ритм */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 160px);

  /* Движение */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--cream-25);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--navy-900); color: var(--cream-50); }

/* ---------- Типографика ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-500);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.kicker::before {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.kicker--plain::before { display: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h-hero  { font-size: clamp(44px, 7.2vw, 104px); }
.h-xl    { font-size: clamp(36px, 5vw, 68px); }
.h-lg    { font-size: clamp(28px, 3.6vw, 46px); }
.h-md    { font-size: clamp(22px, 2.6vw, 32px); }
.h-sm    { font-size: 22px; }

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
  color: var(--ink-600);
  max-width: 62ch;
}
.prose p { margin-bottom: 1.4em; color: var(--ink-600); font-size: 17px; line-height: 1.85; }
.prose p:first-of-type { color: var(--ink-900); }
.prose em { font-family: var(--font-display); font-size: 1.15em; font-style: italic; }

/* ---------- Каркас ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--flush { padding-top: 0; }
.section--navy { background: var(--navy-950); color: var(--cream-50); }
.section--cream { background: var(--cream-50); }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform 0.45s var(--ease-out);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.site-header.is-scrolled {
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(19, 28, 46, 0.08);
}
.site-header.is-hidden { transform: translateY(-100%); }

.logo {
  display: block;
  width: 108px;
  height: 36px;
  color: var(--cream-25);
  transition: color var(--dur);
  -webkit-mask: url('../assets/img/logo-muge.svg') no-repeat center / contain;
  mask: url('../assets/img/logo-muge.svg') no-repeat center / contain;
  background-color: currentColor;
}
.site-header.is-scrolled .logo,
.site-header--solid .logo { color: var(--navy-900); }

.nav { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-25);
  opacity: 0.85;
  padding: 6px 0;
  position: relative;
  transition: color var(--dur), opacity 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.4s var(--ease-out);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.site-header.is-scrolled .nav a,
.site-header--solid .nav a { color: var(--navy-900); }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-25);
  transition: color var(--dur);
}
.site-header.is-scrolled .cart-link,
.site-header--solid .cart-link { color: var(--navy-900); }
.cart-link__count {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-500);
  color: var(--white);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  transform: scale(0);
  transition: transform 0.35s var(--ease-out);
}
.cart-link__count.has-items { transform: scale(1); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 130; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--cream-25);
  transition: all 0.35s var(--ease-out);
}
.site-header.is-scrolled .burger span,
.site-header--solid .burger span { background: var(--navy-900); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span { background: var(--cream-25) !important; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 52px);
  color: var(--cream-50);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu__note { margin-top: 40px; color: var(--blue-300); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.35s var(--ease-out), color 0.35s, border-color 0.35s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-500); color: var(--cream-25); }
.btn--primary:hover { background: var(--navy-900); }
.btn--light { background: var(--cream-25); color: var(--navy-900); }
.btn--light:hover { background: var(--brand-500); color: var(--white); }
.btn--outline { border: 1px solid rgba(19,28,46,0.35); color: var(--navy-900); }
.btn--outline:hover { border-color: var(--navy-900); background: var(--navy-900); color: var(--cream-25); }
.btn--outline-light { border: 1px solid rgba(247,243,236,0.4); color: var(--cream-25); }
.btn--outline-light:hover { border-color: var(--cream-25); background: var(--cream-25); color: var(--navy-900); }
.btn--terra { background: var(--brand-500); color: var(--white); }
.btn--terra:hover { background: var(--navy-900); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-900);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(19,28,46,0.25);
  transition: border-color 0.3s, gap 0.3s var(--ease-out);
}
.link-arrow:hover { border-color: var(--brand-500); gap: 16px; color: var(--brand-500); }
.link-arrow--light { color: var(--cream-25); border-color: rgba(247,243,236,0.3); }
.link-arrow--light:hover { color: var(--blue-300); }

.tagline-svg {
  display: block;
  aspect-ratio: 13.31;
  -webkit-mask: url('../assets/img/tagline-muge.svg') no-repeat left center / contain;
  mask: url('../assets/img/tagline-muge.svg') no-repeat left center / contain;
  background-color: currentColor;
}
.hero__tagline { width: min(92%, 980px); color: var(--cream-50); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--navy-950);
  color: var(--cream-25);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 2.8s var(--ease-out);
}
.hero__bg--mobile { display: none; }
@media (max-width: 720px) {
  .hero__bg--desktop { display: none; }
  .hero__bg--mobile { display: block; }
}
.hero.is-loaded .hero__bg,
.collection-hero.is-loaded .hero__bg { opacity: 1; transform: scale(1); }
.is-instant .hero__bg { transition: none !important; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,20,40,0.55) 0%, rgba(10,20,40,0.18) 42%, rgba(10,20,40,0) 68%),
    linear-gradient(180deg, rgba(10,20,40,0.55) 0%, rgba(10,20,40,0.04) 45%, rgba(10,20,40,0.7) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero__kicker { color: var(--blue-300); }
.hero__title { margin: 20px 0 26px; max-width: 12ch; }
.hero__sub { font-size: clamp(16px, 1.4vw, 20px); color: rgba(247,243,236,0.82); max-width: 52ch; margin-bottom: 44px; }
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 8vw, 110px);
  writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(247,243,236,0.55);
  display: flex; align-items: center; gap: 14px;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(247,243,236,0.6), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.6); opacity: 0.3; }
}

/* ---------- Reveal-анимации ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.reveal-img.is-visible img { transform: scale(1); }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img img, .hero__bg { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------- Витрина коллекций (главная) ---------- */
.collections-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }

.collection-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.5vw, 40px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid rgba(19,28,46,0.12);
}
.collection-row__num {
  grid-column: 1 / 2;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-400);
  letter-spacing: 0.08em;
}
.collection-row__media {
  grid-column: 2 / 7;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-100);
}
.collection-row__media { position: relative; }
.collection-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.collection-row:hover .collection-row__media img { transform: scale(1.05); }
.collection-row__media .rotator-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.collection-row__media .rotator-frame.is-shown { opacity: 1; }
.collection-row__body { grid-column: 7 / 13; padding-left: clamp(0px, 2vw, 24px); }
.collection-row__swatch {
  width: 44px; height: 44px; border-radius: 50%;
  border: 5px solid var(--terra-500);
  margin-bottom: 22px;
}
.collection-row__title { margin-bottom: 10px; }
.collection-row__tagline { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--brand-500); margin-bottom: 16px; }
.collection-row__desc { color: var(--ink-600); max-width: 46ch; margin-bottom: 26px; }
.collection-row:nth-child(even) .collection-row__media { grid-column: 7 / 12; order: 2; }
.collection-row:nth-child(even) .collection-row__body { grid-column: 2 / 7; order: 1; padding-left: 0; }

/* ---------- Полосы-манифесты ---------- */
.manifest {
  position: relative;
  background: var(--navy-950);
  color: var(--cream-50);
  overflow: hidden;
}
.manifest__wave {
  position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background-image: url('../assets/img/wave-pattern.svg');
  background-size: 1400px;
}
.manifest__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.manifest__quote { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; }
.manifest__quote em { color: var(--blue-300); font-style: italic; }
.manifest .prose p { color: rgba(247,243,236,0.75); }

/* ---------- Сетка ценностей ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(19,28,46,0.12);
  border: 1px solid rgba(19,28,46,0.12);
}
.value-cell {
  background: var(--cream-25);
  padding: clamp(28px, 3vw, 48px);
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background 0.4s var(--ease-out);
}
.value-cell:hover { background: var(--cream-100); }
.value-cell__num { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--brand-500); }
.value-cell h3 { font-size: 24px; margin-bottom: 10px; }
.value-cell p { color: var(--ink-600); font-size: 15px; }

/* ---------- Каталог ---------- */
.page-head { padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-head--navy { background: var(--navy-950); color: var(--cream-50); }
.page-head__title { margin: 18px 0 20px; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.catalog-card { position: relative; display: block; overflow: hidden; border-radius: 2px; background: var(--cream-100); }
.catalog-card:nth-child(1) { grid-column: 1 / 4; aspect-ratio: 4/4.6; }
.catalog-card:nth-child(2) { grid-column: 4 / 7; aspect-ratio: 4/4.6; }
.catalog-card:nth-child(3) { grid-column: 1 / 3; aspect-ratio: 4/5; }
.catalog-card:nth-child(4) { grid-column: 3 / 5; aspect-ratio: 4/5; }
.catalog-card:nth-child(5) { grid-column: 5 / 7; aspect-ratio: 4/5; }
.catalog-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.catalog-card:hover img { transform: scale(1.05); }
.catalog-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10,20,40,0) 40%, rgba(10,20,40,0.62) 100%);
}
.catalog-card__body { position: absolute; left: 28px; right: 28px; bottom: 26px; color: var(--cream-25); }
.catalog-card__title { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 6px; }
.catalog-card__tag { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--blue-300); }

/* ---------- Страница коллекции ---------- */
.collection-hero {
  position: relative;
  min-height: 62svh;
  display: flex; align-items: flex-end;
  background: var(--navy-950);
  color: var(--cream-25);
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.story-grid__text { grid-column: 2 / 8; }
.story-grid__aside { grid-column: 9 / 12; align-self: start; position: sticky; top: 120px; }
.aside-card { border-top: 2px solid var(--brand-500); padding-top: 24px; }
.aside-card dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 6px; }
.aside-card dd { font-size: 15px; color: var(--ink-900); margin-bottom: 20px; }

.items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.item-card { background: var(--white); border: 1px solid rgba(19,28,46,0.1); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.item-card__media { aspect-ratio: 1; overflow: hidden; background: var(--cream-100); }
.item-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.item-card:hover .item-card__media img { transform: scale(1.06); }
.item-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.item-card__spec { font-size: 13px; color: var(--ink-400); letter-spacing: 0.04em; }
.item-card__desc { font-size: 14px; color: var(--ink-600); flex: 1; }
.item-card__btn { margin-top: 14px; padding: 13px 20px; font-size: 12px; }

.set-banner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  background: var(--navy-950); color: var(--cream-25);
  border-radius: 2px; overflow: hidden;
}
.set-banner__media { aspect-ratio: 4/3; }
.set-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.set-banner__body { padding: clamp(32px, 4vw, 64px); }
.set-banner__price { font-family: var(--font-display); font-size: 38px; margin: 18px 0 6px; }
.set-banner__price-note { font-size: 13px; color: var(--blue-300); margin-bottom: 26px; }

/* Интерьерная лента - горизонтальная листалка */
.gallery-strip { position: relative; }
.gallery-band {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.gallery-band::-webkit-scrollbar { display: none; }
.gallery-band figure {
  flex: 0 0 min(400px, 76vw);
  overflow: hidden; border-radius: 2px;
  aspect-ratio: 3/3.8;
  background: var(--cream-100);
  scroll-snap-align: start;
}
.gallery-band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery-band figure:hover img { transform: scale(1.04); }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button {
  width: 48px; height: 48px;
  border: 1px solid rgba(19,28,46,0.25);
  border-radius: 50%;
  font-size: 18px;
  color: var(--navy-900);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.gallery-nav button:hover { background: var(--brand-500); border-color: var(--brand-500); color: var(--cream-25); }

/* Навигация между коллекциями */
.collection-next { border-top: 1px solid rgba(19,28,46,0.12); }
.collection-next__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }

/* ---------- Фото внутри статьи ---------- */
.article-photo { margin: clamp(28px, 4vw, 44px) 0; border-radius: 2px; overflow: hidden; }
.article-photo img { width: 100%; display: block; }
.article-photo figcaption { font-size: 13px; color: var(--ink-400); padding-top: 10px; }

/* ---------- Этапы производства ---------- */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.stage-card { background: var(--navy-900); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.stage-card__media { aspect-ratio: 4/3; overflow: hidden; }
.stage-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.stage-card:hover .stage-card__media img { transform: scale(1.05); }
.stage-card__body { padding: 22px 24px 26px; }
.stage-card__num { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--blue-300); }
.stage-card__body h3 { color: var(--cream-50); font-size: 22px; margin: 8px 0 8px; }
.stage-card__body p { color: rgba(247,243,236,0.65); font-size: 14px; }
@media (max-width: 1024px) { .stage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stage-grid { grid-template-columns: 1fr; } }

/* ---------- Формы ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-600); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid rgba(19,28,46,0.2);
  background: var(--white);
  border-radius: 2px;
  padding: 15px 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(96,144,192,0.18);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-600); }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-900); flex: none; }
.form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 13px; color: var(--ink-400); }

/* ---------- Корзина ---------- */
.cart-empty { text-align: center; padding: clamp(48px, 8vw, 120px) 0; }
.cart-table { border-top: 1px solid rgba(19,28,46,0.12); }
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(19,28,46,0.12);
}
.cart-row__img { width: 96px; height: 96px; object-fit: cover; border-radius: 2px; background: var(--cream-100); }
.cart-row__title { font-family: var(--font-display); font-size: 20px; }
.cart-row__meta { font-size: 13px; color: var(--ink-400); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(19,28,46,0.2); border-radius: 2px; }
.qty button { width: 38px; height: 38px; font-size: 18px; color: var(--ink-600); }
.qty button:hover { color: var(--brand-500); }
.qty span { min-width: 36px; text-align: center; font-weight: 600; }
.cart-row__remove { font-size: 12px; color: var(--ink-400); text-decoration: underline; text-underline-offset: 3px; }
.cart-row__remove:hover { color: var(--brand-500); }

/* ---------- Футер ---------- */
.site-footer { background: var(--navy-950); color: var(--cream-50); }
.site-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(56px, 8vw, 100px) 0 clamp(32px, 4vw, 56px);
}
.site-footer__wordmark {
  display: block;
  width: clamp(96px, 9vw, 124px);
  aspect-ratio: 3.04;
  -webkit-mask: url('../assets/img/logo-muge.svg') no-repeat left center / contain;
  mask: url('../assets/img/logo-muge.svg') no-repeat left center / contain;
  background-color: var(--cream-25);
}
.site-footer__tagline {
  margin-top: 12px;
  width: clamp(120px, 12vw, 160px);
  color: var(--blue-300);
}
.site-footer h4 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247,243,236,0.5); margin-bottom: 20px; font-weight: 600; }
.site-footer li { margin-bottom: 12px; }
.site-footer li a { color: rgba(247,243,236,0.85); font-size: 15px; transition: color 0.3s; }
.site-footer li a:hover { color: var(--blue-300); }
.site-footer__legal {
  border-top: 1px solid rgba(247,243,236,0.14);
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(247,243,236,0.5);
}
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal a:hover { color: var(--blue-300); }

/* ---------- Cookie ---------- */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--navy-900); color: var(--cream-50);
  border-radius: 4px;
  padding: 22px 26px;
  display: none;
  gap: 20px; align-items: center;
  box-shadow: 0 18px 50px rgba(10,20,40,0.35);
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { font-size: 13px; line-height: 1.6; color: rgba(247,243,236,0.85); }
.cookie-bar p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar button { flex: none; padding: 12px 24px; }

/* ---------- Тост ---------- */
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  background: var(--navy-900); color: var(--cream-25);
  padding: 16px 24px; border-radius: 3px;
  font-size: 14px;
  box-shadow: 0 12px 36px rgba(10,20,40,0.3);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- Страницы-статусы (404, спасибо) ---------- */
.status-page {
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy-950); color: var(--cream-50);
  text-align: center;
}
.status-page__inner { width: 100%; }
.status-page .h-hero { margin: 16px 0 20px; }
.status-page p { color: rgba(247,243,236,0.75); max-width: 50ch; margin: 0 auto 40px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .story-grid__text { grid-column: 1 / 9; }
  .story-grid__aside { grid-column: 9 / 13; }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .manifest__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-header__inner { height: 72px; }

  .collection-row { grid-template-columns: 1fr; padding: 36px 0; }
  .collection-row__num { display: none; }
  .collection-row__media,
  .collection-row:nth-child(even) .collection-row__media { grid-column: 1 / -1; order: 0; }
  .collection-row__body,
  .collection-row:nth-child(even) .collection-row__body { grid-column: 1 / -1; order: 1; padding-left: 0; padding-top: 24px; }

  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card, .catalog-card:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4/4.4; }

  .story-grid { grid-template-columns: 1fr; }
  .story-grid__text, .story-grid__aside { grid-column: 1 / -1; position: static; }

  .form-grid { grid-template-columns: 1fr; }
  .set-banner { grid-template-columns: 1fr; }
  .gallery-band { grid-template-columns: 1fr; }
  .gallery-band figure { aspect-ratio: 4/3; }
  .gallery-band figure:nth-child(3n+2) { margin-top: 0; }

  .cart-row { grid-template-columns: 72px 1fr; grid-template-rows: auto auto; }
  .cart-row__img { width: 72px; height: 72px; grid-row: 1 / 3; }
  .collections-intro { grid-template-columns: 1fr; align-items: start; }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  .items-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions .btn { width: auto; flex: 1; padding: 16px 20px; }
}
