/* ===========================================================
   NIERA — Premium Lifestyle Theme
   Shared styles (works alongside Tailwind CDN)
   =========================================================== */

:root {
  --ink:    #161C19;
  --forest: #1B2A22;
  --moss:   #2F4A3A;
  --sage:   #8A9B8E;
  --bone:   #E8DFC8;
  --mist:   #C7C1B0;
  --gold:   #C2A878;
  /* Золото для мелкого текста: на 11–13px норма 4,5:1, а основной тон даёт
     3,64 на самом светлом участке фона. Этот проходит везде — 4,75 сверху. */
  --gold-sm: #D6C199;
  /* второй акцент — только для выгоды и скидок.
     Тёплая терракота вместо красного: тот же смысл без тревоги.
     Контраст 4,67:1 на карточке и 5,38:1 на фоне — годится и для мелкого текста. */
  --clay:   #C97B6D;
}

html {
  scroll-behavior: smooth;
  /* шапка фиксированная (81px) — без отступа якорь прячет заголовок под неё */
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--ink); }

/* Тон страницы: сверху глубокий тёмно-зелёный, книзу светлее — ближе к
   зелени логотипа. Раньше низ уходил почти в чёрный и читался холодно.
   Класс bg-ink приходит от body_class, поэтому перебиваем именно его. */
body.bg-ink {
  /* Самый светлый — сверху, цвета логотипа; книзу уходит в глубокий зелёный.
     Тон снят пипеткой с плашки логотипа и осветлён до предела, за которым
     приглушённый текст перестаёт проходить норму: на #43514B он даёт 4,64:1,
     основной — 6,28:1. Ещё светлее нельзя, начнёт «плыть» мелкий текст. */
  background-color: #43514B;
  background-image: linear-gradient(180deg, #43514B 0%, #354640 34%, #26332E 68%, #1A241F 100%);
  background-repeat: no-repeat;
}


/* Editorial display headings */
.font-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;
}

/* Eyebrow / overline label */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-sm);
  font-weight: 500;
}

/* Wordmark (text fallback) */
.wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}


/* Thin gold hairline */
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55; }

/* ---------- Header ---------- */
.site-header {
  transition: background-color .4s ease, backdrop-filter .4s ease, border-color .4s ease, padding .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(22,28,25,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(194,168,120,.18);
}

/* Animated underline links */
/* пункты меню чуть плотнее: на светлых кадрах видео тонкое начертание
   съедалось фоном */
.nav-link { position: relative; font-weight: 500; }
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 2rem;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8bd8f; }
.btn-ghost { border: 1px solid rgba(244,242,234,.35); color: var(--bone); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Image hover zoom ---------- */
.zoom-wrap { overflow: hidden; }
.zoom-wrap img { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.zoom-wrap:hover img { transform: scale(1.06); }

/* Graceful fallback for missing images */
.img-fallback {
  background:
    radial-gradient(120% 120% at 30% 20%, #2F4A3A 0%, #102018 55%, #0B0F0D 100%);
  position: relative;
}
.img-fallback::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 300;
  letter-spacing: .35em; text-transform: uppercase;
  color: rgba(232, 223, 200,.45); font-size: .75rem;
}

/* ---------- Scroll reveal ----------
   Раньше вместе с прозрачностью и сдвигом анимировалось ещё и размытие,
   а на .reveal постоянно висел will-change. На главной таких блоков 26:
   каждый держал отдельный слой в памяти видеокарты, и все они по очереди
   пересчитывали блюр при прокрутке — отсюда рывки.

   Остались только opacity и transform: их считает композитор, без
   перерисовки. Размытие ничего не добавляло к смыслу появления. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.1s cubic-bezier(.16,1,.3,1),
    transform 1.1s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* Line-mask reveal for hero/section headings: text rises out from a clip */
.reveal-mask { clip-path: inset(0 0 100% 0); transform: translateY(0.4em);
  transition: clip-path 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); }
.reveal-mask.is-visible { clip-path: inset(0 0 -10% 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-mask { clip-path: none !important; transform: none !important; transition: none !important; }
  .zoom-wrap img { transition: none !important; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 4rem; animation: marquee 38s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Subtle film grain overlay for richness */
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Mobile menu */
.mobile-menu { transition: opacity .4s ease, visibility .4s ease; }
.mobile-menu.hidden-menu { opacity: 0; visibility: hidden; pointer-events: none; }

/* Hide scrollbar for horizontal product rail but keep scroll */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===========================================================
   Scroll-Expand Hero (vanilla port of scroll-expansion-hero)
   Static image (airplane) expands into video (sea) on scroll
   =========================================================== */
.sx-root { position: relative; }
.sx-stage {
  /* svh, а не dvh: dvh меняется, когда на телефоне при прокрутке вверх
     возвращается адресная строка — hero дёргался и подрезался. svh — самая
     маленькая (стабильная) высота, не прыгает при скролле. */
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--ink);
}
.sx-bg { position: absolute; inset: 0; z-index: 0; will-change: opacity; }
.sx-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sx-bg-veil { position: absolute; inset: 0; background: rgba(22,28,25,.42); }

.sx-center { position: relative; z-index: 10; width: 100%; height: 100%; }
.sx-media {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 400px; max-width: 95vw; max-height: 86dvh;
  overflow: hidden; border-radius: 14px; background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  will-change: width, height;
}
.sx-media video, .sx-media img { width: 100%; height: 100%; object-fit: cover; }
.sx-media::after {  /* subtle inner vignette for depth */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0,0,0,.35);
}

.sx-titles {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; pointer-events: none; text-align: center; padding: 0 1rem;
  will-change: opacity;
}
.sx-title {
  font-family: 'Playfair Display', serif; color: var(--bone); font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 1;
  letter-spacing: -0.02em;   /* крупный display хочет плотнее (apple §15) */
  display: flex; flex-wrap: wrap; gap: .35em; justify-content: center;
  text-shadow: 0 4px 40px rgba(0,0,0,.55);
}
.sx-word { display: inline-block; will-change: transform; }
.sx-word--r { font-style: italic; color: var(--gold); }
.sx-hint {
  color: var(--bone); letter-spacing: .28em; text-transform: uppercase; font-size: .7rem;
  display: inline-flex; align-items: center; gap: .6rem; will-change: opacity;
}
.sx-hint svg { animation: sx-bounce 1.8s ease-in-out infinite; }
@keyframes sx-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Контент лежит поверх видео, а не отдельным экраном под ним. */
.sx-content {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 0 3rem;                     /* запас под фиксированную шапку */
  overflow-y: auto;                          /* низкие окна: текст не срежется */
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1);
}
.sx-content.sx-show { opacity: 1; transform: none; }
/* Локальная подложка под текстом. Общей вуали не хватало: на кадре с закатным
   окном золотое NIERA давало 2,47:1 при норме 4,5. Затемняем только центр,
   где лежит текст, — края кадра остаются яркими. */
.sx-content::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 72% 48% at 50% 44%,
              rgba(14, 20, 17, 0.74) 0%,
              rgba(14, 20, 17, 0.5) 52%,
              rgba(14, 20, 17, 0) 80%);
  pointer-events: none;
}

/* текст поверх кадра: тень держит читаемость на любом кадре видео */
.sx-content h1, .sx-content .hero-lead, .sx-content .font-display {
  text-shadow: 0 2px 26px rgba(12, 18, 15, .62);
}
/* Заголовок первого экрана — название бренда, а не слоган.
   Набран гротеском, а не серифом: тем же шрифтом набран логотип NIERA
   в шапке, поэтому заголовок и логотип читаются одной семьёй.
   Кегль привязан к ширине окна — фраза всегда держится в одну строку. */
.hero-title {
  /* Тот же сериф, что и во всех остальных заголовках сайта, — иначе первый
     экран выпадает из общей типографики. Кегль пересчитан: сериф заметно
     шире гротеска, и на прежнем размере строка не помещалась. */
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  /* Заголовок освободился от вставки со знаком, поэтому кегль поднят:
     23 знака вместо 29 помещаются в строку заметно крупнее. */
  font-size: clamp(1.5rem, 5.2vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.018em;   /* крупнее — плотнее (apple §15) */
  color: var(--bone);
  white-space: nowrap;
}
.hero-title__brand { color: var(--gold); letter-spacing: .02em; }

/* Подводка: гротеск, ширина подобрана так, чтобы фраза легла в две строки. */
.hero-lead {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  /* на четверть меньше прежнего */
  font-size: clamp(1.16rem, 2.1vw, 1.64rem);
  line-height: 1.35;
  color: var(--bone);
  max-width: none;
  margin: 1.6rem auto 0;
}
/* каждая часть — своя строка; перенос внутри разрешаем только там,
   где строка физически не помещается (телефон) */
.hero-lead__line, .hero-lead__accent { display: block; }
.hero-lead__accent { color: var(--gold); }
@media (min-width: 900px) {
  .hero-lead__line, .hero-lead__accent { white-space: nowrap; }
}
@media (max-width: 767px) {
  .hero-lead { max-width: none; margin-top: 1.2rem; }
}

.eyebrow__brand { font-weight: 700; letter-spacing: .3em; }
@media (max-width: 767px) {
  .sx-content { padding: 5.5rem 0 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-hint svg { animation: none; }
  .sx-content { opacity: 1 !important; transform: none !important; }
}

/* Static, designed hero (mobile / reduced-motion): full-bleed media,
   title anchored bottom-left like an editorial cover — not a shrunk desktop. */
.sx-static .sx-bg { display: none; }
.sx-static .sx-media {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  max-width: none; max-height: none; transform: none;
  border-radius: 0; box-shadow: none;
}
.sx-static .sx-media::after {
  box-shadow: none;
  background: linear-gradient(to top, rgba(22,28,25,.92) 0%, rgba(22,28,25,.5) 48%, rgba(22,28,25,.68) 100%);
}
.sx-static .sx-titles {
  justify-content: flex-end; align-items: flex-start; text-align: left;
  padding: 0 1.5rem 13vh; gap: 1.1rem;
}
.sx-static .sx-title { justify-content: flex-start; }
.sx-static .sx-word { transform: none !important; }
.sx-static .sx-word--r { display: block; }

@media (max-width: 767px) {
  .sx-static .sx-title { font-size: clamp(2.9rem, 13vw, 4rem); line-height: .98; }
  .sx-static .sx-hint { letter-spacing: .22em; }
}

/* ===========================================================
   Premium micro-interactions (make sections feel expensive)
   =========================================================== */

/* Heading hairline that draws in on reveal */
.lux-underline { position: relative; display: inline-block; padding-bottom: .85rem; }
.lux-underline::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 1.1s cubic-bezier(.22,1,.36,1) .25s;
}
.reveal.is-visible .lux-underline::after,
.lux-underline.is-visible::after { width: 4rem; }

/* Editorial column dividers (replaces boxed grids — lighter, richer) */
.lux-divide { position: relative; }
.lux-divide::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(194,168,120,.28), transparent);
}
@media (max-width: 767px) { .lux-divide::before { display: none; } }

/* Premium card: faint glass, lifts and warms on hover */
.lux-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0));
  border: 1px solid rgba(244,242,234,.08);
  border-radius: 3px;
  transition: transform .6s cubic-bezier(.22,1,.36,1), border-color .6s ease, box-shadow .6s ease, background-color .6s ease;
}
.lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194,168,120,.4);
  box-shadow: 0 36px 70px -34px rgba(0,0,0,.75);
}
/* Gold rule that sweeps across the top edge on hover */
.lux-card::before {
  content: ''; position: absolute; top: 0; left: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .7s cubic-bezier(.22,1,.36,1);
}
.lux-card:hover::before { width: 100%; }

/* Image with slow zoom + brighten on group hover; caption rises */
.lux-media { position: relative; overflow: hidden; }
.lux-media img { transition: transform 1.2s cubic-bezier(.22,1,.36,1), filter .9s ease; }
.group:hover .lux-media img { transform: scale(1.05); filter: brightness(1.06) saturate(1.03); }
.lux-media__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(22,28,25,.92) 0%, rgba(22,28,25,.15) 45%, transparent 75%);
}
.lux-rise { transition: transform .7s cubic-bezier(.22,1,.36,1); }
.group:hover .lux-rise { transform: translateY(-6px); }

/* Inline CTA whose arrow slides on hover */
.lux-cta { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); }
.lux-cta svg { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.group:hover .lux-cta svg, a:hover > .lux-cta svg, .lux-cta:hover svg { transform: translateX(7px); }

/* Magnetic elements (JS adds translate toward cursor) */
.magnetic { transition: transform .4s cubic-bezier(.22,1,.36,1); }

/* Count-up figures hold their slot to avoid layout shift */
.lux-stat { font-variant-numeric: tabular-nums; }

/* Quote glyph for testimonials */
.lux-quote::before {
  content: '\201C'; font-family: 'Playfair Display', serif;
  display: block; font-size: 4rem; line-height: .4; color: var(--gold);
  opacity: .5; margin-bottom: .75rem;
}

/* Buttons: gold fill that wipes in from the left */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #e2c896; transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.btn-gold:hover::before { transform: scaleX(1); }

.btn-ghost { position: relative; }
.btn-ghost::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 100%; width: 0; z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .lux-card, .lux-media img, .lux-rise, .magnetic, .lux-cta svg,
  .lux-underline::after, .lux-card::before, .btn-gold::before { transition: none !important; }
  .lux-card:hover { transform: none; }
}

/* ===========================================================
   Collection index — cursor-following image reveal
   =========================================================== */
.idx { border-top: 1px solid rgba(244,242,234,.1); }
.idx-row {
  position: relative; display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(244,242,234,.1);
  transition: padding-left .55s cubic-bezier(.22,1,.36,1);
}
.idx-row:hover { padding-left: 1.5rem; }
.idx-num { flex: none; width: 2.2rem; font-size: .95rem; color: rgba(194,168,120,.55); }
.idx-name {
  flex: 1; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.015em;   /* apple §15 */
  color: var(--bone); transition: color .4s ease;
}
.idx-row:hover .idx-name { color: var(--gold); }
.idx-meta { flex: none; color: var(--mist); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.idx-arrow {
  flex: none; color: var(--gold);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.idx-row:hover .idx-arrow { opacity: 1; transform: none; }
.idx-thumb { display: none; }

/* Floating preview that follows the cursor (desktop, fine pointer) */
.idx-preview {
  position: fixed; top: 0; left: 0; width: 280px; height: 350px;
  object-fit: cover; border-radius: 6px; pointer-events: none; z-index: 40;
  opacity: 0; transform: translate(-50%, -50%) scale(.92);
  transition: opacity .45s ease;
  box-shadow: 0 40px 90px rgba(0,0,0,.6);
  will-change: transform, opacity;
}
.idx-preview.is-on { opacity: 1; }

@media (max-width: 1023px) {
  .idx-meta { display: none; }
  .idx-thumb { display: block; flex: none; width: 58px; height: 58px; object-fit: cover; border-radius: 4px; }
  .idx-row { gap: 1rem; }
}
@media (pointer: coarse) { .idx-preview { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .idx-row, .idx-arrow, .idx-name { transition: none !important; }
  .idx-preview { display: none !important; }
}

/* ===========================================================
   Фирменный курсор: золотая стрелка + мятный лайнер-компаньон
   =========================================================== */
.brand-cursor, .brand-cursor * { cursor: none !important; }
/* полноэкранное видео: возвращаем нативный курсор (стрелка-DOM туда не попадает) */
.brand-cursor.fs-native, .brand-cursor.fs-native * { cursor: auto !important; }
.brand-cursor.fs-native .cursor-arrow, .brand-cursor.fs-native .cursor-plane { display: none; }
/* Текстовая каретка — только там, где действительно печатают. Правило
   ловило и радиокнопки с флажками: над кружком выбора доставки появлялся
   курсор ввода, будто в него можно что-то вписать. */
.brand-cursor input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="range"]),
.brand-cursor textarea { cursor: text !important; }
/* Выбор мышью — под фирменной стрелкой, как и весь остальной сайт:
   нативный указатель здесь дал бы два курсора сразу. */
.brand-cursor select,
.brand-cursor input[type="radio"],
.brand-cursor input[type="checkbox"],
.brand-cursor input[type="file"] { cursor: none !important; }
.cursor-arrow {
  position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none;
  opacity: 0; transition: opacity .25s ease;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
  /* Без собственного слоя браузер перерисовывал стрелку на каждое движение
     мыши — вместе с её тенью. На тяжёлом фоне это и читалось как лаг
     курсора: он рисуется в странице, а не системой, и отстаёт ровно
     настолько, насколько занята отрисовка. */
  will-change: transform;
  backface-visibility: hidden;
}
.cursor-plane {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  will-change: transform;
}

/* ===========================================================
   RICH DESIGN LAYER — layout-agnostic (survives restructuring)
   Atmosphere, depth, typography, focus, transitions, loader
   =========================================================== */

/* --- Global atmosphere: film grain + edge vignette over everything --- */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9997;
  background: radial-gradient(125% 95% at 50% -5%, transparent 52%, rgba(0,0,0,.5) 100%);
}

/* --- Reusable gold glow behind hero / CTA elements --- */
.glow { position: relative; }
.glow > * { position: relative; z-index: 1; }
.glow::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 70%; height: 70%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(194,168,120,.16), transparent 70%);
  filter: blur(48px); pointer-events: none; z-index: 0;
}

/* --- Editorial drop cap for lead paragraphs --- */
.dropcap::first-letter {
  float: left; font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: 3.4em; line-height: .68; padding: .06em .14em 0 0; color: var(--gold);
}

/* --- On-brand keyboard focus ring (visible "invisible" quality) --- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* --- Lazy images fade in (no jarring pop); class added by JS so no-JS is safe --- */
img.img-fade { opacity: 0; transition: opacity 1s cubic-bezier(.22,1,.36,1); }
img.img-fade.is-loaded { opacity: 1; }

/* --- Cross-fade page transitions (Chromium MPA; ignored elsewhere) --- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s ease both; }
::view-transition-new(root) { animation: vt-in .5s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* --- Statement footer: oversized outline wordmark, fills gold on hover --- */
/* Раньше здесь стояло слово, набранное Hanken Grotesk, — гарнитура не
   фирменная, и «Ǝ» со скошенной «A» из знака пропадали. Теперь обводка
   вырезается маской из самого логотипа, а цвет по-прежнему за CSS,
   поэтому переход в золото при наведении сохранился. */
.footer-wordmark { position: relative; display: inline-block; margin: 1.5rem 0; }
.footer-wordmark .fw-line {
  display: block; height: clamp(2.2rem, 12vw, 9.5rem); aspect-ratio: 1860 / 484;
  background-color: rgba(244,242,234,.18);
  -webkit-mask: url(../img/logo-wordmark-outline.png) center / contain no-repeat;
          mask: url(../img/logo-wordmark-outline.png) center / contain no-repeat;
  transition: background-color .6s ease;
}
.footer-wordmark .fw-fill {
  position: absolute; inset: 0; background-color: rgba(194,168,120,0);
  -webkit-mask: url(../img/logo-wordmark.png) center / contain no-repeat;
          mask: url(../img/logo-wordmark.png) center / contain no-repeat;
  transition: background-color .6s ease;
}
.footer-wordmark:hover .fw-line { background-color: var(--gold); }
.footer-wordmark:hover .fw-fill { background-color: rgba(194,168,120,.07); }

/* --- Brand loader (intro reveal on first paint of the homepage) --- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.loader.is-done { transform: translateY(-101%); transition: transform 1s cubic-bezier(.76,0,.24,1); }
.loader__word { overflow: hidden; }
.loader__word img {
  display: block; height: clamp(38px, 9vw, 76px); width: auto;
  transform: translateY(115%); animation: loaderUp .9s cubic-bezier(.22,1,.36,1) .15s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
  body::after, body::before { display: none; }
}
@keyframes loaderUp { to { transform: none; } }

/* ===========================================================
   Interactive extras — aurora, product cards, chips
   =========================================================== */

/* Static aurora glow: the block spans the whole page, so no blur filter
   and no infinite animation — the soft radial falloff does the job for free */
.aurora { position: relative; overflow: hidden; }
.aurora::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 42% at 28% 32%, rgba(194,168,120,.10), transparent 72%),
    radial-gradient(50% 50% at 72% 62%, rgba(47,74,58,.38), transparent 74%),
    radial-gradient(38% 38% at 60% 20%, rgba(138,155,142,.12), transparent 72%);
}
.aurora > * { position: relative; z-index: 1; }

/* Interactive quick-fact chips */
.chip {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.15rem; border: 1px solid rgba(244,242,234,.14); border-radius: 999px;
  font-size: .8rem; color: var(--bone); cursor: default;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s ease, background-color .4s ease;
}
.chip:hover { transform: translateY(-4px); border-color: rgba(194,168,120,.5); background: rgba(194,168,120,.07); }
.chip svg { color: var(--gold); flex: none; }

/* Marketplace-style product card */
.prod { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; }
.prod__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--forest); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,1,.36,1), filter .8s ease; }
.prod:hover .prod__media img { transform: scale(1.06); filter: brightness(1.05); }
.prod__badge {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); background: var(--gold); padding: .35rem .6rem; border-radius: 3px;
}
.prod__fav {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(22,28,25,.55); color: var(--bone);
  backdrop-filter: blur(6px); opacity: 0; transform: translateY(-4px);
  transition: opacity .4s ease, transform .4s ease, color .3s ease, background-color .3s ease;
}
.prod:hover .prod__fav { opacity: 1; transform: none; }
.prod__fav:hover { color: var(--gold); background: rgba(22,28,25,.8); }
.prod__body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.prod__rating { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--mist); }
.prod__rating .stars { color: var(--gold); letter-spacing: .05em; }
.prod__price { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--bone); }
.prod__price small { color: var(--mist); font-family: 'Manrope', sans-serif; font-size: .7rem; }
.prod__swatches { display: flex; align-items: center; gap: .35rem; }
.prod__swatch {
  width: 14px; height: 14px; border-radius: 999px; border: 1px solid rgba(244,242,234,.28);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.prod__swatch:hover { transform: scale(1.25); box-shadow: 0 0 0 2px rgba(194,168,120,.5); }
.prod__more { font-size: .7rem; color: var(--mist); margin-left: .2rem; }
.prod__cta {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}
.prod__cta svg { transition: transform .45s cubic-bezier(.22,1,.36,1); }
.prod:hover .prod__cta svg { transform: translateX(5px); }

/* Article page: lead + body reveal */
.article-body p { margin-bottom: 1.4rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.25rem; }
.article-body li { margin-bottom: .55rem; color: var(--bone); }
.article-body li::marker { color: var(--gold); }
.pull-quote {
  /* 1.35 при 24px читалось тесно — цитата обычно в 2–3 строки */
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.45;
  color: var(--bone); border-left: 2px solid var(--gold); padding-left: 1.5rem; margin: 2.5rem 0;
}

/* Comparison tables in articles */
.table-wrap { overflow-x: auto; margin: 1.8rem 0 2.2rem; border: 1px solid rgba(244,242,234,.12); border-radius: 4px; }
.cmp { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.cmp th {
  text-align: left; padding: .85rem 1rem; font-weight: 500; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid rgba(194,168,120,.3); background: rgba(255,255,255,.03);
}
.cmp td { padding: .8rem 1rem; border-bottom: 1px solid rgba(244,242,234,.08); color: var(--bone); vertical-align: top; }
.cmp tr:last-child td { border-bottom: none; }
.cmp tr:hover td { background: rgba(255,255,255,.025); }
.cmp .win { color: var(--gold); font-weight: 500; }

/* FAQ accordion */
.faq { border-top: 1px solid rgba(244,242,234,.12); margin-top: .5rem; }
.faq details { border-bottom: 1px solid rgba(244,242,234,.12); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.15rem 0; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--bone);
  transition: color .3s ease;
}
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; flex: none; transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist); padding: 0 0 1.2rem; margin: 0; line-height: 1.65; }

/* Inline product CTA row inside articles */
.prod-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.prod-cta__info { flex: 1; min-width: 220px; }

/* Expert / research callout */
.expert-box {
  position: relative; margin: 2.2rem 0; padding: 1.6rem 1.8rem 1.6rem 4.2rem;
  background: linear-gradient(135deg, rgba(194,168,120,.08), rgba(47,74,58,.14));
  border: 1px solid rgba(194,168,120,.25); border-radius: 4px;
}
.expert-box::before {
  content: ''; position: absolute; left: 1.4rem; top: 1.7rem; width: 30px; height: 30px;
  background-color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.3h6c0-1 .4-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3Cpath d='M9 21h6M10 24h4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.3h6c0-1 .4-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3Cpath d='M9 21h6M10 24h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.expert-box__label {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: .6rem;
}
.expert-box p { color: var(--bone) !important; margin-bottom: .6rem !important; }
.expert-box p:last-child { margin-bottom: 0 !important; }
.expert-box .src { font-size: .78rem; color: var(--mist); }

/* Stat tiles row inside articles */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: rgba(244,242,234,.12); border: 1px solid rgba(244,242,234,.12); border-radius: 4px; overflow: hidden; margin: 2rem 0 2.4rem; }
.stat-row > div { background: var(--ink); padding: 1.4rem 1.2rem; text-align: center; }
.stat-row b { display: block; font-family: 'Playfair Display', serif; font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--gold); }
.stat-row span { display: block; margin-top: .45rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }

/* Article inline figure */
.article-fig { margin: 2.2rem 0; border-radius: 4px; overflow: hidden; }
.article-fig img { width: 100%; display: block; }
.article-fig figcaption { font-size: .78rem; color: var(--mist); padding: .7rem 0 0; }
.article-fig--split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 640px) { .article-fig--split { grid-template-columns: 1fr; } }

/* Interactive checklist */
.checklist { list-style: none; margin: 1.8rem 0 2.2rem !important; padding: 0; border: 1px solid rgba(244,242,234,.12); border-radius: 4px; overflow: hidden; }
.checklist li {
  display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.2rem; margin: 0 !important;
  border-bottom: 1px solid rgba(244,242,234,.08); cursor: pointer; user-select: none;
  transition: background-color .3s ease;
}
.checklist li:last-child { border-bottom: none; }
.checklist li:hover { background: rgba(255,255,255,.03); }
.checklist li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: .1rem;
  border: 1.5px solid rgba(194,168,120,.5); border-radius: 5px;
  transition: background-color .25s ease, border-color .25s ease;
}
.checklist li.done { color: var(--mist); }
.checklist li.done::before {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161C19' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--gold);
}
.checklist li.done s-wrap, .checklist li.done { text-decoration: none; }
.checklist__hint { font-size: .74rem; color: var(--mist); margin-top: -.9rem; margin-bottom: 2rem; }

/* Colorway swatches on pillow type pages */
.cw-swatch {
  width: 34px; height: 34px; border-radius: 999px; cursor: pointer; padding: 0;
  background: var(--sw); border: 2px solid rgba(244,242,234,.18);
  box-shadow: inset 0 0 0 2px var(--ink);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.cw-swatch:hover { transform: scale(1.12); border-color: rgba(194,168,120,.6); }
.cw-swatch.active { border-color: var(--gold); transform: scale(1.08); }

/* Product gallery */
.gal-main { aspect-ratio: 4 / 5; background: var(--forest); border: 1px solid rgba(244,242,234,.1); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.gal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .6rem; }
.gal-thumb {
  aspect-ratio: 1; overflow: hidden; border-radius: 3px; cursor: pointer; padding: 0;
  border: 1px solid rgba(244,242,234,.14); background: var(--forest); opacity: .55;
  transition: opacity .3s ease, border-color .3s ease, transform .3s ease;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: .85; transform: translateY(-2px); }
.gal-thumb.active { opacity: 1; border-color: var(--gold); }

/* Favourites: filled heart persists via localStorage */
.prod__fav.faved { opacity: 1 !important; transform: none !important; color: var(--gold); background: rgba(22,28,25,.85); }
.prod__fav.faved svg { fill: currentColor; }

/* Route line: plane path draws in as the section scrolls into view */
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.route-svg path { stroke: var(--gold); stroke-width: 1.6; fill: none; stroke-dasharray: 8 9; opacity: .55; }
.route-svg .route-line { stroke-dashoffset: 1400; transition: stroke-dashoffset 2.8s cubic-bezier(.4,0,.2,1); }
.route-svg.go .route-line { stroke-dashoffset: 0; }
.route-svg .route-plane { opacity: 0; transition: opacity .6s ease 2.2s; }
.route-svg.go .route-plane { opacity: .9; }
@media (prefers-reduced-motion: reduce) {
  .route-svg .route-line { stroke-dashoffset: 0 !important; transition: none; }
  .route-svg .route-plane { opacity: .9 !important; transition: none; }
}

/* Story band: scroll-driven parallax photo + word-by-word manifesto */
.story-par { overflow: hidden; position: relative; }
.story-par img {
  width: 100%; height: 118%; object-fit: cover; display: block;
  transform: translateY(var(--py, -6%));
  will-change: transform;
}
.scrub .scrub-word {
  color: rgba(232, 223, 200, .18);
  transition: color .35s linear;
}
.scrub .scrub-word.on { color: var(--bone); }
@media (prefers-reduced-motion: reduce) {
  .story-par img { transform: none; height: 100%; }
  .scrub .scrub-word { color: var(--mist) !important; transition: none; }
}

/* Light editorial section (rhythm break in the dark layout) */
.light { background: var(--bone); color: var(--ink); }
.light .eyebrow { color: #8c7350; }
.light h2, .light h3 { color: var(--ink); }
.light .text-mist { color: #5c6660 !important; }
.light .group:hover h3 { color: #8c7350 !important; }
.light .lux-underline::after { background: linear-gradient(90deg, #8c7350, transparent); }
.light .lux-cta { color: #8c7350; }
.light .zoom-wrap { box-shadow: 0 24px 50px -28px rgba(22,28,25,.35); }

/* Unified warm tone for mixed stock photos */
.toned img { filter: saturate(.85) sepia(.09) contrast(1.03); }

/* Reading progress bar */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 70;
  background: linear-gradient(90deg, var(--moss), var(--gold));
  transition: width .1s linear;
}

/* Crossfade video loop (seamless) */
.sx-media { position: relative; }
.xf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.xf-b { opacity: 0; }

/* ---------- Подсказка на видео-отзыве ----------
   Длительность посчитана по плейлисту ролика — человек заранее видит,
   на сколько подписывается, и понимает, что это видео, а не фото. */
.vr-hint {
  position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.34rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 28, 25, 0.78);
  backdrop-filter: blur(3px);
  color: #E8DFC8; font-size: 0.72rem; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.vr-card { position: relative; }
.vr-card:hover .vr-hint,
.vr-card:focus-visible .vr-hint { opacity: 1; transform: translateY(0); }
/* на тач-устройствах наведения нет — показываем сразу */
@media (hover: none) {
  .vr-hint { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vr-hint { transition: none; }
}

/* Ролик в блоке «Мы знаем, каково это» */
.founders-media {
  margin: 2.6rem auto 0;
  max-width: 46rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(232, 223, 200, .12);
  background: #16201B;
  aspect-ratio: 16 / 9;
}
.founders-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Знак стоит отдельной строкой над заголовком: геометрический гротеск
   логотипа и жирный сериф заголовка — два разных языка, внутри одной
   строки они спорили. Отдельно знак читается как логотип, чем и является. */
.hero-logo {
  display: block;
  height: clamp(20px, 2.5vw, 38px);
  width: auto;
  margin: 0 auto 1.5rem;
}
@media (max-width: 767px) { .hero-logo { margin-bottom: 1.1rem; } }

/* --- Карточка при уходе со страницы ---
   Не модальное окно: человек уже собрался уходить, и перекрывать ему всю
   страницу — верный способ разозлить. Небольшая карточка в углу, страница
   под ней остаётся живой и кликабельной. */
#exitPop {
  position: fixed; z-index: 90;
  right: 1.25rem; bottom: 1.25rem; width: min(21rem, calc(100vw - 2.5rem));
  padding: 1.35rem 1.5rem 1.4rem;
  background: rgba(27,42,34,.97);
  border: 1px solid rgba(194,168,120,.3);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
  animation: exitPopIn .45s cubic-bezier(.22,1,.36,1) both;
}
#exitPop.hidden { display: none; }
@keyframes exitPopIn { from { opacity: 0; transform: translateY(16px); } }
.exit-pop__x {
  position: absolute; top: .35rem; right: .35rem;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: var(--sage); transition: color .2s ease;
}
.exit-pop__x:hover { color: var(--gold); }
.exit-pop__title {
  font-family: 'Playfair Display', Georgia, serif; color: var(--bone);
  font-size: 1.28rem; line-height: 1.2; margin-bottom: .5rem; padding-right: 1.6rem;
}
.exit-pop__lead { color: var(--mist); font-size: .88rem; line-height: 1.55; }
.exit-pop__cta {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem;
  color: var(--gold-sm); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  min-height: 44px; transition: color .25s ease;
}
.exit-pop__cta:hover { color: var(--bone); }
@media (max-width: 480px) {
  #exitPop { right: .75rem; left: .75rem; bottom: .75rem; width: auto; }
}

/* --- Чек-лист в подарок: полоса под комплектом --- */
.kit-bonus {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.2rem;
  margin-top: 2.2rem; padding: 1.2rem 1.4rem;
  border: 1px solid rgba(194,168,120,.28); border-radius: 14px;
  background: rgba(47,74,58,.22);
}
.kit-bonus > svg { color: var(--gold); flex: none; }
.kit-bonus div { flex: 1 1 16rem; }
.kit-bonus strong { display: block; color: var(--bone); font-size: .98rem; font-weight: 600; }
.kit-bonus span { display: block; color: var(--mist); font-size: .87rem; margin-top: .25rem; }
.kit-bonus__link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-sm); font-size: .84rem; letter-spacing: .08em; text-transform: uppercase;
  min-height: 44px; transition: color .25s ease;
}
.kit-bonus__link:hover { color: var(--bone); }

/* --- Мобильные правки --- */

@media (max-width: 640px) {
  /* Текст мельче 12 px на телефоне нечитаем. Ниже — те места, где он
     оставался: подпись кнопки в шапке была 9,6 px, бейдж каталога 9,9. */
  .header-buy__label { font-size: 0.72rem; }
  .loop-badge { font-size: 0.7rem; }
  .eyebrow { font-size: 0.75rem; letter-spacing: 0.24em; }
}

/* Логотип в подвале на телефоне: колонка там во всю ширину, и картинка
   456 px растягивалась на весь экран. Плюс приглушаем — в подвале знак
   должен присутствовать, а не кричать. */
@media (max-width: 767px) {
  .site-footer .brandmark__img { height: 26px; width: auto; max-width: 55%; opacity: .9; }
  .footer-wordmark .fw-line { height: clamp(2rem, 16vw, 4.5rem); }
}

/* ─── Доступность: прозрачность и контраст (apple-design §14) ───
   Уважаем системные настройки: при reduce transparency убираем блюр и делаем
   полупрозрачные поверхности плотными; при more contrast — почти сплошной фон
   с чёткой границей. Раньше эти два сигнала не обрабатывались. */
@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled { background: rgba(22, 28, 25, .98); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .prod__fav { background: #1B2A22; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cookie-bar { background: #1B2A22; }
}
@media (prefers-contrast: more) {
  .site-header.scrolled { background: #10160F; border-bottom: 1px solid var(--gold); backdrop-filter: none; }
  .cookie-bar { background: #10160F; border-color: var(--gold); }
  .cookie-bar__btn--ghost { border-color: var(--bone); color: var(--bone); }
  .cmp-bar { background: #10160F; border-color: var(--gold); }
}

/* Hero на телефоне: широкий горизонтальный кадр семьи не влезал в вертикальный
   экран без обрезки голов по бокам. Зумить видео тоже плохо (мыло). Решение —
   отдельный вертикальный кадр (мама в подушке + взлетающий самолёт): показываем
   его картинкой вместо видео. Задаётся через переменную --hero-mobile из
   front-page (путь к теме). */
/* Мобильный hero — чистое состояние: вся семья, видео как на десктопе, без
   обрезки-кропа. Высоту держит 100svh (см. .sx-stage), рывка нет. Framing
   специально не трогаем — по итогу обсуждения с заказчиком. */

/* На телефоне убираем анимацию появления по скроллу. На длинной странице
   (26 экранов) блоки проявлялись по 1.1с каждый — контент «догонял» скролл,
   ощущалось как лаги и пустота. На мобильном такие reveal только мешают:
   показываем всё сразу, скролл становится мгновенным (ui-ux: производительность).
   Десктоп reveal сохраняет. */
@media (max-width: 640px) {
  .reveal, .reveal-mask {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
