@font-face {
  font-family: Onest;
  src: url('../../assets/fonts/onest-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  src: url('../../assets/fonts/onest-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --content-width: 1450px;
  --content-gutter: clamp(16px, 3vw, 44px);
  --paper: #f7f5f0;
  --hero-surface: #eeece4;
  --white: #fffefa;
  --ink: #292922;
  --sage: #486a46;
  --sage-dark: #354838;
  --hero-visual: #dde1d6;
  --lime: #a8c94f;
  --terracotta: #b4775e;
  --heading: 'Monomakh', serif;
  --sans: 'Onest', Arial, sans-serif;
}

body { font-family: 'Onest', Arial, sans-serif; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  transform: rotate(-90deg);
  transition: transform .2s ease;
}
.story-arrow .icon-arrow {width: 20px;height: 20px;}
.story-arrow-next .icon-arrow { transform: none; }
.story-arrow-prev .icon-arrow { transform: rotate(180deg); }
a:hover > .icon-arrow,
a:hover .icon-arrow { transform: rotate(-90deg) translate(1px, 1px); }
.story-arrow-next:hover .icon-arrow { transform: translateX(1px); }
.story-arrow-prev:hover .icon-arrow { transform: rotate(180deg) translateX(1px); }
.text-link, .pack-caption a { display: inline-flex; align-items: center; gap: 8px; }
h1, h2, h3, .stories-heading h2, .facts h2, .section-heading h2, .business h2, .closing h2 {
  font-family: var(--heading);
}
.product-meta h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pack-label b, .pack-small b {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pack-main > img { object-fit: contain; padding: 18px; }
.hero { background: var(--hero-surface); }
.hero-photo { background: var(--hero-visual); }
.hero h1 {font-size: clamp(48px, 5.8vw, 82px);line-height: 0.8;letter-spacing: -.065em;}
.hero h1 em { color: var(--sage); }
.eyebrow-dot { background: var(--terracotta); }
.button-dark { background: var(--ink); }

/* Change these two values to tune the first story slider's motion. */
.story-carousel {
  --story-duration: 780ms;
  --story-easing: cubic-bezier(.22, .75, .25, 1);
  padding-bottom: 26px;
}
.story-carousel .story-stage { cursor: grab; user-select: none; -webkit-user-select: none; }
.story-carousel .story-stage:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; }
.story-carousel .story-slide {
  transform: translate(-50%, -50%) translateX(calc(var(--slide-x, 0%) + var(--drag-x, 0px))) scale(var(--slide-scale, 1)) rotateY(var(--slide-rotate, 0deg));
  transition: transform var(--story-duration) var(--story-easing), opacity var(--story-duration) ease, filter var(--story-duration) ease, box-shadow var(--story-duration) ease;
}
.story-carousel .story-slide img { pointer-events: none; -webkit-user-drag: none; }
.story-carousel .story-slide--with-copy {
  isolation: isolate;
}
.story-carousel .story-slide--with-copy::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 54%;
  pointer-events: none;
  /* Subtle, separately editable fade behind the typeset copy. */
  background: linear-gradient(90deg, rgb(247 245 240) 0%, rgb(253 253 253 / 89%) 34%, rgb(255 255 255 / 56%) 70%, rgb(247 247 247 / 0%) 100%);
}
.story-carousel.is-dragging .story-stage { cursor: grabbing; }
.story-carousel.is-dragging .story-slide { transition: none; }
.story-controls .story-progress {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: max-content;
  margin: 0;
  transform: translateX(-50%);
}
@media (max-width: 700px) {
  .story-controls .story-progress { bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-carousel .story-slide { transition: none; }
}

/* Header based on the supplied navigation reference. */
.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.header-catalog {
  box-shadow: 0 2px 20px rgb(41 41 34 / 14%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
  transition: background .2s;
}
.header-catalog:hover { background: var(--sage-dark); }
.header-catalog:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.site-header {
  width: 100%;
  margin-inline: 0;
  padding-inline: max(44px, calc((100vw - 1450px) / 2));
  height: 112px;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(255 255 255 / 62%);
  background: rgb(247 245 240 / 72%);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: height .28s cubic-bezier(.2,.7,.2,1), background-color .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {height: 70px;background: rgb(247 245 240 / 82%);box-shadow: 0 8px 28px rgb(41 41 34 / 6%);}
.brand { flex: 0 0 auto; }
.brand img { width: 101px; height: 93px; object-fit: contain; transition: width .28s ease, height .28s ease; }
.site-header.is-scrolled .brand img { width: 78px; height: 72px; }
.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: clamp(9px, 1.1vw, 22px);
  padding: 8px 9px 8px 20px;
  border-radius: 999px;
  /* background: rgb(253 253 253 / 60%); */
  /* box-shadow: 0 2px 20px rgb(41 41 34 / 3%); */
}
.nav-links a, .nav-placeholder {
  position: relative;
  flex: 0 0 auto;
  font-size: 11px;
  white-space: nowrap;
  color: #44473e;
}
.nav-links a {display: inline-flex;align-items: center;gap: 9px;padding: 8px 22px 8px 16px;border-radius: 999px;background: rgb(253 253 253 / 60%);box-shadow: 0 2px 18px rgb(41 41 34 / 14%);transition: .3s;}
.nav-links a svg {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-links a.is-current { font-weight: 700; }
.nav-links a.is-current::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--sage);
}
.nav-placeholder { cursor: default; }
.header-search {
  position: relative;
  flex: 1 1 160px;
  max-width: 230px;
  min-width: 130px;
  height: 44px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #f0efe9;
}
.header-search button {
  flex: 0 0 43px;
  height: 43px;
  padding: 12px;
  border: 0;
  background: none;
  color: #3c453e;
  cursor: pointer;
}
.header-search svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-search input { width: 100%; min-width: 0; padding: 0 12px 0 0; border: 0; outline: 0; background: none; color: var(--ink); font: 11px 'Onest', sans-serif; }
.header-search input::placeholder { color: #979991; }
.header-search-status { position: absolute; top: calc(100% + 10px); right: 0; z-index: 10; width: max-content; max-width: 280px; color: var(--ink); font-size: 11px; }
.header-search-status:not(:empty) { padding: 9px 12px; border-radius: 10px; background: var(--white); box-shadow: 0 8px 25px #2929221a; }
.header-phone { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); }
.header-phone svg { width: 17px; height: 17px; fill: var(--sage-dark); }
.header-phone strong, .header-phone small { display: block; }
.header-phone strong { font-size: 12px; font-weight: 700; }
.header-phone small { margin-top: 3px; color: #888a7e; font-size: 9px; }
.header-language, .header-bag {
  flex: 0 0 auto;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: var(--white);
  color: var(--ink);
}
.header-language { min-width: 59px; gap: 8px; padding: 0 12px; font-size: 11px; font-weight: 700; }
.header-language span { font-size: 16px; line-height: 1; }
.header-bag { width: 46px; }
.header-bag svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1180px) {
  .site-header { height: 96px; }
  .site-header.is-scrolled { height: 76px; }
  .brand img { width: 80px; height: 74px; }
  .site-header.is-scrolled .brand img { width: 66px; height: 61px; }
  .nav-links {display: none;position: absolute;top: 85px;right: 0;left: 0;z-index: 10;padding: 24px 30px;border: 1px solid rgb(255 255 255 / 70%);border-radius: 24px;flex-direction: column;align-items: stretch;gap: 8px;background: rgb(253 253 253 / 97%);box-shadow: 0 20px 50px rgb(41 41 34 / 12%);-webkit-backdrop-filter: blur(20px) saturate(1.15);backdrop-filter: blur(20px) saturate(1.15);}
  .nav-links.open { display: flex; }
  .nav-links a, .nav-placeholder { display: flex; align-items: center; gap: 16px; min-height: 52px; font-size: 19px; }
  .nav-links a svg { width: 34px; height: 34px; flex: 0 0 34px; padding: 6px; border: 1px solid rgb(76 92 75 / 24%); border-radius: 50%; color: var(--sage); fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
  .nav-links a:hover svg { background: rgb(76 92 75 / 8%); }
  .nav-links a.is-current::after { display: none; }
  .header-search { max-width: none; min-height: 44px; flex: none; }
  .header-phone { margin-left: auto; }
  .menu-toggle {display: flex;width: 62px;height: 46px;flex: 0 0 auto;align-items: center;justify-content: center;flex-direction: column;gap: 5px;order: 0;border: 0;border-radius: 99px;background: var(--white);}
  .menu-toggle span {width: 38px;height: 1.5px;background: var(--ink);transition: transform .26s cubic-bezier(.2,.7,.2,1), width .26s ease;}
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}
@media (max-width: 950px) {
  .site-header { padding-inline: 24px; }
}
@media (max-width: 700px) {
  .site-header { padding-inline: 16px; height: auto; min-height: 78px; flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .site-header.is-scrolled { height: auto; min-height: 70px; gap: 4px; padding-block: 4px; }
  .brand { margin-right: auto; }
  .header-actions { flex-basis: 100%; }
  .header-actions > a { flex: 1; justify-content: center; margin: 0; }
  .header-catalog { padding: 12px 14px; font-size: 11px; }
  .brand img { width: 58px; height: 55px; }
  .site-header.is-scrolled .brand img { width: 49px; height: 46px; }
  .header-phone small { display: none; }
  .header-phone strong { font-size: 10px; }
  .header-phone svg { width: 14px; height: 14px; }
  .header-language { min-width: 46px; height: 40px; padding: 0 8px; }
  .header-bag, .menu-toggle {width: 62px;height: 40px;}
  .nav-links { top: 100%; padding: 18px 20px; border-radius: 20px; }
  .nav-links a, .nav-placeholder { min-height: 48px; font-size: 17px; }
  .nav-links a svg { width: 32px; height: 32px; flex-basis: 32px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
}
@media (max-width: 480px) {
  .header-phone { display: none; }
  .header-language { margin-left: auto; }
}


/* Full-bleed section shells with one shared content-width control.
   Set --section-bg / --section-image per shell; add data-parallax="0.14" to opt in. */
.container, .wrap {
  width: min(var(--content-width), calc(100% - var(--content-gutter) - var(--content-gutter)));
  margin-inline: auto;
}
.page-section {
  position: relative;
  isolation: isolate;
  background-color: var(--section-bg, transparent);
  padding: 50px 0;
}
.section-background {
  position: absolute;
  z-index: -1;
  inset: -10% 0;
  background-image: var(--section-image, none);
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
  pointer-events: none;
}
.page-section > .container, .page-section > section, .page-section > footer {
  position: relative;
  z-index: 1;
}
.page-section.page-section--catalog {
  background: #fff;
}

.page-section--hero {--section-bg: var(--hero-surface);padding-top: 0;}
.page-section--facts,
.page-section--stories,
.page-section--catalog,
.page-section--packaging,
.page-section--closing,
.page-section--footer { --section-bg: var(--paper); }
.page-section--business {
  --section-bg: #486a46;
  background-image:
    radial-gradient(ellipse 58% 82% at 12% 8%, rgb(151 180 122 / 19%), transparent 76%),
    radial-gradient(ellipse 48% 74% at 91% 88%, rgb(24 48 32 / 20%), transparent 76%),
    linear-gradient(122deg, #4b704c 0%, #486a46 48%, #456747 100%);
}
.page-section[data-parallax] .section-background { will-change: transform; }
.page-section--facts { border-bottom: 1px solid var(--line); }
.page-section--footer { border-top: 1px solid var(--line); }
.hero { background: transparent; border-radius: 0; }

/* Café hero: framed panoramic image with section details above and below. */
.page-section--hero { padding-block: 0; }
.hero.hero--cafe {
  width: min(1800px, calc(100% - 88px));
  min-height: 0;
  padding: 30px 0 32px;
  display: block;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}
.hero--cafe::before { display: none; }
.hero-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}
.hero--cafe .eyebrow { margin: 0; }
.hero--cafe .hero-topline {
  position: static;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  color: #727267;
  font-size: 9px;
  letter-spacing: .13em;
}
.hero-panel {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 36vw, 650px);
  border-radius: 24px;
}
.hero-photo--cafe {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background: #e7e0d2;
  overflow: hidden;
}
.hero-photo--cafe::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(247 245 239 / 96%) 0%, rgb(247 245 239 / 91%) 24%, rgb(247 245 239 / 69%) 38%, rgb(247 245 239 / 16%) 61%, transparent 75%);
  pointer-events: none;
}
.hero-photo--cafe::after {
  z-index: 1;
  background: linear-gradient(180deg, rgb(41 41 33 / 3%), transparent 34%, rgb(41 41 33 / 7%));
}
.hero-photo--cafe img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: none;
}
.hero--cafe .hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 58%;
  padding: clamp(32px, 4.5vw, 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--cafe h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 4.8vw, 80px);
  line-height: .88;
  letter-spacing: -.065em;
}
.hero--cafe .hero-lede {
  max-width: 465px;
  margin-bottom: 22px;
  color: #56574f;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.65;
}
.hero--cafe .hero-actions { gap: 22px; }
.hero--cafe .button { gap: 18px; }
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: 18px;
}
.hero--cafe .hero-footnote {
  margin: 0;
  font-size: 9px;
}
.hero--cafe .hero-index {
  position: static;
  left: auto;
  bottom: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 8px;
}
.hero--cafe .hero-index::before {
  content: "";
  flex: 1;
  height: 1px;
  margin-right: 12px;
  background: var(--line);
}

@media (max-width: 950px) {
  .hero.hero--cafe { width: calc(100% - 48px); }
  .hero-panel { min-height: 460px; }
  .hero--cafe .hero-copy { width: 64%; padding: 34px; }
  .hero--cafe h1 { font-size: clamp(42px, 5.5vw, 58px); }
  .hero--cafe .hero-actions { gap: 12px 18px; }
}

@media (max-width: 700px) {
  .hero.hero--cafe {
    width: calc(100% - 32px);
    padding: 24px 0 28px;
  }
  .hero-section-top { margin-bottom: 12px; }
  .hero--cafe .eyebrow { font-size: 9px; }
  .hero--cafe .hero-topline { gap: 0; font-size: 8px; }
  .hero--cafe .hero-topline span:first-child { display: none; }
  .hero-panel { min-height: 0; border-radius: 18px; }
  .hero-photo--cafe {
    position: relative;
    inset: auto;
    height: clamp(220px, 61vw, 280px);
    border-radius: inherit;
  }
  .hero-photo--cafe img { object-position: 72% center; }
  .hero-photo--cafe::before {
    background: linear-gradient(90deg, rgb(247 245 239 / 8%), transparent 65%);
  }
  .hero--cafe .hero-copy {
    position: relative;
    inset: auto;
    width: auto;
    margin: -24px 12px 0;
    padding: 22px 20px 20px;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 18px;
    background: rgb(247 245 239 / 96%);
    box-shadow: 0 12px 28px rgb(41 41 33 / 10%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .hero--cafe h1 {
    margin-bottom: 13px;
    font-size: clamp(37px, 10vw, 48px);
    line-height: .93;
    letter-spacing: -.06em;
  }
  .hero--cafe .hero-lede {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.55;
  }
  .hero--cafe .hero-actions { gap: 10px 16px; }
  .hero--cafe .button {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 13px 16px;
    font-size: 11px;
  }
  .hero--cafe .text-link { margin-left: 3px; }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 18px 8px 0;
  }
  .hero--cafe .hero-footnote { font-size: 8px; }
  .hero--cafe .hero-index {
    gap: 8px;
    font-size: 7px;
    letter-spacing: .1em;
  }
  .hero--cafe .hero-index::before { margin-right: 4px; }
}
.facts { border-bottom: 0; }
.business { margin-top: 0; border-radius: 0; background: transparent; }
.footer { border-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .section-background { transform: none !important; }
}

/* Interstitial card between everyday stories and the adventure sequence. */
.story-carousel .story-slide--transition {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 46%, rgb(220 227 212 / 78%), transparent 46%),
    linear-gradient(135deg, #f7f5f0 8%, #e9ece3 100%);
}
.story-carousel .story-slide--transition::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 58%;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(247 245 240 / 94%) 0%, rgb(247 245 240 / 78%) 58%, rgb(247 245 240 / 0%) 100%);
}
.story-carousel .story-transition-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  pointer-events: none;
}
.story-carousel .story-transition-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 7%;
  width: 49%;
  max-width: 560px;
  transform: translateY(-50%);
  color: var(--ink);
  text-align: left;
  pointer-events: none;
}
.story-carousel .story-transition-copy .story-slide-eyebrow {
  margin-bottom: 18px;
}
.story-carousel .story-transition-copy h3 {
  margin: 0 0 18px;
  font-family: var(--heading);
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .94;
  text-transform: none;
}
.story-carousel .story-transition-copy h3 em {
  color: var(--sage);
  font-style: normal;
}
.story-carousel .story-transition-more {
  margin: 0;
  color: var(--sage);
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 600;
  letter-spacing: .02em;
}
.story-carousel .story-progress { gap: 6px; }
.story-carousel .story-progress button { width: 12px; }
.story-carousel .story-progress button[aria-current="true"] { width: 26px; }
@media (max-width: 700px) {
  .story-carousel .story-slide--transition::before { width: 66%; }
  .story-carousel .story-transition-art { opacity: .78; }
  .story-carousel .story-transition-copy { left: 6%; width: 58%; }
  .story-carousel .story-transition-copy .story-slide-eyebrow { margin-bottom: 10px; font-size: 6px; }
  .story-carousel .story-transition-copy h3 { font-size: clamp(28px, 7.8vw, 42px); margin-bottom: 10px; }
  .story-carousel .story-transition-more { font-size: clamp(10px, 2.7vw, 13px); }
}

