
/* /styles/fonts.css — original cascade order */
/* Bebas Neue с кириллицей — локальный файл, лежит в fonts/ */
@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/BebasNeue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* /styles/tokens.css — original cascade order */
/* Дизайн-токены ВКУСОВЛАБ */
:root {
  /* Палитра */
  --color-paper: #fefefe;
  --color-ink: #12100e;
  --color-accent: #b52b23;
  --color-rule: #e4e2df;
  --color-muted: #8c877e;
  --color-wood: #69452f;

  /* Сетка макета */
  --col-media: 65.7%;
  --rail-w: clamp(38px, 3.2vw, 62px);
  --col-right: 34.3%;
  --header-h: clamp(84px, 10.4vh, 116px);
  --gutter: clamp(24px, 3.2vw, 60px);

  /* Типографика */
  --font-display: "Bebas Neue", "Helvetica Neue", sans-serif;
  --font-hero: "Bebas Neue", "Roboto Condensed", sans-serif;
  --text-hero: clamp(3rem, 9.65vw, 11.6rem);
  --text-nav: clamp(0.78rem, 0.84vw, 1rem);
  --text-micro: clamp(0.72rem, 0.76vw, 0.9rem);

  /* Движение */
  --duration-fast: 160ms;
  --duration-normal: 320ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}


/* /styles/main.css — original cascade order */
*,
*::before,
*::after { box-sizing: border-box; }

html { min-height: 100%; overflow-x: clip; }

figure, h1, p { margin: 0; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Каркас ---------- */

body { display: block; }

/* Первый экран держит высоту окна, дальше страница прокручивается. */
.screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.topbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: var(--col-media) var(--col-right);
}

.stage {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: var(--col-media) var(--col-right);
  min-height: 0;
  position: relative;
}

.stage__col {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stage__col + .stage__col { border-left: 1px solid var(--color-rule); }

/* ---------- Шапка ---------- */

.masthead {
  height: var(--header-h);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  gap: clamp(20px, 3vw, 56px);
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 52px);
  margin-left: auto;
}

.masthead-spacer { height: var(--header-h); flex: 0 0 auto; }

/* ---------- Оптовый прайс ---------- */

.wholesale {
  border-left: 1px solid var(--color-rule);
  height: var(--header-h);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--gutter);
  transition: border-color 180ms ease;
}

.site-topbar.is-past-hero .wholesale {
  border-left-color: transparent;
}

.wholesale__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.72em 1.15em 0.62em 1.15em;
  border: 1px solid var(--color-ink);
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.96vw, 1.14rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-normal) var(--ease-out-expo),
              border-color var(--duration-normal) var(--ease-out-expo);
}

.wholesale__btn:hover,
.wholesale__btn:focus-visible {
  color: var(--color-accent);
  background: transparent;
  border-color: var(--color-accent);
}

/* перчик воткнут в левый край кнопки */
.wholesale__chili {
  position: absolute;
  left: 0;
  top: 50%;
  translate: -58% -50%;
  rotate: -24deg;
  height: clamp(70px, 8.2vh, 102px);
  pointer-events: none;
}

.wholesale__chili img {
  display: block;
  width: auto;
  height: 100%;
}

a.brand { text-decoration: none; color: inherit; cursor: pointer; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 0.9vw, 18px);
  font-family: var(--font-hero);
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
  margin-right: auto;
}

.nav-link {
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.02vw, 1.24rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--color-accent); }

/* ---------- Медиазона ---------- */

.media-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  min-height: 0;
}

/* Светлая полоса с происхождением и счётчиком */
.media-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(8px, 1.6vh, 22px) 0 clamp(16px, 2.6vh, 34px);
}

.origin {
  display: flex;
  align-items: center;
  gap: 1.4em;
  writing-mode: vertical-rl;
  font-size: var(--text-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.origin::after {
  content: "";
  width: 1px;
  height: clamp(34px, 5.4vh, 60px);
  background: var(--color-ink);
}

.counter {
  font-size: var(--text-micro);
  letter-spacing: 0.14em;
  color: var(--color-muted);
}

/* Видео на всю медиазону */
.stagevideo {
  position: relative;
  overflow: hidden;
  background: #14110e;
  border-left: 1px solid var(--color-rule);
}

.stagevideo__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Заглушка, пока файла нет: видна сквозь пустой видеоэлемент */
.stagevideo__slug {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  text-align: center;
  font-size: clamp(0.9rem, 1.15vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.62);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0 12px, transparent 12px 24px),
    #14110e;
  pointer-events: none;
}

.stagevideo__slug small {
  font-size: 0.62em;
  letter-spacing: 0.14em;
  color: rgba(247, 246, 243, 0.34);
  text-transform: none;
}

.stagevideo__mark {
  display: grid;
  place-items: center;
  width: 2.9em;
  height: 2.9em;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 0.8em;
  padding-left: 0.18em;
}

/* Как только в videos/ ляжет файл, заглушка убирается этим классом на .stagevideo */
.stagevideo.is-ready .stagevideo__slug { display: none; }

/* ---------- Правая колонка ---------- */

.col-right {
  overflow: visible;
  clip-path: inset(0 0 -55svh 0);
}

.pitch {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(6px, 1.2vh, 18px) var(--gutter) clamp(26px, 4.2vh, 56px);
  position: relative;
  z-index: 1;
}

.pitch__title {
  margin: 0;
  font-family: var(--font-hero);
  font-size: var(--text-hero);
  line-height: 0.82;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.pitch__rule {
  margin: auto 0 0;
  width: min(100%, 26em);
  height: 2px;
  background: var(--color-accent);
  border: 0;
}

.pitch__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8em;
  align-self: flex-start;
  width: min(100%, 26em);
  padding: clamp(24px, 3vh, 38px) 0;
  font-size: clamp(1rem, 1.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out-expo);
}

.pitch__cta::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42%;
  height: 2px;
  background: var(--color-accent);
  content: "";
  transform: none;
}

.pitch__cta:hover,
.pitch__cta:focus-visible { color: var(--color-accent); }

.pitch__cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 5px;
}

.pitch__cta span {
  color: var(--color-accent);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

/* iOS can render U+2197 as a colour emoji. Draw the approved arrow with an
   inline SVG mask instead; keep the decorative text out of accessible names. */
.pitch__cta > span[aria-hidden="true"] {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  font-size: 0;
  line-height: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pitch__cta:hover span { transform: translate(3px, -3px); }

/* Россыпь специи в правом нижнем углу */
.peppercorns,
.corner-spice {
  position: absolute;
  right: 0;
  /* чуть опущено, чтобы верхние горошины отошли от букв */
  bottom: -8vh;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.peppercorns { width: 138%; }

/* Непрерывная россыпь проходит через первый и второй экраны. */
.corner-spice {
  top: auto;
  right: 0;
  /* гвоздика опущена ещё на сантиметр по просьбе заказчика */
  bottom: calc(-14svh - 24px - 1cm);
  width: clamp(223px, 21vw, 347px);
  height: auto;
  -webkit-mask-image: none;
  mask-image: none;
  mix-blend-mode: normal;
}

.peppercorns img,
.corner-spice img {
  display: block;
}

.peppercorns img {
  width: 100%;
  height: auto;
}

.corner-spice img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}


/* ---------- Мобильная раскладка ---------- */

@media (max-width: 768px) {
  :root {
    /* полоса видео подрезается: остаётся узкий столбец слева */
    --col-media: 34%;
    --col-right: 1fr;
    --rail-w: clamp(26px, 8vw, 34px);
    --gutter: 14px;
    /* заголовок становится главным на экране */
    --text-hero: clamp(2.6rem, 20.4vw, 6.4rem);
  }

  .screen { height: 100svh; }

  /* Пунктов меню нет, поэтому логотип и прайс стоят в одну строку. */
  .topbar {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-rule);
  }

  .masthead {
    height: auto;
    align-items: center;
  }

  .brand { font-size: clamp(1.15rem, 5.2vw, 1.7rem); }

  .brand { margin-right: 0; }

  /* На узком экране пункты убраны: остаётся логотип и оптовый прайс. */
  .masthead__nav { display: none; }

  .wholesale {
    height: auto;
    border-left: 0;
    justify-content: flex-end;
    padding-top: 2px;
  }

  .wholesale__btn {
    padding: 0.62em 0.8em 0.54em;
    font-size: clamp(0.64rem, 2.65vw, 0.82rem);
    letter-spacing: 0.08em;
  }

  .wholesale__chili {
    height: clamp(40px, 10vw, 58px);
    translate: -52% -50%;
  }

  /* видео: узкая полоса во всю высоту, показываем середину кадра */
  .stagevideo__el { object-position: 50% 50%; }

  .origin { letter-spacing: 0.18em; }

  .pitch {
    /* Экран высокий, контента мало: собираем блок по центру, а не копим пустоту внизу. */
    justify-content: center;
    padding-top: clamp(10px, 2.4vh, 20px);
    padding-bottom: clamp(40px, 12vh, 120px);
  }

  .pitch__rule {
    width: min(100%, 14em);
    /* На мобилке не растягиваем пустоту: низ подтянут к заголовку. */
    margin-top: clamp(24px, 6vh, 64px);
  }

  .pitch__cta {
    width: min(100%, 14em);
    font-size: clamp(0.82rem, 3.8vw, 1rem);
    letter-spacing: 0.09em;
  }

  .peppercorns { width: 150%; }

  .corner-spice {
    top: auto;
    right: 8px;
    bottom: calc(-12.5svh - 18px - 1cm);
    width: clamp(188px, 44.5vw, 248px);
    height: auto;
  }

}

@media (max-width: 420px) {
  .masthead__nav { font-size: 0.92em; }
  .counter { display: none; }
}

/* Фирменный знак слева от названия */
.brand__mark {
  display: block;
  width: auto;
  height: 1.05em;
  flex: 0 0 auto;
}

/* Логотип из брендбука в шапке (перенесено из hero-inter.css) */
/* Логотип из брендбука вместо набранного названия */
.brand__logo {
  display: block;
  width: auto;
  height: clamp(26px, 2.5vw, 44px);
}

@media (max-width: 768px) {
  .brand__logo { height: clamp(19px, 5vw, 28px); }
}


/* /styles/hero-variants.css — original cascade order */
/* ---------- Вариант В: смешанный набор ----------
   Заголовок и кнопка оптового прайса остаются узким гротеском,
   меню, боковая строка и ссылка на каталог набраны Inter. */

.screen--mixed {
  border-top: 1px solid var(--color-rule);
}

.screen--mixed .nav-link,
.screen--mixed .origin,
.screen--mixed .counter,
.screen--mixed .pitch__cta {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
}

.screen--mixed .nav-link {
  font-size: clamp(0.7rem, 0.82vw, 0.94rem);
  letter-spacing: 0.12em;
}

.screen--mixed .origin,
.screen--mixed .counter {
  letter-spacing: 0.18em;
}

.screen--mixed .pitch__cta {
  font-size: clamp(0.72rem, 0.88vw, 1rem);
  letter-spacing: 0.12em;
}

/* ---------- Вариант Г: «Все специи мира на вашей полке» ----------
   Строка длиннее прежней, самая широкая — «ВСЕ СПЕЦИИ» вместо «СОЗДАЮТ»,
   поэтому колонка шире, а кегль подобран под заполнение той же доли. */

.screen--shelf {
  /* Пять строк, самая широкая — «НА ВАШЕЙ», по ширине как «СОЗДАЮТ».
     Поэтому сетка и кегль остаются базовыми. */
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--color-rule);
}

.screen--shelf {
  --text-hero: clamp(2.2rem, 9vw, 10.8rem);
}

/* Inter заметно шире узкого гротеска: для варианта Д сохраняем
   кегль варианта Б, иначе строка «НА ВАШЕЙ» обрезается колонкой. */
.screen--shelf.screen--inter {
  --text-hero: clamp(2.2rem, 7.42vw, 8.5rem);
}

/* Переносы заданы вручную, автоматический перенос выключен:
   строка «НА ВАШЕЙ» должна остаться цельной на любой ширине. */
.screen--shelf .pitch__title {
  line-height: 0.8;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .screen--shelf { --text-hero: clamp(1.9rem, 19vw, 6rem); }

  .screen--shelf.screen--inter {
    --text-hero: clamp(1.6rem, 11.9vw, 4.3rem);
  }
}


/* /styles/origin.css — original cascade order */
.origin-screen {
  --origin-heading-lift: 0px;
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 660px;
  padding-top: var(--header-h);
  scroll-margin-top: var(--header-h);
  overflow: hidden;
  border-radius: 0 0 clamp(24px, 2.6vw, 48px) clamp(24px, 2.6vw, 48px);
  color: var(--color-ink);
  background: #f8f8f6;
  content-visibility: auto;
  contain-intrinsic-size: 100svh;
}

.origin-sky {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.origin-sky img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.origin-white-follow {
  position: relative;
  z-index: 11;
  width: 100%;
  height: 100svh;
  background: #fff;
}

.origin-rail {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(18px, 2.4vh, 28px) 0;
  border-right: 1px solid var(--color-rule);
  background: transparent;
}

.origin-rail p {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: var(--text-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.origin-rail span {
  width: 1px;
  height: clamp(42px, 7vh, 70px);
  margin-top: 2em;
  background: var(--color-ink);
}

.origin-layout {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.origin-landscape {
  position: absolute;
  z-index: 2;
  top: calc(-1 * var(--header-h));
  right: var(--rail-w);
  bottom: 0;
  left: var(--rail-w);
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 clamp(22px, 2vw, 38px) clamp(22px, 2vw, 38px);
  pointer-events: none;
}

.origin-landscape::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(46 78 34 / 0.3);
  -webkit-mask: url("/images/origin/indonesia-valley-depth-v2.webp") 50% 100% / cover no-repeat;
  mask: url("/images/origin/indonesia-valley-depth-v2.webp") 50% 100% / cover no-repeat;
  content: "";
  pointer-events: none;
}

.origin-landscape img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  filter: brightness(0.96) contrast(0.95) saturate(0.82);
}

.origin-copy {
  position: absolute;
  z-index: auto;
  inset: 0;
}

.origin-title {
  position: absolute;
  z-index: 1;
  top: calc(13.5% - 22px);
  left: 14.2%;
  display: flex;
  align-items: baseline;
  gap: 0.26em;
  width: max-content;
  padding: 0;
  margin: 0;
  font-family: var(--font-hero);
  font-size: min(14.9vw, 29svh);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.025em;
  color: var(--color-ink);
  text-transform: uppercase;
  transform: translate3d(0, var(--origin-heading-lift), 0) scaleX(1.1);
  transform-origin: left top;
  white-space: nowrap;
  will-change: transform;
}

.origin-title > span { display: inline-block; }

.origin-title::before {
  content: none;
}

.origin-title::after {
  content: none;
}

.origin-title__handwritten {
  display: none;
}

.origin-details {
  position: absolute;
  z-index: 5;
  top: 47.5%;
  left: 14.2%;
  right: 7.2%;
  display: flex;
  justify-content: space-between;
  gap: clamp(52px, 8vw, 150px);
  align-items: start;
}

.origin-story-block {
  width: min(31vw, 510px);
  min-width: 320px;
}

.origin-story {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.7vw, 32px);
  line-height: 1.24;
  letter-spacing: 0.045em;
  -webkit-text-stroke: 0.4px currentColor;
  text-shadow: 0 1px 12px rgb(18 16 14 / 0.35);
}

.origin-story::before {
  content: none;
}

.origin-location {
  position: absolute;
  z-index: 5;
  top: -22px;
  left: 14.2%;
  margin: 0;
  color: #101010;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 27px);
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: scaleX(1.22);
  transform-origin: left top;
  will-change: auto;
}

.origin-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 350px);
  min-height: clamp(68px, 5.4vw, 96px);
  margin-top: clamp(22px, 2.2vw, 38px);
  padding: 0.55em 1.15em;
  border: 1px solid var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  font-size: clamp(20px, 1.4vw, 28px);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color var(--duration-fast) ease;
}

.origin-cta svg {
  width: 1.35em;
  height: 1.35em;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.2;
}

.origin-values {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(18px, 2.4vh, 34px);
  width: clamp(230px, 16.5vw, 320px);
  padding: 0;
  margin: 0;
  color: rgb(255 255 255 / 0.9);
  list-style: none;
}

.origin-values::before {
  content: none;
}

.origin-values li {
  display: grid;
  grid-template-columns: clamp(34px, 2.7vw, 48px) 1fr;
  align-items: center;
  gap: clamp(14px, 1.25vw, 22px);
}

.origin-values svg {
  display: block;
  width: 100%;
  height: auto;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.origin-values span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.02vw, 20px);
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: none;
}

.origin-signature {
  position: absolute;
  z-index: 5;
  right: 7.2%;
  bottom: clamp(24px, 3.2vh, 46px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.7vw, 30px);
  margin: 0;
  color: rgb(255 255 255 / 0.94);
  font-family: var(--font-display);
  font-size: clamp(11px, 0.78vw, 15px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
}

.origin-signature > span {
  display: block;
  width: clamp(90px, 8vw, 150px);
  height: 0.5px;
  opacity: 0.78;
  background: currentColor;
}

.origin-cta:hover,
.origin-cta:focus-visible {
  border-color: var(--color-ink);
  background-color: var(--color-ink);
}

.origin-cta:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 5px; }

@media (min-width: 769px) and (min-aspect-ratio: 2/1) {
  .origin-location { top: -22px; }
  .origin-title { top: calc(11.5% - 22px); }
  .origin-details { top: 45%; }
  .origin-story { font-size: min(1.7vw, 3.3svh); }
}

@media (max-width: 768px) {
  :root { --header-h: clamp(80px, 20.6vw, 96px); }

  .site-topbar {
    height: var(--header-h);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 56% 44%;
    align-items: stretch;
    padding: 0;
  }

  .site-topbar .masthead { display: contents; }

  .site-topbar .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding-left: clamp(14px, 5.8vw, 28px);
  }

  .site-topbar .brand__logo { height: clamp(21px, 6.2vw, 31px); }

  .site-topbar .masthead__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0 clamp(15px, 7.2vw, 34px);
    border-top: 1px solid var(--color-rule);
  }

  .site-topbar .nav-link {
    display: inline-flex;
    min-height: 100%;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  .site-topbar .wholesale {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    padding: 0 clamp(12px, 4.6vw, 22px) 0 18px;
  }

  .site-topbar .wholesale__btn {
    padding: 0.58em 0.7em 0.5em 1.12em;
    font-size: clamp(0.64rem, 2.7vw, 0.72rem);
    letter-spacing: 0.05em;
  }

  .site-topbar .wholesale__chili { height: clamp(38px, 11vw, 50px); }

  .origin-screen {
    height: max(100svh, 900px);
    min-height: 900px;
    contain-intrinsic-size: max(100svh, 900px);
  }

  .origin-rail { padding-top: 18px; }
  .origin-rail p { font-size: 0.58rem; }
  .origin-layout {
    overflow: hidden;
    border-left-color: var(--color-ink);
  }

  .origin-landscape {
    right: 14px;
    left: 14px;
  }

  .origin-copy {
    inset: 0;
  }

  .origin-title {
    top: 190px;
    right: 16px;
    bottom: auto;
    left: 16px;
    display: block;
    width: auto;
    font-size: clamp(56px, 16.5vw, 72px);
    line-height: 0.82;
    letter-spacing: -0.035em;
    transform: translate3d(0, var(--origin-heading-lift), 0);
    white-space: normal;
  }
  .origin-title > span {
    display: block;
    width: max-content;
    max-width: 100%;
  }
  .origin-title > span:last-child {
    margin-left: clamp(28px, 10vw, 54px);
  }
  .origin-details {
    top: 370px;
    left: 16px;
    right: 16px;
    display: block;
  }

  .origin-story {
    width: min(100%, 350px);
    margin: 0;
    font-size: clamp(16px, 4.35vw, 18px);
    line-height: 1.25;
    letter-spacing: 0.025em;
    color: #fff;
    text-shadow: 0 2px 18px rgb(18 16 14 / 0.42);
  }

  .origin-story-block {
    width: 100%;
    min-width: 0;
  }

  .origin-location {
    top: 68px;
    left: 16px;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.16em;
    transform: none;
  }

  .origin-cta {
    width: 100%;
    min-height: 64px;
    margin-top: 18px;
    padding: 0 20px;
    font-size: 20px;
  }

  .origin-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 24px;
  }

  .origin-values li {
    display: block;
    text-align: center;
  }

  .origin-values svg {
    width: 28px;
    margin-bottom: 8px;
    margin-inline: auto;
  }

  .origin-values span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .origin-signature {
    display: none;
  }

}

@media (max-width: 480px) {
  .origin-screen {
    height: max(100svh, 900px);
    min-height: 900px;
  }
}

@media (max-width: 380px) {
  .origin-location,
  .origin-title,
  .origin-details { left: 14px; }
  .origin-title,
  .origin-details { right: 14px; }
  .origin-location { top: 62px; }
  .origin-title {
    top: 182px;
    font-size: clamp(52px, 16.5vw, 63px);
  }
  .origin-details { top: 354px; }
  .origin-story { font-size: 16px; }
  .origin-cta {
    min-height: 60px;
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .origin-cta,
  .origin-cta svg { transition: none; }

  .origin-copy {
    animation: none;
    transform: none !important;
    will-change: auto !important;
  }

  .origin-title {
    transform: scaleX(1.1);
    will-change: auto;
  }

  .origin-location {
    transform: scaleX(1.22);
    will-change: auto;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .origin-title {
    top: 108px;
    transform: none;
  }
}

/* ---------- Телефон: обычный поток вместо абсолютных координат ----------
   Секция раньше была жёстко 900px и резалась на коротких экранах,
   а элементы стояли на фиксированных top. Теперь блоки идут друг за другом,
   секция не ниже экрана и растёт под контент. Десктоп не затронут. */
@media (max-width: 768px) {
  .origin-screen {
    height: auto;
    min-height: 100svh;
    contain-intrinsic-size: auto 100svh;
  }

  .origin-layout {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .origin-copy {
    position: relative;
    inset: auto;
    z-index: 3;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: clamp(40px, 8svh, 68px) 16px clamp(36px, 5svh, 52px);
  }

  .origin-location {
    position: static;
    margin: 0 0 14px;
  }

  .origin-title {
    position: static;
    width: auto;
    margin: 0;
    transform: none;
    will-change: auto;
  }

  /* Группа «текст + кнопка + принципы» стоит по центру гор:
     авто-отступы сверху и снизу делят оставшееся место поровну */
  .origin-details {
    position: static;
    margin-block: auto;
    padding-top: clamp(40px, 6svh, 72px);
    padding-bottom: clamp(8px, 2svh, 24px);
  }

  .origin-values { margin-top: 26px; }

  /* Текст истории мельче и плотнее. У Bebas один вес, поэтому
     утолщаем обводкой, а не синтетическим bold */
  .origin-story {
    margin-inline: auto;
    text-align: center;
    font-size: 17px;
    line-height: 1.32;
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0.35px currentColor;
    text-shadow: 0 1px 14px rgb(18 16 14 / 0.55);
  }

  /* Кнопка не во всю ширину, по центру */
  .origin-cta {
    width: min(100%, 300px);
    margin-inline: auto;
    margin-top: 36px;
    min-height: 58px;
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .origin-copy { padding-left: 14px; padding-right: 14px; }
}


/* /styles/catalog.css — original cascade order */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  background: var(--color-paper);
}

.screen {
  padding-top: var(--header-h);
}

/* Каталог: свободная мозаика без обводок, как в выбранном референсе. */
.catalog-screen {
  position: relative;
  min-height: 100svh;
  z-index: 3;
  padding-top: clamp(18px, 2vw, 32px);
  scroll-margin-top: var(--header-h);
  overflow: clip;
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: 1100px;
}

.catalog-stage {
  min-height: calc(100svh - var(--header-h));
}

.catalog-content {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: clamp(14px, 1.5vw, 26px) var(--rail-w) clamp(20px, 2.4vw, 44px);
}

.catalog-intro {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(16px, 1.4vw, 28px);
  margin-bottom: clamp(12px, 1.5vw, 24px);
}

.catalog-intro__title {
  margin: 0;
  font-family: var(--font-hero);
  font-size: clamp(5.25rem, 7.05vw, 8.8rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.015em;
  text-align: left;
  text-transform: uppercase;
}

.catalog-intro__all {
  position: relative;
  top: -0.03em;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-ink);
  font-size: clamp(3.25rem, 4.1vw, 5rem);
  line-height: 0.82;
  text-decoration: none;
  transition: color 200ms ease, transform 260ms var(--ease-out-expo);
}

.catalog-intro__all::after {
  content: none;
}

.catalog-intro__all:hover,
.catalog-intro__all:focus-visible {
  color: var(--color-accent);
  transform: translate(3px, -3px);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: clamp(280px, 23vw, 390px) clamp(350px, 29vw, 500px);
  gap: clamp(12px, 1.2vw, 22px);
}

.catalog-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(18px, 1.7vw, 30px);
  color: #f9f5e9;
  text-decoration: none;
  isolation: isolate;
  transform: translateZ(0);
}

.catalog-card--salt { grid-column: span 1; background: #4183b2; }
.catalog-card--pastes { grid-column: span 1; background: #2e4e22; }
.catalog-card--pepper { grid-column: span 2; background: #be4848; }
.catalog-card--spices { grid-column: span 2; background: #6d8f4c; }
.catalog-card--sugar { grid-column: span 1; background: #c29d8d; }
.catalog-card--drinks { grid-column: span 1; background: #452749; }

.catalog-card__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.015);
  transition: transform 700ms var(--ease-out-expo), filter 320ms ease;
}

.catalog-card--salt .catalog-card__image { object-position: 55% 54%; }
.catalog-card--pastes .catalog-card__image { object-position: 58% 52%; }
.catalog-card--pepper .catalog-card__image { object-position: 55% 50%; }
.catalog-card--spices .catalog-card__image { object-position: center; }
.catalog-card--sugar .catalog-card__image { object-position: 54% 55%; }
.catalog-card--drinks .catalog-card__image { object-position: 57% 52%; }

.catalog-card__title {
  position: absolute;
  z-index: 1;
  top: clamp(20px, 2vw, 34px);
  left: clamp(20px, 2vw, 34px);
  max-width: calc(100% - clamp(40px, 4vw, 68px));
  margin: 0;
  font-family: var(--font-hero);
  font-size: clamp(2.15rem, 3vw, 3.9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgb(18 16 14 / 0.2);
}

.catalog-card__title--long {
  font-size: clamp(1.9rem, 2.55vw, 3.35rem);
  line-height: 0.92;
}

.catalog-card:hover .catalog-card__image,
.catalog-card:focus-visible .catalog-card__image {
  transform: scale(1.025);
  filter: saturate(1.07) contrast(1.02);
}

.catalog-card:focus-visible,
.catalog-intro__all:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .catalog-content {
    padding-inline: clamp(18px, 3vw, 30px);
  }

  .catalog-intro {
    min-height: 0;
  }

  .catalog-grid {
    grid-template-rows: 260px 310px;
  }

  .catalog-card__title {
    font-size: clamp(2rem, 4.7vw, 3rem);
  }

  .catalog-card__title--long {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
  }
}

@media (max-width: 700px) {
  .catalog-screen {
    min-height: auto;
  }

  .catalog-stage {
    min-height: auto;
  }

  .catalog-content {
    padding: 18px 14px 28px;
  }

  .catalog-intro {
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .catalog-intro__title {
    font-size: clamp(3.4rem, 17vw, 5rem);
    text-align: left;
  }

  .catalog-intro__all {
    top: 0;
    font-size: clamp(2.75rem, 12vw, 3.8rem);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows:
      clamp(170px, 44vw, 190px)
      clamp(210px, 53vw, 230px)
      clamp(225px, 58vw, 250px)
      clamp(170px, 44vw, 190px);
    gap: 10px;
  }

  .catalog-card--salt,
  .catalog-card--pastes,
  .catalog-card--sugar,
  .catalog-card--drinks { grid-column: span 1; }

  .catalog-card--pepper,
  .catalog-card--spices { grid-column: span 2; }

  .catalog-card {
    border-radius: 18px;
  }

  .catalog-card__title {
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    font-size: clamp(1.8rem, 8.2vw, 2.7rem);
  }

  .catalog-card__title--long {
    font-size: clamp(1.5rem, 6.8vw, 2.15rem);
  }
}

@media (max-width: 420px) {
  .catalog-card__title {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .catalog-card__title--long {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .catalog-card__image,
  .catalog-intro__all {
    transition: none;
  }
}


/* /styles/recipes.css — original cascade order */
.recipes-screen {
  --recipe-gap: clamp(16px, 1.35vw, 26px);
  height: auto;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(54px, 6.5vh, 88px) 0 clamp(54px, 7vh, 96px);
  scroll-margin-top: var(--header-h);
  color: var(--color-ink);
  background: #fff;
  content-visibility: auto;
  contain-intrinsic-size: 1100px;
}

.recipes-heading,
.recipes-toolbar,
.recipes-footer {
  margin-inline: var(--rail-w);
}

.recipes-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(24px, 4vw, 72px);
}

.recipes-heading__group {
  min-width: 0;
}

.recipes-heading h2 {
  margin: 0;
  font: 400 clamp(82px, 7vw, 138px)/0.84 var(--font-hero);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.recipes-heading__note {
  max-width: 1020px;
  margin: clamp(18px, 2vh, 26px) 0 0;
  color: rgb(18 16 14 / 0.86);
  font: 400 clamp(23px, 1.75vw, 34px)/1.18 var(--font-display);
  letter-spacing: 0.012em;
}

.recipes-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  align-self: start;
  margin-top: clamp(22px, 2.4vw, 42px);
  padding: 0.2em 0 0.48em;
  border-bottom: 2px solid var(--color-accent);
  color: inherit;
  font-size: clamp(17px, 1.3vw, 24px);
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.recipes-all span {
  font: 1.2em/0.8 Arial, sans-serif;
}

.recipes-all:hover,
.recipes-all:focus-visible {
  color: var(--color-accent);
}

.recipes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 3.2vh, 42px) 0 clamp(18px, 2.4vh, 30px);
}

.recipes-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(22px, 3vw, 58px);
  min-width: 0;
}

.recipes-filters button {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 0 11px;
  border: 0;
  color: rgb(18 16 14 / 0.58);
  background: transparent;
  font: 400 clamp(15px, 1.05vw, 20px)/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease;
}

.recipes-filters button::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 160ms ease, transform 240ms var(--ease-out-expo);
}

.recipes-filters button[aria-pressed="true"],
.recipes-filters button:hover,
.recipes-filters button:focus-visible {
  color: var(--color-ink);
}

.recipes-filters button[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.recipes-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.recipes-controls button {
  display: grid;
  width: clamp(46px, 3.7vw, 62px);
  height: clamp(46px, 3.7vw, 62px);
  padding: 0;
  place-items: center;
  border: 1px solid rgb(18 16 14 / 0.35);
  border-radius: 50%;
  color: var(--color-ink);
  background: #fff;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.recipes-controls button:disabled {
  opacity: 0.28;
  cursor: default;
}

.recipes-controls button:not(:disabled):hover,
.recipes-controls button:not(:disabled):focus-visible {
  border-color: var(--color-accent);
  color: #fff;
  background: var(--color-accent);
}

.recipes-controls svg {
  width: 46%;
  height: 46%;
  stroke: currentColor;
  stroke-width: 1.5;
}

.recipes-track {
  display: flex;
  align-items: stretch;
  gap: var(--recipe-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-w);
  padding: 3px var(--rail-w) 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.recipes-track::-webkit-scrollbar {
  display: none;
}

.recipe-card {
  flex: 0 0 calc((100% - (2 * var(--recipe-gap))) / 3);
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(20px, 1.5vw, 28px);
  background: #f7f6f3;
  box-shadow: 0 12px 30px rgb(18 16 14 / 0.055);
  scroll-snap-align: start;
  transform: translateY(0);
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms ease;
}

.recipe-card[hidden] {
  display: none;
}

.recipe-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.recipe-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: var(--color-wood);
  filter: saturate(0.96) contrast(1.025) brightness(1.01) sepia(0.018);
  transition: transform 600ms var(--ease-out-expo), filter 300ms ease;
}

.recipe-card__caption {
  display: flex;
  min-height: clamp(205px, 15vw, 270px);
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2vw, 36px) clamp(22px, 2.15vw, 40px) clamp(26px, 2.2vw, 40px);
}

.recipe-card__category {
  order: 2;
  margin: clamp(14px, 1.3vw, 22px) 0 0;
  color: rgb(18 16 14 / 0.62);
  font-size: clamp(14px, 1vw, 19px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipe-card__title {
  order: 1;
  min-height: 2em;
  margin: 0;
  font: 400 clamp(30px, 2.35vw, 46px)/1 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.recipe-card__arrow {
  position: relative;
  display: inline-flex;
  order: 3;
  align-items: center;
  gap: 0.55em;
  margin-top: auto;
  padding: clamp(20px, 1.6vw, 30px) 0 0.35em;
  border-bottom: 2px solid var(--color-accent);
  font-size: clamp(16px, 1.15vw, 22px);
  letter-spacing: 0.035em;
}

.recipe-card__arrow::before {
  content: "Смотреть рецепт";
}

.recipe-card__arrow svg {
  display: block;
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  stroke-width: 1.8;
}

.recipe-card:hover,
.recipe-card:focus-within {
  box-shadow: 0 18px 38px rgb(18 16 14 / 0.095);
  transform: translateY(-2px);
}

.recipe-card__link:hover .recipe-card__image,
.recipe-card__link:focus-visible .recipe-card__image {
  filter: saturate(1.01) contrast(1.03) brightness(1.015);
  transform: scale(1.025);
}

.recipe-card__link:hover .recipe-card__title,
.recipe-card__link:hover .recipe-card__arrow,
.recipe-card__link:focus-visible .recipe-card__title,
.recipe-card__link:focus-visible .recipe-card__arrow {
  color: var(--color-accent);
}

.recipes-screen :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.recipes-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: clamp(22px, 2.6vh, 34px);
  color: rgb(18 16 14 / 0.58);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recipes-counter,
.recipes-hint {
  white-space: nowrap;
}

.recipes-progress {
  height: 1px;
  flex: 1;
  background: rgb(18 16 14 / 0.22);
}

.recipes-progress span {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: -0.5px;
  background: var(--color-accent);
  transform: scaleX(0.2);
  transform-origin: left;
}

.recipes-hint span {
  margin-left: 8px;
  font-family: Arial, sans-serif;
}

@media (max-width: 980px) {
  .recipes-heading h2 {
    font-size: clamp(72px, 10vw, 104px);
  }

  .recipes-heading__note {
    font-size: clamp(21px, 2.8vw, 28px);
  }

  .recipe-card {
    flex-basis: calc((100% - var(--recipe-gap)) / 2);
  }

  .recipe-card__caption {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .recipes-screen {
    --rail-w: 16px;
    --recipe-gap: 14px;
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .recipes-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .recipes-heading h2 {
    font-size: clamp(58px, 18vw, 74px);
  }

  .recipes-heading__note {
    max-width: 92vw;
    margin-top: 14px;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1.18;
  }

  .recipes-all {
    margin-top: 8px;
    min-height: 44px;
    font-size: 13px;
    letter-spacing: 0.055em;
  }

  .recipes-toolbar {
    display: block;
    padding: 20px 0 14px;
  }

  .recipes-filters {
    flex-wrap: nowrap;
    gap: 24px;
    min-width: 0;
    padding-bottom: 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .recipes-filters::-webkit-scrollbar {
    display: none;
  }

  .recipes-filters button {
    min-height: 44px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .recipes-controls {
    display: none;
  }

  .recipes-controls button {
    width: 42px;
    height: 42px;
  }

  .recipe-card {
    flex-basis: 86%;
    border-radius: 18px;
  }

  .recipe-card__image {
    aspect-ratio: 4 / 3;
  }

  .recipe-card__caption {
    min-height: 205px;
    padding: 22px 20px 24px;
  }

  .recipe-card__title {
    min-height: 0;
    font-size: clamp(27px, 7.6vw, 32px);
    line-height: 0.98;
  }

  .recipe-card__category {
    font-size: 14px;
  }

  .recipe-card__arrow {
    font-size: 17px;
  }

  .recipes-footer {
    gap: 14px;
    padding-top: 22px;
    font-size: 12px;
  }

  .recipes-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recipes-all,
  .recipes-filters button,
  .recipes-filters button::after,
  .recipes-controls button,
  .recipe-card,
  .recipe-card__image {
    transition: none;
  }
}


/* /styles/hits.css — original cascade order */
/* Хиты продаж: горизонтальная лента карточек между каталогом и историей.
   Тот же язык, что у рецептов: крупный заголовок, скруглённые карточки, красный акцент. */

.hits-screen {
  --hit-gap: clamp(16px, 1.35vw, 26px);
  position: relative;
  z-index: 3;
  padding: clamp(40px, 5vh, 72px) 0 clamp(56px, 7vh, 96px);
  scroll-margin-top: var(--header-h);
  color: var(--color-ink);
  background: var(--color-paper);
  content-visibility: auto;
  contain-intrinsic-size: 820px;
}

.hits-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  margin-inline: var(--rail-w);
  margin-bottom: clamp(24px, 3vh, 40px);
}

.hits-heading h2 {
  margin: 0;
  font: 400 clamp(64px, 6vw, 118px)/0.84 var(--font-hero);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hits-heading__note {
  margin: clamp(12px, 1.6vh, 20px) 0 0;
  color: rgb(18 16 14 / 0.72);
  font: 400 clamp(19px, 1.45vw, 28px)/1.18 var(--font-display);
  letter-spacing: 0.02em;
}

.hits-heading__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(16px, 2vh, 26px);
}

.hits-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.2em 0 0.48em;
  border-bottom: 2px solid var(--color-accent);
  color: inherit;
  font-size: clamp(16px, 1.2vw, 22px);
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.hits-all span { font: 1.2em/0.8 Arial, sans-serif; }

.hits-all:hover,
.hits-all:focus-visible { color: var(--color-accent); }

.hits-controls {
  display: flex;
  gap: 10px;
}

.hits-controls button {
  display: grid;
  width: clamp(46px, 3.7vw, 62px);
  height: clamp(46px, 3.7vw, 62px);
  padding: 0;
  place-items: center;
  border: 1px solid rgb(18 16 14 / 0.35);
  border-radius: 50%;
  color: var(--color-ink);
  background: #fff;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hits-controls button:disabled { opacity: 0.28; cursor: default; }

.hits-controls button:not(:disabled):hover,
.hits-controls button:not(:disabled):focus-visible {
  border-color: var(--color-accent);
  color: #fff;
  background: var(--color-accent);
}

.hits-controls svg { width: 46%; height: 46%; stroke: currentColor; stroke-width: 1.5; }

.hits-track {
  display: flex;
  align-items: stretch;
  gap: var(--hit-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-w);
  padding: 4px var(--rail-w) 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hits-track::-webkit-scrollbar { display: none; }

.hit-card {
  flex: 0 0 calc((100% - (3 * var(--hit-gap))) / 4);
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(20px, 1.5vw, 28px);
  background: #f7f6f3;
  box-shadow: 0 12px 30px rgb(18 16 14 / 0.055);
  scroll-snap-align: start;
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms ease;
}

.hit-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.hit-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #efece7;
}

.hit-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.97) contrast(1.02);
  transition: transform 600ms var(--ease-out-expo);
}

/* Таитянская ваниль: точная фирменная коробка и сам продукт без вакуумного пакета. */
.hit-card__media--tahiti {
  isolation: isolate;
  background: #fff;
}

.hit-card__media--tahiti::after {
  position: absolute;
  z-index: -1;
  inset: auto 7% 6% 8%;
  height: 19%;
  border-radius: 50%;
  background: rgb(48 47 45 / 0.075);
  filter: blur(20px);
  content: "";
}

.hit-card__product {
  position: absolute;
  display: block;
  object-fit: contain;
  pointer-events: none;
  will-change: transform;
}

.hit-card__product--package {
  z-index: 1;
  top: 7%;
  bottom: 7%;
  left: 7%;
  width: auto;
  height: 86%;
  filter: drop-shadow(0 12px 10px rgb(18 16 14 / 0.14));
  transition: transform 520ms var(--ease-out-expo), filter 520ms ease;
}

.hit-card__product--pods {
  z-index: 2;
  right: 1.5%;
  bottom: 5%;
  width: auto;
  height: 78%;
  filter: drop-shadow(0 13px 11px rgb(18 16 14 / 0.17));
  transform: rotate(3deg);
  transform-origin: 60% 85%;
  transition: transform 600ms var(--ease-out-expo), filter 520ms ease;
}

.hit-card__open {
  position: absolute;
  z-index: 4;
  top: clamp(14px, 1.2vw, 20px);
  right: clamp(14px, 1.2vw, 20px);
  display: grid;
  width: clamp(38px, 3vw, 48px);
  height: clamp(38px, 3vw, 48px);
  place-items: center;
  border: 1px solid rgb(18 16 14 / 0.2);
  border-radius: 50%;
  color: var(--color-ink);
  background: rgb(255 255 255 / 0.92);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 420ms var(--ease-out-expo);
}

.hit-card__open svg {
  width: 52%;
  height: 52%;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Метка «Хит»: тот же красный, что у кнопок, без скруглений — как рамка прайса в шапке */
.hit-card__badge {
  position: absolute;
  z-index: 5;
  top: clamp(14px, 1.2vw, 20px);
  left: clamp(14px, 1.2vw, 20px);
  padding: 0.48em 0.75em 0.38em;
  color: #fff;
  background: var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(12px, 0.85vw, 15px);
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.hit-card__caption {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(150px, 11vw, 200px);
  padding: clamp(18px, 1.5vw, 26px) clamp(20px, 1.7vw, 30px) clamp(22px, 1.8vw, 30px);
}

.hit-card__category {
  margin: 0 0 clamp(8px, 0.8vw, 12px);
  color: rgb(18 16 14 / 0.62);
  font-size: clamp(12px, 0.85vw, 15px);
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hit-card__title {
  margin: 0;
  font: 400 clamp(22px, 1.75vw, 32px)/1 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hit-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: auto;
  padding: clamp(16px, 1.3vw, 24px) 0 0.3em;
  border-bottom: 2px solid var(--color-accent);
  font-size: clamp(14px, 1vw, 19px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hit-card__more svg { width: 1.1em; height: 1.1em; stroke: currentColor; stroke-width: 2; }

.hit-card:hover,
.hit-card:focus-within {
  box-shadow: 0 18px 38px rgb(18 16 14 / 0.095);
  transform: translateY(-2px);
}

.hit-card__link:hover .hit-card__image,
.hit-card__link:focus-visible .hit-card__image { transform: scale(1.04); }

.hit-card--tahiti .hit-card__link:hover .hit-card__product--package,
.hit-card--tahiti .hit-card__link:focus-visible .hit-card__product--package {
  filter: drop-shadow(0 16px 14px rgb(18 16 14 / 0.18));
  transform: translateY(-3px) scale(1.015);
}

.hit-card--tahiti .hit-card__link:hover .hit-card__product--pods,
.hit-card--tahiti .hit-card__link:focus-visible .hit-card__product--pods {
  filter: drop-shadow(0 17px 13px rgb(18 16 14 / 0.2));
  transform: translate3d(6px, -4px, 0) rotate(5deg) scale(1.018);
}

.hit-card--tahiti .hit-card__link:hover .hit-card__open,
.hit-card--tahiti .hit-card__link:focus-visible .hit-card__open {
  border-color: var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  transform: rotate(7deg);
}

.hit-card__link:hover .hit-card__title,
.hit-card__link:hover .hit-card__more,
.hit-card__link:focus-visible .hit-card__title,
.hit-card__link:focus-visible .hit-card__more { color: var(--color-accent); }

.hits-screen :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hit-card { flex-basis: calc((100% - (2 * var(--hit-gap))) / 3); }
}

@media (max-width: 640px) {
  .hits-screen {
    --rail-w: 16px;
    --hit-gap: 12px;
    padding: 36px 0 36px;
  }

  .hits-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .hits-heading h2 { font-size: clamp(52px, 15vw, 66px); }
  .hits-heading__note { margin-top: 10px; font-size: clamp(17px, 4.8vw, 20px); }

  .hits-heading__aside { flex-direction: row; align-items: center; justify-content: space-between; }
  .hits-controls { display: none; }
  .hits-all { min-height: 44px; font-size: 13px; letter-spacing: 0.055em; }

  .hit-card { flex-basis: 72%; border-radius: 18px; }
  .hit-card__caption { min-height: 0; padding: 16px 18px 18px; }
  .hit-card__title { font-size: 21px; }
  .hit-card__more { padding-top: 14px; font-size: 13px; }
  .hit-card__product--package { top: 8%; bottom: 8%; left: 7%; height: 84%; }
  .hit-card__product--pods { right: 1%; bottom: 5%; height: 76%; }
}

@media (prefers-reduced-motion: reduce) {
  .hit-card, .hit-card__image, .hit-card__product, .hit-card__open, .hits-all, .hits-controls button { transition: none; }
}


/* /styles/divider.css — original cascade order */
/* Узкая видеополоса между рецептами и людьми: строка и кнопка «Оставить заявку» */
.divider-screen {
  padding: 0 0 var(--section-gap, 80px);
  background: var(--color-paper);
}

.divider-media {
  position: relative;
  overflow: hidden;
  height: clamp(150px, 16vw, 230px);
  background: #14110e;
}

.divider-media__el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: brightness(0.7) saturate(0.9);
}

/* лёгкое затемнение, чтобы белый текст держался на светлой зелени */
.divider-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(18 16 14 / 0.55) 0%, rgb(18 16 14 / 0.32) 55%, rgb(18 16 14 / 0.45) 100%);
  content: "";
  pointer-events: none;
}

.divider-content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--rail-w);
}

.divider-title {
  margin: 0;
  color: #fff;
  font: 400 clamp(28px, 3.2vw, 52px)/0.95 var(--font-hero);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgb(18 16 14 / 0.35);
}

.divider-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7em;
  min-height: clamp(48px, 3.8vw, 60px);
  padding: 0.55em 1.25em 0.45em;
  border: 1px solid var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 20px);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.divider-cta svg { width: 1.2em; height: 1.2em; stroke: currentColor; stroke-width: 2.2; }

.divider-cta:hover,
.divider-cta:focus-visible { border-color: var(--color-ink); background: var(--color-ink); }
.divider-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 640px) {
  .divider-screen { padding: 0 0 56px; }
  .divider-media { height: auto; min-height: 150px; }
  .divider-content {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 16px;
  }
  .divider-media__el { position: absolute; inset: 0; }
  .divider-title { font-size: clamp(26px, 8vw, 34px); }
  .divider-cta { min-height: 46px; font-size: 14px; }
}


/* /styles/posts.css — original cascade order */
/* Статьи: одна большая карточка и три поменьше справа, за сеткой бледное слово «Статьи».
   Текст везде по левому краю. */

.posts-screen {
  position: relative;
  z-index: 3;
  padding: 0 var(--rail-w) var(--section-gap, 80px);
  color: var(--color-ink);
  background: var(--color-paper);
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.posts-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(24px, 4vw, 72px);
  margin-bottom: clamp(24px, 3vh, 40px);
}

.posts-heading h2 {
  margin: 0;
  font: 400 var(--section-title, clamp(64px, 7.05vw, 118px))/0.84 var(--font-hero);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.posts-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  align-self: start;
  margin-top: clamp(22px, 2.4vw, 42px);
  padding: 0.2em 0 0.48em;
  border-bottom: 2px solid var(--color-accent);
  color: inherit;
  font-size: var(--section-link, 19px);
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.posts-all span { font: 1.2em/0.8 Arial, sans-serif; }
.posts-all:hover,
.posts-all:focus-visible { color: var(--color-accent); }

/* ---------- Сетка: три одинаковых квадрата ---------- */
.posts-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(120px, 0.36fr);
  align-items: center;
  gap: clamp(16px, 1.6vw, 28px);
}

.post-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--card-radius, clamp(18px, 1.5vw, 28px));
  background: #f7f6f3;
  transition: transform 260ms var(--ease-out-expo);
}

.post-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }

.post-card__media { overflow: hidden; aspect-ratio: 1; }

.post-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease-out-expo);
}

.post-card--cover-green .post-card__media { background: rgb(67 90 46); }
.post-card--cover-red .post-card__media { background: rgb(198 55 53); }
.post-card--cover-blue .post-card__media { background: rgb(68 149 210); }
.post-card--cover .post-card__media { position: relative; width: 100%; }
.post-card--cover .post-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.post-card__link:hover .post-card__image,
.post-card__link:focus-visible .post-card__image { transform: scale(1.03); }

.posts-screen :is(a):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

@media (max-width: 640px) {
  .posts-screen { padding: 0 0 56px; }
  .posts-heading { margin-inline: 16px; gap: 12px; margin-bottom: 18px; }
  .posts-all { margin-top: 8px; min-height: 44px; font-size: 13px; letter-spacing: 0.055em; }
  /* на телефоне лента со свайпом, как у хитов */
  .posts-grid {
    display: flex;
    gap: 12px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .posts-grid::-webkit-scrollbar { display: none; }
  .post-card { flex: 0 0 76%; border-radius: 18px; scroll-snap-align: start; }
  
}

@media (prefers-reduced-motion: reduce) {
  .post-card, .post-card__image, .posts-all { transition: none; }
}

/* Стрелка «Смотреть все» после карточек */
.posts-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: clamp(12px, 1.2vw, 18px);
  color: var(--color-ink);
  text-decoration: none;
  transition: color 180ms ease;
}

.posts-more__circle {
  display: grid;
  width: clamp(64px, 5.6vw, 88px);
  height: clamp(64px, 5.6vw, 88px);
  place-items: center;
  border: 1px solid rgb(18 16 14 / 0.35);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.posts-more__circle svg { width: 44%; height: 44%; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.posts-more__label {
  font-family: var(--font-display);
  font-size: var(--section-link, 19px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.posts-more:hover .posts-more__circle,
.posts-more:focus-visible .posts-more__circle { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
.posts-more:hover .posts-more__label { color: var(--color-accent); }

@media (max-width: 640px) {
  .posts-more { flex: 0 0 40%; justify-content: center; scroll-snap-align: start; }
  .posts-more__circle { width: 56px; height: 56px; }
  .posts-more__label { font-size: 13px; }
}

/* Кубеба: обложка горизонтальная, в квадрат входит левая часть с текстом, правый край обрезан */
.post-card--cover-red .post-card__image { object-fit: cover; object-position: 0 50%; }


/* /styles/rhythm.css — original cascade order */
/* Единый ритм страницы. Подключается последним и только переопределяет.
   Откат: убрать одну строку <link> в index.html или git revert коммита. */

:root {
  --section-title: clamp(64px, 7.05vw, 118px);   /* 102px на 1440 */
  --section-note: clamp(18px, 1.68vw, 30px);     /* 24px */
  --section-link: clamp(15px, 1.32vw, 24px);     /* 19px */
  --section-gap: clamp(56px, 5.6vw, 96px);       /* 80px */
  --card-radius: clamp(18px, 1.5vw, 28px);       /* 22px */
}

/* ---------- Заголовки секций: один размер ---------- */
.catalog-intro__title,
.hits-heading h2,
.recipes-heading h2 {
  font-size: var(--section-title);
  line-height: 0.84;
  letter-spacing: -0.02em;
}

/* «Истоки» намеренно живут по своей сетке: заголовок выходит из середины. Не трогаем. */

/* ---------- Подписи и ссылки ---------- */
.hits-heading__note,
.recipes-heading__note { font-size: var(--section-note); }

.hits-all,
.recipes-all,
.origin-cta { font-size: var(--section-link); }

/* ---------- Карточки: один радиус ---------- */
.catalog-card,
.hit-card,
.recipe-card { border-radius: var(--card-radius); }

/* ---------- Воздух между блоками ---------- */
.catalog-content { padding-bottom: 0; }
/* После первого экрана — тот же воздух, что между остальными блоками */
.catalog-screen { padding-top: var(--section-gap); }
.hits-screen { padding-top: var(--section-gap); padding-bottom: calc(var(--section-gap) - 14px); }
.recipes-screen { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }

/* ---------- Телефон ---------- */
@media (max-width: 640px) {
  :root {
    --section-title: clamp(52px, 17vw, 70px);   /* 66px на 390 */
    --section-note: 19px;
    --section-link: 14px;
    --section-gap: 56px;
    --card-radius: 18px;
  }

  .catalog-content { padding-inline: 16px; }

  /* Зазоры считаем до первого текста, а не до края секции.
     «Истоки» на телефоне не под шапкой, поэтому отступ под неё не нужен. */
  .origin-screen { padding-top: 0; min-height: auto; }      /* высота по содержимому, горы всё равно заливают фон */
  .origin-copy { padding-top: 28px; padding-bottom: 24px; }
  .origin-details { padding-top: 72px; }                    /* текст садится на зелень, а не на небо */
  .hits-screen { padding-top: var(--section-gap); padding-bottom: 14px; }   /* 14 + 14 у ленты + 28 внутри «Истоков» = 56 до «Индонезии» */
  .recipes-screen { padding-top: var(--section-gap); padding-bottom: var(--section-gap); } /* последний элемент «Истоков» на телефоне — картинка, отступ считаем от неё */
}

/* ---------- Слово-подложка: тень от заголовка ----------
   То же слово крупнее и бледнее, смещено вправо и вниз от самой фразы. */
.catalog-screen, .hits-screen, .recipes-screen, .team-screen, .posts-screen, .catalog-page {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.catalog-intro, .hits-heading__group, .recipes-heading__group, .team-heading__group, .posts-heading__group, .catalog-page__heading {
  position: relative;
}

.catalog-intro__title, .hits-heading h2, .recipes-heading h2, .team-heading h2, .posts-heading h2, .catalog-page__heading h1 {
  position: relative;
  z-index: 1;
}

.section-backdrop {
  position: absolute;
  z-index: 0;
  left: 0.1em;
  top: 0.16em;
  font: 400 calc(var(--section-title) * 1.5)/0.8 var(--font-hero);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgb(18 16 14 / 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.catalog-content, .hits-track, .recipes-toolbar, .recipes-track, .recipes-footer, .team-track, .posts-grid,
.catalog-page__filters, .catalog-page__grid { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .section-backdrop { font-size: calc(var(--section-title) * 1.45); }
}

/* Рецепты: фильтры сразу под заголовком, без лишнего воздуха */
.recipes-toolbar { padding-top: clamp(6px, 1vh, 12px); }
@media (max-width: 640px) { .recipes-toolbar { padding-top: 4px; } }


/* /styles/site.css — original cascade order */
/* Общие блоки всех страниц: заявка, контакты, подвал. */

/* ---------- Оставить заявку: красное полотно ---------- */
.request-screen {
  position: relative;
  z-index: 4; /* стручок выходит над предыдущим блоком */
  overflow-x: clip;
  overflow-y: visible;
  padding: var(--section-gap, 80px) var(--rail-w);
  color: #fff;
  background: #c63735;
  isolation: isolate;
}

.request-screen::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 0.12) 0%, rgb(255 255 255 / 0) 55%),
              linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.16) 100%);
  content: "";
}

.request-screen__deco {
  position: absolute;
  z-index: 0;
  left: calc(42% - 188px);
  top: calc(-34% + 303px);
  width: clamp(460px, 54vw, 840px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.35));
  transform: rotate(-20deg);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.request-screen__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.request-screen__copy { position: relative; }
.request-screen .section-backdrop { color: rgb(255 255 255 / 0.08); }

.request-screen__kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(10px, 1vw, 16px);
  color: rgb(255 255 255 / 0.95);
  font-family: var(--font-display);
  font-size: clamp(13px, 0.95vw, 17px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.request-screen h2, .contacts-screen h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 400 var(--section-title, clamp(64px, 7.05vw, 118px))/0.84 var(--font-hero);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.request-screen__note {
  position: relative;
  z-index: 1;
  max-width: 40ch;
  margin: clamp(18px, 2vw, 30px) 0 0;
  font-family: var(--font-display);
  font-size: var(--section-note, clamp(18px, 1.68vw, 30px));
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: rgb(255 255 255 / 0.9);
}

.request-screen__points {
  position: relative;
  z-index: 1;
  margin: clamp(20px, 2vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.request-screen__points li {
  padding: clamp(10px, 1vw, 14px) 0;
  border-top: 1px solid rgb(255 255 255 / 0.28);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 21px);
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.request-screen__points li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.28); }

/* ---------- Форма ---------- */
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 26px) clamp(16px, 2vw, 32px);
  position: relative;
  z-index: 1;
  padding: clamp(24px, 2.4vw, 40px);
  border-radius: var(--card-radius, 22px);
  color: var(--color-ink);
  background: var(--color-paper);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.22);
}

.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.lead-form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lead-form__field--wide { grid-column: 1 / -1; }

.lead-form__field span {
  color: rgb(18 16 14 / 0.62);
  font-family: var(--font-display);
  font-size: clamp(12px, 0.9vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form textarea {
  width: 100%;
  padding: 10px 0 11px;
  border: 0;
  border-bottom: 1px solid rgb(18 16 14 / 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  font: 400 clamp(17px, 1.2vw, 22px)/1.2 var(--font-display);
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 160ms ease;
  resize: vertical;
}

.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgb(18 16 14 / 0.38); }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
  box-shadow: 0 1px 0 0 var(--color-accent);  /* подчёркивание вместо рамки, без сдвига вёрстки */
}
.lead-form :is(button, a, input[type="checkbox"]):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.lead-form input:user-invalid, .lead-form textarea:user-invalid { border-bottom-color: var(--color-accent); }

.lead-form__consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgb(18 16 14 / 0.7);
  font-family: var(--font-display);
  font-size: clamp(13px, 0.95vw, 16px);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.lead-form__consent input { margin: 0.15em 0 0; width: 24px; height: 24px; accent-color: var(--color-accent); flex: 0 0 auto; }
.lead-form__consent a { color: inherit; border-bottom: 1px solid var(--color-accent); text-decoration: none; }

.lead-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-height: clamp(48px, 3.8vw, 60px);
  padding: 0.55em 1.25em 0.45em;
  border: 1px solid var(--color-accent);
  border-radius: 0;
  color: #fff;
  background: var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 20px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.lead-form__submit svg { width: 1.1em; height: 1.1em; stroke: currentColor; stroke-width: 2; }
.lead-form__submit { color: #fff; background: var(--color-ink); border-color: var(--color-ink); }
.lead-form__submit:hover, .lead-form__submit:focus-visible { background: var(--color-accent); border-color: var(--color-accent); }
.lead-form__submit:disabled { opacity: 0.6; cursor: wait; }

.lead-form__status {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(14px, 1vw, 18px);
  letter-spacing: 0.04em;
}
.lead-form__status[data-state="error"] { color: var(--color-accent); }
.lead-form__status:empty { display: none; }

/* ---------- Контакты ---------- */
.contacts-screen {
  position: relative;
  overflow-x: clip;
  padding: var(--section-gap, 80px) var(--rail-w);
  color: var(--color-ink);
  background: var(--color-paper);
}

.contacts-screen__heading { position: relative; margin-bottom: clamp(20px, 2.6vh, 34px); }

/* Карточки контактов (дублируют pages.css, чтобы работать и на главной) */
.about-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}

.about-contact {
  padding: clamp(22px, 2vw, 34px);
  border-radius: var(--card-radius, 22px);
  background: #f7f6f3;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.25vw, 22px);
  letter-spacing: 0.035em;
  line-height: 1.35;
}

.about-contact h3 { margin: 0 0 10px; color: var(--color-accent); font: 400 clamp(15px, 1.05vw, 19px)/1.1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.about-contact p { margin: 0 0 0.5em; }
.about-contact a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--color-accent); }
.about-contact a:hover { color: var(--color-accent); }

/* ---------- Подвал ---------- */
.site-footer {
  color: rgb(255 255 255 / 0.82);
  background: #12100e;
  font-family: var(--font-display);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  padding: clamp(48px, 5vw, 80px) var(--rail-w) clamp(36px, 4vw, 56px);
}

.site-footer__logo img { display: block; width: clamp(150px, 13vw, 210px); height: auto; }

.site-footer__brand p {
  max-width: 34ch;
  margin: clamp(16px, 1.6vw, 24px) 0 0;
  font-size: clamp(15px, 1.1vw, 19px);
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: rgb(255 255 255 / 0.62);
}

.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: clamp(18px, 1.8vw, 28px) 0 0; padding: 0; list-style: none; }
.site-footer__social a { font-size: clamp(13px, 0.95vw, 16px); letter-spacing: 0.1em; text-transform: uppercase; }

.site-footer__col { display: flex; flex-direction: column; gap: clamp(8px, 0.8vw, 12px); }

.site-footer__col h3 {
  margin: 0 0 clamp(6px, 0.6vw, 10px);
  color: rgb(255 255 255 / 0.45);
  font: 400 clamp(12px, 0.9vw, 15px)/1.1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  font-size: clamp(16px, 1.15vw, 21px);
  letter-spacing: 0.05em;
  transition: color 160ms ease;
}

.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }

.site-footer__contacts p { margin: 0; font-size: clamp(15px, 1.05vw, 18px); letter-spacing: 0.04em; line-height: 1.3; color: rgb(255 255 255 / 0.62); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: clamp(18px, 1.8vw, 26px) var(--rail-w);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: rgb(255 255 255 / 0.5);
  font-size: clamp(13px, 0.95vw, 16px);
  letter-spacing: 0.05em;
}

.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { font-size: inherit; }

/* ---------- Планшет и телефон ---------- */
@media (max-width: 980px) {
  .request-screen__inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .request-screen { padding: 56px 16px; }
  .request-screen__deco { width: 130%; left: -8%; top: 30%; transform: rotate(-38deg); }
  .request-screen__note { font-size: 19px; }
  .lead-form { grid-template-columns: 1fr; gap: 16px; padding: 20px 18px 22px; border-radius: 18px; }
  .lead-form__submit { justify-self: stretch; justify-content: center; }
  .contacts-screen { padding: 56px 16px; }
  .about-contacts { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 28px; }
  .site-footer__bottom { padding: 18px 16px; flex-direction: column; }
}

/* ---------- Розница на Ozon ---------- */
.retail-screen {
  padding: 0 var(--rail-w) var(--section-gap, 80px);
  color: var(--color-ink);
  background: var(--color-paper);
}

.retail-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(26px, 3vw, 48px) clamp(24px, 3.2vw, 56px);
  border-radius: var(--card-radius, 22px);
  background: #f7f6f3;
}

.retail-card__copy { min-width: 0; }

.retail-card__kicker {
  margin: 0 0 8px;
  color: rgb(18 16 14 / 0.62);
  font-family: var(--font-display);
  font-size: clamp(12px, 0.9vw, 16px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.retail-card h2 {
  margin: 0;
  font: 400 clamp(34px, 3.2vw, 56px)/0.92 var(--font-hero);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.retail-card__note {
  max-width: 56ch;
  margin: clamp(10px, 1.2vw, 18px) 0 0;
  color: rgb(18 16 14 / 0.78);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.3;
  letter-spacing: 0.035em;
}

.retail-card__action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* кнопка самостоятельная: на главной product.css не подключён */
.retail-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-height: clamp(48px, 3.8vw, 60px);
  padding: 0.55em 1.25em 0.45em;
  border: 1px solid var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 20px);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.retail-card__btn svg { flex: 0 0 auto; width: 1.1em; height: 1.1em; stroke: currentColor; stroke-width: 2; }
.retail-card__btn:hover, .retail-card__btn:focus-visible { background: #9c241d; border-color: #9c241d; }

.retail-card__meta {
  margin: 0;
  color: rgb(18 16 14 / 0.62);
  font-family: var(--font-display);
  font-size: clamp(13px, 0.95vw, 16px);
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .retail-screen { padding: 0 16px 56px; }
  .retail-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px 24px; border-radius: 18px; }
  .retail-card h2 { font-size: 30px; }
  .retail-card__note { font-size: 16px; }
  .retail-card__action { align-items: stretch; }
  .retail-card__btn { justify-content: center; }
  .retail-card__meta { text-align: center; }
}

/* ---------- Форма поверх страницы ---------- */
.lead-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: min(92vh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--card-radius, 22px);
  background: var(--color-paper);
  color: var(--color-ink);
  overflow: auto;
  overscroll-behavior: contain;
}

.lead-modal::backdrop { background: rgb(18 16 14 / 0.62); backdrop-filter: blur(2px); }

.lead-modal__inner { position: relative; padding: clamp(26px, 3vw, 44px) clamp(22px, 3vw, 48px) clamp(24px, 3vw, 44px); }

.lead-modal__close {
  position: absolute;
  top: clamp(14px, 1.4vw, 20px);
  right: clamp(14px, 1.4vw, 20px);
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(18 16 14 / 0.2);
  border-radius: 50%;
  color: var(--color-ink);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.lead-modal__close svg { width: 45%; height: 45%; stroke: currentColor; stroke-width: 1.8; }
.lead-modal__close:hover, .lead-modal__close:focus-visible { color: #fff; border-color: var(--color-accent); background: var(--color-accent); }

.lead-modal__kicker {
  margin: 0 0 8px;
  color: rgb(18 16 14 / 0.62);
  font-family: var(--font-display);
  font-size: clamp(12px, 0.9vw, 16px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead-modal h2 {
  margin: 0;
  padding-right: 52px;
  font: 400 clamp(32px, 3vw, 52px)/0.92 var(--font-hero);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.lead-modal__note {
  max-width: 52ch;
  margin: clamp(10px, 1.2vw, 16px) 0 0;
  color: rgb(18 16 14 / 0.78);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.3;
  letter-spacing: 0.035em;
}

.lead-modal__product {
  margin: 12px 0 0;
  padding: 0.45em 0.8em 0.35em;
  display: inline-block;
  border: 1px solid rgb(18 16 14 / 0.25);
  font-family: var(--font-display);
  font-size: clamp(13px, 0.95vw, 17px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-modal .lead-form { margin-top: clamp(18px, 2vw, 28px); padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.lead-modal__product[hidden] { display: none; }

@media (max-width: 640px) {
  .lead-modal { width: calc(100vw - 20px); max-height: 92vh; border-radius: 18px; }
  .lead-modal__inner { padding: 20px 18px 24px; }
  .lead-modal h2 { font-size: 30px; padding-right: 46px; }
  .lead-modal__note { font-size: 16px; }
}


/* ---------- Шапка на телефоне: правила были только на главной, теперь на всех страницах ---------- */
@media (max-width: 768px) {

  :root { --header-h: clamp(80px, 20.6vw, 96px); }

  .site-topbar {
    height: var(--header-h);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 56% 44%;
    align-items: stretch;
    padding: 0;
  }

  .site-topbar .masthead { display: contents; }

  .site-topbar .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding-left: clamp(14px, 5.8vw, 28px);
  }

  .site-topbar .brand__logo { height: clamp(21px, 6.2vw, 31px); }

  .site-topbar .masthead__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0 clamp(15px, 7.2vw, 34px);
    border-top: 1px solid var(--color-rule);
  }

  .site-topbar .nav-link {
    display: inline-flex;
    min-height: 100%;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  .site-topbar .wholesale {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    padding: 0 clamp(12px, 4.6vw, 22px) 0 18px;
  }

  .site-topbar .wholesale__btn {
    padding: 0.58em 0.7em 0.5em 1.12em;
    font-size: clamp(0.64rem, 2.7vw, 0.72rem);
    letter-spacing: 0.05em;
  }

  .site-topbar .wholesale__chili { height: clamp(38px, 11vw, 50px); }

}


/* /styles/client-revisions.css — original cascade order */
/* Client review 2026-10-05. Keep display type for headings, readable type for prose. */
.prose {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
  max-width: 65ch;
}
.about-story .prose { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.65; }
.prose p > strong, .prose p > b { font-weight: 700; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; font-size: 24px; line-height: 1.2; letter-spacing: .02em; }
.origin-title { font-size: min(12.5vw, 25svh); }
/* Homepage stays at the original six tiles; columns/spans are defined in catalog.css. */
.catalog-card--salt .catalog-card__image,
.catalog-card--sugar .catalog-card__image { filter: none; object-position: center; }
.contacts-screen .about-contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .contacts-screen .about-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .origin-title { font-size: clamp(54px, 16vw, 108px); }
  .prose { font-size: 17px; line-height: 1.6; }
  .about-story .prose { font-size: 18px; line-height: 1.6; }
}
@media (max-width: 700px) {
  .contacts-screen .about-contacts { grid-template-columns: 1fr; }
}


/* /styles/client-20261010.css — original cascade order */
/* Scoped B2B client changes; existing palette and responsive layout retained. */
.manager-call {position:fixed;right:44px;left:auto;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:80;display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:172px;min-height:52px;padding:9px 14px;border:0;background:var(--color-ink,#12100e);color:#fff;text-decoration:none;font:400 16px/1.1 var(--font-display,"Bebas Neue"),Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 8px 24px #0003;border-radius:0}
.manager-call__icon {width:22px;height:22px;flex:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.manager-call__label {display:block;text-align:left;white-space:nowrap}
.manager-call:hover {background:#b82822}
.manager-call:focus-visible {outline:3px solid #111;outline-offset:4px}
.retail-card__action {display:flex;flex-direction:column;gap:12px}
.product__volume-note {max-width:38em;margin:24px 0 0;font:400 18px/1.5 Arial,sans-serif;color:var(--color-ink,#12100e);text-transform:none;letter-spacing:normal}
@media(max-width:640px){.manager-call{right:16px;bottom:calc(28px + env(safe-area-inset-bottom,0px));width:156px;min-height:48px;font-size:15px}.site-footer__bottom{padding-bottom:100px}}
/* Client revision: floating telephone control belongs to mobile only. */
@media(min-width:641px){.manager-call{display:none}}


/* /styles/production-volume.css — original cascade order */
/* Approved first mockup: three-line display headline, white field, red CTA. */
.production-volume {position:relative;z-index:3;background:var(--color-paper);color:var(--color-ink);padding:24px var(--rail-w);scroll-margin-top:calc(var(--header-h) + 24px)}
.production-volume__inner {display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:clamp(28px,3vw,48px);align-items:center;max-width:1200px;margin-inline:auto;border-block:1px solid var(--color-rule);padding:clamp(32px,3.4vw,52px) 0}
.production-volume__kicker {margin:0 0 18px;color:var(--color-muted);font:400 clamp(14px,1vw,18px)/1.2 var(--font-display);letter-spacing:.18em;text-transform:uppercase}
.production-volume h2 {margin:0;font:400 clamp(42px,4.4vw,84px)/1.02 var(--font-display);letter-spacing:-.02em;text-transform:uppercase}
.production-volume h2 span {display:block;white-space:nowrap}
.production-volume__copy > p {margin:0 0 26px;font:400 clamp(18px,1.45vw,24px)/1.45 Arial,sans-serif;letter-spacing:-.015em}
.production-volume__cta {display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:350px;min-height:64px;border:0;border-radius:0;padding:18px 22px;background:var(--color-accent);color:#fff;font:400 clamp(18px,1.35vw,22px)/1.1 var(--font-display);letter-spacing:.02em;text-transform:uppercase;text-align:left;cursor:pointer;transition:background 160ms ease}
.production-volume__cta svg {flex:none;width:28px;height:28px;stroke:currentColor;stroke-width:1.5}
.production-volume__cta:hover {background:var(--color-ink)}
.production-volume__cta:focus-visible {outline:3px solid var(--color-ink);outline-offset:4px}
.volume-modal {width:min(800px,calc(100vw - 32px))}
.volume-modal .lead-modal__note {font:400 16px/1.5 Arial,sans-serif;letter-spacing:normal}
.volume-form {color:var(--color-ink)}
.volume-form .lead-form__field > span {font:400 14px/1.3 Arial,sans-serif;letter-spacing:normal;text-transform:none}
.volume-form :is(input[type=text],input[type=email],textarea) {font:400 16px/1.4 Arial,sans-serif;letter-spacing:normal}
.volume-form input[type=tel] {width:100%;min-width:0;box-sizing:border-box;border:0;border-bottom:1px solid rgb(18 16 14 / .25);border-radius:0;background:transparent;padding:12px 0;font:400 18px/1.3 Arial,sans-serif;color:inherit}
.volume-form input[type=tel]:focus {outline:none;border-bottom-color:var(--color-accent)}
.volume-form .lead-form__submit {background:var(--color-accent);border-color:var(--color-accent)}
.volume-form__delivery,.volume-form__contact {grid-column:1 / -1;margin:0;font:400 14px/1.5 Arial,sans-serif;letter-spacing:normal}
.volume-form__delivery {color:#625e58}
.volume-form__contact a {color:inherit;text-underline-offset:3px}
.volume-form .lead-form__status {grid-column:1 / -1;font:400 16px/1.4 Arial,sans-serif;letter-spacing:normal}
@media(max-width:960px){.production-volume__inner{grid-template-columns:1fr;gap:24px;padding:32px 0}.production-volume h2{font-size:clamp(40px,6.5vw,60px)}.production-volume__copy{max-width:540px}.production-volume__copy > p{margin-bottom:20px;font-size:20px}.production-volume__cta{min-height:62px;font-size:21px}}
@media(max-width:640px){.production-volume{padding:18px 16px}.production-volume__inner{padding:28px 0;gap:20px}.production-volume__kicker{margin-bottom:14px;font-size:14px}.production-volume h2{font-size:clamp(34px,9vw,48px)}.production-volume h2 span{white-space:normal}.production-volume__copy > p{font-size:18px;line-height:1.4}.production-volume__cta{min-height:60px;padding:18px 20px;font-size:20px;gap:14px}.production-volume__cta svg{width:26px;height:26px}.volume-modal{width:calc(100vw - 20px)}}


/* /styles/featured-cards-20261026.css — original cascade order */
/* Keep the approved infographic intact; the section label is not part of it. */
.hits-track .hit-card__media {
  aspect-ratio: 3 / 4;
}

.hits-track .hit-card__image {
  object-fit: contain;
  object-position: center top;
  filter: none;
}

.hits-track .hit-card__link:hover .hit-card__image,
.hits-track .hit-card__link:focus-visible .hit-card__image {
  transform: none;
}

.hits-track .hit-card__caption > .hit-card__badge {
  position: static;
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

