@font-face { font-family: 'Unbounded'; src: url(../assets/fonts/unbounded.woff2) format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../assets/fonts/manrope.woff2) format('woff2'); font-weight: 600 800; font-style: normal; font-display: swap; }

:root {
  --bg: #FFF1DC;
  --fg: #2A1608;
  --ac: #E3324F;
  --cream: #FFF1DC;
  --choc: #2A1608;
  --red: #E3324F;
  --green: #79B33B;
  --yellow: #FFC72C;
  --navy: #1C2340;
  --orange: #FF7A3D;
  --fd: 'Unbounded', system-ui, sans-serif;
  --fb: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --pad: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ac); color: #fff; }

#gl { position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none; }
/* фон страницы плавно меняется на этом слое: перекраска одного слоя дешевле пересчёта стилей всей страницы */
/* телефон: сцена лежит внутри текущей секции и едет вместе с ней — без отставания от текста */
.m3d #stage3d { position: absolute; left: 0; top: 0; width: 100%; height: 100svh; z-index: 1; pointer-events: none; overflow: hidden; }
.m3d #gl, .m3d .labels { position: absolute; }
#bgl { position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; z-index: -1; background: var(--bg); pointer-events: none; }
.wrap { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: #FFF1DC; color: #2A1608;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.pre-box { width: 86px; height: 86px; border-radius: 18px; border: 3px solid #2A1608; position: relative; overflow: hidden; transform: rotate(-8deg); }
.pre-fill { position: absolute; inset: 0; background: url(../assets/tex/top-sm.webp) center/cover; clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0); transition: clip-path .3s var(--ease); }
.pre-num { font: 800 14px/1 var(--fd); letter-spacing: .04em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--pad); color: var(--fg);
  transition: transform .5s var(--ease);
}
.nav.scrolled { background: var(--navbg, var(--bg)); }
.nav.hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: url(../assets/tex/top-sm.webp) center/cover; transform: rotate(-10deg); box-shadow: 0 6px 14px -6px rgba(60, 25, 0, .6); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(80deg) scale(1.08); }
.logo-word { font: 800 13px/1.02 var(--fd); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; font-weight: 700; font-size: 15px; }
.nav-links a { position: relative; opacity: .85; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.sound { width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; background: none; display: grid; place-items: center; }
.bars { display: flex; gap: 3px; align-items: center; height: 16px; }
.bars i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; transition: height .3s; }
.sound[aria-pressed="true"] .bars i { animation: eq 1s ease-in-out infinite; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 30px; border-radius: 999px; border: 2px solid transparent;
  font: 800 16px/1 var(--fb); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s, border-color .3s;
  will-change: transform;
}
.btn-small { padding: 12px 20px; font-size: 14px; background: var(--fg); color: var(--bg); }
.btn-primary { background: var(--ac); color: #fff; box-shadow: 0 14px 34px -14px var(--ac); }
.btn-primary:hover { box-shadow: 0 20px 44px -12px var(--ac); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-light { background: #FFF4E6; color: #C81E3C; box-shadow: 0 16px 40px -16px rgba(60, 0, 10, .6); }
.btn:focus-visible, .sound:focus-visible, a:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; }

/* ---------- common ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 12px/1 var(--fb); letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: var(--ac); transform: rotate(-12deg); }
.h2 { font: 800 clamp(38px, 5.6vw, 92px)/.94 var(--fd); letter-spacing: -.045em; }
.h2 .accent { color: var(--ac); }
.note { margin-top: 26px; font-weight: 700; font-size: 17px; opacity: .85; }
.note.center { text-align: center; }
.sec { position: relative; padding: clamp(96px, 16vh, 180px) 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-sun {
  position: absolute; z-index: 0; right: -4vw; top: 50%;
  width: min(60vw, 64vh * 1.25, 920px); aspect-ratio: 1; border-radius: 50%;
  transform: translateY(-50%);
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .06) 0 2px, transparent 2px 46px),
    radial-gradient(circle at 38% 32%, #FF5A6E, #E3324F 46%, #B8122F 100%);
  box-shadow: inset -40px -60px 120px rgba(90, 0, 20, .35);
}
.hero-sun2 { position: absolute; z-index: 0; right: 38vw; top: 12vh; width: 13vw; max-width: 200px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE07A, #FFC72C 60%, #F5A300); }
.hero-sun2::after { content: ''; position: absolute; left: 70vw; top: 62vh; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #A6DB5E, #79B33B 60%, #4F8A22); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.hero-text { padding-top: 84px; }
@keyframes blink { 50% { opacity: .2; } }
.hero-title { margin: 22px 0 22px; font: 900 clamp(52px, 7.9vw, 150px)/.88 var(--fd); letter-spacing: -.055em; }
.ht-line { display: block; }
.ht-accent { color: var(--ac); }
.lead { font-size: clamp(18px, 1.55vw, 23px); font-weight: 700; max-width: 26ch; line-height: 1.3; }
.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--fg) 22%, transparent); font-weight: 800; font-size: 15px; }
.pills svg { width: 20px; height: 20px; fill: none; stroke: var(--ac); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tap-hint { position: absolute; z-index: 2; right: 34vw; bottom: 13vh; display: flex; align-items: flex-end; gap: 6px; font: 800 15px/1 var(--fb); transform: rotate(-4deg); pointer-events: none; }
.tap-hint span { background: var(--fg); color: var(--bg); padding: 9px 14px; border-radius: 999px; }
.tap-arrow { width: 92px; height: 46px; order: 2; fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.crunch-count { position: absolute; z-index: 2; right: var(--pad); bottom: 5vh; font: 800 14px/1 var(--fd); padding: 12px 18px; border-radius: 999px; background: #FFF4E6; color: #2A1608; box-shadow: 0 10px 30px -14px rgba(80, 20, 0, .5); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
.crunch-count.on { opacity: 1; transform: none; }
.crunch-count b { color: var(--red); display: inline-block; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 3.5vh; width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 14px; transform: translateX(-50%); opacity: .55; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; background: #2A1608; color: #FFC72C; padding: 22px 0; transform: rotate(-2deg) scale(1.04); margin: -10px 0; box-shadow: 0 20px 50px -20px rgba(40, 10, 0, .6); }
.mq-track { display: flex; width: max-content; align-items: center; gap: 30px; font: 900 clamp(26px, 3.6vw, 52px)/1 var(--fd); letter-spacing: -.03em; white-space: nowrap; will-change: transform; }
.mq-track span:nth-of-type(3n+2) { color: #FFF1DC; }
.mq-track span:nth-of-type(3n) { -webkit-text-stroke: 2px #FFC72C; color: transparent; }
.mq-track i { font-style: normal; color: #E3324F; font-size: .7em; }

/* ---------- sticky sections ---------- */
.sticky-sec { position: relative; height: var(--h, 200vh); }
.sticky { position: sticky; top: 0; z-index: 2; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.col-text { max-width: 600px; padding-top: 60px; }

/* pack viz */
.pack-viz { display: flex; gap: 22px; margin-top: 40px; }
.pack-viz figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pv { width: clamp(124px, 12vw, 176px); height: auto; overflow: visible; }
.pv-box { stroke: rgba(255, 248, 236, .85); stroke-width: 3; }
.pv-items circle, .pv-items rect { fill: #DE9A45; stroke: #9C5B1E; stroke-width: 1.5; }
.pv-items .dot-b { fill: #8C1029; stroke: none; }
.pv-items .dot-s { fill: #4F7A26; stroke: none; }
.pack-viz figcaption { font: 700 15px/1.2 var(--fb); }
.pack-viz figcaption b { display: block; font: 900 34px/1 var(--fd); letter-spacing: -.04em; color: var(--ac); }

/* taste chart */
.taste-chart { position: relative; margin-top: 34px; width: 100%; max-width: 580px; }
.tc { width: 100%; height: auto; display: block; overflow: visible; }
.tc-grid line { stroke: rgba(255, 244, 230, .16); stroke-width: 1; }
.tc-grid text, .tc-axis text { fill: currentColor; font: 700 12px var(--fb); opacity: .75; }
.tc-axis line { stroke: rgba(255, 244, 230, .55); stroke-width: 2; }
.tc-line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.tc-sweet { stroke: #FFD23F; }
.tc-salt { stroke: #FFFFFF; }
.tc-now { stroke: rgba(255, 244, 230, .45); stroke-width: 1.5; stroke-dasharray: 4 5; }
.tc-dot-sweet { fill: #FFD23F; stroke: #C2183A; stroke-width: 3; }
.tc-dot-salt { fill: #fff; stroke: #C2183A; stroke-width: 3; }
.tc-tag, .tc-hook { position: absolute; transform: translate(-50%, -100%); opacity: 0; transition: opacity .25s, transform .3s var(--ease); white-space: nowrap; }
.tc-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: #FFF4E6; color: #2A1608; font: 800 13px/1 var(--fb); }
.tc-tag i { width: 10px; height: 10px; border-radius: 50%; }
.tc-tag-sweet i { background: #FFC72C; }
.tc-tag-salt i { background: #fff; box-shadow: inset 0 0 0 2px #2A1608; }
.tc-tag.on, .tc-hook.on { opacity: 1; transform: translate(-50%, calc(-100% - 8px)); }
.tc-hook { font: 800 14px/1.15 var(--fd); color: #FFD23F; text-align: left; transform: translate(0, -50%); }
.tc-hook.on { transform: translate(10px, -50%); }

/* wave */
.wave { margin-top: 36px; height: 170px; width: 100%; max-width: 600px; position: relative; }
.wave svg { width: 100%; height: 100%; display: block; overflow: visible; }
#wavePath { fill: none; stroke: var(--fg); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
#wavePath2 { fill: none; stroke: var(--ac); stroke-width: 3; opacity: .7; stroke-linejoin: round; }
.stages { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.stages li { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 18px; border: 2px solid color-mix(in srgb, var(--fg) 30%, transparent); transition: background-color .2s, color .2s, transform .3s var(--ease), border-color .2s; }
.stages b { font: 800 18px/1 var(--fd); letter-spacing: -.02em; }
.stages span { font-size: 13px; font-weight: 700; opacity: .75; }
.stages li.on { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: translateY(-6px) rotate(-1.5deg); }

/* composition */
.compo .sticky { flex-direction: column; justify-content: space-between; padding: 92px 0 6vh; }
.compo-head { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); }
.compo-head .eyebrow { margin-bottom: 14px; }
.compo .h2 { font-size: clamp(32px, 4.2vw, 64px); }
.without { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; padding: 0 var(--pad); }
.without-lbl { font: 900 15px/1 var(--fd); padding: 10px 14px; border-radius: 10px; background: var(--ac); color: #fff; transform: rotate(-4deg); }
.wo { font: 800 clamp(15px, 1.4vw, 19px)/1 var(--fb); padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px -12px rgba(80, 30, 0, .45); }
.wo s { text-decoration: none; position: relative; }
.wo s::after { content: ''; position: absolute; left: -6%; top: 50%; width: calc(var(--strike, 0) * 112%); height: 3px; border-radius: 2px; background: var(--ac); transform: rotate(-6deg); }

/* 3D labels */
.labels { position: fixed; inset: 0; z-index: 3; pointer-events: none; transition: opacity .3s; }
.label-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.label-lines line { stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: 3 4; }
.lbl { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; white-space: nowrap; }
.lbl-dim { font: 800 15px/1 var(--fd); color: #2A1608; background: #FFF8EC; padding: 8px 12px; border-radius: 999px; box-shadow: 0 8px 22px -10px rgba(20, 50, 0, .6); }
.lbl-ing { display: flex; flex-direction: column; gap: 3px; }
.lbl-ing b { font: 800 clamp(13px, 1.05vw, 16px)/1.1 var(--fd); letter-spacing: -.02em; background: #FFF; padding: 7px 11px; border-radius: 10px; box-shadow: 0 8px 22px -12px rgba(80, 30, 0, .5); }
.lbl-ing span { font: 700 13px/1.2 var(--fb); color: var(--ac); padding: 0 11px; }

/* niche */
.map { position: relative; margin: 54px auto 0; max-width: 1040px; aspect-ratio: 16 / 9.5; border-radius: 30px; background: rgba(255, 241, 220, .04); border: 1.5px solid rgba(255, 241, 220, .14); }
.map-grid::before, .map-grid::after { content: ''; position: absolute; background: rgba(255, 241, 220, .16); }
.map-grid::before { left: 50%; top: 6%; bottom: 6%; width: 1.5px; }
.map-grid::after { top: 50%; left: 4%; right: 4%; height: 1.5px; }
.map-axis { position: absolute; display: flex; justify-content: space-between; font: 800 12px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.map-x { left: 2.5%; right: 2.5%; top: 50%; transform: translateY(-50%); pointer-events: none; }
.map-x span { background: var(--navy); padding: 6px 8px; }
.map-y { left: 50%; top: 2%; bottom: 2%; flex-direction: column; align-items: center; transform: translateX(-50%); }
.map-y span { background: var(--navy); padding: 4px 8px; }
.mp { position: absolute; left: calc(var(--x) * 100%); top: calc((1 - var(--y)) * 100%); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: rgba(255, 241, 220, .1); border: 1px solid rgba(255, 241, 220, .2); font: 700 clamp(12px, 1.1vw, 15px)/1 var(--fb); white-space: nowrap; }
.mp i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 241, 220, .55); }
.mp-empty { position: absolute; left: calc(var(--x) * 100%); top: calc((1 - var(--y)) * 100%); width: clamp(90px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; border: 2px dashed #FFC72C; transform: translate(-50%, -50%); opacity: 0; }
.mp-us { position: absolute; left: calc(var(--x) * 100%); top: calc((1 - var(--y)) * 100%); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mp-us-sq { width: clamp(46px, 5vw, 70px); aspect-ratio: 1; border-radius: 14px; background: url(../assets/tex/top-sm.webp) center/cover; transform: rotate(-12deg); box-shadow: 0 0 0 4px #FFC72C, 0 0 60px 10px rgba(255, 199, 44, .55); }
.mp-us b { font: 900 clamp(13px, 1.3vw, 18px)/1 var(--fd); color: #FFC72C; white-space: nowrap; background: var(--navy); padding: 4px 8px; border-radius: 6px; }

/* who */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 54px; perspective: 1000px; }
.card { position: relative; padding: 26px 26px 30px; border-radius: 30px; background: rgba(255, 248, 236, .16); border: 1.5px solid rgba(255, 248, 236, .3); transform-style: preserve-3d; transition: background-color .4s; }
.card:hover { background: rgba(255, 248, 236, .24); }
.card .ico { width: 100%; height: 150px; display: block; margin-bottom: 18px; overflow: visible; }
.card h3 { font: 800 24px/1.05 var(--fd); letter-spacing: -.03em; margin-bottom: 8px; }
.card p { font-weight: 700; opacity: .9; }
.i-dark { fill: #2A1608; }
.i-screen { fill: #3E4C86; }
.i-code rect { fill: #9FB4FF; opacity: .7; }
.i-ck { fill: #DE9A45; stroke: #9C5B1E; stroke-width: 2; }
.i-berry { fill: #8C1029; }
.i-seed { fill: #4F7A26; }
.i-box { fill: #FFF1DC; }
.i-handle { fill: none; stroke: #FFF1DC; stroke-width: 6; stroke-linecap: round; }
.i-apple { fill: #E3324F; }
.i-leaf, .i-check { fill: none; stroke: #79B33B; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.i-check { stroke: #FFF1DC; }
.i-heart { fill: #FFF1DC; }
.i-bar { fill: #2A1608; }
.i-plate { fill: #FFF1DC; }
.i-plate2 { fill: #FFC72C; }
.ico .hv { transition: transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.card:hover .hv-1 { transform: translate(-8px, -12px) rotate(-12deg); }
.card:hover .hv-2 { transform: scale(1.35); }
.card:hover .hv-3 { transform: translateY(-8px) rotate(8deg); }
.card:hover .hv-4 { transform: rotate(-8deg); }

/* week */
.week .h2 { text-align: center; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); max-width: 980px; margin: 56px auto 0; }
.day { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.day b { font: 800 14px/1 var(--fd); opacity: .6; }
.slot { width: 100%; aspect-ratio: 1; border-radius: clamp(12px, 1.6vw, 22px); border: 2px dashed color-mix(in srgb, var(--fg) 26%, transparent); display: grid; place-items: center; }
.mini-ck { width: 70%; aspect-ratio: 1; border-radius: 14%; background: url(../assets/tex/top-sm.webp) center/cover; box-shadow: 0 12px 22px -10px rgba(90, 40, 0, .6); }
.day:nth-child(2) .mini-ck { background-position: 20% 30%; transform: rotate(4deg); }
.day:nth-child(3) .mini-ck { background-position: 70% 60%; }
.day:nth-child(4) .mini-ck { background-position: 30% 80%; transform: rotate(-3deg); }
.day:nth-child(5) .mini-ck { background-position: 90% 10%; }
.day:nth-child(6) .mini-ck, .day:nth-child(7) .mini-ck { opacity: .55; }
.day:nth-child(6) .slot, .day:nth-child(7) .slot { border-style: dotted; }
.portions { display: inline-block; margin-right: 10px; padding: 6px 12px; border-radius: 999px; background: var(--green); color: #fff; font: 800 15px/1 var(--fd); }

/* pack */
.packs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 54px; }
.packs-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.pk { position: relative; z-index: 1; padding: 0 6px; text-align: center; }
.pk-stage { height: 440px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; position: relative; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; }
.packs:not(.pk-fallback) .pk-stage > * { display: none; }
.packs:not(.pk-fallback) .pk-stage::after { display: none; }
.pk-fallback .pk-stage { cursor: default; }
.pk-stage::after { content: ''; position: absolute; bottom: 8px; left: 20%; right: 20%; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(10px); z-index: -1; }
.pk-num { font: 900 clamp(40px, 4.4vw, 64px)/1 var(--fd); letter-spacing: -.05em; color: var(--ac); margin-top: 14px; }
.pk h3 { font: 800 20px/1.1 var(--fd); margin-top: 10px; letter-spacing: -.02em; }
.pk p { opacity: .7; font-weight: 700; margin-top: 4px; }

.flow { width: 156px; transform-origin: 50% 0; transition: transform .8s var(--ease); }
.pk-flow:hover .flow { transform: rotate(-5deg); }
.flow-head { position: relative; height: 96px; padding: 30px 14px 12px; background: #F3E7D3; color: #8C1029; border-radius: 7px 7px 2px 2px; font: 800 13px/1.05 var(--fd); overflow: hidden; }
.flow-head .hole { position: absolute; top: 9px; left: 50%; width: 34px; height: 9px; margin-left: -17px; border-radius: 6px; background: var(--navy); }
.berries { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 40px; }
.berries i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #9E1832; }
.berries i:nth-child(1) { right: 0; bottom: 0; }
.berries i:nth-child(2) { right: 14px; bottom: 10px; width: 13px; height: 13px; }
.berries i:nth-child(3) { right: 2px; bottom: 18px; width: 11px; height: 11px; }
.flow-bag { position: relative; margin: 0 -8px; padding: 12px 20px 26px; display: flex; flex-direction: column; gap: 5px; border-radius: 0 0 12px 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .14) 70%, rgba(255, 255, 255, .26)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.flow-bag .st { height: 42px; border-radius: 6px; background: url(../assets/tex/top-sm.webp) center/cover; box-shadow: 0 4px 6px -2px rgba(0, 0, 0, .35); }
.flow-bag .st:nth-child(2) { background-position: 20% 40%; }
.flow-bag .st:nth-child(3) { background-position: 80% 20%; }
.flow-bag .st:nth-child(4) { background-position: 40% 90%; }
.gloss { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 38%, transparent 46%); transition: background-position 1s var(--ease); background-size: 220% 100%; background-position: 100% 0; }
.pk-flow:hover .gloss { background-position: 0 0; }

.box { position: relative; width: 176px; height: 236px; border-radius: 8px; background: linear-gradient(100deg, #1A2142, #2B3663 58%, #1C2346); box-shadow: 22px 28px 60px -22px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); transform: perspective(700px) rotateY(-14deg); transition: transform .8s var(--ease); }
.pk-box:hover .box { transform: perspective(700px) rotateY(8deg) translateY(-6px); }
.box-win { position: absolute; left: 50%; top: 30px; width: 66px; height: 166px; margin-left: -33px; border-radius: 33px; overflow: hidden; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25); }
.edges { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 12px, rgba(50, 22, 5, .75) 12px 14px), url(../assets/tex/side.webp) 0 0 / 180px 14px repeat; box-shadow: inset 0 0 18px rgba(0, 0, 0, .55); }
.box-side { position: absolute; left: 12px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: 0 0; white-space: nowrap; font: 800 11px/1 var(--fd); color: #FFF1DC; opacity: .7; translate: 0 50px; }
.box-sleeve { position: absolute; left: -3px; right: -3px; bottom: 26px; height: 26px; background: #F3E7D3; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .8s var(--ease); }
.pk-box:hover .box-sleeve { transform: translateY(14px); }

.tube { position: relative; width: 132px; padding-top: 44px; }
.tube-lid { position: absolute; top: 0; left: -3px; right: -3px; height: 50px; border-radius: 10px 10px 4px 4px; background: linear-gradient(90deg, #10162F, #2E3A69 42%, #121933); z-index: 2; box-shadow: 0 6px 10px rgba(0, 0, 0, .35); transition: transform .8s var(--ease); }
.pk-tube:hover .tube-lid { transform: translate(18px, -42px) rotate(9deg); }
.tube-rim { position: absolute; top: 40px; left: 3px; right: 3px; height: 14px; background: linear-gradient(90deg, #CFC8BC, #FFFFFF 40%, #D9D2C6); border-radius: 3px; }
.tube-body { position: relative; height: 230px; border-radius: 0 0 10px 10px; background: linear-gradient(90deg, #121933, #2F3B6B 40%, #141B37); box-shadow: 22px 28px 60px -22px rgba(0, 0, 0, .7); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 16px; }
.tube-win { position: absolute; left: 50%; top: 26px; width: 44px; height: 140px; margin-left: -22px; border-radius: 22px; overflow: hidden; }
.tube-body b { font: 800 10px/1 var(--fd); color: #FFF1DC; opacity: .85; }

.feats { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feats li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 248, 236, .3); border: 1px solid rgba(28, 35, 64, .14); font-weight: 700; font-size: 15px; }
.feats svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--ac); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feats svg text { fill: var(--ac); stroke: none; font: 800 9px var(--fb); }
.flavors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.fl { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #FFF1DC; color: #2A1608; font: 800 14px/1 var(--fb); }
.fl i { width: 16px; height: 16px; border-radius: 50%; margin-right: -12px; box-shadow: 0 0 0 2px #FFF1DC; }
.fl i:nth-of-type(2) { margin-right: 4px; }
.fl-1 i:nth-of-type(1) { background: #A3132F; } .fl-1 i:nth-of-type(2) { background: #5C8A2E; }
.fl-2 i:nth-of-type(1) { background: #6E0B24; } .fl-2 i:nth-of-type(2) { background: #D9B07E; }
.fl-3 i:nth-of-type(1) { background: #3B1C38; } .fl-3 i:nth-of-type(2) { background: #EBD3A0; }

/* partners */
.two-col-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: end; }
.kpis { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi b { font: 900 clamp(44px, 5vw, 76px)/1 var(--fd); letter-spacing: -.05em; color: var(--ac); }
.kpi span { font-weight: 700; max-width: 18ch; }
.pchart { position: relative; height: 420px; display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); }
.bar { position: relative; width: clamp(96px, 10vw, 140px); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.bar-fill { position: relative; width: 100%; border-radius: 18px 18px 6px 6px; transform-origin: bottom; }
.bar-buy .bar-fill { height: 60%; background: rgba(255, 248, 236, .3); border: 2px solid rgba(255, 248, 236, .7); }
.bar-shelf .bar-fill { height: 100%; background: #FFF8EC; }
.bar-range { position: absolute; left: 0; right: 0; top: 0; height: 14.3%; border-radius: 18px 18px 0 0; background: repeating-linear-gradient(-45deg, #FFD23F 0 8px, #FFE89A 8px 16px); }
.bar b { font: 900 clamp(18px, 1.7vw, 26px)/1 var(--fd); letter-spacing: -.04em; margin-top: 14px; white-space: nowrap; }
.bar > span { font-weight: 700; opacity: .85; margin-top: 4px; }
.markup { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-bottom: 80px; }
.markup svg { width: 40px; height: 90px; fill: none; stroke: #FFD23F; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.markup b { font: 900 clamp(26px, 2.8vw, 46px)/1 var(--fd); letter-spacing: -.04em; color: #FFD23F; white-space: nowrap; }
.markup span { font-weight: 700; }

/* cta */
.cta { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.cta .lead { max-width: 34ch; }
.cta-title { font: 900 clamp(48px, 6.8vw, 128px)/.9 var(--fd); letter-spacing: -.06em; margin-bottom: 26px; white-space: nowrap; }
.foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--pad) 32px; font-weight: 700; font-size: 14px; opacity: .75; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; }
.cursor-ring { position: absolute; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease); box-shadow: 0 14px 40px -12px var(--ac); }
.cursor-ring em { font: 900 14px/1 var(--fd); font-style: normal; letter-spacing: -.02em; }
.cursor-dot { display: none; }
body.on-cookie { cursor: none; }
body.on-cookie .cursor-ring { transform: scale(1); }
body.on-cookie.pressing .cursor-ring { transform: scale(.82); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding: 240px 0 max(30px, env(safe-area-inset-bottom)); } /* сверху место под печенье даже на низких экранах */
  .hero-grid, .two-col, .two-col-even { grid-template-columns: minmax(0, 1fr); }
  .hero-sun { right: 50%; top: var(--hcy, 31%); width: var(--hcs, min(96vw, 520px)); transform: translate(50%, -50%); }
  .hero-sun2 { right: auto; left: 4vw; top: 9vh; width: 70px; }
  .hero-sun2::after { left: 74vw; top: 26vh; }
  .hero-text { padding-top: 0; }
  .hero-title { margin: 0 0 10px; }
  .pills { margin-top: 14px; gap: 6px; }
  .pills li { font-size: 12px; padding: 6px 10px 6px 8px; gap: 6px; }
  .pills svg { width: 16px; height: 16px; }
  .ctas { margin-top: 18px; }
  .hero-sun2 { display: none; }
  .tap-hint { left: var(--pad); right: auto; bottom: auto; top: var(--hht, 80px); flex-direction: column; align-items: flex-start; gap: 0; font-size: 13px; transform: rotate(-4deg); }
  .tap-hint span { padding: 8px 12px; }
  .tap-arrow { display: block; width: 64px; height: 34px; margin: 2px 0 0 46px; transform: scaleY(-1); }
  .hero-title { font-size: clamp(44px, 13.4vw, 66px); }
  .lead { font-size: 16px; }
  .btn { padding: 15px 20px; font-size: 15px; }
  .hero .ctas { flex-wrap: nowrap; }
  .crunch-count { bottom: auto; top: 76px; right: var(--pad); }
  .scroll-cue { display: none; }
  .sticky { align-items: flex-end; padding-bottom: 5vh; }
  .col-space { display: none; }
  .col-text { padding-top: 0; }
  .h2 { font-size: clamp(28px, 8.1vw, 52px); } /* «подсаживается» должно влезать одним словом */
  .eyebrow { margin-bottom: 12px; }
  .pack-viz { margin-top: 20px; gap: 16px; }
  .pv { width: 112px; }
  .pack-viz figcaption b { font-size: 26px; }
  .note { margin-top: 14px; font-size: 15px; }
  .taste-chart { margin-top: 18px; }
  .tc-hook { display: none; }
  .tc-tag { font-size: 11px; padding: 6px 10px; }
  .wave { height: 110px; margin-top: 18px; }
  .stages { margin-top: 14px; flex-wrap: nowrap; gap: 8px; }
  .stages li { flex: 1 1 0; min-width: 0; padding: 10px 10px; }
  .stages b { font-size: 15px; }
  .stages span { font-size: 12px; }
  .compo .h2 { font-size: clamp(26px, 8.1vw, 52px); white-space: nowrap; }
  .compo .sticky { padding: 76px 0 4vh; align-items: stretch; }
  .lbl-ing span { display: none; }
  /* состав на телефоне без лишних плашек и линий: только ингредиент и подпись */
  .lbl-ing b { font-size: 11px; padding: 0; background: none; box-shadow: none; color: var(--fg); }
  .label-lines { display: none; }
  .without-lbl { font-size: 12px; padding: 6px 9px; }
  .wo { background: none; box-shadow: none; padding: 3px 0; font-size: 13px; }
  .wo s::after { left: -2%; width: calc(var(--strike, 0) * 104%); height: 2px; transform: rotate(-2deg); }
  .without { gap: 4px 14px; }
  .map { aspect-ratio: 3 / 4; margin-top: 34px; }
  .mp { font-size: 11px; padding: 7px 10px 7px 8px; }
  /* на узкой карте точки разведены, чтобы подписи не садились друг на друга и на оси */
  .mp-nut { --x: .76 !important; --y: .59 !important; }
  .mp-cr { --x: .81 !important; --y: .72 !important; }
  .mp-us, .mp-empty { --x: .4 !important; }
  .mp-soft { --x: .27 !important; }
  .mp-ch { --x: .84 !important; --y: .86 !important; }
  .cards, .packs { grid-template-columns: minmax(0, 1fr); }
  .card .ico { height: 120px; }
  .days { gap: 6px; }
  .day b { font-size: 11px; }
  .pk-stage { height: 380px; }
  .pchart { height: 320px; margin-top: 30px; }
  .markup { padding-bottom: 40px; }
  .cta { align-items: flex-end; padding-bottom: 10vh; }
  .cta .ctas { flex-direction: column; align-items: stretch; }
}
@media (max-width: 600px) {
  .feats { grid-template-columns: minmax(0, 1fr); }
  .nav .btn-small { display: none; }
  .logo-word { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
