/* ============================================================
   Ensley — Главная. Стили страницы.
   Загружается после colors_and_type.css. Использует токены DS.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--milk); color: var(--fg); overflow-x: clip; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- scroll reveal ----------
   База = конечное состояние (видно для print / reduced-motion / ранних кадров).
   JS добавляет .armed (скрытое предсостояние), затем .in (проигрывает). */
.reveal { opacity: 1; transform: none; filter: none; }
.reveal.armed { opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.armed.blur { transform: none; filter: blur(8px);
  transition: opacity 500ms var(--ease-out), filter 500ms var(--ease-out); }
.reveal.armed.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"].armed { transition-delay: 90ms; }
.reveal[data-delay="2"].armed { transition-delay: 180ms; }
.reveal[data-delay="3"].armed { transition-delay: 270ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal.armed { opacity:1 !important; transform:none !important; filter:none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   CHROME — промо-полоса, шапка
   ============================================================ */
.promo-bar { background: var(--cream); color: var(--graphite); border-bottom: 1px solid var(--hairline);
  position: relative; z-index: 60; }
.promo-bar__in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px;
  padding: 6px 44px; text-align: center; }
.promo-bar p { margin: 0; font-family: var(--font-body); font-size: 13.5px; line-height: 1.35; color: var(--fg-secondary); }
.promo-bar b { font-family: var(--font-ui); font-weight: 600; color: var(--graphite); letter-spacing: .02em; }
.promo-bar a { color: var(--olive); white-space: nowrap; }
.promo-bar a:hover { color: var(--graphite); }
.promo-bar__x { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none;
  cursor: pointer; color: var(--warm-gray); display: inline-flex; padding: 4px; border-radius: var(--r-full); }
.promo-bar__x:hover { color: var(--graphite); background: rgba(42,42,42,.05); }
.promo-bar.is-hidden { display: none; }

.hdr { position: sticky; top: 0; z-index: 50; transition: box-shadow 220ms; pointer-events: none; }
.hdr__bar { display: flex; justify-content: center; padding-block: 14px; transition: padding-block .3s var(--ease-out); }
.hdr.mini .hdr__bar { padding-block: 8px; }
.hdr__pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(247,245,240,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline); border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  padding: 7px 7px 7px 18px; transition: box-shadow 220ms var(--ease-out), padding .3s var(--ease-out); }
.hdr.scrolled .hdr__pill { box-shadow: var(--shadow-card); }
.hdr.mini .hdr__pill { padding: 4px 5px 4px 15px; }
.logo { font-family: var(--font-display); font-weight: 400; font-size: 21px; text-transform: lowercase;
  color: var(--graphite); cursor: pointer; line-height: 1; letter-spacing: -.01em; background: none; border: none;
  padding: 0; margin-right: 14px; transition: color var(--dur-fast), font-size .3s var(--ease-out), margin-right .3s var(--ease-out); }
.logo:hover { color: var(--olive); }
.logo .reg { font-size: .42em; vertical-align: top; font-weight: 300; margin-left: 1px; }
.hdr.mini .logo { font-size: 18px; margin-right: 10px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-family: var(--font-ui); font-size: 14.5px; text-transform: lowercase; color: var(--graphite);
  transition: color 200ms, background 200ms, padding .3s var(--ease-out), font-size .3s var(--ease-out); position: relative; padding: 9px 16px; border-radius: var(--r-pill); }
.nav a:hover { color: var(--olive); background: rgba(157,170,134,0.14); }
.nav a.active { color: var(--olive); }
.nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--olive); border-radius: 2px; transition: left .3s var(--ease-out), right .3s var(--ease-out); }
.nav a.nav--buy { background: var(--sage); color: #fff; }
.nav a.nav--buy:hover { background: var(--olive); color: #fff; }
.nav a.nav--buy.active::after { display: none; }
.hdr.mini .nav a { font-size: 13.5px; padding: 7px 12px; }
.hdr.mini .nav a.active::after { left: 12px; right: 12px; bottom: 3px; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--graphite); padding: 8px; border-radius: var(--r-full); }
.menu-btn:hover { background: rgba(42,42,42,.05); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { font-family: var(--font-ui); font-weight: 500; font-size: 15px; text-transform: lowercase; border-radius: var(--r-pill);
  padding: 13px 26px; border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast), color var(--dur-fast); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--primary { background: var(--graphite); color: var(--cream); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-h); color: var(--cream); }
.btn--sage { background: var(--sage); color: #fff; }
.btn--sage:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-h); color: #fff; background: var(--olive); }
.btn--outline { background: transparent; color: var(--graphite); border-color: var(--border-soft); }
.btn--outline:hover { transform: translateY(-2px); background: var(--white); box-shadow: var(--shadow-sm); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--on-dark { background: var(--cream); color: var(--graphite); }
.btn--on-dark:hover { color: var(--graphite); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-card-h); }
.btn--outline-dark { background: transparent; color: var(--cream); border-color: var(--border-on-dark); }
.btn--outline-dark:hover { background: rgba(247,245,240,0.08); color: var(--cream); }
.btn .arr { transition: transform var(--dur-fast) var(--ease-out); display: inline-block; }
.btn:hover .arr { transform: translateX(6px); }

/* arrow-link */
.alink { font-family: var(--font-ui); font-size: 15px; color: var(--olive); display: inline-flex; align-items: center; gap: 7px;
  text-transform: lowercase; cursor: pointer; }
.alink .arr { transition: transform var(--dur-fast) var(--ease-out); }
.alink:hover { color: var(--graphite); }
.alink:hover .arr { transform: translateX(6px); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: var(--section-pad-y); position: relative; }
.section--milk { background: var(--milk); }
.section--cream { background: var(--cream); }
.section--beige { background: var(--beige); }
.section--white { background: var(--white); }
.section--sage { background: var(--sage-light); }
.section--dark { background: var(--graphite); color: var(--fg-on-dark); }
.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section-num { white-space: nowrap; }
.eyebrow { display: inline-block; }

/* ============================================================
   BLOCK 1 — HERO
   ============================================================ */
.hero { position: relative; background: var(--cream); overflow: hidden; margin-top: -85px; }
.hero__media { position: relative; width: 100%; min-height: clamp(520px, 82vh, 780px); }
/* база = видимое; фото НИКОГДА не прячем по opacity (анимируем только масштаб),
   чтобы даже на «замёрзшем» первом кадре фотография была видна */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  opacity: 1; transform: none; }
.hero.is-armed .hero__img { transform: scale(1.05); }
.hero.is-armed.is-in .hero__img { transform: none; transition: transform 1200ms var(--ease-out); }
.hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(252,250,246,0.96) 0%, rgba(252,250,246,0.88) 26%, rgba(252,250,246,0.45) 48%, rgba(252,250,246,0) 66%); }
.hero__inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero__copy { max-width: 34rem; padding-block: 60px; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(33px, 4.4vw, 58px); line-height: 1.06; margin: 0 0 20px; max-width: 16ch; }
.hero__sub { font-family: var(--font-body); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--fg-secondary);
  max-width: 34ch; margin: 0 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* opacity всегда 1; entrance — только подъём (translateY). Контент виден в любом контексте */
.hero.is-armed .eyebrow, .hero.is-armed h1, .hero.is-armed .hero__sub, .hero.is-armed .hero__cta {
  transform: translateY(20px); }
.hero.is-armed.is-in .eyebrow, .hero.is-armed.is-in h1, .hero.is-armed.is-in .hero__sub, .hero.is-armed.is-in .hero__cta {
  transform: none; transition: transform 700ms var(--ease-out); }
.hero.is-armed.is-in .eyebrow { transition-delay: 320ms; }
.hero.is-armed.is-in h1 { transition-delay: 440ms; }
.hero.is-armed.is-in .hero__sub { transition-delay: 580ms; }
.hero.is-armed.is-in .hero__cta { transition-delay: 700ms; }
.hero__note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-secondary);
  font-family: var(--font-body); }
.hero__note b { font-family: var(--font-ui); font-weight: 600; color: var(--olive); }
@media (prefers-reduced-motion: reduce) {
  .hero.is-armed .hero__img, .hero.is-armed .eyebrow, .hero.is-armed h1, .hero.is-armed .hero__sub, .hero.is-armed .hero__cta {
    opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   BLOCK 2 — 4 FLIP CARDS
   ============================================================ */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flip { perspective: 1400px; }
.flip__inner { position: relative; width: 100%; min-height: 430px; transform-style: preserve-3d;
  transition: transform 640ms var(--ease-out); }
.flip:hover .flip__inner, .flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--white); border-radius: var(--r-card); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  padding: 22px; display: flex; flex-direction: column; }
.flip__face--front { padding: 0; overflow: hidden; }
.flip__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  transition: transform 800ms var(--ease-out); }
.flip:hover .flip__photo { transform: scale(1.04); }
.flip__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,42,42,0) 42%, rgba(42,42,42,0.18) 64%, rgba(42,42,42,0.62) 100%); }
.flip__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.flip__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: #fff; line-height: 1.05; }
.flip__title::first-letter { text-transform: uppercase; }
.flip__mood { font-family: var(--font-body); font-size: 14.5px; color: rgba(255,255,255,0.9); margin-top: 5px; }
.flip__hint { position: absolute; top: 16px; right: 16px; display: inline-grid; place-items: center;
  color: var(--graphite); background: rgba(255,255,255,0.88); width: 30px; height: 30px;
  border-radius: var(--r-full); backdrop-filter: blur(4px); box-shadow: var(--shadow-xs); }
.flip__hint svg { width: 16px; height: 16px; stroke-width: 1.6; }
.flip:hover .flip__hint { opacity: 0; transition: opacity 200ms; }
.flip__face--back { transform: rotateY(180deg); justify-content: space-between; gap: 18px;
  background: var(--cream); border-color: transparent; }
.flip__face--back .bk-name { font-family: var(--font-ui); font-size: 13px; text-transform: lowercase; color: var(--sage); }
.flip__face--back p { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--graphite); margin: 10px 0 0; }
.flip__face--back .alink { margin-top: auto; }

/* ============================================================
   BLOCK 3 — TWO CATEGORIES
   ============================================================ */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cat__art { display: none; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: center;
  background: var(--cream); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); text-decoration: none; color: inherit;
  min-height: 220px; padding: clamp(28px, 3.4vw, 44px);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); }
.cat__img, .cat__veil { display: none; }
.cat__body { position: static; padding: 0; color: var(--graphite); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cat__badge { display: inline-block; background: var(--sage-light); color: var(--graphite); font-family: var(--font-ui);
  font-size: 12px; text-transform: lowercase; padding: 6px 13px; border-radius: var(--r-pill); margin: 0; }
.cat__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; margin: 0; color: var(--graphite); }
.cat__title::first-letter { text-transform: uppercase; }
.cat__desc { display: none; }
.cat__cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 15px; text-transform: lowercase; color: var(--olive); margin-top: 6px; }
.cat__cta .arr { transition: transform var(--dur-fast) var(--ease-out); }
.cat:hover .cat__cta .arr { transform: translateX(6px); }

/* ============================================================
   BLOCK 4 — STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat { text-align: center; padding-block: 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -14px; top: 18%; bottom: 18%; width: 1px; background: var(--border-soft); }
.stat__n { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 8vw, 104px); line-height: .95;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--graphite); display: inline-flex; align-items: baseline; }
.stat__n .star { color: var(--sage); font-size: .42em; margin-left: 6px; transform: translateY(-.18em); }
.stat__c { font-family: var(--font-body); font-size: 15px; color: var(--fg-secondary); margin-top: 12px; }
.stats__foot { text-align: center; margin-top: 40px; font-family: var(--font-body); font-size: 14px; color: var(--fg-secondary); }

/* ============================================================
   BLOCK 5 — REVIEWS CAROUSEL
   ============================================================ */
.reviews { max-width: 920px; margin: 0 auto; text-align: center; position: relative; }
.reviews__stage { position: relative; min-height: 240px; }
.review { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.review.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.review__meta { font-family: var(--font-ui); font-size: 13px; text-transform: lowercase; color: var(--olive); margin-bottom: 20px; letter-spacing: .02em; }
.review__meta .stars { letter-spacing: 2px; margin-right: 8px; }
.review__q { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.4;
  color: var(--graphite); margin: 0 0 24px; max-width: 30ch; }
.review__who { font-family: var(--font-ui); font-size: 14px; text-transform: lowercase; color: var(--fg-secondary); }
.reviews__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.rv-arrow { width: 46px; height: 46px; border-radius: var(--r-full); border: 1px solid var(--border-soft); background: rgba(255,255,255,0.55);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--graphite);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), background var(--dur-fast); }
.rv-arrow:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: #fff; }
.rv-arrow svg { width: 19px; height: 19px; display: block; stroke-width: 1.6; }
.rv-dots { display: flex; gap: 9px; }
.rv-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: rgba(42,42,42,.18); border: none; cursor: pointer; padding: 0; transition: all 240ms var(--ease-out); }
.rv-dot.is-active { background: var(--olive); width: 22px; }
.reviews__links { display: flex; gap: 28px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ============================================================
   BLOCK 6 — JOURNAL
   ============================================================ */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jcard { background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card);
  text-decoration: none; color: inherit; display: flex; flex-direction: column; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.jcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); }
.jcard__cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.jcard__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.jcard:hover .jcard__cover img { transform: scale(1.05); }
.jcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.jcard__cat { font-family: var(--font-ui); font-size: 12px; text-transform: lowercase; color: var(--sage); letter-spacing: .03em; }
.jcard__title { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.22; color: var(--graphite); margin: 0; }
.jcard__title::first-letter { text-transform: uppercase; }
.jcard__desc { font-family: var(--font-body); font-size: 14.5px; line-height: 1.5; color: var(--fg-secondary); margin: 0; flex: 1; }
.jcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.jcard__time { font-family: var(--font-body); font-size: 13px; color: var(--fg-secondary); }
.journal__all { text-align: center; margin-top: 44px; }

/* ============================================================
   BLOCK 7 — FINAL CTA
   ============================================================ */
.finale { position: relative; background: var(--graphite); overflow: hidden; }
.finale__bg { position: absolute; inset: 0; opacity: .26; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.finale__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,42,42,0.92) 0%, rgba(42,42,42,0.72) 60%, rgba(42,42,42,0.55) 100%); }
.finale__inner { position: relative; text-align: center; padding-block: clamp(72px, 11vw, 150px); }
.finale h2 { color: var(--cream); margin: 0 auto 18px; max-width: 18ch; }
.finale p { font-family: var(--font-body); font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-on-dark-2); max-width: 46ch; margin: 0 auto 34px; line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--graphite); color: var(--fg-on-dark); padding-block: 66px 38px; border-top: 1px solid var(--border-on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand { font-family: var(--font-display); font-weight: 400; font-size: 24px; text-transform: lowercase; color: var(--cream); }
.footer__brand .reg { font-size: .42em; vertical-align: top; }
.footer__tag { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--fg-on-dark-2); margin: 14px 0 0; max-width: 30ch; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col .ttl { color: var(--cream); font-family: var(--font-ui); font-size: 13.5px; text-transform: lowercase; margin-bottom: 5px; }
.footer__col a, .footer__col .lk { color: var(--fg-on-dark-2); font-size: 14px; text-transform: lowercase; transition: color 200ms; cursor: pointer; }
.footer__col a:hover, .footer__col .lk:hover { color: var(--cream); }
.footer__bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--border-on-dark);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--fg-on-dark-2); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a, .footer__legal .lk { color: var(--fg-on-dark-2); text-transform: lowercase; cursor: pointer; transition: color 200ms; }
.footer__legal a:hover, .footer__legal .lk:hover { color: var(--cream); }

/* ============================================================
   COOKIE BANNER + TOAST
   ============================================================ */
.cookie { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(140%); z-index: 90;
  width: min(820px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float); padding: 18px 22px; display: flex; align-items: center; gap: 24px;
  transition: transform 480ms var(--ease-out); }
.cookie.is-in { transform: translateX(-50%) translateY(0); }
.cookie p { margin: 0; font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; color: var(--fg-secondary); }
.cookie p a { color: var(--olive); }
.cookie p a:hover { color: var(--graphite); }
.cookie .btn { flex: none; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--graphite);
  color: var(--cream); padding: 12px 22px; border-radius: var(--r-pill); font-family: var(--font-ui); font-size: 13.5px;
  text-transform: lowercase; opacity: 0; pointer-events: none; transition: all 320ms var(--ease-out); z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* блокировка прокрутки фона при открытом меню (панель меню скролится сама) */
html.drawer-open { overflow: hidden; }

/* ---- mobile drawer ---- */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(42,42,42,.34); opacity: 0; pointer-events: none; transition: opacity 260ms; }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 320px); background: var(--milk);
  transform: translateX(100%); transition: transform 320ms var(--ease-out); padding: 26px; display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer__panel a { font-family: var(--font-display); font-weight: 400; font-size: 24px; text-transform: lowercase; color: var(--graphite); padding-block: 10px; }
.drawer__panel a::first-letter { text-transform: uppercase; }
.drawer__panel a.logo::first-letter { text-transform: lowercase; }
.drawer__panel .btn { margin-top: 18px; justify-content: center; }
.drawer__x { background: none; border: none; cursor: pointer; color: var(--graphite); padding: 6px; }

/* ============================================================
   RESPONSIVE — планшет ≤900/768 (плотно, 2 кол.), мобайл ≤640/400
   ============================================================ */
@media (max-width: 1000px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__right .btn--label { display: none; }
  /* планшет: hero — сплит «текст | фото» (всё видно, текст читаем) */
  .hero__media { min-height: 0; display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; }
  .hero__img { position: relative; inset: auto; width: 100%; height: 100%; min-height: 440px; object-position: 46% 44%; order: 2; }
  .hero__scrim { display: none; }
  .hero__inner { position: relative; height: auto; display: flex; align-items: center; background: var(--cream); order: 1; }
  .hero__copy { padding-block: 48px; max-width: none; }
  .journal { grid-template-columns: repeat(2, 1fr); }
  .section__head { margin-bottom: 36px; }
}
/* —— планшет 768: линейка/категории/журнал держим в 2 колонки —— */
@media (max-width: 768px) {
  .lineup { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-inline: auto; }
  .cats { gap: 18px; }
  .flip__inner { min-height: 380px; }
  .reviews__stage { min-height: 280px; }
}
/* —— мобайл: всё в одну колонку, карточки без 3D-флипа —— */
@media (max-width: 640px) {
  /* hero «в стопку»: фото сверху (виден малыш + прибор), текст ниже на молочном */
  .hero { margin-top: -85px; }
  .hero__media { min-height: 0; display: block; }
  .hero__img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: none; object-position: 50% 36%; }
  .hero__scrim { display: none; }
  .hero__inner { position: relative; display: block; height: auto; background: var(--milk); }
  .hero__copy { padding: 24px 0 4px; max-width: none; }
  .hero h1 { margin-bottom: 12px; }
  .hero__sub { margin-bottom: 20px; }
  #lineup { padding-top: 34px; }

  .lineup { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  /* мобайл: карточки без флипа — обе стороны рядом */
  .flip { perspective: none; }
  .flip__inner { transform: none !important; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
  .flip__face { position: relative; inset: auto; backface-visibility: visible; transform: none !important; }
  .flip__face--front { min-height: 300px; }
  .flip__face--back { background: var(--cream); padding: 16px 22px 22px; }
  .flip__face--back .bk-name { display: none; }
  .flip__face--back p { margin-top: 0; }
  .flip__hint { display: none; }
  .cats { grid-template-columns: 1fr; gap: 14px; }
  .cat { min-height: 0; padding: 22px 24px; justify-content: flex-start; }
  .journal { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stat + .stat::before { display: none; }
  .stat { padding-block: 20px; border-top: 1px solid var(--border-soft); }
  .stat:first-child { border-top: none; }
  .reviews__links { flex-direction: column; gap: 14px; }
  .reviews__stage { min-height: 340px; }
  .review__q { font-size: 18px; line-height: 1.5; max-width: 36ch; margin-bottom: 18px; }
  .review__meta { margin-bottom: 14px; }
  .reviews__nav { margin-top: 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .cookie { left: 0; right: 0; bottom: 0; width: auto; transform: translateY(120%);
    flex-direction: column; align-items: stretch; gap: 14px; text-align: center;
    border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .cookie.is-in { transform: translateY(0); }
  .cookie .btn { width: 100%; justify-content: center; }
}
/* —— узкий мобайл 375 / меньше —— */
@media (max-width: 400px) {
  .hero h1 { font-size: 33px; }
  .hero__copy { padding-block: 36px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .review__q { font-size: 17px; }
  .reviews__nav { gap: 16px; }
  .promo-bar__in { padding: 6px 40px; }
  .promo-bar p { font-size: 12.5px; }
}
