/* Healthy Confiteria — «Етикетка».
   Мир: этикетка состава, которую студия клеит на каждую коробку. Малиновое поле, белые этикетки, баклажанные чернила. */


@font-face { font-family: 'Forum'; src: url(/assets/fonts/forum-cyrillic.woff2) format('woff2'); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Forum'; src: url(/assets/fonts/forum-cyrillic-ext.woff2) format('woff2'); font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Forum'; src: url(/assets/fonts/forum-latin-ext.woff2) format('woff2'); font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Forum'; src: url(/assets/fonts/forum-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Comfortaa'; src: url(/assets/fonts/comfortaa-cyrillic.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Comfortaa'; src: url(/assets/fonts/comfortaa-cyrillic-ext.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Comfortaa'; src: url(/assets/fonts/comfortaa-latin-ext.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Comfortaa'; src: url(/assets/fonts/comfortaa-latin.woff2) format('woff2'); font-weight: 300 700; 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 {
  /* Фирменные цвета из гайдлайна Healthy Confitería */
  --brand: #513b28;        /* темно-коричневый: поля, кнопки, заголовки */
  --brand-deep: #3b2b1d;
  --brand-ink: #755c42;    /* коричневый: акцентные цифры и ссылки на светлом */
  --accent: #b19275;       /* бежево-карамельный: волна, линии, декор */
  --brand-tint: #efe7df;
  --on-brand: #f5f4f3;     /* молочный на коричневом */
  --on-brand-2: #dccbbb;
  --ink: #513b28;
  --ink-2: #755c42;
  --paper: #f5f4f3;        /* молочный фон */
  --sheet: #ffffff;
  --line: rgba(81, 59, 40, .16);
  --line-strong: rgba(81, 59, 40, .55);

  --display: 'Forum', 'Cormorant Garamond', Georgia, serif;
  --text: 'Comfortaa', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --r-label: 4px;
  --r-img: 3px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-label: 0 1px 0 rgba(60, 42, 28, .06), 0 22px 44px -22px rgba(60, 42, 28, .6), 0 6px 14px -8px rgba(60, 42, 28, .3);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.order :focus-visible, .hero :focus-visible, .final :focus-visible { outline-color: var(--on-brand); }
.label :focus-visible { outline-color: var(--brand); }
html { scrollbar-color: var(--brand) var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i.flip { transform: scaleX(-1); }

/* Type */
.h2 { font: 400 clamp(34px, 4.6vw, 64px)/1.06 var(--display); letter-spacing: .005em; margin: 0 0 .35em; text-wrap: balance; }
.h3 { font: 600 18px/1.3 var(--text); margin: 0 0 .35em; letter-spacing: -.005em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 0; text-wrap: pretty; }
section { position: relative; }

/* Buttons */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg); font: 600 16px/1 var(--text); letter-spacing: .005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .14s var(--ease-out), box-shadow .2s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .25s var(--ease-out); }
@media (hover: hover) { .btn:hover .i:last-child { transform: translateX(3px); } }
.btn--brand { --bg: var(--brand); --fg: var(--on-brand); }
@media (hover: hover) { .btn--brand:hover { --bg: var(--brand-deep); } }
.btn--paper { --bg: var(--sheet); --fg: var(--brand-ink); }
@media (hover: hover) { .btn--paper:hover { --bg: #fff; box-shadow: 0 8px 22px -12px rgba(0,0,0,.45); } }
.btn--outline-paper { --bg: transparent; --fg: var(--on-brand); border-color: rgba(255,247,248,.55); }
@media (hover: hover) { .btn--outline-paper:hover { border-color: var(--on-brand); --bg: rgba(255,255,255,.08); } }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
@media (hover: hover) { .btn--ghost:hover { --bg: var(--paper); } }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--icon { width: 52px; padding: 0; --bg: var(--brand-ink); --fg: var(--on-brand); }
.btn--icon .i { width: 24px; height: 24px; }
.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .28em; }
@media (hover: hover) { .link:hover { color: var(--brand); } }
.link--small { font-size: 14px; margin-top: 12px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .14s var(--ease-out); }
.round:active { transform: scale(.94); }
@media (hover: hover) { .round:hover { background: var(--sheet); } }

/* ---------- LABEL (component of the world) ---------- */
.label { position: relative; background: var(--sheet); color: var(--ink); border-radius: var(--r-label); padding: 22px 24px 20px; box-shadow: var(--shadow-label); }
.label::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-strong); border-radius: 2px; pointer-events: none; }
.label__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.label__logo { height: 38px; width: auto; }
.label__city { font: 500 12px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-align: right; }
.label__title { font: 400 26px/1.08 var(--display); margin: 14px 0 10px; text-wrap: balance; }
.label__rows { margin: 0; }
.label__rows > div, .ticket__rows > div { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.label__rows > div + div, .ticket__rows > div + div { border-top: 1px dashed var(--line); }
.label__rows dt, .ticket__rows dt { font: 500 12px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); flex: none; }
.label__rows dd, .ticket__rows dd { margin: 0 0 0 auto; text-align: right; font: 500 15px/1.35 var(--text); font-variant-numeric: tabular-nums; }
.label__rows .is-strong dd { font: 400 30px/1 var(--display); color: var(--brand-ink); }
.label__rows .is-strong { border-top: 1px solid var(--line-strong) !important; padding-top: 10px; }
.label__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px; display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); color: var(--ink); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .35s var(--ease-out); }
.nav__logo { position: relative; display: block; height: 48px; flex: none; }
.nav__logo img { height: 48px; width: auto; transition: opacity .3s var(--ease-out); }
.nav__logo .logo--white { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: none; gap: 26px; margin-left: 12px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .92; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .nav__links a:hover::after { transform: scaleX(1); } }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.lang button { background: none; border: 0; padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; cursor: pointer; color: inherit; }
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.nav.is-solid { background: rgba(252, 252, 251, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.nav.is-solid .lang button[aria-pressed="true"] { color: var(--sheet); background: var(--ink); }
.nav__cta { display: none; --bg: var(--brand); --fg: var(--on-brand); }
@media (min-width: 1000px) { .nav__links { display: flex; } .nav__cta { display: inline-flex; } .nav { height: 72px; } }

/* ---------- HERO ---------- */
/* «Вітрина»: по центру редакционная шапка (строка состава, заголовок двух размеров, подзаголовок, CTA, цифры),
   ниже во всю ширину полка с тортами без фона. Лента бесконечная (JS), ускоряется перетаскиванием и свайпом. */
.hero { background: var(--paper); color: var(--brand); position: relative; overflow: hidden; padding: 104px 0 0; }
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 12px; pointer-events: none; }
.hero__grid { display: flex; flex-direction: column; }
.wave { position: absolute; pointer-events: none; background: var(--accent); -webkit-mask: var(--wave) center / contain no-repeat; mask: var(--wave) center / contain no-repeat; aspect-ratio: 2092 / 1145; }
.wave--taupe { --wave: url(/assets/img/wave-taupe.png); }
.wave--brown { --wave: url(/assets/img/wave-brown.png); aspect-ratio: 1024 / 721; }

.hero__head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--gutter); }
.hero__eyebrow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin: 0 0 20px; font: 500 10.5px/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.hero__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.hero__title { margin: 0; color: var(--brand); }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: inline-block; }
.hero__title .ln--xl { font: 400 clamp(44px, 13.6vw, 80px)/.98 var(--display); letter-spacing: -.005em; text-transform: uppercase; padding-bottom: .04em; }
.hero__title .ln--md { margin-top: 4px; font: 400 clamp(26px, 7.4vw, 36px)/1.15 var(--display); letter-spacing: .02em; color: var(--brand-ink); padding-bottom: .08em; }
/* торт внутри заголовка: арка-окошко между словами, торты в ней сменяются */
.inl { position: relative; display: inline-block; width: .8em; height: .9em; margin: 0 -.02em; vertical-align: -.1em; border-radius: 999px 999px .1em .1em; background: var(--brand-tint); box-shadow: inset 0 0 0 1px rgba(81, 59, 40, .1); overflow: hidden; }
.inl img { position: absolute; left: 4%; right: 4%; bottom: 6%; width: 92%; height: 84%; object-fit: contain; object-position: 50% 100%; opacity: 0; transform: translateY(18%) scale(.92); transition: opacity .7s ease, transform .9s cubic-bezier(.32, .72, 0, 1); }
.inl img.is-on { opacity: 1; transform: none; }
.inl img.is-out { opacity: 0; transform: translateY(-14%) scale(.96); }
.hero__title .ln--md > span { display: inline-flex; align-items: center; gap: .55em; }
.rule { display: block; width: 1.6em; height: 1px; background: var(--accent); }
.hero__cite { margin: 18px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 30ch; text-wrap: balance; }
.hero__actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.btn--island { padding: 0 8px 0 26px; gap: 16px; }
.btn__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: transform .45s cubic-bezier(.32, .72, 0, 1), background-color .3s; }
.btn--island:hover .btn__ico { transform: translateX(3px) scale(1.05); background: rgba(255, 255, 255, .22); }
.btn--island:hover .i { transform: none; }
.hero__proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; margin: 26px 0 0; font-size: 11.5px; line-height: 1.35; color: var(--ink-2); }
.hero__proof > span { display: grid; justify-items: center; gap: 4px; padding: 0 18px; border-left: 1px solid var(--line-strong); }
.hero__proof > span:first-child { border-left: 0; }
.hero__proof b { font: 400 24px/1 var(--display); color: var(--brand); font-weight: 400; }

/* полка */
.shelf { --h: 156px; --cap: 52px; position: relative; margin-top: 36px; overflow: hidden; }
.shelf__view { position: relative; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.shelf__view.is-drag { cursor: grabbing; }
.shelf__counter { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--cap) + 28px); background: linear-gradient(180deg, #e8ddd1 0, var(--brand-tint) 18px); box-shadow: inset 0 1px 0 rgba(81, 59, 40, .14); }
.shelf__track { position: relative; display: flex; align-items: flex-end; width: max-content; padding-bottom: 28px; will-change: transform; }
.shelf__item { flex: none; margin: 0 clamp(28px, 4vw, 72px) 0 0; display: flex; flex-direction: column; align-items: center; }
.shelf__cake { position: relative; display: block; height: calc(var(--h) * var(--s)); aspect-ratio: var(--ar); transition: transform .7s cubic-bezier(.32, .72, 0, 1); }
.shelf__cake img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.shelf__cake::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -9px; height: 20px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 45, 22, .34), rgba(70, 45, 22, 0)); transition: transform .7s cubic-bezier(.32, .72, 0, 1), opacity .7s; }
.shelf__item figcaption { display: grid; place-items: center; height: var(--cap); padding-top: 8px; text-align: center; white-space: nowrap; }
.shelf__name { font: 400 17px/1.1 var(--display); color: var(--ink); }
@media (hover: hover) {
  .shelf__view:not(.is-drag) .shelf__item:hover .shelf__cake { transform: translateY(-10px); }
  .shelf__view:not(.is-drag) .shelf__item:hover .shelf__cake::after { transform: translateY(10px) scaleX(.86); opacity: .7; }
}

@media (max-width: 999px) {
  /* мобайл: торты на первом экране, цифры доверия переезжают на столешницу под полку */
  .hero__grid { align-items: center; text-align: center; }
  .hero__head { display: contents; }
  .hero__eyebrow, .hero__title, .hero__cite, .hero__actions, .hero__proof { padding-inline: var(--gutter); }
  .hero { padding-top: 92px; }
  .hero__eyebrow { flex-wrap: nowrap; white-space: nowrap; font-size: 8.4px; letter-spacing: .08em; gap: 8px; margin-bottom: 14px; }
  .hero__eyebrow i { width: 3px; height: 3px; }
  .hero__cite { max-width: 23em; font-size: 14.5px; margin-top: 14px; }
  .hero__actions { margin-top: 22px; }
  .hero__actions { flex-direction: column; gap: 16px; }
  html[lang="en"] .hero__title .ln--xl { font-size: clamp(38px, 11.6vw, 68px); }
  .hero__title .ln--md { font-size: clamp(21px, 6.2vw, 30px); }
  .hero__title .ln--md > span { gap: .45em; }
  .rule { width: .8em; }
  .shelf { order: 1; width: 100%; margin-top: 30px; }
  .hero__proof { order: 2; width: 100%; margin: 0; padding-block: 4px 32px; background: var(--brand-tint); justify-content: center; }
  .hero__proof > span { padding: 0 14px; }
  .shelf__counter { height: calc(var(--cap) + 28px); }
}
@media (min-width: 1000px) {
  .hero { min-height: max(700px, 100svh); padding: 112px 0 0; display: flex; flex-direction: column; }
  .hero__grid { flex: 1; }
  .hero__eyebrow { font-size: 11px; margin-bottom: 22px; }
  .hero__title .ln--xl { font-size: clamp(72px, min(8.2vw, 13.4svh), 140px); }
  .hero__title .ln--md { margin-top: 6px; font-size: clamp(30px, min(3vw, 5svh), 52px); }
  .hero__cite { margin-top: 18px; font-size: clamp(16px, 1.15vw, 18px); max-width: none; }
  .hero__actions { margin-top: 26px; }
  .hero__proof { margin-top: 24px; font-size: 12px; }
  .hero__proof > span { padding: 0 26px; }
  .shelf { --h: clamp(150px, calc(100svh - 650px), 360px); --cap: 56px; margin-top: auto; padding-top: clamp(24px, 3svh, 48px); }
  .shelf__name { font-size: 19px; }
}
@media (min-width: 1000px) and (max-height: 820px) { .hero { padding-top: 92px; } .hero__proof { display: none; } .hero__eyebrow { margin-bottom: 14px; } .hero__cite { margin-top: 12px; } .hero__actions { margin-top: 20px; } }

/* ---------- SWAP ---------- */
.swap { background: var(--sheet); padding: clamp(80px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); }
.swap__head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.swap__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.swap__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.swap__was { font-size: 15px; color: var(--ink-2); }
.swap__was s { text-decoration: none; position: relative; }
.swap__was s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: var(--accent); transform-origin: left center; }
.swap__now { font: 400 clamp(32px, 4vw, 54px)/1.02 var(--display); color: var(--ink); }
.swap__d { color: var(--ink-2); font-size: 15px; max-width: 46ch; margin-top: 4px; }
@media (min-width: 900px) {
  .swap__row { grid-template-columns: minmax(180px, 1fr) minmax(0, 1.5fr) minmax(0, 1.25fr); align-items: baseline; column-gap: 32px; padding: 26px 0; }
  .swap__was { font-size: 17px; }
  .swap__d { margin: 0; }
}
.swap__notes { display: grid; gap: 14px; margin-top: 34px; max-width: 760px; }
.swap__notes p { margin: 0; color: var(--ink-2); }
.note-strong { display: flex; gap: 10px; font-size: 15px; color: var(--ink) !important; }
.asterisk { font: 400 44px/0.8 var(--display); color: var(--brand-ink); flex: none; }

/* ---------- WORKS ---------- */
.works { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.works__head { margin-bottom: 30px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 26px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
@media (min-width: 900px) { .tabs { -webkit-mask-image: none; mask-image: none; } }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 10px 18px; font-weight: 500; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
@media (hover: hover) { .tabs button:not([aria-selected="true"]):hover { background: var(--sheet); } }
.reel { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.reel::-webkit-scrollbar { display: none; }
@media (min-width: 1400px) { .reel { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.tile { flex: none; width: clamp(240px, 24vw, 360px); scroll-snap-align: start; margin: 0; }
.tile:first-child { width: clamp(280px, 32vw, 470px); }
.tile__ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-img); background: #e7e5e2; }
.tile:first-child .tile__ph { aspect-ratio: 4 / 5; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
@media (hover: hover) { .tile:hover img { transform: scale(1.035); } }
.tile figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; font-variant-numeric: tabular-nums; }
.works__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.reel__nav { display: flex; gap: 10px; }

/* ---------- FILLINGS ---------- */
.fillings { background: var(--sheet); padding: clamp(80px, 10vw, 140px) 0; }
.fillings__head { margin-bottom: clamp(30px, 4vw, 52px); }
.fillings__peek { display: none; }
.fillings__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 48px; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .fillings__list { grid-template-columns: 1fr 1fr; } }
.fl { display: grid; grid-template-columns: 76px 1fr auto; gap: 4px 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fl__ph { grid-row: span 3; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--brand-tint); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.fl__ph img { width: 100%; height: 100%; object-fit: cover; }
.fl__ph span { font: 400 30px/1 var(--display); color: var(--brand); }
@media (hover: hover) { .fl:hover .fl__ph { transform: scale(1.08) rotate(-4deg); } }
.fl__name { font: 400 26px/1.05 var(--display); margin: 2px 0 0; }
.fl__price { font: 500 15px/1.4 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 4px; }
.fl__d { grid-column: 2 / 4; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.fl__pick { grid-column: 2 / 4; justify-self: start; margin-top: 6px; background: none; border: 0; padding: 4px 0; font-weight: 600; font-size: 14px; color: var(--brand-ink); cursor: pointer; text-decoration: underline; text-underline-offset: .28em; }
.fl.is-picked .fl__pick { text-decoration: none; }
.fl.is-picked .fl__name::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-left: 10px; vertical-align: middle; }
.fill-more { margin-top: 22px; }
@media (max-width: 899px) { .fillings__list.is-collapsed .fl:nth-child(n+7) { display: none; } }
@media (min-width: 900px) { .fill-more { display: none; } }

/* ---------- REVIEWS ---------- */
.reviews { padding: clamp(80px, 10vw, 140px) 0; }
.reviews__head { display: grid; gap: 4px; margin-bottom: clamp(30px, 4vw, 54px); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 22px; }
.proof p { margin: 0; display: flex; align-items: baseline; gap: 10px; color: var(--ink-2); }
.proof b { font: 400 44px/1 var(--display); color: var(--brand-ink); font-weight: 400; }
.slips { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; scrollbar-width: none; align-items: flex-start; }
.slips::-webkit-scrollbar { display: none; }
.slips > * { flex: none; width: 78vw; max-width: 340px; scroll-snap-align: start; }
@media (min-width: 640px) { .slips { display: block; overflow: visible; margin: 0; padding: 0; } .slips > * { width: auto; max-width: none; } }
@media (min-width: 640px) { .slips { columns: 2; column-gap: 18px; } }
@media (min-width: 1000px) { .slips { columns: 3; column-gap: 22px; } }
.slip { break-inside: avoid; margin: 0 0 18px; background: var(--sheet); border-radius: var(--r-label); padding: 22px 22px 20px; box-shadow: 0 1px 0 rgba(81,59,40,.05), 0 14px 30px -24px rgba(81,59,40,.5); position: relative; }
.slip:nth-child(3n+1) { transform: rotate(-.6deg); }
.slip:nth-child(3n+2) { transform: rotate(.5deg); }
.slip p { margin: 0; font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.slip p::before { content: "«"; } .slip p::after { content: "»"; }
.slip cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink-2); letter-spacing: .03em; }
.slip--brand { background: var(--brand); color: var(--on-brand); }
.slip--brand p { font: 400 26px/1.15 var(--display); }
.slip--photo { padding: 8px; }
.slip--photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }

/* ---------- ORDER ---------- */
.order { background: var(--brand); color: var(--on-brand); padding: clamp(80px, 10vw, 140px) 0; }
.order .lead { color: var(--on-brand-2); }
.order__head { margin-bottom: clamp(30px, 4vw, 52px); max-width: 880px; }
.order__grid { display: grid; gap: 34px; }
@media (min-width: 1000px) { .order__grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: 56px; align-items: start; } }
.builder { display: grid; gap: 34px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font: 400 30px/1.1 var(--display); padding: 0; margin-bottom: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 700px) { .seg { grid-template-columns: repeat(4, 1fr); } .seg--2 { grid-template-columns: 1fr 1fr; max-width: 520px; } }
.seg--2 { margin-top: 16px; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input, .flv input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,247,248,.45); font-weight: 500; font-size: 15px; line-height: 1.2; transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s; }
.seg input:checked + span, .chips input:checked + span { background: var(--sheet); color: var(--brand-ink); border-color: var(--sheet); }
.seg input:focus-visible + span, .chips input:focus-visible + span, .flv input:focus-visible + span, .check input:focus-visible + span { outline: 2px solid var(--on-brand); outline-offset: 3px; }
@media (hover: hover) { .seg label:hover span, .chips label:hover span { border-color: var(--on-brand); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,247,248,.45); font-size: 15px; font-weight: 500; transition: background-color .18s var(--ease-out), color .18s var(--ease-out); }

.flavours { display: grid; grid-template-columns: 1fr; gap: 6px; max-height: 420px; overflow-y: auto; padding-right: 6px; scrollbar-color: rgba(255,255,255,.5) transparent; }
@media (min-width: 640px) { .flavours { grid-template-columns: 1fr 1fr; } }
.flv { position: relative; }
.flv span { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,247,248,.3); transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s; }
.flv i { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.14); display: grid; place-items: center; font: 400 18px/1 var(--display); font-style: normal; }
.flv i img { width: 100%; height: 100%; object-fit: cover; }
.flv b { font-weight: 500; font-size: 15px; line-height: 1.2; }
.flv small { font-size: 13px; color: var(--on-brand-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.flv input:checked + span { background: var(--sheet); color: var(--ink); border-color: var(--sheet); }
.flv input:checked + span small { color: var(--brand-ink); }
@media (hover: hover) { .flv:hover span { border-color: var(--on-brand); } }

.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 700px) { .steppers { grid-template-columns: repeat(3, 1fr); } }
.stepper { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-label); border: 1px solid rgba(255,247,248,.3); }
.stepper > span { font-size: 14px; color: var(--on-brand-2); }
.stepper > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,247,248,.5); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background-color .18s, transform .12s var(--ease-out); }
.stepper button:active { transform: scale(.92); }
@media (hover: hover) { .stepper button:hover { background: rgba(255,255,255,.12); } }
.stepper output { font: 400 34px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: center; }
.stepper--weight { background: var(--sheet); color: var(--ink); border-color: var(--sheet); }
.stepper--weight > span { color: var(--ink-2); }
.stepper--weight button { border-color: var(--line-strong); }
@media (hover: hover) { .stepper--weight button:hover { background: var(--brand-tint); } }
@media (max-width: 699px) { .stepper--weight { grid-column: 1 / -1; } }
.hint { margin: 12px 0 0; font-size: 14px; color: var(--on-brand-2); }
.hint--top { margin: 0 0 10px; }
.hint--top ~ .hint--top { margin-top: 18px; }
.steppers--addon { grid-template-columns: 1fr; max-width: 360px; margin-bottom: 8px; }
#cardField, #digitField { margin-top: 10px; }
.err { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--sheet); display: inline-block; padding: 6px 12px; border-radius: 999px; }

.fields2 { display: grid; gap: 12px; }
@media (min-width: 700px) { .fields2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; font-size: 14px; color: var(--on-brand-2); }
.field input, .field select { width: 100%; min-height: 52px; border-radius: var(--r-label); border: 1px solid transparent; background: var(--sheet); color: var(--ink); padding: 0 14px; font-size: 16px; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder { color: #6f5f67; }
.field input:focus, .field select:focus { outline: 2px solid var(--on-brand); outline-offset: 2px; }
#addrField { margin-top: 12px; }

.checks { display: grid; gap: 8px; }
@media (min-width: 700px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check > span { display: grid; gap: 2px; padding: 12px 14px 12px 46px; border-radius: var(--r-label); border: 1px solid rgba(255,247,248,.3); position: relative; transition: background-color .18s, color .18s; }
.check > span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid currentColor; transition: background-color .15s; }
.check > span::after { content: ""; position: absolute; left: 21px; top: 17px; width: 6px; height: 11px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .18s var(--ease-out); }
.check input:checked + span { background: var(--sheet); color: var(--ink); }
.check input:checked + span::before { background: var(--sheet); border-color: var(--brand); }
.check input:checked + span::after { transform: rotate(45deg) scale(1); }
.check b { font-weight: 600; font-size: 15px; }
.check small { font-size: 13px; opacity: .8; }

/* Ticket (live label) */
.ticket-wrap { position: relative; }
@media (min-width: 1000px) { .ticket-wrap { position: sticky; top: 96px; } }
.ticket { transform: rotate(.8deg); padding: 24px 26px 22px; }
.ticket__rows { margin: 10px 0 0; min-height: 200px; }
.ticket__rows > div { padding: 8px 0; position: relative; }
.ticket__rows dd { max-width: 64%; overflow-wrap: anywhere; }
.ticket__rows dd.is-empty { color: #9a8a91; font-weight: 400; font-style: italic; }
.ticket__rows .is-sugar dd { font: 400 26px/1 var(--display); color: var(--brand-ink); }
.ticket__rows .flash { animation: flash 1s var(--ease-out); }
@keyframes flash { 0% { background: var(--brand-tint); } 100% { background: transparent; } }
.ticket__rows .flash dd { animation: printIn .45s var(--ease-out); }
@keyframes printIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ticket__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 12px; }
.ticket__total span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.ticket__total strong { font: 400 44px/1 var(--display); color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__note { font-size: 13px; color: var(--ink-2); margin: 8px 0 14px; min-height: 1.3em; }
.ticket__actions { display: grid; gap: 8px; }
.ticket__privacy { font-size: 15px; line-height: 1.5; color: var(--ink); margin: 14px 0 0; }

/* ---------- HANDMADE ---------- */
.hand { padding: clamp(80px, 10vw, 140px) 0; }
.hand__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .hand__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; } }
.hand__video { border-radius: 999px 999px var(--r-img) var(--r-img); overflow: hidden; background: #ddd; aspect-ratio: 9 / 16; max-height: 86svh; width: 100%; max-width: 480px; }
@media (max-width: 899px) { .hand__video { max-height: 70svh; margin-inline: auto; } }
.hand__video video { width: 100%; height: 100%; object-fit: cover; }
.hand__copy .lead { margin-bottom: 40px; }
.hand__pack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.hand__ph { margin: 0; border-radius: var(--r-img); overflow: hidden; }
.hand__ph img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hand__ph--b { transform: translateY(32px); }
.hand__packtext { grid-column: 1 / -1; margin-top: 52px; max-width: 54ch; }
.hand__packtext blockquote { margin: 10px 0 14px; font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--display); color: var(--brand-ink); }
.hand__packtext blockquote p { margin: 0; }
.hand__packtext > p { margin: 0; color: var(--ink-2); }

/* ---------- MENU ---------- */
.menu { background: var(--sheet); padding: clamp(80px, 10vw, 140px) 0; }
.sheets { display: grid; gap: 22px; margin-top: 30px; }
@media (min-width: 900px) { .sheets { grid-template-columns: repeat(3, 1fr); gap: 26px; } .sheet:nth-child(2) { margin-top: 48px; } }
.sheet { background: var(--sheet); border-radius: var(--r-label); padding: 10px 10px 22px; box-shadow: 0 1px 0 rgba(81,59,40,.05), 0 22px 40px -28px rgba(81,59,40,.55); position: relative; }
.sheet::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.sheet__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.sheet__h { font: 400 38px/1 var(--display); margin: 18px 14px 4px; }
.sheet__w { margin: 0 14px 12px; color: var(--ink-2); font-size: 14px; }
.sheet__list { list-style: none; margin: 0; padding: 0 14px; }
.sheet__list li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 15px; }
.sheet__list li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); min-width: 16px; }
.sheet__list li b { order: 2; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu__note { margin: 28px 0 0; color: var(--ink-2); font-size: 14px; max-width: 80ch; }

/* ---------- HOW + FAQ ---------- */
.how { padding: clamp(80px, 10vw, 140px) 0; }
.how__grid { display: grid; gap: 64px; }
@media (min-width: 1000px) { .how__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.route { list-style: none; margin: 18px 0 30px; padding: 0; display: grid; gap: 26px; counter-reset: r; }
.route li { display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; }
.route li::before { counter-increment: r; content: counter(r); grid-row: span 2; font: 400 54px/0.9 var(--display); color: var(--brand-ink); }
.route p { margin: 0; color: var(--ink-2); }
.weightcard { display: flex; gap: 16px; align-items: flex-start; background: var(--sheet); border-radius: var(--r-label); padding: 20px 22px; box-shadow: 0 14px 30px -26px rgba(81,59,40,.6); }
.weightcard .i { width: 28px; height: 28px; color: var(--brand); margin-top: 2px; }
.weightcard p { margin: 0; color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--ink); margin-top: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- CONTACTS ---------- */
.contacts { padding: 0 0 clamp(80px, 10vw, 140px); }
.contacts__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contacts__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.facts { margin: 26px 0 22px; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; }
.contacts__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: var(--r-img); overflow: hidden; background: #e2e0dd; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.contacts__ph { width: 100%; aspect-ratio: 400 / 520; object-fit: cover; border-radius: var(--r-img); }
.findus { margin: 0; }
.findus__map { display: block; width: 100%; height: auto; border-radius: var(--r-img); }
.fm-ground { fill: #efe8de; }
.fm-block rect { fill: #e2d8cb; }
.fm-road path { fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.fm-path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.fm-home { fill: var(--sheet); stroke: var(--brand); stroke-width: 1.5; }
.fm-home-t { font: 400 15px var(--display); fill: var(--brand); }
.fm-car { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.fm-walk { fill: none; stroke: var(--brand-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .1 9; }
.fm-pin path { fill: var(--brand); } .fm-pin circle { fill: var(--sheet); }
.fm-street { font: 600 12px var(--text); letter-spacing: .06em; fill: #9a8571; text-transform: uppercase; }
.fm-note { font: 500 12.5px var(--text); fill: var(--ink-2); }
.fm-badge rect { fill: var(--sheet); stroke: var(--brand-ink); stroke-width: 1; }
.fm-badge text { font: 600 12px var(--text); fill: var(--brand-ink); }
.fm-badge--car rect { fill: var(--brand); stroke: none; } .fm-badge--car text { fill: var(--on-brand); }
.findus figcaption { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.findus figcaption b { font: 400 22px/1.15 var(--display); color: var(--ink); margin-bottom: 2px; }
.findus__row { display: flex; align-items: center; gap: 10px; }
.findus__row i { flex: none; width: 26px; height: 0; border-top: 3px solid var(--brand); }
.findus__row .findus__walk { border-top: 3px dotted var(--brand-ink); }
@media (max-width: 599px) {
  .findus { grid-column: 1 / -1; order: 1; }
  .contacts__ph { grid-column: 1 / -1; order: 2; aspect-ratio: 4 / 3; }
}

/* ---------- FINAL ---------- */
.final { background: var(--brand); color: var(--on-brand); padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.final .lead { color: var(--on-brand-2); }
.final .h2 { font-size: clamp(48px, 7vw, 108px); }
.final__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .final__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.final__ph { position: relative; justify-self: center; width: min(100%, 420px); }
.final__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--r-img) var(--r-img); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.final__tag { position: absolute; left: -28px; bottom: 28px; transform: rotate(-3deg); padding: 14px 18px 12px; min-width: 210px; }
.final__tag .label__rows > div { padding: 4px 0; }
@media (max-width: 899px) { .final__tag { left: 12px; } }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- FOOTER ---------- */
.foot { padding: 40px 0 120px; }
@media (min-width: 1000px) { .foot { padding-bottom: 44px; } }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot__logo { height: 46px; width: auto; }
.foot__tag { margin: 0; font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.foot__meta { margin: 0 0 0 auto; font-size: 14px; color: var(--ink-2); }

/* ---------- DOCK (mobile CTA) ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; padding: 6px; background: rgba(252,252,251,.94); border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(81,59,40,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(140%); transition: transform .4s var(--ease-out); }
.dock .btn--brand { flex: 1; min-height: 48px; }
.dock .btn--icon { width: 48px; min-height: 48px; }
.dock.is-on { transform: none; }
.dock__sum { display: none; flex-direction: column; justify-content: center; padding: 0 8px 0 14px; line-height: 1.1; }
.dock__sum small { font-size: 11px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.dock__sum b { font: 400 24px/1 var(--display); color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dock.is-order .dock__sum { display: flex; }
.dock.is-order .dock__build { display: none; }
.dock__send { display: none; flex: 1; }
.dock.is-order .dock__send { display: inline-flex; }
.dock.is-order .btn--icon { display: none; }
@media (min-width: 1000px) { .dock { display: none; } }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- MOTION ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero: строки заголовка въезжают, торты поднимаются на полку по очереди, затем лента плывёт */
  .js .hero__title .ln > span { transform: translateY(105%); }
  .is-ready .hero__title .ln > span { transform: none; transition: transform 1s cubic-bezier(.32, .72, 0, 1) .2s; }
  .is-ready .hero__title .ln + .ln > span { transition-delay: .32s; }
  .js .hero__eyebrow, .js .hero__cite, .js .hero__actions, .js .hero__proof { opacity: 0; translate: 0 14px; }
  .is-ready .hero__cite { opacity: 1; translate: 0 0; transition: opacity .8s ease .5s, translate 1s cubic-bezier(.32, .72, 0, 1) .5s; }
  .is-ready .hero__eyebrow { opacity: 1; translate: 0 0; transition: opacity .8s ease .1s, translate 1s cubic-bezier(.32, .72, 0, 1) .1s; }
  .is-ready .hero__actions { opacity: 1; translate: 0 0; transition: opacity .8s ease .62s, translate 1s cubic-bezier(.32, .72, 0, 1) .62s; }
  .is-ready .hero__proof { opacity: 1; translate: 0 0; transition: opacity .8s ease .74s, translate 1s cubic-bezier(.32, .72, 0, 1) .74s; }
  .js .shelf__item { opacity: 0; translate: 0 36px; }
  .is-ready .shelf__item { opacity: 1; translate: 0 0; transition: opacity .8s ease, translate 1.2s cubic-bezier(.32, .72, 0, 1); transition-delay: calc(.35s + var(--i, 0) * 90ms); }
  .js .nav { transform: translateY(-100%); }
  .is-ready .nav { transform: none; transition: transform .6s var(--ease-out) .5s, background-color .3s, color .3s, box-shadow .3s; }


  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .slip[data-reveal].is-in:nth-child(3n+1) { transform: rotate(-.6deg); }
  .slip[data-reveal].is-in:nth-child(3n+2) { transform: rotate(.5deg); }
  .hand__ph--b[data-reveal].is-in { transform: translateY(32px); }

  .js .swap__row .swap__was s::after { transform: scaleX(0); transition: transform .55s var(--ease-io) calc(var(--i, 0) * 70ms + .25s); }
  .swap__row.is-in .swap__was s::after { transform: scaleX(1); }
  .js .swap__row .swap__now { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease-out) calc(var(--i, 0) * 70ms + .6s), transform .7s var(--ease-out) calc(var(--i, 0) * 70ms + .6s); }
  .swap__row.is-in .swap__now { opacity: 1; transform: none; }

  .tile { transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
  .reel.is-swapping .tile { opacity: 0; transform: translateX(24px); transition-duration: .18s; transition-delay: 0s; }
  .tile.is-enter { opacity: 0; transform: translateX(32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Волна на коричневых полях */
.order, .final { overflow: hidden; }
.order__wave { width: 70vw; right: -18vw; top: 40px; opacity: .55; }
.final__wave { width: 80vw; left: -20vw; bottom: -10%; opacity: .5; }
.order > .wrap, .final > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__wave { opacity: 0; translate: -3% 0; }
  .is-ready .hero__wave { opacity: .7; translate: 0 0; transition: opacity 1.4s ease .6s, translate 2s cubic-bezier(.22, 1, .36, 1) .6s; }
  .js [data-wave] { opacity: 0; translate: -3% 0; }
  .js [data-wave].is-in { opacity: .55; translate: 0 0; transition: opacity 1.2s ease, translate 1.8s cubic-bezier(.22, 1, .36, 1); }
}
.contacts .h2 { font-size: clamp(34px, 3.6vw, 52px); }

@keyframes seal-spin { to { transform: rotate(1turn); } }
