/* enoue home — style.css */

/* ---------- tokens ---------- */
/* Журнал конца 90-х: каменная бумага, эспрессо, один бордовый акцент.
   Заголовки — Gilda Display, всё остальное — Inter Tight, мелко. */
:root {
  --paper:       #E8E3DC;   /* каменная бумага, холоднее и строже кремового */
  --oat:         #DCD5CB;   /* перебивки, подложки под фото */
  --ink:         #1F1915;   /* эспрессо */
  --muted:       #6F655C;
  --line:        #C9C0B5;
  --cocoa:       #1F1915;   /* тёмные поля: обложка, подвал */
  --cocoa-ink:   #E8E3DC;
  --cocoa-muted: #A3978A;
  --cocoa-line:  #3B332C;
  --clay:        #6E1D16;   /* бордо-коричневый: акцент, главная кнопка, блок «пришлите комнату» */
  --clay-deep:   #561510;

  --serif: 'Gilda Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans:  'Inter Tight', 'Helvetica Neue', Arial, sans-serif;

  --gutter: 20px;
  --max: 1400px;
  --section: 96px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 56px;
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --section: 168px; --head-h: 72px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--paper);
  /* бумажное зерно: тот же лист, что в посте, без картинки-файла */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .11 0 0 0 0 .09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--clay);
}

@media (min-width: 900px) { body { font-size: 16px; } }

::selection { background: var(--clay); color: var(--paper); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

html { scrollbar-color: #B9AB98 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #B9AB98; border: 3px solid var(--paper); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 6.4vw, 96px); }
h2 { font-size: clamp(30px, 3.4vw, 50px); }
h3 { font-size: 22px; line-height: 1.15; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .9em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section) 0; }
.section--oat { background: var(--oat); }

.lead { font-size: 17px; line-height: 1.55; max-width: 40ch; }
@media (min-width: 900px) { .lead { font-size: 18px; } }

/* надзаголовок: мелко, капсом, как рубрика в журнале */
.kicker { color: var(--muted); margin-bottom: 28px; }

.muted { color: var(--muted); }

.sans, .label, .btn, .link, .price, .meta {
  font-family: var(--sans);
}

/* технические подписи — капсом, мелко, как «@enouehome / Bali based» в постах */
.label {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
}

.meta { font-size: 14px; letter-spacing: .01em; color: var(--muted); font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font-family: var(--sans); font-size: 14px;
}
.skip:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px;
  border: 1px solid var(--clay); border-radius: 0;
  background: var(--clay); color: #F3EEE8;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }

.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--light { background: var(--cocoa-ink); color: var(--ink); border-color: var(--cocoa-ink); }
.btn--light:hover { background: #fff; border-color: #fff; }

.btn--small { min-height: 38px; padding: 0 18px; font-size: 10.5px; letter-spacing: .18em; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- бегущая строка ---------- */
.bar {
  position: relative; height: 32px; overflow: hidden;
  background: var(--cocoa); color: var(--cocoa-ink);
  font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.bar span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.bar span.is-on { opacity: 1; transform: none; }

/* ---------- header ---------- */
/* «Menu» и разделы слева, имя по центру, «Enquire» справа. На главной шапка
   прозрачная поверх обложки и светлеет, когда начинаешь листать. */
.head {
  position: sticky; top: 0; z-index: 40;
  height: var(--head-h);
  background: rgba(232, 227, 220, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.head.is-stuck { border-bottom-color: var(--line); }
.head__in {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.head__start { display: flex; align-items: center; gap: 32px; }

.home .head { margin-bottom: calc(var(--head-h) * -1); background: transparent; color: #F3EEE8; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .head .logo__home { color: rgba(243, 238, 232, .7); }
.home .head.is-stuck { background: rgba(232, 227, 220, .94); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home .head.is-stuck .logo__home { color: var(--muted); }

.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; justify-self: center; }
.logo__word { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: .01em; }
.logo__home { font-family: var(--sans); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; }
.nav a, .head__link, .burger {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; position: relative; color: inherit;
}
.nav a::after, .head__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after, .head__link:hover::after { transform: scaleX(1); }

.head__end { display: flex; align-items: center; justify-content: flex-end; }
.burger { background: none; border: 0; cursor: pointer; padding: 10px 0; }

@media (min-width: 900px) {
  .nav { display: flex; gap: 32px; }
  .head .burger { display: none; }
}

/* меню — оглавление журнала на тёмном поле */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--cocoa); color: var(--cocoa-ink);
  display: flex; flex-direction: column;
  padding-bottom: 28px;
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease), visibility 0s; }
.menu__top { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; width: 100%; }
.menu .logo__home { color: var(--cocoa-muted); }
.menu__links { list-style: none; margin: 12vh 0 0; padding-top: 0; padding-bottom: 0; width: 100%; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: 30px; line-height: 1.1; text-decoration: none;
  padding: 12px 0;
}
.menu__links a span { font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; color: var(--cocoa-muted); width: 22px; }
.menu__foot {
  margin-top: auto; width: 100%;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa-muted);
}
.menu__foot a { text-decoration: none; color: var(--cocoa-ink); }
body.is-locked { overflow: hidden; }

/* ---------- обложка ---------- */
/* На весь экран, заголовок поверх. На телефоне — одна лампа, на большом —
   разворот из двух кадров, как журнал, раскрытый посередине. */
.hero { position: relative; height: 100svh; min-height: 560px; background: var(--cocoa); color: #F3EEE8; overflow: hidden; }
.hero__media { position: absolute; inset: 0; display: grid; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 28%; animation: settle 2.4s var(--ease) both; }
.hero__second { display: none; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,15,12,.55) 0%, rgba(20,15,12,0) 22%, rgba(20,15,12,.12) 36%, rgba(20,15,12,.66) 62%, rgba(20,15,12,.84) 100%); }
@keyframes settle { from { transform: scale(1.05); opacity: .6; } to { transform: none; opacity: 1; } }
.hero__text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 var(--gutter) 56px; text-align: center;
  display: grid; justify-items: center; gap: 18px;
}
.hero__text .label { color: rgba(243, 238, 232, .75); }
.hero h1 { font-size: clamp(46px, 7vw, 104px); line-height: .98; max-width: 10ch; }
.hero__sub { color: rgba(243, 238, 232, .85); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 10px; }
.hero .link { color: #F3EEE8; }
.hero__side { display: none; }
@media (min-width: 900px) {
  .hero__media { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero__second { display: block; }
  .hero__text { padding-bottom: 72px; }
  .hero__side {
    display: block; position: absolute; z-index: 2; right: 22px; top: 50%; transform: translateY(-50%);
    writing-mode: vertical-rl; color: rgba(243, 238, 232, .7);
  }
}

/* ---------- section heads ---------- */
.shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }
.shead p { max-width: 42ch; color: var(--muted); }
.shead--center { flex-direction: column; align-items: center; text-align: center; }
.shead--center .kicker { margin-bottom: 0; }
.center { text-align: center; margin-top: 48px; }
@media (min-width: 900px) { .shead { margin-bottom: 64px; } }

/* силуэт */
.sil path, .sil ellipse { fill: none; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sil .sil__body { fill: #FBF6EE; }
.sil .sil__rib { stroke: var(--ink); stroke-opacity: .28; stroke-width: .8; }
.sil .sil__cord { stroke: var(--ink); stroke-width: 1; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; } }

.grid--big { grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 700px) { .grid--big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 32px; } }
.grid--big .item__name { font-size: 32px; }
.grid--big .item__row { flex-direction: row; }
@media (min-width: 900px) { .grid--big .item:nth-child(even) { margin-top: 120px; } }

.item { display: block; text-decoration: none; }
.item__img { display: block; position: relative; overflow: hidden; background: var(--oat); aspect-ratio: 4 / 5; }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.item:hover .item__img img { transform: scale(1.035); }
.item__tag { position: absolute; left: 10px; bottom: 10px; color: #FBF7F1; text-shadow: 0 1px 10px rgba(35, 28, 23, .4); }
.item__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; }
.item__name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.item__price { font-family: var(--sans); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.item__line { display: block; margin-top: 4px; }
.nw { white-space: nowrap; }
@media (max-width: 520px) {
  .item__row { flex-direction: column; gap: 2px; }
  .item__name { font-size: 22px; }
}

.more { margin-top: 48px; text-align: center; }

/* три лампы на главной: ровный ряд, много поля вокруг */
.grid--three { grid-template-columns: minmax(0, 1fr); gap: 64px; }
@media (min-width: 700px) { .grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 900px) { .grid--three .item:nth-child(2) { margin-top: 96px; } }

.facts {
  list-style: none; margin: 72px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 40px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 699px) { .grid--related .item:nth-child(n+3) { display: none; } }

/* ---------- образцы ---------- */
.chip {
  display: block; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(31, 25, 21, .12), 0 2px 6px rgba(31, 25, 21, .12);
  position: relative; overflow: hidden;
}
/* плетение на образце */
.chip::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 1px, transparent 1px 3px);
}
/* сетка: редкое открытое плетение */
.chip--net::after, .mat__swatch--net::after {
  background:
    repeating-linear-gradient(0deg, rgba(60,45,35,.28) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(60,45,35,.28) 0 1px, transparent 1px 5px);
}

/* ---------- trade band ---------- */
.trade { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.trade h2 { max-width: 16ch; }
.trade p { color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .trade { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 64px; padding: 64px 0; }
}

/* ---------- closing ---------- */
.close { text-align: center; }
.close h2 { font-size: clamp(44px, 7vw, 96px); max-width: 14ch; margin: 0 auto; }
.close p { margin: 22px auto 0; color: var(--muted); max-width: 40ch; }
.close .btn { margin-top: 36px; }

/* ---------- журнал ---------- */
/* ---------- вблизи ---------- */
.macro--page { padding: 0 0 var(--section); background: none; }
.macro { padding: var(--section) 0; background: var(--oat); }
.macro__head { display: grid; gap: 18px; margin-bottom: 56px; }
.macro__head .kicker { margin-bottom: 0; }
.macro__head > p:not(.kicker) { color: var(--muted); max-width: 44ch; }
.macro__links { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 10px; }
.macro__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter); scrollbar-width: none;
}
.macro__row::-webkit-scrollbar { display: none; }
.macro__item { scroll-snap-align: start; }
.macro__item { margin: 0; }
.macro__img { display: block; overflow: hidden; aspect-ratio: 3 / 4; }
/* крупный план: кадр увеличен, видно плетение */
.macro__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); transform-origin: 50% 55%; }
@media (min-width: 700px) {
  .macro__row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); overflow: visible; }
  .macro__item:nth-child(2) { margin-top: 72px; }
}
@media (min-width: 900px) {
  .macro__head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 64px; align-items: end; margin-bottom: 80px; }
  .macro__head .kicker { grid-column: 1 / -1; }
  .macro__head > p:not(.kicker) { grid-column: 2; grid-row: 2; }
  .macro__links { grid-column: 2; }
}

/* ---------- два выхода ---------- */
.doors { display: grid; }
.door { padding: 72px var(--gutter); display: grid; gap: 18px; align-content: start; color: #F3EEE8; }
.door .label { color: rgba(243, 238, 232, .6); }
.door h2 { max-width: 12ch; }
.door p:not(.label) { color: rgba(243, 238, 232, .75); max-width: 40ch; }
.door .btn { justify-self: start; margin-top: 18px; }
.door--ask { background: var(--clay); }
.door--shop { background: var(--cocoa); }
.btn--line-light { background: transparent; color: #F3EEE8; border-color: rgba(243, 238, 232, .6); }
.btn--line-light:hover { background: #F3EEE8; color: var(--ink); border-color: #F3EEE8; }
@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door { padding: 120px 64px; min-height: 520px; }
}

/* ---------- история ---------- */
.story__grid { display: grid; gap: 48px; }
.story__text h2 { max-width: 12ch; margin-bottom: 24px; }
.story__text p:not(.kicker) { color: var(--muted); max-width: 42ch; }
.story__text .btn { margin-top: 32px; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: center; }
}

/* ---------- финальный кадр ---------- */
.closing { position: relative; height: 88svh; min-height: 480px; overflow: hidden; color: #F3EEE8; background: var(--cocoa); }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,15,12,0) 40%, rgba(20,15,12,.6)); }
.closing__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; z-index: 2; display: grid; gap: 14px; max-width: 520px; }
.closing__text p { color: rgba(243, 238, 232, .8); }
.closing .link { justify-self: start; margin-top: 8px; color: #F3EEE8; }
@media (min-width: 900px) { .closing__text { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 80px; } }

/* ---------- материалы ---------- */
.section--flush { padding-top: 0; }
.mats { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
@media (min-width: 700px) { .mats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.mat__swatch {
  display: block; aspect-ratio: 4 / 5; background: var(--c); position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(31, 25, 21, .08);
}
.mat__swatch::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px);
}
.mat__swatch--net::after {
  background:
    repeating-linear-gradient(0deg, rgba(60,45,35,.26) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(60,45,35,.26) 0 1px, transparent 1px 9px);
}
.mat__no { display: block; margin-top: 16px; font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
.mat h3 { margin-top: 6px; font-size: 30px; }
.mat p { margin-top: 10px; color: var(--muted); max-width: 34ch; }

.kitcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
@media (min-width: 900px) { .kitcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.kitcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kitcard h3 { margin-top: 14px; font-size: 22px; }
.kitcard p { margin-top: 4px; }

/* ---------- отзывы ---------- */
.quotes { display: grid; gap: 48px; margin-top: 44px; }
.quote { margin: 0; }
.quote__img { display: block; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 5; margin-bottom: 22px; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.45; text-wrap: pretty; }
.quote blockquote::before { content: '“'; }
.quote blockquote::after { content: '”'; }
.quote figcaption { margin-top: 16px; }
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
  .quote blockquote { font-size: 24px; }
}

/* ---------- быстрые ответы ---------- */
.qa > h2 { max-width: 20ch; }
.qa .acc { margin-top: 36px; }
.qa > .link { margin-top: 32px; }
@media (min-width: 900px) {
  .qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
  .qa .acc { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .qa > .link { grid-column: 1; margin-top: 28px; align-self: start; }
}

/* ---------- валюта ---------- */
.cur { display: inline-flex; align-items: center; gap: 10px; }
.cur select {
  background: transparent; color: inherit; border: 1px solid var(--cocoa-line); border-radius: 2px;
  font-family: var(--sans); font-size: 13px; padding: 6px 28px 6px 10px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23BFAE9A' stroke-width='1.2'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.cur select option { color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--cocoa); color: var(--cocoa-ink); padding: 72px 0 32px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__top { display: grid; gap: 48px; }
.foot__brand p { color: var(--cocoa-muted); max-width: 32ch; margin-top: 18px; }
.foot .logo { justify-self: start; }
.foot .logo__home { color: var(--cocoa-muted); }

/* подписка: одна линия и стрелка, на тёмном */
.sub { margin-top: 32px; max-width: 320px; }
.sub > .label { color: var(--cocoa-muted); }
.sub__row { display: flex; align-items: center; gap: 10px; margin-top: 10px; border-bottom: 1px solid var(--cocoa-line); }
.sub input {
  flex: 1; min-width: 0; background: none; border: 0; padding: 8px 0;
  font-family: var(--sans); font-size: 16px; color: var(--cocoa-ink);
}
.sub input::placeholder { color: var(--cocoa-muted); }
.sub input:focus { outline: none; }
.sub__row:focus-within { border-bottom-color: var(--cocoa-ink); }
.sub button { background: none; border: 0; padding: 6px; color: var(--cocoa-ink); cursor: pointer; display: flex; }
.sub button svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.sub button:hover svg { transform: translateX(3px); }
.sub .sub__note { font-family: var(--sans); font-size: 12px; line-height: 1.5; color: var(--cocoa-muted); margin-top: 10px; max-width: none; }
.sub.is-done .sub__row { display: none; }

.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.foot__cols h3 { font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--cocoa-muted); margin-bottom: 14px; }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__cols a { font-size: 14px; }
.foot__facts { margin-top: 64px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa-muted); }
.foot__bottom { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--cocoa-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; font-family: var(--sans); font-size: 13px; color: var(--cocoa-muted); }
@media (min-width: 900px) {
  .foot__top { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- inner page head ---------- */
.phead { padding-block: 56px 40px; }
.phead h1 { font-size: clamp(44px, 6.4vw, 84px); max-width: 14ch; }
.phead p { margin-top: 20px; }
@media (min-width: 900px) { .phead { padding-block: 96px 64px; } }

.crumbs { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- shop filter ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 36px; padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 40px; background: transparent;
  font-family: var(--sans); font-size: 14px; letter-spacing: .02em; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips b { font-family: var(--serif); font-weight: 400; font-size: 17px; margin-right: 4px; }
.chips__gap { flex: none; width: 1px; margin: 6px 6px; background: var(--line); }
.empty { padding: 60px 0; color: var(--muted); }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 32px; padding: 20px 0 var(--section); }
.pdp__main { position: relative; background: var(--oat); overflow: hidden; }
.pdp__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; }
.thumbs button { width: 72px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6; transition: opacity .3s, border-color .3s; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.pdp__info h1 { font-size: clamp(48px, 6vw, 80px); }
.pdp__sub { margin-top: 10px; display: flex; align-items: baseline; gap: 12px; }
.pdp__sub b { font-weight: 400; font-size: 34px; line-height: 1; }
.pdp__blurb { margin-top: 22px; max-width: 42ch; }

.pdp__suits { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pdp__suits .meta { font-size: 15px; color: var(--ink); }
.pdp__suits a { text-underline-offset: .3em; text-decoration-color: var(--line); }
.pdp__suits a:hover { text-decoration-color: currentColor; }
.pdp__price { margin-top: 28px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__price strong { font-family: var(--sans); font-weight: 400; font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.opt { margin-top: 28px; border: 0; padding: 0; }
.opt legend { padding: 0; margin-bottom: 12px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.opt legend span { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 400; margin-left: 6px; font-size: 14px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { position: relative; }
.sizes input, .linens input { position: absolute; opacity: 0; pointer-events: none; }
.sizes span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--sans); font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.linens { display: flex; flex-wrap: wrap; gap: 10px; }
.linens span { display: block; padding: 3px; border: 1px solid transparent; border-radius: 50%; cursor: pointer; transition: border-color .3s var(--ease); }
.linens .chip { width: 38px; height: 38px; }
.linens input:checked + span { border-color: var(--ink); }
.linens label:hover span { border-color: var(--line); }
.linens input:checked + span, .linens label:hover input:checked + span { border-color: var(--ink); }
.linens input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

/* подвесной комплект: плитки с фото провода, «только абажур» — текстом */
.kits { display: flex; flex-wrap: wrap; gap: 8px; }
.kits label { position: relative; }
.kits input { position: absolute; opacity: 0; pointer-events: none; }
.kit { display: flex; align-items: center; justify-content: center; width: 64px; height: 80px; border: 1px solid var(--line); cursor: pointer; overflow: hidden; transition: border-color .3s var(--ease); }
.kit img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kit--none { font-family: var(--sans); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; text-align: center; line-height: 1.4; color: var(--muted); }
.kits label:hover .kit { border-color: var(--ink); }
.kits input:checked + .kit { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.kits input:checked + .kit--none { color: var(--ink); }
.kits input:focus-visible + .kit { outline: 2px solid var(--clay); outline-offset: 2px; }
.kits__len { margin-top: 12px; }

.pdp__cta { margin-top: 32px; display: grid; gap: 14px; }
.pdp__cta .btn { width: 100%; }
.pdp__note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; }
.pdp__note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }

@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; padding-top: 28px; }
  .pdp__info { position: sticky; top: calc(var(--head-h) + 28px); }
  .pdp__cta { grid-template-columns: 1fr; }
}

/* чертёж в масштабе */
.scale { padding: var(--section) 0; border-top: 1px solid var(--line); }
.scale__grid { display: grid; gap: 32px; }
.scale__fig { margin: 0; background: #FBF6EE; border: 1px solid var(--line); padding: 20px 12px 12px; }
.scale__fig svg { width: 100%; height: auto; }
.scale__cap { margin-top: 12px; }
@media (min-width: 900px) {
  .scale__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .scale__fig { padding: 36px 28px 20px; }
}
.sc line, .sc rect { vector-effect: non-scaling-stroke; }
.sc__ground { stroke: var(--ink); stroke-width: 1; }
.sc__furn { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.sc__cord { fill: var(--ink); transform-box: fill-box; transform-origin: top; transition: transform .9s var(--ease); }
.sc__lamp { transition: transform .9s var(--ease); }
.sc__lamp path, .sc__lamp ellipse { fill: #F1E8DA; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sc__lamp .sil__rib { fill: none; stroke: var(--ink); stroke-opacity: .28; stroke-width: .8; }
.sc__dim { stroke: var(--clay); stroke-width: 1; }
.sc__txt { font-family: var(--sans); font-size: 7px; fill: var(--clay); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.sc__txt--ink { fill: var(--muted); }
@media (max-width: 699px) { .sc__txt { font-size: 10px; } }
.sc__ann { animation: ann .6s var(--ease) .45s both; }
@keyframes ann { from { opacity: 0; } to { opacity: 1; } }

/* ---------- details / accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 22px; line-height: 1.25;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i {
  flex: none; position: relative; width: 16px; height: 16px;
}
.acc summary i::before, .acc summary i::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink);
  transition: transform .45s var(--ease);
}
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0deg); }
.acc summary:hover { color: var(--clay); }
.acc .acc__a { padding: 0 0 24px; max-width: 62ch; color: var(--muted); }
.acc .acc__a a { color: var(--ink); }
.acc__a table { border-collapse: collapse; font-family: var(--sans); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); margin-top: 4px; }
.acc__a th, .acc__a td { text-align: left; padding: 7px 26px 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.acc__a th { color: var(--muted); }
.specs { margin: 22px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-family: var(--sans); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); }

.details { padding: 0 0 var(--section); }
.details__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .details__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; } }

/* ---------- FAQ page ---------- */
.faq { display: grid; gap: 56px; padding-bottom: var(--section); }
.faq__group { display: grid; gap: 18px; }
.faq__group h2 { font-size: 34px; }
@media (min-width: 900px) {
  .faq__group { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
  .faq__group h2 { position: sticky; top: calc(var(--head-h) + 28px); align-self: start; }
}

/* ---------- studio / trade ---------- */
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pair img + img { display: none; }
@media (min-width: 700px) {
  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .pair img + img { display: block; margin-top: 80px; }
}
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.process li { display: grid; gap: 18px; }
.process img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.process h3 { margin-top: 4px; }
.process p { color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.cols { display: grid; gap: 28px; }
.cols p { max-width: 44ch; }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; } }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list b { font-weight: 400; font-size: 22px; line-height: 1.2; }
.list span { color: var(--muted); }
@media (min-width: 700px) { .list li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; } }

/* ---------- enquiry form ---------- */
.enq { display: grid; gap: 40px; padding-bottom: var(--section); }
@media (min-width: 900px) { .enq { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; align-items: start; } }

.form { display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
.form legend { padding: 0; margin-bottom: 16px; font-size: 26px; }
.form__pair { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__pair { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 7px; }
.field > span { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; font-weight: 500; }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  background: #FBF7F1; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--sans); font-size: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23231C17' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field input::placeholder, .field textarea::placeholder { color: #74695D; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B3A590; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(156, 58, 36, .18); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--clay); }
.field[hidden] { display: none; }
.err { font-family: var(--sans); font-size: 13px; color: var(--clay); min-height: 0; }
.err:empty { display: none; }
.form__err { padding: 14px 16px; border: 1px solid var(--clay); color: var(--clay); font-family: var(--sans); font-size: 14px; }
.form__err:empty { display: none; }
.form__foot { display: grid; gap: 14px; margin-top: 6px; }
.form__foot .btn { width: 100%; }
@media (min-width: 600px) { .form__foot .btn { width: auto; justify-self: start; padding: 0 44px; } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* фото комнаты */
.up { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; cursor: pointer; }
.up input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.up__btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
  border: 1px dashed #B3A590; border-radius: 2px; background: #FBF7F1;
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .3s var(--ease);
}
.up:hover .up__btn { border-color: var(--ink); }
.up input:focus-visible + .up__btn { outline: 2px solid var(--clay); outline-offset: 2px; }
.up__list { display: flex; flex-wrap: wrap; gap: 8px; }
.up__list:empty { display: none; }
.up__cell { position: relative; width: 84px; }
.up__cell img { width: 84px; height: 84px; object-fit: cover; border: 1px solid var(--line); }
.up__cell button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(35, 28, 23, .72); color: #FBF7F1; cursor: pointer;
}
.up__cell button svg { width: 10px; height: 10px; }

.summary { background: #FBF6EE; border: 1px solid var(--line); padding: 20px; }
@media (max-width: 899px) { .summary { order: -1; } }
@media (min-width: 900px) { .summary { position: sticky; top: calc(var(--head-h) + 28px); } }
.summary__head { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; }
.summary__head img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; }
.summary__head b { display: block; font-weight: 400; font-size: 26px; line-height: 1.1; }
.summary dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-family: var(--sans); font-size: 14px; font-variant-numeric: tabular-nums; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.summary__none { color: var(--muted); }

/* ---------- thank you ---------- */
.thanks { min-height: calc(100svh - var(--head-h) - 36px); display: grid; align-content: center; padding-block: 64px; }
.thanks__mark { font-size: 120px; line-height: 1; color: var(--clay); }
.thanks h1 { margin-top: 12px; max-width: 12ch; }
.thanks p { margin-top: 22px; }
.thanks__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

/* «Лучше напишу» — тихая строка под вводным абзацем */
.phead__alt { margin-top: 12px; }
.phead__alt .link { font-size: inherit; }

/* ---------- подпись под заголовком секции ---------- */
.shead__sub { color: var(--muted); max-width: 46ch; margin-top: 4px; }

/* ---------- четыре причины доверять ---------- */
.perks { list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.perks li { display: grid; gap: 4px; }
.perks b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
.perks span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .perks li + li { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ---------- как это работает ---------- */
.how { padding-top: calc(var(--section) * .5); }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; counter-reset: none; }
.how__steps li { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--ink); }
.how__steps .label { color: var(--muted); }
.how__steps b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.how__steps p { color: var(--muted); max-width: 38ch; }
@media (min-width: 900px) { .how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ---------- пресса ---------- */
.press { padding: 72px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 56px; }
.press__list li { display: grid; gap: 10px; max-width: 30ch; }
.press__list q { font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.press__list a { text-decoration: none; color: inherit; }
.press__name { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- липкая кнопка заказа (телефон) ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(232, 227, 220, .97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.buybar.is-on { transform: none; }
.buybar__txt { display: grid; line-height: 1.25; }
.buybar__txt b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.buybar__txt span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.buybar .btn { min-height: 44px; padding: 0 26px; }
@media (min-width: 900px) { .buybar { display: none; } }
@media (max-width: 899px) { body:has(.buybar) { padding-bottom: 68px; } }

/* ---------- каталог: все лампы на одном экране ---------- */
.phead--shop { padding-block: 20px 18px; text-align: center; }
.phead--shop h1 { font-size: clamp(36px, 4.4vw, 60px); max-width: none; }
.phead--shop p { margin-top: 10px; }
.shopgrid { padding-bottom: var(--section); }
.grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; max-width: 1080px; margin: 0 auto; }
.grid--shop .item__name { font-size: 22px; }
.grid--shop .item__row { margin-top: 10px; }
.grid--shop .item__line { font-size: 12px; margin-top: 2px; }
@media (min-width: 700px) { .grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 900px) {
  .phead--shop { padding-block: 48px 40px; }
  .grid--shop .item__name { font-size: 26px; }
}

/* ---------- анонс «скоро»: текст на эспрессо, в размер карточки ---------- */
.item--soon, .slide--soon { text-decoration: none; }
.soon {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  aspect-ratio: 4 / 5; padding: 20px; background: var(--cocoa); color: #F3EEE8;
  transition: background .4s var(--ease);
}
.soon .label { color: rgba(243, 238, 232, .6); margin-bottom: auto; }
.soon b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; }
.soon__line { font-size: 13px; color: rgba(243, 238, 232, .75); }
.soon__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.soon__cta svg { width: 12px; height: 12px; transition: transform .45s var(--ease); }
a:hover > .soon { background: #2A221C; }
a:hover > .soon .soon__cta svg { transform: translateX(3px); }
.slide--soon { scroll-snap-align: start; }
.slide--soon .soon { height: 100%; }
.phead--shop .kicker { margin-bottom: 10px; }
@media (min-width: 900px) {
  .grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; }
  .soon { padding: 24px; }
}

/* ---------- перенесено из версии 2 (20.10) ---------- */

/* значки доверия под кнопкой заказа */
.pdp__trust { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.pdp__trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.pdp__trust svg { width: 22px; height: 22px; flex: none; color: var(--ink); }

/* консультация карточкой */
.ask { padding: 0 0 var(--section); }
.askcard { display: grid; gap: 22px; padding: clamp(32px, 6vw, 72px); border-radius: 20px; background: var(--clay); color: #F3EEE8; }
.askcard .label { color: rgba(243, 238, 232, .65); }
.askcard h2 { font-size: clamp(34px, 4.4vw, 60px); margin-top: 10px; }
.askcard p:not(.label) { color: rgba(243, 238, 232, .82); max-width: 46ch; }
.askcard .btn { margin-top: 22px; }
@media (min-width: 900px) { .askcard { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; } }
@media (max-width: 899px) { .askcard .btn { width: 100%; padding: 0 14px; letter-spacing: .12em; font-size: 11.5px; } }
.pdp > * { min-width: 0; }

/* пять ламп в ряд на широком экране, три на среднем */
@media (min-width: 900px) {
  .grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .grid--shop { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); max-width: 1400px; }
}

/* белый фон студийных кадров сливается с бумагой: лампа лежит на странице, без белой рамки */
.slide img.first, .item__img img, .pdp__main img[src$="/1.jpg"], .thumbs img[src$="/1.jpg"] { mix-blend-mode: multiply; }

/* на компьютере три лампы в ряд, крупно; остальные по центру следующим рядом */
@media (min-width: 900px) {
  .grid--shop {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 28px;
    max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); overflow: visible;
  }
  .grid--shop > * { flex: 0 0 calc((100% - 56px) / 3); min-width: 0; }
  .grid--shop .item__name { font-size: 32px; }
}

/* ---------- студия: история с настоящими фото (21.10) ---------- */
.tale { display: grid; gap: 22px; padding-block: 0 56px; }
.tale__imgs { margin: 0; display: grid; gap: 12px; }
.tale__imgs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.tale__imgs--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tale__txt { display: grid; gap: 14px; align-content: center; }
.tale__txt .kicker { margin: 0; }
.tale__txt h2 { font-size: clamp(30px, 4vw, 52px); max-width: 16ch; }
.tale__txt p:not(.kicker) { color: var(--muted); max-width: 42ch; }
.tale__txt .link { justify-self: start; margin-top: 6px; }
@media (min-width: 900px) {
  .tale { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding-block: 0 112px; }
  .tale__imgs { grid-column: 2 / span 5; }
  .tale__txt { grid-column: 8 / span 4; }
  .tale--rev .tale__imgs { grid-column: 6 / span 7; grid-row: 1; }
  .tale--rev .tale__txt { grid-column: 1 / span 4; grid-row: 1; }
  .tale__imgs--pair { gap: 20px; }
  .tale__imgs--pair figure + figure { margin-top: 72px; }
}
@media (max-width: 899px) { .tale__imgs--pair figure + figure { margin-top: 36px; } }

/* настоящие макро-кадры: без увеличения */
.macro__img img { transform: scale(1.02); transform-origin: 50% 50%; }

/* полоса «студия» на главной */
.studio-tease { background: none; }
.tease { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: var(--max); margin: 0 auto 40px; }
.tease img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (min-width: 900px) { .tease { gap: 20px; max-width: 1100px; } .tease img:nth-child(2) { margin-top: 64px; } }

@media (min-width: 900px) { .tale:not(.tale--rev) .tale__imgs--pair { grid-column: 1 / span 7; } }

/* ---------- кадры из инстаграма (21.10) ---------- */
.pair--mats img { aspect-ratio: 4 / 5; }
.pair__cap { margin-top: 16px; }
.ig__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: var(--max); margin: 0 auto; }
.ig__grid a { display: block; overflow: hidden; }
.ig__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: opacity .3s var(--ease); }
@media (hover: hover) { .ig__grid a:hover img { opacity: .85; } }
@media (min-width: 900px) { .ig__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.linen-note { margin-top: 8px; }

/* ---------- страница лампы, версия 2 (21.10) ---------- */
/* галерея: телефон — листается во всю ширину; большой экран — сетка, первое фото крупно */
.gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); }
.gal::-webkit-scrollbar { display: none; }
.gal__item { flex: 0 0 100%; margin: 0; scroll-snap-align: start; background: var(--oat); }
.gal__item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gal__item img[src$="/1.jpg"] { mix-blend-mode: multiply; }
.gal__count { text-align: right; margin-top: 10px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; overflow: visible; }
  .gal__item--wide { grid-column: 1 / -1; }
  .gal__count { display: none; }
}

/* блок покупки */
.pdp__kicker { margin: 0 0 14px; }
.pdp__info h1 { font-size: clamp(52px, 6vw, 88px); line-height: .95; }
.pdp__info .pdp__price { margin-top: 16px; }
.pdp__info .pdp__blurb { margin-top: 18px; }
.sizes--price span { flex-direction: column; gap: 2px; min-width: 86px; min-height: 58px; padding: 6px 14px; }
.sizes--price b { font-weight: 500; font-size: 15px; }
.sizes--price small { font-size: 12px; color: var(--muted); transition: color .3s var(--ease); }
.sizes--price input:checked + span small { color: var(--cocoa-muted); }
.opt__help { display: inline-flex; margin-top: 12px; font-size: 13px; }
.linens--named { gap: 6px 4px; }
.linens--named label { display: grid; justify-items: center; gap: 6px; width: 62px; cursor: pointer; }
.linens--named em { font-style: normal; font-size: 11px; letter-spacing: .02em; color: var(--muted); text-align: center; line-height: 1.2; }
.linens--named input:checked ~ em { color: var(--ink); }

/* горящая лампа на тёмном */
.glow { background: var(--cocoa); color: var(--cocoa-ink); padding: var(--section) 0; }
.glow__grid { display: grid; gap: 32px; }
.glow__img { margin: 0; }
.glow__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.glow__txt { display: grid; gap: 16px; align-content: center; }
.glow__txt .kicker { margin: 0; color: var(--cocoa-muted); }
.glow__txt h2 { font-size: clamp(40px, 5.4vw, 76px); }
.glow__txt p:not(.kicker) { max-width: 40ch; color: var(--cocoa-ink); }
.glow__txt .meta { color: var(--cocoa-muted); }
.glow__lin { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
@media (min-width: 900px) {
  .glow__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .glow__img { grid-column: 1 / span 6; }
  .glow__txt { grid-column: 8 / span 4; }
}

/* размер: карточки и чертёж рядом */
.fit { padding: var(--section) 0; }
.fit__grid { display: grid; gap: 40px; }
.fit__txt { display: grid; gap: 18px; align-content: start; }
.fit__txt .kicker { margin: 0; }
.fit__txt h2 { font-size: clamp(36px, 4.6vw, 64px); }
.fit__txt > p.muted { max-width: 44ch; }
.fit__txt > .link { justify-self: start; }
.fitcards { display: grid; gap: 10px; margin: 8px 0; }
.fitcard {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "size dims price" "for for for";
  gap: 6px 16px; align-items: baseline; text-align: left; width: 100%;
  padding: 16px 18px; background: transparent; border: 1px solid var(--line); border-radius: 2px;
  font: inherit; color: inherit; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.fitcard b { grid-area: size; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.fitcard .meta { grid-area: dims; }
.fitcard__price { grid-area: price; font-variant-numeric: tabular-nums; }
.fitcard__for { grid-area: for; color: var(--muted); font-size: 14px; }
.fitcard:hover { border-color: var(--ink); }
.fitcard[aria-pressed="true"] { border-color: var(--ink); background: var(--oat); box-shadow: inset 0 0 0 1px var(--ink); }
.fit .scale__fig { background: var(--oat); border: 0; }
.fit .sc__lamp path, .fit .sc__lamp ellipse { fill: var(--lin, #F1E8DA); transition: fill .4s var(--ease); }
@media (min-width: 900px) {
  .fit__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
  .fit .scale__fig { padding: 32px 28px 18px; }
}

/* мастерская */
.made { padding: 0 0 var(--section); }
.made__grid { display: grid; gap: 28px; }
.made__txt { display: grid; gap: 16px; align-content: center; }
.made__txt .kicker { margin: 0; }
.made__txt h2 { font-size: clamp(32px, 4vw, 54px); max-width: 16ch; }
.made__txt p { max-width: 42ch; }
.made__txt .link { justify-self: start; }
.made__imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.made__imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (min-width: 900px) {
  .made__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .made__imgs { gap: 16px; }
  .made__imgs img:nth-child(2) { margin-top: 48px; }
}

/* каталог: при наведении — горящая лампа (как в ряду на главной) */
.item__img img.item__alt { position: absolute; inset: 0; opacity: 0; mix-blend-mode: normal; transition: opacity .4s var(--ease), transform 1.2s var(--ease); }
@media (hover: hover) { .item:hover .item__img img.item__alt { opacity: 1; } }

/* Instagram: лента вразнобой — разная высота и сдвиг, как стена с распечатками */
.ig__strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 24px; align-items: flex-start; }
.ig__strip::-webkit-scrollbar { display: none; }
.ig__post { flex: 0 0 62%; scroll-snap-align: start; display: block; overflow: hidden; }
.ig__post img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.ig__post:nth-child(even) { margin-top: 36px; }
.ig__post:nth-child(3n) img { aspect-ratio: 3 / 4; }
@media (hover: hover) { .ig__post:hover img { transform: scale(1.04); } }
@media (min-width: 900px) {
  .ig__strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 0 auto; padding: 0 0 48px; max-width: var(--max); }
  .ig__post:nth-child(2) { margin-top: 72px; }
  .ig__post:nth-child(3) { margin-top: 24px; }
  .ig__post:nth-child(4) { margin-top: 96px; }
  .ig__post:nth-child(5) { margin-top: 8px; }
  .ig__post:nth-child(6) { margin-top: 56px; }
}

/* ---------- кабели: большие карточки с фактурой (22.10) ---------- */
.kits--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kits--cards .kitc { display: block; position: relative; cursor: pointer; }
.kits--cards .kitc--none { grid-column: 1 / -1; }
.kits--cards .kit { display: grid; width: auto; height: auto; align-items: start; justify-content: stretch; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: var(--oat); }
.kits--cards .kit img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.kits--cards .kit b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.15; padding: 12px 14px 0; color: var(--ink); }
.kits--cards .kit small { display: block; padding: 4px 14px 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.kits--cards .kit em { font-style: normal; padding: 8px 14px 14px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }
.kits--cards .kit--none { display: grid; gap: 2px; padding: 14px; text-align: left; font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--ink); background: none; }
.kits--cards .kit--none b { padding: 0; font-family: var(--sans); font-weight: 500; font-size: 15px; }
.kits--cards .kit--none small { padding: 0; }
.kits--cards .kitc:hover .kit { border-color: var(--ink); }
.kits--cards input:checked + .kit { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.kits--cards input:checked + .kit--none { color: var(--ink); }
.kits--cards input { position: absolute; opacity: 0; pointer-events: none; }
.kits--cards input:focus-visible + .kit { outline: 2px solid var(--clay); outline-offset: 2px; }

/* custom-размер */
.opt__custom { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 46ch; }
.opt__custom .link { display: inline; font-size: inherit; color: var(--ink); }
.fitcard--custom { text-decoration: none; border-style: dashed; }
.fitcard--custom b { font-family: var(--serif); }
.details__more { margin: 22px 0 0; }

.opt__custom a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .28em; white-space: nowrap; }
.opt__custom a:hover { text-decoration-color: currentColor; }
@media (min-width: 900px) { .pdp__info.is-tall { position: static; } }

/* ---------- магазин: корзина, оформление, вилка (22.10) ---------- */
.head__cart { display: inline-flex; align-items: center; gap: 8px; }
.head__cart b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1px solid currentColor; border-radius: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
.head__cart b[hidden] { display: none; }

.cart { display: grid; gap: 40px; padding-bottom: var(--section); }
.cart__empty { display: grid; gap: 22px; justify-items: start; padding: 24px 0 40px; }
.cart__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cartrow { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cartrow__img { display: block; background: var(--oat); }
.cartrow__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; mix-blend-mode: multiply; }
.cartrow__body { display: grid; gap: 6px; align-content: start; }
.cartrow__name { font-family: var(--serif); font-size: 26px; line-height: 1.1; text-decoration: none; color: var(--ink); }
.cartrow__opt { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.cartrow__price { font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 16px; padding-top: 4px; }
.cartrow__ctl { display: flex; align-items: center; gap: 22px; margin-top: 8px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 38px; height: 38px; border: 0; background: none; font: inherit; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--oat); }
.qty b { min-width: 34px; text-align: center; font-weight: 400; font-variant-numeric: tabular-nums; }
.cartrow__rm { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .28em; cursor: pointer; }
.cartrow__rm:hover { color: var(--ink); text-decoration-color: currentColor; }
.cart__list--mini .cartrow { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 14px 0; }
.cart__list--mini .cartrow__name { font-size: 20px; }
.thanks__sum .cart__list--mini .cartrow { grid-template-columns: minmax(0, 1fr) auto; }
.cart__sum { display: grid; gap: 16px; align-content: start; padding: 26px 24px; background: var(--oat); }
.cart__sum h2 { font-size: 26px; }
.cart__sum .btn { width: 100%; }
.cart__sum .link { justify-self: start; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 4px 0 0; font-size: 15px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals__sum { color: var(--ink) !important; font-size: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .cart { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
  .cartrow { grid-template-columns: 112px minmax(0, 1fr) auto; }
  .cart__sum { position: sticky; top: calc(var(--head-h) + 28px); }
}
.thanks__sum { max-width: 520px; margin: 28px auto 0; text-align: left; }
.enq--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* вилка у настольных */
.plugs { display: flex; flex-wrap: wrap; gap: 8px; }
.plugs label { position: relative; }
.plugs input { position: absolute; opacity: 0; pointer-events: none; }
.plugs span { display: grid; justify-items: center; gap: 2px; width: 84px; padding: 10px 6px 9px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease); }
.plugs svg { width: 34px; height: 34px; color: var(--ink); margin-bottom: 4px; }
.plugs b { font-family: var(--sans); font-weight: 500; font-size: 13px; }
.plugs small { font-size: 11px; color: var(--muted); }
.plugs label:hover span { border-color: var(--ink); }
.plugs input:checked + span { border-color: var(--ink); background: var(--oat); box-shadow: inset 0 0 0 1px var(--ink); }
.plugs input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.plug-note { margin-top: 10px; max-width: 46ch; }
.plug-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .28em; }

/* кнопка после добавления и сообщение */
.btn.is-added { background: var(--cocoa); border-color: var(--cocoa); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--cocoa); color: var(--cocoa-ink); font-size: 14px; line-height: 1.4; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast b { font-weight: 500; }
.toast a { color: inherit; margin-left: 8px; text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 899px) { .toast { bottom: 84px; } }
.enq--single { max-width: var(--max); }
.enq--single .form { max-width: 640px; }
.plugs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.plugs span { width: auto; }

/* ---------- материалы: настоящие образцы (22.10) ---------- */
.mat__photo { display: block; position: relative; overflow: hidden; background: var(--oat); aspect-ratio: 4 / 5; }
.mat__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mat__dot { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #FBF6EE, 0 2px 8px rgba(31, 25, 21, .2); }
.matshero { display: grid; gap: 28px; padding-bottom: var(--section); }
.matshero__fig { margin: 0; }
.matshero__fig img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.matshero__txt { display: grid; gap: 14px; align-content: center; }
.matshero__txt .kicker { margin: 0; }
.matshero__txt h2 { font-size: clamp(34px, 4.6vw, 62px); max-width: 14ch; }
.matshero__txt p.muted { max-width: 40ch; }
@media (min-width: 900px) {
  .matshero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .matshero__fig { grid-column: 1 / span 5; }
  .matshero__txt { grid-column: 7 / span 5; }
}
@media (min-width: 700px) { .mats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; } }



/* увеличение фото: кабели, галерея, материалы (22.10) */
.kits--cards .kit { position: relative; }
.kit__zoom { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(251, 246, 238, .92); color: var(--ink); cursor: zoom-in; }
.kit__zoom svg { width: 18px; height: 18px; }
.kit__zoom:hover { background: #FBF6EE; }
[data-zoom] { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(20, 15, 12, .94); cursor: zoom-out; }
.zoom img { max-width: min(92vw, 980px); max-height: 90vh; width: auto; height: auto; object-fit: contain; }
.zoom__x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(243, 238, 232, .4); border-radius: 50%; background: none; color: #F3EEE8; cursor: pointer; }
.zoom__x svg { width: 16px; height: 16px; }

.ws-strip { margin: 0; padding: 0 var(--gutter) 64px; text-align: center; color: var(--muted); font-size: 15px; }
.ws-strip a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .28em; }
.ws-strip a:hover { text-decoration-color: currentColor; }

.preview-note { margin: 0 0 8px; padding: 12px 16px; background: var(--oat); border-left: 2px solid var(--clay); font-size: 14px; line-height: 1.45; color: var(--ink); }
.preview-note b { font-weight: 500; }

.edges span { min-width: 110px; }

/* Переключатель языка EN / ID (версия для Индонезии) */
.lang { display: inline-flex; align-items: center; gap: 2px; margin-right: 18px; }
.lang button {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  background: none; border: 0; padding: 6px 5px; color: inherit; opacity: .55; cursor: pointer;
}
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.lang button:hover { opacity: 1; }
.foot .lang { margin-right: 0; }
.head .lang { margin-right: 14px; }
@media (max-width: 520px) {
  .head__end .head__link { display: none; }
  .head .lang { margin-right: 0; }
}

/* Строка под кнопкой «Order on WhatsApp» */
.pdp__pay { margin: -4px 0 0; }
.foot .sub .btn { margin-top: 12px; }

/* ---------- главная, версия 3 (30.10): товар сразу, меньше воздуха ----------
   Короткая обложка → лампы с ценами → доверие → плотная сетка интерьеров → как заказать → остальное.
   На первом экране телефона видна первая строка ламп, каждый следующий блок заглядывает снизу. */
body.home { --section: 52px; }
@media (min-width: 900px) { body.home { --section: 84px; } }
.home main h2 { font-size: clamp(27px, 3vw, 40px); line-height: 1.1; }

.homehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 16px; }
.homehead p { font-size: 13.5px; color: var(--muted); }
.homehead .link { font-size: 10.5px; }
@media (min-width: 900px) { .homehead { margin-bottom: 24px; } }

/* обложка */
.hero { height: clamp(330px, 48svh, 430px); min-height: 0; }
.hero__media::after { background: linear-gradient(to bottom, rgba(20,15,12,.5) 0%, rgba(20,15,12,0) 30%, rgba(20,15,12,.15) 48%, rgba(20,15,12,.78) 100%); }
.hero__text { padding-bottom: 24px; gap: 8px; }
.hero h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; max-width: none; text-wrap: balance; }
@media (min-width: 900px) {
  .hero { height: clamp(380px, 52svh, 580px); }
  .hero__text { padding-bottom: 32px; gap: 10px; }
}

/* лампы */
.lamps { padding: 20px 0 var(--section); }
@media (min-width: 900px) { .lamps { padding-top: 28px; } }
.lamps__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { .lamps__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; } }
@media (min-width: 1100px) { .lamps__row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.slide { display: block; text-decoration: none; color: var(--ink); }
.slide__img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--oat); }
.slide__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide img.first { mix-blend-mode: multiply; }
.slide img.alt { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); }
@media (hover: hover) { .slide:hover img.alt { opacity: 1; } }
@media (hover: none) { .slide img.alt { display: none; } }
.slide__info { display: grid; gap: 1px; padding-top: 9px; }
.slide__name { font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.slide__price { font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.slide__meta { font-size: 12.5px; color: var(--muted); }
.slide__dots { display: flex; gap: 5px; margin-top: 7px; }
.slide__dots .chip { width: 11px; height: 11px; box-shadow: 0 0 0 1px var(--line); }
.slide--soon { min-height: 150px; }

/* доверие */
.perks { margin: 24px 0 0; padding: 16px 0 0; gap: 16px 18px; }
.perks b { font-size: 16.5px; }
.perks span { font-size: 12.5px; line-height: 1.35; }
@media (min-width: 900px) { .perks { margin-top: 36px; padding-top: 20px; gap: 24px; } .perks li + li { padding-left: 24px; } }

/* интерьеры */
.journal { padding-bottom: 0; }
.look { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.look__item { position: relative; display: block; margin: 0; overflow: hidden; text-decoration: none; color: #F3EEE8; background: var(--oat); }
.look__item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
a.look__item:hover img { transform: scale(1.03); }
.look__item:nth-child(3n+1) { grid-column: 1 / -1; }
.look__item:nth-child(3n+1) img { aspect-ratio: 1 / 1; }
.look__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px;
  padding: 26px 10px 9px; font-size: 12px; background: linear-gradient(to bottom, rgba(20,15,12,0), rgba(20,15,12,.62));
}
.look__cap b { font-family: var(--serif); font-weight: 400; font-size: 18px; }
@media (min-width: 700px) {
  .look { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .look__item:nth-child(3n+1) { grid-column: auto; }
  .look__item:nth-child(3n+1) img { aspect-ratio: 4 / 5; }
}
@media (min-width: 1100px) {
  .look { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .look__item:first-child { grid-column: span 2; grid-row: span 2; }
  .look__item:first-child img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* как заказать */
.how { padding-bottom: 0; }
.how__steps { gap: 0; }
.how__steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 4px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.how__steps .label { padding-top: 5px; }
.how__steps b { display: block; font-size: 21px; margin-bottom: 3px; }
.how__steps p { font-size: 14px; line-height: 1.45; max-width: 48ch; }
.how__cta { margin-top: 14px; }
.how__cta .btn { width: 100%; }
@media (min-width: 900px) {
  .how__steps { gap: 28px; }
  .how__cta { margin-top: 24px; text-align: center; }
  .how__cta .btn { width: auto; padding-inline: 48px; }
}

/* студия */
.studio-tease { padding-bottom: var(--section); }
.tease { gap: 6px; margin: 0; max-width: none; }
.tease img { aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .tease { gap: 8px; max-width: none; } .tease img:nth-child(2) { margin-top: 0; } }

/* помощь, вопросы */
.home .ask { padding-bottom: 0; }
.askcard { gap: 14px; padding: clamp(24px, 4vw, 48px); border-radius: 14px; }
.home main .askcard h2 { font-size: clamp(27px, 3.4vw, 44px); margin-top: 6px; }
.askcard .btn { margin-top: 14px; }
.qa .acc { margin-top: 12px; }
.qa > .link { margin-top: 18px; }
@media (min-width: 900px) { .qa .acc { margin-top: 0; } }

/* инстаграм: ровный ряд */
.home .ig { padding-top: 0; padding-bottom: 28px; }
.ig__strip { gap: 6px; padding-bottom: 0; }
.ig__post { flex-basis: 40%; }
.ig__post:nth-child(even) { margin-top: 0; }
.ig__post:nth-child(3n) img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .ig__strip { gap: 8px; padding-bottom: 0; }
  .ig__post:nth-child(n) { margin-top: 0; }
}
.ws-strip { padding-bottom: 36px; font-size: 14px; }

/* финальный кадр */
.closing { height: clamp(280px, 42svh, 440px); min-height: 0; }
.closing img { object-position: 50% 28%; }
.closing__text { bottom: 24px; gap: 12px; justify-items: start; }
@media (min-width: 900px) { .closing__text { bottom: 36px; } }
/* большой экран: на первом экране вся строка ламп вместе с ценами */
@media (min-width: 900px) {
  .hero { height: clamp(320px, 42svh, 500px); }
  .hero__media img { object-position: 40% 3%; }
  .tease img { aspect-ratio: 4 / 3; }
  .qa { grid-template-rows: auto 1fr; }
}
.closing::after { background: linear-gradient(to bottom, rgba(20,15,12,0) 25%, rgba(20,15,12,.72)); }
/* фото обложки вписаны в её высоту, иначе кадрирование не работает */
.hero__media { grid-template-rows: minmax(0, 1fr); }
.hero__media img { min-height: 0; object-position: 40% 3%; }
@media (min-width: 900px) { .hero__media img.hero__second { object-position: 50% 42%; } }
@media (min-width: 900px) {
  .hero__media::after { background: linear-gradient(to bottom, rgba(20,15,12,.6) 0%, rgba(20,15,12,.12) 26%, rgba(20,15,12,.42) 58%, rgba(20,15,12,.82) 100%); }
}

/* главная, правка 30.10: обложка выше, видна обстановка, до ламп примерно полскролла; лампы в два ряда */
.hero { height: clamp(400px, 62svh, 560px); }
@media (min-width: 900px) {
  .hero { height: clamp(460px, 66svh, 780px); }
  .slide__img { aspect-ratio: 1 / 1; }
  .slide__name { font-size: 28px; }
  .slide__price { font-size: 15.5px; }
}
@media (min-width: 1100px) { .lamps__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; } }

/* B2B: тёмный блок, виллы, рестораны, отели */
.projects { margin-top: var(--section); padding: 32px 0 20px; background: var(--cocoa); color: #F3EEE8; }
.projects__head { display: grid; gap: 14px; margin-bottom: 20px; }
.projects .label { color: rgba(243, 238, 232, .6); }
.home main .projects h2 { margin-top: 6px; }
.projects__head p:not(.label) { color: rgba(243, 238, 232, .78); max-width: 46ch; font-size: 14.5px; }
.projects__head .btn { margin-top: 14px; width: 100%; padding: 0 14px; letter-spacing: .12em; font-size: 11.5px; }
.projects__imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.projects__imgs figure { margin: 0; }
.projects__imgs img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.projects__imgs figcaption { padding: 8px 0 6px; font-size: 12.5px; color: rgba(243, 238, 232, .78); }
@media (min-width: 900px) {
  .projects { padding: 56px 0 36px; }
  .projects__head { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; margin-bottom: 28px; }
  .projects__head .btn { width: auto; padding: 0 36px; letter-spacing: .2em; font-size: 10.5px; }
  .projects__imgs { gap: 8px; }
  .projects__imgs img { aspect-ratio: 4 / 3; }
}

/* интерьеры: сплошная сетка без рамок, от края до края, подпись одной тихой строкой */
.look { gap: 0; }
.look__item:nth-child(3n+1) { grid-column: auto; }
.look__item:nth-child(3n+1) img { aspect-ratio: 4 / 5; }
.look__item:first-child { grid-column: 1 / -1; }
.look__item:first-child img { aspect-ratio: 1 / 1; }
.look__cap { gap: 0 6px; padding: 22px 10px 8px; font-size: 11.5px; background: linear-gradient(to bottom, rgba(20,15,12,0), rgba(20,15,12,.42)); }
.look__cap b { font-family: var(--sans); font-weight: 500; font-size: 11.5px; }
.look__cap span { color: rgba(243, 238, 232, .85); }
@media (min-width: 700px) {
  .look { gap: 0; }
  .look__item:first-child { grid-column: auto; }
  .look__item:first-child img { aspect-ratio: 4 / 5; }
}
@media (min-width: 1100px) {
  .look { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .look__item:first-child { grid-column: span 2; grid-row: span 2; }
  .look__item:first-child img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .look__cap { padding: 26px 14px 10px; }
}

/* финальный кадр: портретное фото не растягиваем на всю ширину, лампы должны быть видны целиком */
.closing { height: clamp(340px, 54svh, 480px); }
.closing img { object-position: 50% 34%; }
@media (min-width: 900px) {
  .closing { height: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); align-items: center; column-gap: 8vw; padding: 48px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .closing::after { display: none; }
  .closing img { position: static; grid-column: 2; grid-row: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 68svh; object-position: 50% 30%; }
  .closing__text { position: static; grid-column: 1; grid-row: 1; justify-self: end; text-align: left; }
}

/* плюсы под лампами: плитки на тёмной подложке, чтобы текст не терялся на фоне */
.perks { border-top: 0; margin: 28px 0 0; padding: 0; gap: 10px; }
.perks li { background: var(--oat); border-radius: 14px; padding: 16px 16px 15px; gap: 6px; align-content: start; position: relative; }
.perks li::before { content: ''; width: 22px; height: 2px; background: var(--clay); margin-bottom: 6px; }
.perks b { color: var(--ink); font-size: 17px; }
.perks span { color: #4F463F; font-size: 13px; line-height: 1.4; }
@media (min-width: 900px) {
  .perks { margin-top: 36px; gap: 12px; }
  .perks li + li { padding-left: 20px; border-left: 0; }
  .perks li { padding: 20px 20px 18px; }
}

/* ---------- отзывы: карточки ---------- */
.quotes { display: flex; gap: 12px; margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 84%; max-width: 380px; scroll-snap-align: start; margin: 0; display: grid; grid-template-rows: auto 1fr; background: #F3EFE9; border-radius: 16px; overflow: hidden; position: relative; }
.quote__img { display: block; aspect-ratio: 4 / 5; margin: 0; background: var(--oat); }
.quote__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote__body { padding: 18px 20px 20px; display: grid; gap: 12px; align-content: start; }
.quote--text { grid-template-rows: 1fr; align-content: center; min-height: 260px; }
.quote--text .quote__body { padding: 28px 24px; }
.quote--text blockquote { font-size: 24px; }
.quote__stars { display: flex; gap: 3px; color: var(--clay); }
.quote__stars svg { width: 15px; height: 15px; fill: currentColor; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.4; text-wrap: pretty; }
.quote blockquote::before, .quote blockquote::after { content: none; }
.quote__who { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 13px; color: var(--muted); }
.quote__who b { font-weight: 500; color: var(--ink); }
.quote__who a { margin-left: auto; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); text-decoration: none; border-bottom: 1px solid currentColor; }
.quote[data-demo]::after { content: 'Layout preview'; position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(31, 25, 21, .72); color: #F3EEE8; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px) {
  .quotes { margin: 40px 0 0; padding: 0 0 6px; gap: 16px; }
  .quote { flex: 0 0 calc((100% - 32px) / 3); max-width: none; }
  .quote blockquote { font-size: 20px; }
}
.quote--text .quote__body { align-self: center; gap: 16px; }
.quote[data-demo].quote--text::after { top: 10px; }

/* семь ламп: на большом экране четыре в ряду (4 + 3), а не 3 + 3 + 1 */
@media (min-width: 1100px) { .lamps__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* галерея на странице лампы: стрелки и перетаскивание мышью, на телефоне по-прежнему свайп */
.gal-frame { position: relative; margin: 0 calc(var(--gutter) * -1); }
.gal-frame .gal { margin: 0; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(243, 238, 232, .92); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.gal__nav[hidden] { display: none; }
.gal__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gal__nav--prev { left: 10px; }
.gal__nav--next { right: 10px; }
@media (hover: hover) { .gal { cursor: grab; } .gal.is-drag { cursor: grabbing; user-select: none; } }
@media (min-width: 900px) {
  .gal-frame { margin: 0; }
  .gal__nav { display: none; }
  .gal { cursor: auto; }
}
