/* Гнездовье — стили. Основа — шаблон exoflora-fragrance; что изменено против шаблона, помечено «шаблон: …».
   Подключается после assets/css/tailwind.css. */

/* ---------- Шрифты (лежат локально) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* знак ₽ у Google лежит в latin-ext (85 КБ) — вырезан в отдельный файл */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-rub.woff2") format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-italic-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-mono-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pt-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Цвета и картинки ----------
   шаблон: холодный голубой #bfeeff и сиреневый заменены янтарём духов и сургучом печати,
   белый — льняным #faf0e6 с сайта бренда, чёрный — тёплым. */
:root {
  --bg: #0b0907;
  --bg-deep: #080605;
  --bg-soft: #100c0a;
  --ink: #faf0e6;
  --ink-rgb: 250, 240, 230;
  --ac: #e3ad67;
  --ac-rgb: 227, 173, 103;
  --seal: #b6342a;
  --seal-rgb: 182, 52, 42;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: "Playfair Display", Georgia, serif;
  --mono: "PT Mono", "Courier New", monospace;
  --hero-image: url("../img/hero.webp");
  /* лампа на кадре первого экрана, в долях кадра: по ней стоит пятно света, пока нет курсора */
  --lamp-x: 38.6%;
  --lamp-y: 35.5%;
}
@media (max-width: 640px) {
  :root { --hero-image: url("../img/hero-m.webp"); --lamp-x: 51%; --lamp-y: 33%; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
html, body { min-height: 100%; margin: 0; background: var(--bg); }
body { overflow-x: clip; letter-spacing: -0.01em; font-family: "Inter", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
::selection { background: rgba(var(--ac-rgb), .32); }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 6px; }
.font-playfair, em.serif { font-family: var(--serif) !important; font-style: italic; }
.rub { font-family: "Inter", sans-serif; font-style: normal; }
.arr { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* подписи-«этикетки»: машинописный шрифт, как на этикетках бренда.
   шаблон: 10–11 px жирным гротеском вразрядку — подняты до 11–12 px */
.eyebrow, .story-kicker, .story-count, .gather-kicker, .cinema-kicker, .cinema-step b, .archive-meta span, .field-tag,
.field-note-meta, .field-mini-card > span, .field-marquee-track span, .story-card small, .load-kicker, .label {
  font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 11px;
}
.label { color: rgba(var(--ink-rgb), .55); }
.label.ac, .eyebrow { color: var(--ac); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; }
.eyebrow-line { display: inline-block; height: 1px; width: 56px; background: var(--ac); flex: none; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; width: fit-content; border-radius: 999px; padding: 13px 28px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .3s var(--ease), background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.btn:active { transform: scale(.96); }
.btn-solid { background: var(--ink); color: #120d0a; }
.btn-solid:hover { transform: scale(1.03); background: #fff8ef; box-shadow: 0 14px 40px rgba(var(--ac-rgb), .22); }
.btn-ghost { border-color: rgba(var(--ink-rgb), .3); color: var(--ink); background: rgba(8, 6, 5, .2); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(var(--ink-rgb), .55); background: rgba(var(--ink-rgb), .1); }

/* ---------- Заставка ----------
   шаблон: заставка держала экран 1,25 с после window.load и убиралась скриптом, текст первого экрана
   появлялся на третьей секунде. Здесь она уходит сама (CSS), текст и кнопки — на экране к первой секунде. */
.load-intro { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; pointer-events: none; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(var(--ac-rgb), .12), transparent 30%), linear-gradient(180deg, var(--bg) 0%, #030201 100%);
  animation: introOut .5s .5s ease forwards; }
.load-intro::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(72vw, 780px); height: min(72vw, 780px); border-radius: 999px; border: 1px solid rgba(var(--ac-rgb), .18); transform: translate(-50%, -50%) scale(.6); box-shadow: 0 0 120px rgba(var(--ac-rgb), .14), inset 0 0 90px rgba(var(--ac-rgb), .05); animation: introOrbit 1s var(--ease) forwards; }
.load-intro-inner { position: relative; z-index: 2; text-align: center; }
.load-kicker { margin-bottom: 22px; color: var(--ac); letter-spacing: .26em; }
.load-brand { display: block; width: min(440px, 68vw); height: auto; margin: 0 auto; animation: introBrand .55s var(--ease) both; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@keyframes introOrbit { to { transform: translate(-50%, -50%) scale(1); opacity: .4; } }
@keyframes introBrand { from { transform: translateY(14px); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: blur(0); } }

/* ---------- Шапка ---------- */
.floating-nav { position: fixed; left: 50%; top: 18px; z-index: 100; width: calc(100% - 28px); max-width: 1152px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 16px; border-radius: 999px;
  border: 1px solid rgba(var(--ink-rgb), .15); background: rgba(8, 6, 5, .4); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(var(--ink-rgb), .14);
  transition: background .45s ease, border-color .45s ease, border-radius .3s ease; animation: navIn .9s .45s var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -22px) scale(.96); } }
body.has-scrolled .floating-nav { background: rgba(8, 6, 5, .62); border-color: rgba(var(--ink-rgb), .2); }
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.nav-logo img { height: 34px; width: auto; transition: transform .3s var(--ease); }
.nav-logo:hover img { transform: scale(1.06); }
.nav-logo b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 23px; line-height: 1; letter-spacing: -.01em; }
.nav-logo small { display: block; margin-top: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(var(--ink-rgb), .68); }
.nav-links { display: none; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .1); background: rgba(var(--ink-rgb), .04); }
.nav-links a { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(var(--ink-rgb), .8); text-decoration: none; transition: background .25s ease, color .25s ease; }
.nav-links a:hover { background: rgba(var(--ink-rgb), .1); color: var(--ink); }
/* шаблон: белая плашка всегда стояла на первом пункте — теперь её переставляет скрипт по секции на экране */
.nav-links a.is-active { background: var(--ink); color: #120d0a; font-weight: 600; }
.nav-shop { display: none; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .2); background: rgba(var(--ink-rgb), .1); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .3s ease, border-color .3s ease; }
.nav-shop:hover { border-color: rgba(var(--ink-rgb), .4); background: rgba(var(--ink-rgb), .2); }
.nav-burger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .15); background: rgba(var(--ink-rgb), .1); cursor: pointer; }
.nav-burger .ico { width: 22px; height: 22px; }
.nav-burger .x { display: none; }
.menu-open .nav-burger .x { display: block; }
.menu-open .nav-burger .bars { display: none; }
@media (min-width: 1100px) {
  .nav-links, .nav-shop { display: flex; }
  .nav-burger { display: none; }
}
/* шаблон: кнопка меню на телефоне ничего не открывала */
.nav-menu { position: fixed; left: 14px; right: 14px; top: 86px; z-index: 99; padding: 14px; border-radius: 28px; border: 1px solid rgba(var(--ink-rgb), .15); background: rgba(10, 8, 6, .92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .4s var(--ease), visibility 0s .3s; }
.menu-open .nav-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-menu a { display: flex; align-items: center; justify-content: space-between; padding: 15px 14px; border-bottom: 1px solid rgba(var(--ink-rgb), .09); font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.nav-menu a:last-child { border-bottom: 0; margin-top: 10px; justify-content: center; gap: 10px; border-radius: 999px; background: var(--ink); color: #120d0a; font-size: 15px; font-weight: 600; }
.nav-menu a span { font-family: var(--mono); font-size: 11px; color: rgba(var(--ink-rgb), .45); }
@media (min-width: 1100px) { .nav-menu { display: none; } }

/* ---------- Первый экран ----------
   шаблон: под курсором проявлялась другая картинка, поверх шло видео. Здесь слой один и тот же: внизу
   кадр притушен, пятно под курсором открывает его в полную яркость — «свет лампы». Пока курсора нет
   (и на телефоне), пятно стоит на самой лампе. */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 600px; width: 100%; overflow: hidden; background: var(--bg-deep); }
.hero-media { position: absolute; inset: 0; z-index: 10; animation: heroZoom 1.8s var(--ease) both; }
.hero-base, .hero-reveal-layer { position: absolute; inset: 0; background: var(--hero-image) center / cover no-repeat; }
.hero-base { filter: brightness(.42) saturate(.62) contrast(1.06); }
.hero-reveal-layer { --sw: clamp(250px, 43vw, 860px); --sh: clamp(230px, 35vw, 700px);
  filter: brightness(1.1) contrast(1.05) saturate(1.06);
  -webkit-mask-image: radial-gradient(ellipse var(--sw) var(--sh) at var(--sx, var(--lamp-x)) var(--sy, var(--lamp-y)), #000 0%, #000 30%, rgba(0, 0, 0, .82) 48%, rgba(0, 0, 0, .42) 68%, rgba(0, 0, 0, .12) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse var(--sw) var(--sh) at var(--sx, var(--lamp-x)) var(--sy, var(--lamp-y)), #000 0%, #000 30%, rgba(0, 0, 0, .82) 48%, rgba(0, 0, 0, .42) 68%, rgba(0, 0, 0, .12) 88%, transparent 100%);
  animation: lamp 5.6s linear infinite; }
@keyframes lamp { 0%, 100% { opacity: 1; } 7% { opacity: .9; } 11% { opacity: 1; } 38% { opacity: .95; } 42% { opacity: .86; } 47% { opacity: 1; } 72% { opacity: .93; } 77% { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; z-index: 40; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .02) 72%, rgba(0, 0, 0, .2) 100%), linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 22%); }
.hero-bottom-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; height: 66vh; pointer-events: none;
  background: radial-gradient(ellipse at 22% 82%, rgba(0, 0, 0, .6), transparent 48%), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .12) 20%, rgba(0, 0, 0, .56) 62%, rgba(8, 6, 5, .96) 100%); }
.hero-copy { position: absolute; inset: 0; z-index: 50; display: flex; align-items: flex-end; padding: 112px 20px 40px; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
/* шаблон: трекинг −.08em и интерлиньяж .88 подобраны под латиницу — в кириллице буквы слипались */
.hero h1 { margin: 0; font-weight: 500; line-height: .96; text-shadow: 0 4px 28px rgba(0, 0, 0, .85); }
.hero h1 span { display: block; font-size: clamp(3rem, 8.4vw, 6.6rem); letter-spacing: -.045em; }
.hero h1 .font-playfair { font-weight: 400; letter-spacing: -.03em; padding-bottom: .12em; }
.hero-lead { max-width: 480px; margin: 0; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: var(--ink); text-shadow: 0 3px 22px rgba(0, 0, 0, .95); }
.hero-aside { position: absolute; right: 48px; bottom: 48px; z-index: 50; display: none; max-width: 330px; padding-right: 20px; border-right: 1px solid rgba(var(--ink-rgb), .25); text-align: right; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
@media (min-width: 1024px) { .hero-aside { display: block; } }
.vertical-label { writing-mode: vertical-rl; text-orientation: mixed; }
.hero-anim { animation: heroFadeUp 1s var(--ease) both; animation-delay: var(--d, .4s); }
.hero-reveal-text { animation-name: heroReveal; animation-duration: 1.05s; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(28px); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) { .hero-copy { padding: 112px 32px 48px; } }
@media (min-width: 768px) { .hero-copy { padding: 112px 48px 56px; } }
@media (max-height: 640px) and (min-width: 768px) { .hero h1 span { font-size: clamp(2.6rem, 11vh, 4.4rem); } }

/* ---------- Фон страницы ---------- */
.site-bg { position: relative; background:
  radial-gradient(ellipse at 72% 4%, rgba(var(--ac-rgb), .06), transparent 34%),
  radial-gradient(ellipse at 14% 38%, rgba(var(--seal-rgb), .05), transparent 38%),
  linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 42%, var(--bg-deep) 100%); }
.site-bg::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .22;
  background-image: linear-gradient(rgba(var(--ink-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .035) 1px, transparent 1px);
  background-size: 88px 88px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.site-bg::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }
.content-layer { position: relative; z-index: 1; }
.section-line { background: linear-gradient(90deg, transparent, rgba(var(--ac-rgb), .34), rgba(var(--ink-rgb), .08), transparent); }
.glass-card { background: linear-gradient(160deg, rgba(var(--ink-rgb), .07), rgba(var(--ink-rgb), .018)); box-shadow: inset 0 1px 0 rgba(var(--ink-rgb), .1), 0 30px 90px rgba(0, 0, 0, .42); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.soft-panel { background: radial-gradient(ellipse at 50% 0%, rgba(var(--ac-rgb), .08), transparent 60%), rgba(var(--ink-rgb), .025); }
/* шаблон: кегли заголовков — ступени Tailwind с трекингом −.055em; для кириллицы один класс */
/* margin здесь не задаём: этот файл идёт после Tailwind, и «margin: 0» стирал mt-7 и mx-auto из разметки —
   надзаголовок и абзац липли к заголовку, заголовок шоурума съезжал влево от центра. Ноль даёт preflight */
.h-sec { font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; }
.h-sec .font-playfair, .h-sec em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.h-big { font-size: clamp(2.2rem, 5.6vw, 4.5rem); }
.h-about { font-size: clamp(1.9rem, 4.1vw, 3.5rem); }
.lead { font-size: 15px; line-height: 1.65; color: rgba(var(--ink-rgb), .62); }

/* ---------- Появления ----------
   шаблон: скрытое исходное состояние стояло в стилях всегда — без скрипта страница оставалась пустой.
   Здесь оно включается только без класса static (его снимает скрипт в <head>, если анимации разрешены). */
html:not(.static) .image-mask { clip-path: inset(12% 0 0 0 round 28px); transform: scale(1.08); opacity: 0; transition: clip-path 1.25s var(--ease), transform 1.25s var(--ease), opacity .8s ease; }
html:not(.static) .image-mask.in { clip-path: inset(0 0 0 0 round 28px); transform: scale(1); opacity: 1; }
html:not(.static) .reveal { opacity: 0; transform: translateY(34px); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
html:not(.static) .reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
/* шаблон: маска строки срезала выносные «р», «у», «щ» и кратку у «й» — маске добавлены поля */
.text-mask { display: block; overflow: hidden; padding: .1em 0 .16em; margin: -.1em 0 -.16em; }
.text-mask > span { display: block; }
html:not(.static) .text-mask > span { transform: translateY(125%); transition: transform 1s var(--ease); }
html:not(.static) .text-mask.in > span { transform: translateY(0); }
.parallax-media { will-change: transform; }
.magnetic-card { transition: transform .55s var(--ease), border-color .55s ease, background .55s ease, box-shadow .55s ease; }
.magnetic-card:hover { transform: translateY(-8px); border-color: rgba(var(--ac-rgb), .42); box-shadow: 0 38px 110px rgba(0, 0, 0, .55), 0 0 60px rgba(var(--ac-rgb), .08); }

/* ---------- Индикатор прокрутки ---------- */
.scroll-rail { position: fixed; right: 18px; top: 50%; z-index: 90; width: 1px; height: 170px; background: rgba(var(--ink-rgb), .13); transform: translateY(-50%); overflow: hidden; pointer-events: none; }
.scroll-rail span { display: block; width: 100%; height: calc(var(--page-progress, 0) * 100%); background: linear-gradient(180deg, var(--ink), var(--ac)); box-shadow: 0 0 22px rgba(var(--ac-rgb), .45); }

/* ---------- Лента «Сырьё» (закреплённая сцена) ---------- */
.story-scroll { position: relative; min-height: 380vh; scroll-margin-top: -92px; border-top: 1px solid rgba(var(--ink-rgb), .08); border-bottom: 1px solid rgba(var(--ink-rgb), .08); background: var(--bg-deep); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: center; isolation: isolate;
  background: radial-gradient(circle at var(--story-light-x, 56%) 50%, rgba(var(--ac-rgb), .1), transparent 30%), var(--bg-deep); }
.story-bg, .story-bg-reveal { position: absolute; inset: -8%; background-size: cover; background-position: center; will-change: transform, opacity; transform: scale(1.06); }
.story-bg { background-image: url("../img/amb-bark.webp"); opacity: .2; filter: saturate(.85) contrast(1.15) brightness(.7); }
.story-bg-reveal { background-image: url("../img/raw-1.webp"); opacity: .1; mix-blend-mode: screen; filter: saturate(1.1) brightness(1.05) blur(6px); }
.story-vignette { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(ellipse at var(--story-light-x, 56%) 48%, rgba(var(--ac-rgb), .12), transparent 28%),
  linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .28) 44%, rgba(0, 0, 0, .86)),
  linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 44%, rgba(0, 0, 0, .86)); }
.story-grid { position: absolute; inset: 0; z-index: 2; opacity: .16; pointer-events: none;
  background-image: linear-gradient(rgba(var(--ink-rgb), .09) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .09) 1px, transparent 1px);
  background-size: 14.285% 100%, 100% 16.666%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.story-shell { --left: min(44vw, 540px); position: relative; z-index: 3; width: min(100%, 1280px); height: 100%; margin-inline: auto; padding: 0 20px; }
/* шаблон: заголовок, счётчик и подпись стояли абсолютом от блока неизвестной высоты; здесь — колонка слева */
.story-head { position: absolute; left: 20px; top: 0; bottom: 0; z-index: 5; width: calc(var(--left) - 56px); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 110px 0 70px; }
.story-kicker { display: flex; align-items: center; gap: 14px; color: var(--ac); margin: 0; }
.story-kicker::before { content: ""; width: 56px; height: 1px; background: var(--ac); flex: none; }
.story-title { margin: 0; font-weight: 500; font-size: clamp(40px, 5.3vw, 88px); line-height: .98; letter-spacing: -.04em; text-shadow: 0 20px 80px rgba(0, 0, 0, .8); }
.story-title em { display: block; padding-bottom: .1em; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.025em; color: rgba(var(--ink-rgb), .9); }
.story-note { max-width: 400px; margin: 0; font-size: 14px; line-height: 1.65; color: rgba(var(--ink-rgb), .62); }
.story-count { position: absolute; right: 20px; top: clamp(96px, 13vh, 130px); z-index: 6; color: rgba(var(--ink-rgb), .72); letter-spacing: .2em; }
/* шаблон: карточки уезжали под заголовок, и оба текста становились нечитаемыми — лента гаснет у левого края сцены */
.story-stage { position: absolute; left: calc(20px + var(--left)); right: calc((100vw - 100%) / -2); top: 0; bottom: 0; z-index: 4; display: flex; align-items: center; perspective: 1200px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 84px); mask-image: linear-gradient(90deg, transparent 0, #000 84px); }
.story-track { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); padding: 0 40px 0 60px; will-change: transform; }
.story-card { position: relative; width: clamp(220px, 21vw, 330px); height: clamp(360px, 54vh, 560px); flex: 0 0 auto; overflow: hidden; margin: 0; border-radius: 30px; border: 1px solid rgba(var(--ink-rgb), .12); background: linear-gradient(180deg, rgba(var(--ink-rgb), .06), rgba(var(--ink-rgb), .02));
  box-shadow: inset 0 1px 0 rgba(var(--ink-rgb), .12), 0 40px 120px rgba(0, 0, 0, .55); transform: translate3d(0, var(--card-y, 0px), 0) rotateY(var(--card-r, 0deg)); transition: box-shadow .45s ease, border-color .45s ease; }
.story-card:nth-child(2n) { --card-y: 42px; }
.story-card:nth-child(3n) { --card-y: -34px; }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: saturate(1.05) contrast(1.05) brightness(.84); transition: transform .7s var(--ease), filter .7s ease; }
.story-card:hover img { transform: scale(1.18); filter: saturate(1.15) contrast(1.1) brightness(1); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .22) 44%, rgba(0, 0, 0, .9)); }
.story-card.is-focus { border-color: rgba(var(--ac-rgb), .58); box-shadow: inset 0 1px 0 rgba(var(--ink-rgb), .18), 0 50px 140px rgba(0, 0, 0, .72), 0 0 90px rgba(var(--ac-rgb), .14); }
.story-card-content { position: absolute; inset: auto 20px 20px; z-index: 2; }
.story-card small { display: block; margin-bottom: 10px; color: var(--ac); }
.story-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.2vw, 48px); font-style: italic; font-weight: 400; line-height: .98; letter-spacing: -.025em; }
.story-card p { max-width: 250px; margin: 12px 0 0; color: rgba(var(--ink-rgb), .68); font-size: 13.5px; line-height: 1.5; }
.story-progress { position: absolute; left: 20px; right: 20px; bottom: 28px; z-index: 7; height: 1px; background: rgba(var(--ink-rgb), .14); overflow: hidden; }
.story-progress span { display: block; width: calc(var(--story-progress, 0) * 100%); height: 100%; background: linear-gradient(90deg, var(--ink), var(--ac)); }
/* шаблон: в углу сцены висело кольцо с точкой (.story-orbit) — карточки проезжали поверх него, убрано */

/* ---------- Сцена «От сырья до флакона» ---------- */
.scroll-cinema { position: relative; min-height: 340vh; scroll-margin-top: -92px; overflow: clip; border-top: 1px solid rgba(var(--ink-rgb), .08); border-bottom: 1px solid rgba(var(--ink-rgb), .08);
  background: radial-gradient(ellipse at 50% 10%, rgba(var(--ac-rgb), .08), transparent 34%), linear-gradient(180deg, var(--bg-deep), var(--bg-soft) 44%, var(--bg-deep)); }
.cinema-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 640px; display: grid; align-items: center; overflow: hidden; padding: 96px 20px 150px; isolation: isolate; }
.cinema-bg { position: absolute; inset: -10%; z-index: 0; background: url("../img/proc-bg.webp") center / cover; opacity: calc(.12 + var(--cinema-progress, 0) * .14); filter: blur(calc(10px - var(--cinema-progress, 0) * 6px)) saturate(.9) brightness(.7);
  transform: scale(calc(1.18 - var(--cinema-progress, 0) * .08)) translate3d(0, calc(var(--cinema-progress, 0) * -34px), 0); }
.cinema-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .4) 48%, rgba(0, 0, 0, .92)), linear-gradient(180deg, rgba(0, 0, 0, .88), transparent 44%, rgba(0, 0, 0, .88)); }
.cinema-grid { position: absolute; inset: 0; z-index: 1; opacity: .16; background-image: linear-gradient(rgba(var(--ink-rgb), .09) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .09) 1px, transparent 1px);
  background-size: 12.5% 100%, 100% 16.666%; transform: translateX(calc(var(--cinema-progress, 0) * -4vw)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.cinema-shell { position: relative; z-index: 2; width: min(100%, 1180px); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.cinema-copy { transform: translateY(calc((1 - var(--cinema-progress, 0)) * 22px)); }
.cinema-kicker { margin: 0; color: var(--ac); }
/* шаблон: кегль до 128 px рассчитан на короткие английские слова — «флакона» в колонку не помещалось */
.cinema-title { margin: 22px 0 0; font-size: clamp(42px, 6vw, 92px); line-height: .96; letter-spacing: -.045em; font-weight: 600; text-shadow: 0 30px 100px rgba(0, 0, 0, .75); }
.cinema-title em { display: block; padding-bottom: .1em; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.025em; }
.cinema-desc { margin: 24px 0 0; max-width: 460px; color: rgba(var(--ink-rgb), .68); font-size: 15px; line-height: 1.7; }
.cinema-stage { position: relative; height: min(62vh, 620px); perspective: 1200px; }
.cinema-frame { position: absolute; overflow: hidden; margin: 0; border-radius: 30px; border: 1px solid rgba(var(--ink-rgb), .14); background: rgba(var(--ink-rgb), .045); box-shadow: inset 0 1px 0 rgba(var(--ink-rgb), .14), 0 44px 130px rgba(0, 0, 0, .58); will-change: transform; }
.cinema-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.16 - var(--cinema-progress, 0) * .08)); filter: saturate(1.02) contrast(1.04) brightness(.92); }
.cinema-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .7)); }
.cinema-frame figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); font-style: italic; line-height: 1; letter-spacing: -.025em; }
.cinema-frame.one { left: 2%; top: 4%; width: 46%; height: 58%; transform: translate3d(calc(var(--cinema-progress, 0) * -50px), calc(var(--cinema-progress, 0) * -20px), 0) rotateY(calc(-12deg + var(--cinema-progress, 0) * 10deg)) scale(calc(.86 + var(--cinema-progress, 0) * .14)); }
.cinema-frame.two { right: 0; top: 14%; width: 50%; height: 68%; z-index: 3; transform: translate3d(calc((1 - var(--cinema-progress, 0)) * 120px), calc(var(--cinema-progress, 0) * 14px), 0) rotateY(calc(16deg - var(--cinema-progress, 0) * 13deg)) scale(calc(.76 + var(--cinema-progress, 0) * .24)); }
.cinema-frame.three { left: 9%; bottom: 0; width: 38%; height: 38%; z-index: 4; transform: translate3d(calc(var(--cinema-progress, 0) * 30px), calc((1 - var(--cinema-progress, 0)) * 80px), 0) rotateZ(calc(5deg - var(--cinema-progress, 0) * 5deg)) scale(calc(.72 + var(--cinema-progress, 0) * .28)); }
/* шаблон: под шкалой шагов были только названия; здесь у шага ещё строка — четыре тезиса мастерской */
.cinema-steps { position: absolute; left: 20px; right: 20px; bottom: 26px; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 22px; max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid rgba(var(--ink-rgb), .14); }
.cinema-step { position: relative; padding: 16px 0 0; color: rgba(var(--ink-rgb), .45); transition: color .35s ease; }
.cinema-step b { display: block; }
.cinema-step span { display: block; margin-top: 8px; max-width: 250px; font-size: 13px; line-height: 1.45; color: rgba(var(--ink-rgb), .42); transition: color .35s ease; }
.cinema-step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cinema-step.is-active { color: var(--ac); }
.cinema-step.is-active span { color: rgba(var(--ink-rgb), .82); }
.cinema-step.is-active::before { transform: scaleX(1); }

/* ---------- Строка, которая собирается из слов ---------- */
.gather-scroll { position: relative; min-height: 230vh; border-bottom: 1px solid rgba(var(--ink-rgb), .08); background: radial-gradient(ellipse at 50% 42%, rgba(var(--ac-rgb), .07), transparent 32%), var(--bg); }
.gather-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: grid; place-items: center; padding: 110px 20px 70px; isolation: isolate; }
.gather-sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--ink-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .05) 1px, transparent 1px); background-size: 94px 94px; opacity: .26; -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 48%, transparent 78%); mask-image: radial-gradient(ellipse at center, #000 0%, #000 48%, transparent 78%); }
.gather-ghost { position: absolute; inset: 14vh 5vw auto; z-index: 0; max-width: 1100px; font-size: clamp(40px, 7.4vw, 110px); line-height: .9; font-weight: 900; letter-spacing: -.05em; color: rgba(var(--ink-rgb), .04); text-transform: uppercase; transform: translateY(var(--gather-ghost-y, 0px)); opacity: var(--gather-ghost-opacity, .8); }
.gather-glow { position: absolute; left: 50%; top: 50%; z-index: 0; width: min(58vw, 720px); height: min(58vw, 720px); border-radius: 999px; background: radial-gradient(circle, rgba(var(--ac-rgb), .15), rgba(var(--seal-rgb), .06) 38%, transparent 72%); transform: translate(-50%, -50%) scale(var(--gather-glow-scale, .72)); filter: blur(22px); opacity: var(--gather-glow-opacity, .28); }
.gather-content { position: relative; z-index: 2; width: min(100%, 1100px); text-align: center; }
.gather-kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0; color: var(--ac); }
.gather-kicker::before, .gather-kicker::after { content: ""; width: 54px; height: 1px; background: var(--ac); opacity: .8; }
/* шаблон: трекинг −.075em и интерлиньяж .86 — под латиницу; чётные слова набраны курсивной антиквой */
.gather-line { margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .06em .22em; font-size: clamp(34px, 6.6vw, 100px); line-height: 1; font-weight: 800; letter-spacing: -.045em; text-transform: uppercase; }
.gather-line span { display: inline-block; will-change: transform, opacity, filter; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(var(--rot, 0deg)) scale(var(--scale, 1)); opacity: var(--word-opacity, 1); filter: blur(var(--word-blur, 0px)); text-shadow: 0 24px 70px rgba(0, 0, 0, .72); }
.gather-line span:nth-child(2n) { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; text-transform: none; }
.gather-support { max-width: 620px; margin: 30px auto 0; color: rgba(var(--ink-rgb), .66); font-size: 15px; line-height: 1.7; opacity: var(--gather-support-opacity, 1); transform: translateY(var(--gather-support-y, 0px)); }
.gather-cursor-dot { position: absolute; z-index: 3; width: 18px; height: 18px; border-radius: 999px; border: 1px solid rgba(var(--ac-rgb), .75); background: rgba(var(--ac-rgb), .12); box-shadow: 0 0 42px rgba(var(--ac-rgb), .28); left: var(--gather-cursor-left, 18%); top: var(--gather-cursor-top, 78%); transform: translate(-50%, -50%); opacity: .8; }

/* ---------- Сетка «Ремесло» ---------- */
.archive-expand-scroll { position: relative; min-height: 290vh; background: var(--bg-deep); border-bottom: 1px solid rgba(var(--ink-rgb), .08); }
.archive-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 92px 20px 190px; isolation: isolate; }
.archive-sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--ink-rgb), .055) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .055) 1px, transparent 1px); background-size: 9.09% 100%, 100% 16.66%; opacity: .2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
/* шаблон: 19vw под семь латинских букв; «РЕМЕСЛО» шире — 17vw */
.archive-word { position: absolute; left: 3vw; top: 21vh; z-index: 0; font-size: clamp(64px, 17vw, 250px); line-height: .8; font-weight: 900; letter-spacing: -.07em; color: rgba(var(--ink-rgb), .065); text-transform: uppercase; white-space: nowrap; transform: translateX(var(--archive-word-x, 0vw)); opacity: var(--archive-word-opacity, .75); }
.archive-meta { position: absolute; left: max(20px, 5vw); bottom: max(34px, 8vh); z-index: 3; max-width: 400px; margin: 0; color: rgba(var(--ink-rgb), .7); font-size: 14px; line-height: 1.6; }
.archive-meta span { display: block; margin-bottom: 10px; color: var(--ac); }
.archive-meta cite { display: block; margin-top: 8px; font-style: normal; font-size: 12.5px; color: rgba(var(--ink-rgb), .5); }
.archive-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(96px, 170px)); grid-auto-rows: minmax(96px, 150px); gap: clamp(7px, 1vw, 14px); width: min(82vw, 920px); transform: scale(var(--archive-scale, 1)); will-change: transform; }
.archive-tile { position: relative; min-height: 110px; overflow: hidden; border-radius: var(--archive-radius, 22px); border: 1px solid rgba(var(--ink-rgb), .13); background: rgba(var(--ink-rgb), .06); box-shadow: 0 28px 90px rgba(0, 0, 0, .46); will-change: transform, opacity; transform: translate3d(var(--tile-x, 0px), var(--tile-y, 0px), 0) scale(var(--tile-scale, 1)); opacity: var(--tile-opacity, 1); }
.archive-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--tile-img-scale, 1.08)); filter: grayscale(var(--tile-gray, 0)) contrast(1.06) brightness(.9); }
.archive-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .4)); opacity: var(--tile-overlay-opacity, .3); }
.archive-tile.tall { grid-row: span 2; }
.archive-tile.wide { grid-column: span 2; }
.archive-progress { position: absolute; left: max(20px, 5vw); right: max(20px, 5vw); bottom: 30px; z-index: 4; height: 1px; background: rgba(var(--ink-rgb), .16); overflow: hidden; }
.archive-progress span { display: block; width: var(--archive-progress-width, 0%); height: 100%; background: linear-gradient(90deg, var(--ink), var(--ac)); }

/* ---------- Ароматы ---------- */
.scent-card { display: block; width: 100%; padding: 12px; text-align: left; cursor: pointer; }
.scent-pic { position: relative; height: 330px; overflow: hidden; border-radius: 1.55rem; border: 1px solid rgba(var(--ink-rgb), .1); background: #e9e1d3; }
.scent-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transition: transform .8s var(--ease); }
.scent-card:hover .scent-pic img { transform: scale(1.05); }
.dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.dots i { width: 7px; height: 7px; border-radius: 999px; border: 1px solid rgba(var(--ac-rgb), .7); }
.dots i.on { background: var(--ac); }
.price { font-size: 14px; font-weight: 600; white-space: nowrap; }
/* шаблон: стили .journal-row в экспорте были, разметки под них не было — заняты списком остальных ароматов */
/* margin не задаём (ноль даёт preflight): «margin: 0» стирал mt-24, и список начинался вплотную под карточками */
.scent-list { padding: 0; list-style: none; border-top: 1px solid rgba(var(--ink-rgb), .12); }
.journal-row { display: grid; grid-template-columns: 5.4rem minmax(0, 1.1fr) minmax(0, 2fr) auto 1.4rem; gap: 6px 24px; align-items: baseline; width: 100%; padding: 22px 6px; border: 0; border-bottom: 1px solid rgba(var(--ink-rgb), .12); background: none; text-align: left; cursor: pointer; transition: background .35s ease, padding .45s var(--ease); }
.journal-row:hover { background: rgba(var(--ink-rgb), .035); padding-left: 16px; padding-right: 16px; }
.journal-row .no { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: rgba(var(--ink-rgb), .5); }
.journal-row .nm { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.015em; }
.journal-row .nt { font-size: 14px; line-height: 1.5; color: rgba(var(--ink-rgb), .6); }
.journal-row .nt b { display: block; font-weight: 500; color: rgba(var(--ink-rgb), .86); }
.journal-row .journal-arrow { align-self: center; color: rgba(var(--ink-rgb), .5); transition: transform .35s var(--ease), color .35s ease; }
.journal-row:hover .journal-arrow { transform: translateX(8px); color: var(--ac); }
@media (max-width: 760px) {
  .journal-row { grid-template-columns: minmax(0, 1fr) auto; padding: 20px 2px; }
  .journal-row .no { grid-column: 1 / -1; }
  .journal-row .nt { grid-column: 1 / -1; grid-row: 3; }
  .journal-row .price { grid-row: 2; grid-column: 2; align-self: center; }
  .journal-row .journal-arrow { display: none; }
}

/* ---------- Моноароматы и наборы (в шаблоне — журнал) ---------- */
.field-notes-premium { position: relative; isolation: isolate; }
.field-notes-premium::before { content: ""; position: absolute; inset: 24px 0 auto; height: 520px; z-index: -1; background: radial-gradient(ellipse at 28% 42%, rgba(var(--ac-rgb), .1), transparent 34%), radial-gradient(ellipse at 78% 28%, rgba(var(--seal-rgb), .08), transparent 32%); filter: blur(8px); opacity: .72; pointer-events: none; }
.field-editorial-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.field-feature-card, .field-note-card, .field-mini-card { position: relative; overflow: hidden; border: 1px solid rgba(var(--ink-rgb), .12); background: linear-gradient(155deg, rgba(var(--ink-rgb), .075), rgba(var(--ink-rgb), .024)); box-shadow: inset 0 1px 0 rgba(var(--ink-rgb), .12), 0 34px 110px rgba(0, 0, 0, .48); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.field-feature-card { min-height: 640px; border-radius: 36px; padding: 18px; }
.field-feature-media { position: absolute; inset: 18px; border-radius: 26px; overflow: hidden; }
.field-feature-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(1.04) contrast(1.04) brightness(.8); transition: transform .9s var(--ease), filter .9s ease; }
.field-feature-card:hover .field-feature-media img { transform: scale(1.09); filter: saturate(1.12) contrast(1.06) brightness(.9); }
.field-feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .4) 44%, rgba(0, 0, 0, .94)); pointer-events: none; }
.field-feature-content { position: absolute; inset: auto 32px 32px; z-index: 2; max-width: 580px; }
.field-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field-tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(var(--ink-rgb), .18); background: rgba(0, 0, 0, .34); padding: 9px 13px; border-radius: 999px; color: rgba(var(--ink-rgb), .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.field-tag::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--ac); box-shadow: 0 0 18px rgba(var(--ac-rgb), .7); }
button.field-tag { cursor: pointer; transition: border-color .3s ease, background .3s ease, color .3s ease; }
button.field-tag:hover { border-color: rgba(var(--ac-rgb), .7); background: rgba(var(--ac-rgb), .16); color: var(--ink); }
.field-feature-title { margin: 22px 0 0; font-size: clamp(38px, 4.8vw, 68px); line-height: .98; letter-spacing: -.04em; font-weight: 500; text-shadow: 0 24px 80px rgba(0, 0, 0, .72); }
.field-feature-title em { display: block; padding-bottom: .1em; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.field-feature-copy { margin: 16px 0 0; max-width: 520px; color: rgba(var(--ink-rgb), .74); font-size: 15px; line-height: 1.65; }
.field-feature-footer { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; border-top: 1px solid rgba(var(--ink-rgb), .16); padding-top: 18px; }
.field-read-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
.field-read-link i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #120d0a; transition: transform .35s var(--ease); }
.field-note-card:hover .field-read-link i { transform: translateX(4px) rotate(-10deg); }
.field-side-stack { display: grid; gap: 18px; }
.field-note-card { display: block; width: 100%; min-height: 195px; border-radius: 30px; padding: 26px; text-align: left; cursor: pointer; transition: transform .55s var(--ease), border-color .55s ease, background .55s ease; }
.field-note-card:hover { transform: translateY(-6px); border-color: rgba(var(--ac-rgb), .42); background: linear-gradient(155deg, rgba(var(--ac-rgb), .085), rgba(var(--ink-rgb), .026)); }
.field-note-card::before { content: ""; position: absolute; right: -72px; top: -72px; width: 190px; height: 190px; border-radius: 999px; background: rgba(var(--ac-rgb), .08); filter: blur(22px); }
.field-note-number { font-family: var(--serif); font-size: 30px; font-style: italic; line-height: 1; letter-spacing: 0; text-transform: none; color: rgba(var(--ink-rgb), .9); }
.field-note-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ac); }
.field-note-title { margin: 18px 0 0; max-width: 420px; font-size: 26px; line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.field-note-copy { margin: 10px 0 0; max-width: 430px; color: rgba(var(--ink-rgb), .62); font-size: 14px; line-height: 1.55; }
.field-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-mini-card { min-height: 150px; border-radius: 28px; padding: 22px; }
.field-mini-card strong { display: block; font-family: var(--serif); font-size: 36px; font-style: italic; font-weight: 400; line-height: 1; white-space: nowrap; }
.field-mini-card > span { display: block; margin-top: 16px; color: rgba(var(--ink-rgb), .58); line-height: 1.6; letter-spacing: .1em; }
.field-marquee { margin-top: 18px; overflow: hidden; border: 1px solid rgba(var(--ink-rgb), .1); border-radius: 999px; background: rgba(var(--ink-rgb), .026); }
.field-marquee-track { display: flex; width: max-content; animation: fieldMarquee 36s linear infinite; }
.field-marquee-track span { padding: 13px 20px; color: rgba(var(--ink-rgb), .55); white-space: nowrap; }
.field-marquee-track span::after { content: "·"; margin-left: 40px; color: var(--ac); }
@keyframes fieldMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .field-editorial-grid { grid-template-columns: 1fr; }
  .field-feature-card { min-height: 600px; }
  .field-feature-content { inset: auto 24px 24px; }
}
@media (max-width: 460px) { .field-mini-grid { grid-template-columns: 1fr; } .field-mini-card { min-height: 0; } }

/* ---------- Шоурум ---------- */
.showroom { position: relative; overflow: hidden; border-radius: 2.4rem; border: 1px solid rgba(var(--ink-rgb), .1); padding: 72px 28px; text-align: center; box-shadow: 0 40px 120px rgba(0, 0, 0, .55); isolation: isolate; }
.showroom > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.66) saturate(.95); }
.showroom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 46%, rgba(8, 6, 5, .62), rgba(8, 6, 5, .8) 80%); }
.showroom address { font-style: normal; }
@media (min-width: 768px) { .showroom { padding: 112px 48px; } }

/* ---------- Вопросы ---------- */
.faq-toggle { cursor: pointer; background: none; border: 0; }
/* шаблон: высоту ответа скрипт писал в пикселях в style; здесь — строка сетки 0fr → 1fr, без скрипта ответы открыты */
.faq-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.faq-body > div { overflow: hidden; }
html:not(.static) .faq-item:not(.open) .faq-body { grid-template-rows: 0fr; }
html:not(.static) .faq-item:not(.open) .faq-body > div { visibility: hidden; transition: visibility 0s .55s; }
.faq-icon { color: var(--ac); transition: transform .35s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.static .faq-icon { display: none; }

/* ---------- Подвал ---------- */
.footer-brand { display: block; width: min(100%, 720px); height: auto; opacity: .92; }
.foot-links a { color: rgba(var(--ink-rgb), .66); text-decoration: none; transition: color .25s ease; }
.foot-links a:hover { color: var(--ink); }

/* ---------- Окно аромата ---------- */
.aroma { width: min(1040px, calc(100vw - 28px)); max-height: min(860px, calc(100dvh - 28px)); padding: 0; border: 1px solid rgba(var(--ink-rgb), .14); border-radius: 34px; background: #110d0a; color: var(--ink); box-shadow: 0 50px 160px rgba(0, 0, 0, .8); overflow: hidden; }
.aroma::backdrop { background: rgba(4, 3, 2, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.aroma[open] { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); animation: aromaIn .5s var(--ease); }
@keyframes aromaIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.aroma-pic { position: relative; min-height: 420px; background: #e9e1d3; }
.aroma-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aroma-body { max-height: min(860px, calc(100dvh - 28px)); overflow-y: auto; padding: 40px 40px 34px; overscroll-behavior: contain; }
.aroma-close { position: absolute; right: 16px; top: 16px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .2); background: rgba(17, 13, 10, .7); backdrop-filter: blur(10px); cursor: pointer; transition: background .3s ease; }
.aroma-close:hover { background: rgba(var(--ink-rgb), .16); }
.aroma-close .ico { width: 20px; height: 20px; }
.aroma h3 { margin: 12px 0 0; padding-right: 40px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.aroma-verse { margin: 22px 0 0; padding-left: 16px; border-left: 1px solid rgba(var(--ac-rgb), .5); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.6; color: rgba(var(--ink-rgb), .7); }
.aroma-text p { margin: 16px 0 0; font-size: 15px; line-height: 1.7; color: rgba(var(--ink-rgb), .78); }
.aroma-facts { margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(var(--ink-rgb), .12); }
.aroma-facts div { display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(var(--ink-rgb), .12); }
.aroma-facts dt { padding-top: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); }
.aroma-facts dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(var(--ink-rgb), .88); }
.aroma-vols { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.aroma-vols li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .16); font-size: 14px; white-space: nowrap; }
.aroma-vols b { font-weight: 600; margin-left: 6px; }
.aroma-buy { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.aroma-buy small { font-size: 12.5px; line-height: 1.5; color: rgba(var(--ink-rgb), .5); max-width: 260px; }
@media (max-width: 820px) {
  .aroma { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 26px; }
  .aroma[open] { display: block; overflow-y: auto; }
  .aroma-pic { min-height: 0; height: 250px; }
  .aroma-pic img { object-position: 50% 62%; }
  .aroma-body { max-height: none; overflow: visible; padding: 26px 22px 28px; }
  .aroma-close { position: fixed; right: 20px; top: 20px; }
  .aroma-facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Плоский вид: телефон, планшет и режим без анимаций ----------
   Класс flat стоит на <html> в разметке; скрипт в <head> снимает его на ширине от 901 px, если анимации
   разрешены. Так закреплённые сцены раскладываются в обычный поток и на узком экране, и при
   prefers-reduced-motion, и без скрипта.
   шаблон: на телефоне у ленты оставалась высота 560vh (правило стояло после мобильного) — четыре пустых
   экрана; сетка архива сжималась в полоски (плитки и подпись — соседи во flex-строке); при
   prefers-reduced-motion лента, строка и сетка держали экран, но не двигались — три карточки из пяти
   оставались недоступны. */
.flat .scroll-rail { display: none; }
.flat .story-scroll, .flat .scroll-cinema, .flat .gather-scroll, .flat .archive-expand-scroll { min-height: 0; scroll-margin-top: 0; }
.flat .story-sticky, .flat .cinema-sticky, .flat .gather-sticky, .flat .archive-sticky { position: relative; height: auto; min-height: 0; }

.flat .story-sticky { display: block; padding: 104px 0 64px; }
.flat .story-shell { --left: 0px; height: auto; display: grid; gap: 30px; }
.flat .story-head { position: static; width: auto; padding: 0; gap: 20px; }
.flat .story-title { font-size: clamp(38px, 9.4vw, 72px); }
.flat .story-title em { display: inline; }
.flat .story-count, .flat .story-progress { display: none; }
.flat .story-stage { position: static; margin: 0 -20px; padding: 44px 0 50px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
.flat .story-stage::-webkit-scrollbar { display: none; }
.flat .story-track { padding: 0 20px; transform: none !important; }
.flat .story-card { width: 74vw; max-width: 320px; height: 460px; scroll-snap-align: center; --card-r: 0deg !important; }
@media (min-width: 1100px) {
  .flat .story-stage { margin: 0; overflow: visible; padding: 20px 0 40px; }
  .flat .story-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; padding: 0; }
  .flat .story-card { width: auto; max-width: none; height: 440px; }
  .flat .story-card h3 { font-size: clamp(26px, 2.5vw, 38px); }
}

.flat .cinema-sticky { display: block; padding: 104px 20px 72px; overflow: visible; }
.flat .cinema-shell { grid-template-columns: 1fr; gap: 40px; }
.flat .cinema-copy { transform: none; }
.flat .cinema-stage { height: 0; padding-bottom: min(118%, 640px); }
.flat .cinema-frame { transform: none !important; }
.flat .cinema-frame img { transform: none; }
.flat .cinema-frame.one { left: 0; top: 0; width: 54%; height: 44%; }
.flat .cinema-frame.two { right: 0; top: 24%; width: 54%; height: 50%; }
.flat .cinema-frame.three { left: 0; bottom: 0; width: 43%; height: 33%; }
.flat .cinema-steps { position: static; margin-top: 44px; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 0; }
.flat .cinema-step { padding: 16px 0 22px; border-top: 1px solid rgba(var(--ink-rgb), .14); color: var(--ac); }
.flat .cinema-step span { color: rgba(var(--ink-rgb), .72); }
.flat .cinema-step::before { display: none; }
@media (min-width: 901px) {
  .flat .cinema-shell { grid-template-columns: .82fr 1.18fr; }
  .flat .cinema-stage { padding-bottom: 0; height: 560px; }
  .flat .cinema-steps { grid-template-columns: repeat(4, 1fr); }
}

.flat .gather-sticky { padding: 104px 20px 78px; }
.flat .gather-line span { transform: none !important; opacity: 1 !important; filter: none !important; }
.flat .gather-ghost { inset: 60px 20px auto; }
.flat .gather-cursor-dot { display: none; }

.flat .archive-sticky { flex-direction: column; align-items: stretch; padding: 104px 20px 72px; }
/* 21vw: на телефоне последняя буква слова обрезалась правым краем экрана */
.flat .archive-word { top: 64px; left: 14px; font-size: clamp(64px, 20vw, 220px); }
.flat .archive-grid { width: 100%; margin: 76px auto 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; transform: none !important; }
.flat .archive-tile { transform: none !important; opacity: 1 !important; min-height: 0; }
.flat .archive-meta { position: relative; left: auto; bottom: auto; margin-top: 30px; }
.flat .archive-progress { display: none; }
@media (min-width: 700px) {
  .flat .archive-grid { max-width: 920px; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .flat .archive-tile.tall, .flat .archive-tile.wide { }
}
@media (max-width: 699px) {
  /* в две колонки одиннадцать плиток занимали 15 ячеек: широкая третья не помещалась рядом со второй,
     и под второй оставалась пустая ячейка. Первая плитка здесь обычная — 14 ячеек, семь строк без дыр */
  .flat .archive-tile.tall:first-child { grid-row: span 1; }
  .flat .archive-tile.tall:first-child img { object-position: 50% 78%; }
}

/* ---------- Без анимаций ---------- */
.static .load-intro { display: none; }
.static .floating-nav, .static .hero-media, .static .hero-anim, .static .hero-reveal-layer, .static .field-marquee-track, .static .aroma[open] { animation: none; }
.static .field-marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
.static .field-marquee-track span[aria-hidden] { display: none; }
.static .field-marquee { border-radius: 28px; }
.static, .static * { scroll-behavior: auto !important; }
.static .magnetic-card, .static .field-note-card, .static .story-card img, .static .btn { transition: none; }

/* ---------- Мелочи раскладки ---------- */
/* номера пунктов «Духов на заказ»: курсивные «01» и «02» разной ширины, и текст второго пункта
   стоял на 4 px правее первого — номеру задана одна ширина */
.step-no { width: 1.4em; }
@media (max-width: 640px) {
  .site-bg::before { background-size: 56px 56px; }
  .hero-copy { padding-bottom: 34px; }
  .btn { padding: 13px 22px; }
}
