/* Главная muse: первый экран по образцу naipache → каталог → о бренде */

/* ---------- первый экран ---------- */
.hero { position: relative; height: calc(100svh - var(--bar-h) - var(--header-h)); min-height: 520px; max-height: 1100px; overflow: hidden; background: var(--night); color: var(--on-night); }
.hero-media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: heroIn 1.6s var(--ease) both; }
.hero-media img:nth-child(2) { animation-delay: 0.12s; }
.hero-media img:nth-child(3) { animation-delay: 0.24s; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } }
/* затемнение снизу: заголовок читается на любом кадре, без резкой полосы */
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 26, 20, 0) 40%, rgba(43, 26, 20, 0.35) 66%, rgba(43, 26, 20, 0.72) 100%); pointer-events: none; }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vh, 80px); z-index: 1; display: grid; justify-items: center; gap: 14px; padding: 0 var(--pad); text-align: center; }
.hero-kicker { margin: 0; color: var(--blush); }
.hero-title { font: 800 clamp(44px, 6vw, 92px)/0.98 var(--f-display); letter-spacing: -0.015em; animation: textIn 1.2s 0.3s var(--ease) both; }
.hero-sub { margin: 0; max-width: 42ch; font-size: clamp(15px, 1.1vw, 17px); color: var(--on-night-2); }
.hero-cta { margin-top: 10px; color: var(--on-night); }
@keyframes textIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- каталог ---------- */
.shelf { padding-top: clamp(48px, 5vw, 72px); }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 2vw, 28px); }
.shelf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }

/* ---------- о бренде ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-top: clamp(80px, 9vw, 140px); }
.about-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-card { position: relative; display: grid; place-items: center; min-height: clamp(460px, 44vw, 640px); }
.cloud-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.cloud-frame path { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.4; }
.about-body { position: relative; display: grid; justify-items: start; gap: 18px; width: min(440px, 72%); padding: 56px 0; }
.about-logo { margin: 0; color: var(--wine); }
.about-logo .logo { height: 34px; }
.about-title { font: 800 clamp(26px, 2.4vw, 36px)/1.1 var(--f-display); }
.about-text { margin: 0; color: var(--ink-2); line-height: 1.6; }
.about-sign { margin: 6px 0 0; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 960px) {
  .hero-media { grid-template-columns: 1fr; }
  .hero-media img:nth-child(n + 2) { display: none; }
  .hero { min-height: 480px; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .about { grid-template-columns: 1fr; }
  .about-card { min-height: 0; }
  .about-body { width: calc(100% - 120px); padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-title { animation: none; }
}
