/* Ayo Accessories — кремовый, чёрный, шампань. Палитра взята с логотипа. */
:root {
  --bg: #F7F0E4;
  --bg-2: #EFE5D3;
  --ink: #1B1714;
  --ink-2: #5E554B;
  --line: rgba(27, 23, 20, .16);
  --gold: #A8865A;
  --wrap: min(1320px, calc(100vw - 2 * var(--pad)));
  --pad: clamp(20px, 4vw, 56px);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ссылки с подчёркиванием, которое рисуется */
.link {
  position: relative;
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
@media (hover: hover) {
  .link:hover::after { transform: scaleX(1); transform-origin: left; }
}
.contacts .link { font: inherit; letter-spacing: 0; text-transform: none; }

.bracket {
  display: inline-block;
  font: 500 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: letter-spacing .4s var(--ease-out), color .3s;
}
@media (hover: hover) { .bracket:hover { letter-spacing: .24em; color: var(--gold); } }

/* кнопка: заливка выезжает снизу */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 32px;
  background: var(--ink); color: var(--bg);
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform .16s ease-out;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn span { transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover span { transform: translateX(3px); }
}
.btn:active { transform: scale(.97); }
.btn--full { width: 100%; }

/* ───────── ШЁЛК: CSS-ткань вместо фото (до ваших снимков) ───────── */
.silk {
  --a: #E9D9BE; --b: #C9B08A; --c: #FBF3E3;
  position: relative; width: 100%; height: 100%;
  background:
    radial-gradient(120% 70% at 30% 20%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(118deg,
      var(--b) 0%, var(--a) 14%, var(--c) 24%, var(--a) 34%, var(--b) 45%,
      var(--a) 56%, var(--c) 66%, var(--a) 77%, var(--b) 90%, var(--a) 100%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, 30% 50%;
  transition: background-position 1.6s var(--ease-out);
  overflow: hidden;
}
.silk::before { /* мягкие складки */
  content: ""; position: absolute; inset: -20%;
  background: repeating-linear-gradient(100deg,
    rgba(0,0,0,0) 0 7%, rgba(0,0,0,.07) 9%, rgba(0,0,0,0) 12%,
    rgba(255,255,255,.12) 15%, rgba(0,0,0,0) 18% 26%);
  transform: rotate(-6deg);
  mix-blend-mode: multiply;
}
.silk::after { /* зерно ткани */
  content: ""; position: absolute; inset: 0; opacity: .22; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.silk[data-tone="champagne"] { --a:#E8D6B6; --b:#C3A47A; --c:#FAF1DF; }
.silk[data-tone="mocha"]     { --a:#8C6A55; --b:#5E4334; --c:#B89178; }
.silk[data-tone="graphite"]  { --a:#3B3836; --b:#1F1D1C; --c:#6A6560; }
.silk[data-tone="rose"]      { --a:#D9B1AA; --b:#B48A84; --c:#F1D6D0; }
.silk[data-tone="cream"]     { --a:#F1E6D2; --b:#D6C4A6; --c:#FFFBF2; }
.silk[data-tone="olive"]     { --a:#8C8A66; --b:#625F43; --c:#B3B08D; }
.silk[data-tone="bordeaux"]  { --a:#6E2A33; --b:#45161D; --c:#9A4B55; }
.silk[data-tone="sky"]       { --a:#AFC0CC; --b:#8399A8; --c:#D7E2E9; }
.silk[data-tone="caramel"]   { --a:#B98656; --b:#8A5D35; --c:#DDB083; }
.silk[data-tone="beige"]     { --a:#D9C6AA; --b:#B49F82; --c:#EFE2CC; }
.silk[data-tone="black"]     { --a:#262322; --b:#0F0E0D; --c:#4C4744; }
.silk[data-tone="paisley"]   { --a:#5B3A45; --b:#38232B; --c:#86606C; }
.silk[data-tone="paisley"]::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(214,180,140,.35) 0 6%, transparent 7%),
    radial-gradient(circle at 70% 60%, rgba(214,180,140,.3) 0 8%, transparent 9%),
    radial-gradient(circle at 45% 85%, rgba(160,120,150,.35) 0 5%, transparent 6%);
  background-size: 34% 34%;
  mix-blend-mode: screen; transform: rotate(-12deg);
}
.silk[data-knit]::before { /* вязка для шапок */
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.13) 0 2px, rgba(255,255,255,.08) 2px 7px, rgba(0,0,0,0) 7px 10px);
  transform: none; inset: 0;
}
.silk[data-tone="milk-knit"] { --a:#EFE6D8; --b:#D3C5AF; --c:#FFFAF0; }
.silk--hero { animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 0 0, 80% 50%; } }

/* ───────── ШАПКА ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; padding: 0 var(--pad);
  transition: background .4s, box-shadow .4s, height .4s;
}
.nav.is-scrolled { background: rgba(247, 240, 228, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); height: 62px; }
.nav__side { display: flex; gap: 32px; align-items: center; }
.nav__side--right { justify-content: flex-end; }
.nav__logo { font: 400 40px/1 var(--script); padding: 6px 12px; transition: transform .4s var(--ease-out); }
@media (hover: hover) { .nav__logo:hover { transform: rotate(-4deg) scale(1.04); } }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; }
.cart-btn::after { bottom: -6px; }
.cart-btn__count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-size: 10px; letter-spacing: 0;
}
.cart-btn__count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 35; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--pad);
}
.menu[hidden], .drawer[hidden] { display: none; }
.menu a { font: 400 clamp(40px, 12vw, 64px)/1.15 var(--serif); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: .05s; }
.menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; }

/* ───────── ПЕРВЫЙ ЭКРАН ───────── */
.hero {
  position: relative;
  height: 100svh; min-height: 640px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 26vw) 1fr;
  grid-template-rows: 1fr auto 1fr;
  padding: 96px var(--pad) 40px;
  overflow: hidden;
}
.hero__arch {
  grid-column: 2; grid-row: 1 / 4;
  align-self: stretch; justify-self: stretch;
  margin: 0 auto; width: 100%;
  max-height: calc(100svh - 136px);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  position: relative; z-index: 2;
  box-shadow: 0 40px 80px -40px rgba(60, 40, 20, .45);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.hero__word {
  grid-column: 1 / 4; grid-row: 2;
  position: relative; z-index: 1;
  text-align: center;
  font: 400 min(33vw, 50svh)/.7 var(--script);
  letter-spacing: -.01em;
  padding: .15em 0 .2em;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(247, 240, 228, .25);
}
.hero__brand {
  grid-column: 1 / 4; grid-row: 3; align-self: start;
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 4.5svh;
}
.hero__acc { font: 500 clamp(14px, 1.6vw, 22px)/1 var(--serif); letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; }
.hero__since { font: 400 clamp(18px, 1.8vw, 26px)/1 var(--script); color: var(--ink-2); }
.hero__lead {
  grid-column: 1; grid-row: 1; align-self: center;
  max-width: 330px; display: grid; gap: 14px; z-index: 3; justify-items: start;
}
.hero__lead h1 { font: 500 clamp(22px, 2vw, 30px)/1.1 var(--serif); letter-spacing: .02em; text-transform: uppercase; }
.hero__lead p { color: var(--ink-2); font-size: 14px; }
.hero__cta { grid-column: 1; grid-row: 3; align-self: end; z-index: 3; }
.hero__aside {
  grid-column: 3; grid-row: 3; align-self: end; justify-self: end;
  text-align: right; max-width: 260px; display: grid; gap: 12px; justify-items: end; z-index: 3;
}
.hero__aside p { font: 500 12px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* вход первого экрана */
.js [data-enter] { opacity: 0; }
.js.is-ready [data-enter] { opacity: 1; transition: opacity .8s var(--ease-out) .1s; }
.js [data-enter="arch"] { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.js [data-enter="arch"] img { transform: scale(1.18); }
.js.is-ready [data-enter="arch"] { clip-path: inset(0 0 0 0 round 999px 999px 0 0); transition: clip-path 1.4s var(--ease-out), opacity .3s; }
.js.is-ready [data-enter="arch"] img { transform: scale(1); transition: transform 2s var(--ease-out); }
.js [data-enter="write"] { clip-path: inset(-20% 100% -20% 0); }
.js.is-ready [data-enter="write"] { clip-path: inset(-20% -5% -20% 0); transition: clip-path 1.8s cubic-bezier(.65, 0, .35, 1) .45s, opacity .2s .45s; }
.js [data-enter="rise"] { transform: translateY(14px); }
.js.is-ready [data-enter="rise"] { transform: none; transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }

/* ───────── БЕГУЩАЯ СТРОКА ───────── */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 38s linear infinite; }
.marquee span { font: 400 clamp(26px, 3vw, 40px)/1 var(--script); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── ОБЩЕЕ ДЛЯ СЕКЦИЙ ───────── */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.head__note { max-width: 340px; color: var(--ink-2); font-size: 14px; }
.h2 { font: 400 clamp(52px, 8vw, 116px)/.9 var(--serif); text-transform: uppercase; letter-spacing: -.01em; overflow: hidden; padding-bottom: .06em; }
.h2 span { display: inline-block; }
.js [data-reveal] span { transform: translateY(105%); }
.js [data-reveal].is-in span { transform: none; transition: transform 1.1s var(--ease-out); }
.js [data-reveal-card] { opacity: 0; transform: translateY(18px); }
.js [data-reveal-card].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }

/* ───────── КАТАЛОГ ───────── */
.cat-list { border-top: 1px solid var(--line); }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list a {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0;
  transition: padding .5s var(--ease-out), color .3s;
}
.cat-list em { font: 400 13px/1 var(--sans); font-style: normal; color: var(--ink-2); letter-spacing: .1em; }
.cat-list span { font: 400 clamp(32px, 5vw, 72px)/1 var(--serif); transition: transform .6s var(--ease-out), font-style .3s; }
.cat-list b { font-weight: 400; font-size: 26px; opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .5s var(--ease-out); }
@media (hover: hover) {
  .cat-list a:hover span { transform: translateX(18px); font-style: italic; }
  .cat-list a:hover b { opacity: 1; transform: none; }
  .cat-list:hover a:not(:hover) { color: rgba(27, 23, 20, .32); }
}
.cat-preview {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 240px; height: 320px; margin: -160px 0 0 -120px;
  border-radius: 999px 999px 0 0; overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: scale(.6);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
  box-shadow: 0 30px 60px -30px rgba(40, 25, 10, .5);
}
.cat-preview.is-on { opacity: 1; transform: scale(1); }
@media (hover: none) { .cat-preview { display: none; } }

/* ───────── МАГАЗИН ───────── */
.shop { background: var(--bg-2); }
.chips { position: relative; display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  position: relative; z-index: 1;
  height: 44px; padding: 0 18px;
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); transition: color .35s;
}
.chip.is-active { color: var(--bg); }
@media (hover: hover) { .chip:not(.is-active):hover { color: var(--ink); } }
.chips__ink {
  position: absolute; left: 0; top: 0; height: 44px; width: 0;
  background: var(--ink); border-radius: 22px;
  transition: transform .55s var(--ease-drawer), width .55s var(--ease-drawer), top .55s var(--ease-drawer);
}
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { display: grid; gap: 14px; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.card.is-hidden { display: none; }
.card.is-entering { opacity: 0; transform: translateY(16px) scale(.98); }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; transition: transform .5s var(--ease-out); }
.card__media .silk { transition: transform .9s var(--ease-out), background-position 1.6s var(--ease-out); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.card__tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  background: rgba(247, 240, 228, .9); padding: 7px 9px;
}
.card__add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  height: 46px; background: var(--ink); color: var(--bg);
  font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(calc(100% + 14px));
  transition: transform .5s var(--ease-out), background .3s;
}
.card__add:active { transform: scale(.97); }
.card__add.is-added { background: var(--gold); }
@media (hover: hover) {
  .card:hover .card__media { transform: translateY(-2px); }
  .card:hover .silk { transform: scale(1.03); background-position: 0 0, 75% 50%; }
  .card:hover img { transform: scale(1.03); }
  .card:hover .card__add, .card:focus-within .card__add { transform: none; }
}
@media (hover: none) { .card__add { transform: none; position: static; width: 100%; margin-top: -2px; } .card__media { overflow: hidden; } }
.card__meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.card__kind { font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.card__name { font: 500 22px/1.15 var(--serif); }
.card__price { font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* летящая точка в корзину */
.fly { position: fixed; z-index: 60; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); pointer-events: none; }

/* ───────── ЦИТАТА ───────── */
.quote { min-height: 90vh; display: grid; align-items: center; }
.quote .wrap { position: relative; }
.quote__text { font: 400 clamp(40px, 6.4vw, 96px)/1.04 var(--serif); max-width: 15ch; }
.quote__text .w { color: rgba(27, 23, 20, .16); transition: color .3s; }
.quote__text .w.on { color: var(--ink); }
.quote__sign { position: absolute; right: 0; bottom: -.3em; font: 400 clamp(80px, 12vw, 180px)/1 var(--script); color: var(--gold); opacity: .9; }

/* ───────── ЗАКАЗ ───────── */
.order { background: var(--ink); color: var(--bg); }
.order .bracket { color: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(247, 240, 228, .16); border: 1px solid rgba(247, 240, 228, .16); }
.step { background: var(--ink); padding: clamp(28px, 3vw, 44px); display: grid; gap: 14px; align-content: start; min-height: 260px; transition: background .5s; }
@media (hover: hover) { .step:hover { background: #24201C; } }
.step__n { font: 400 54px/1 var(--script); color: var(--gold); }
.step h3 { font: 400 34px/1 var(--serif); text-transform: uppercase; }
.step p { color: rgba(247, 240, 228, .7); max-width: 30ch; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid rgba(247, 240, 228, .16); }
.contacts__k { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.contacts p { font: 400 22px/1.3 var(--serif); }

/* ───────── ПОДВАЛ ───────── */
.footer { background: var(--ink); color: var(--bg); overflow: hidden; padding-top: 24px; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(247, 240, 228, .6); padding-bottom: 12px; }
.footer__word { font: 400 clamp(160px, 34vw, 520px)/.8 var(--script); text-align: center; margin-bottom: -.12em; color: var(--bg); }

/* ───────── КОРЗИНА ───────── */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__veil { position: absolute; inset: 0; background: rgba(27, 23, 20, .4); opacity: 0; transition: opacity .45s; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .55s var(--ease-drawer);
  padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom));
}
@media (min-width: 640px) { .drawer__panel { padding-inline: 32px; } }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 400 40px/1 var(--serif); text-transform: uppercase; }
.drawer__x { width: 44px; height: 44px; font-size: 16px; transition: transform .4s var(--ease-out); }
@media (hover: hover) { .drawer__x:hover { transform: rotate(90deg); } }
.drawer__list { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: itemIn .5s var(--ease-out) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(16px); } }
.drawer__thumb { width: 64px; height: 80px; overflow: hidden; }
.drawer__name { font: 500 19px/1.15 var(--serif); }
.drawer__kind { font: 500 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; display: block; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border: 1px solid var(--line); }
.qty button { width: 32px; height: 32px; transition: background .2s; }
@media (hover: hover) { .qty button:hover { background: var(--bg-2); } }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.drawer__rm { font: 500 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 10px 0 10px 10px; }
.drawer__empty { padding: 32px 0; color: var(--ink-2); }
.drawer__foot { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer__hint { font-size: 12.5px; color: var(--ink-2); }
.drawer.is-empty .drawer__foot .btn { opacity: .35; pointer-events: none; }

/* уведомление */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  background: var(--ink); color: var(--bg); padding: 14px 20px;
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .5s var(--ease-drawer), visibility 0s .5s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-drawer); }

/* ───────── АДАПТИВ ───────── */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav__side:not(.nav__side--right) { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__logo { order: -1; padding-left: 0; }
  .nav__hide-sm { display: none; }
  .burger { display: block; }
  .nav__side--right { gap: 14px; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    padding-top: 92px; gap: 0; min-height: auto;
  }
  .hero__arch { grid-column: 1; grid-row: 1; width: min(68vw, 340px); height: min(88vw, 440px); max-height: none; }
  .hero__word { grid-column: 1; grid-row: 1; align-self: end; font-size: 46vw; margin-bottom: -.08em; }
  .hero__brand { grid-column: 1; grid-row: 2; margin-top: 15vw; }
  .hero__lead { grid-column: 1; grid-row: 3; max-width: none; margin-top: 36px; }
  .hero__cta { grid-column: 1; grid-row: 4; margin-top: 24px; }
  .hero__cta .btn { width: 100%; }
  .hero__aside { grid-column: 1; grid-row: 5; justify-self: start; text-align: left; justify-items: start; margin-top: 28px; }

  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .contacts { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .cat-list a { grid-template-columns: 44px 1fr auto; }
  .cat-list b { opacity: 1; transform: none; font-size: 20px; }
  .quote { min-height: 70vh; }
}
@media (max-width: 480px) {
  .grid { gap: 14px 10px; }
  .card__name { font-size: 18px; }
  .card__meta { flex-direction: column; gap: 6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-enter], .js [data-reveal] span, .js [data-reveal-card] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}


/* ───────── дополнительные тона заглушек ───────── */
.silk[data-tone="leather"]         { --a:#2A2523; --b:#141110; --c:#5A504B; }
.silk[data-tone="leather-caramel"] { --a:#A86E3E; --b:#704522; --c:#D19A68; }
.silk[data-tone="gold"]  { --a:#D8B66E; --b:#9E7A3A; --c:#F6E2A8; }
.silk[data-tone="pearl"] { --a:#ECE6DE; --b:#C9BFB3; --c:#FFFFFF; }

/* ───────── ИНТРО ───────── */
.intro { display: none; }
.has-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 95;
  background: var(--bg); pointer-events: auto; cursor: pointer;
}
.has-intro body { overflow: hidden; }
.has-intro .hero__arch { visibility: hidden; }
.intro__word {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%);
  text-align: center; font: 400 min(36vw, 52vh)/.8 var(--script); color: var(--ink);
  clip-path: inset(-20% 100% -20% 0);
  animation: introWrite 1.5s cubic-bezier(.65, 0, .35, 1) .2s forwards;
}
@keyframes introWrite { to { clip-path: inset(-20% -5% -20% 0); } }
.intro__line {
  position: absolute; left: 0; right: 0; top: calc(50% + min(15vw, 22vh)); display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0; animation: introFade .8s var(--ease-out) 1.1s forwards;
}
.intro__line span { font: 500 clamp(13px, 1.4vw, 20px)/1 var(--serif); letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; }
.intro__line em { font: 400 clamp(18px, 1.8vw, 26px)/1 var(--script); font-style: normal; color: var(--ink-2); }
@keyframes introFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro__arch {
  position: fixed; overflow: hidden; border-radius: 999px 999px 0 0;
  clip-path: inset(50% 50% 50% 50% round 999px 999px 0 0);
  box-shadow: 0 40px 80px -40px rgba(60, 40, 20, .45);
}
.intro__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; transform: scale(1.35); filter: grayscale(1) contrast(1.05); }
.intro.is-open .intro__arch { clip-path: inset(0 0 0 0 round 999px 999px 0 0); transition: clip-path 1.3s cubic-bezier(.76, 0, .24, 1); }
.intro.is-open .intro__arch img { transform: scale(1); filter: none; transition: transform 2.2s var(--ease-out), filter 1.6s ease .3s; }
.intro.is-open .intro__word { color: var(--ink); }
.intro.is-out { background: transparent; transition: background .9s ease; pointer-events: none; }
.intro.is-out .intro__word, .intro.is-out .intro__line, .intro.is-out .intro__count { opacity: 0; transition: opacity .5s ease; }
.intro__count { position: absolute; right: var(--pad); bottom: 28px; font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ───────── карточки: второе фото при наведении ───────── */
.card { cursor: pointer; }
.card__media img.card__img2 { opacity: 0; transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
@media (hover: hover) { .card:hover .card__img2 { opacity: 1; } }
.card__media img { background: #EEE9E3; }
.card__desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ───────── КОЛЛАЖ ───────── */
.collection { background: var(--bg); }
.collage {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 7vw, 104px);
  gap: clamp(12px, 1.6vw, 22px);
}
.collage__i { position: relative; overflow: hidden; display: block; background: #EEE9E3; }
.collage__i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .collage__i:hover img { transform: scale(1.03); } }
.collage__i--a { grid-column: 1 / 6; grid-row: 1 / 7; }
.collage__i--b { grid-column: 6 / 9; grid-row: 1 / 5; }
.collage__text { grid-column: 9 / 13; grid-row: 1 / 5; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-top: 4px; }
.collage__quote { font: 400 clamp(26px, 2.6vw, 38px)/1.12 var(--serif); }
.collage__i--c { grid-column: 6 / 9; grid-row: 5 / 9; }
.collage__i--d { grid-column: 9 / 13; grid-row: 5 / 10; }
.collage__i--e { grid-column: 1 / 6; grid-row: 7 / 10; }
.collage__i--e img { object-position: 50% 30%; }
.collage__i--c img { object-position: 50% 25%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); align-self: flex-start; }
.btn--ghost::before { background: var(--ink); }
@media (hover: hover) { .btn--ghost:hover { color: var(--bg); } }
.btn--ghost span { position: relative; }
/* появление фото: шторка */
[data-reveal-img] { position: relative; }
.js [data-reveal-img]::after { content: ""; position: absolute; inset: 0; background: var(--bg); transform-origin: 50% 0; z-index: 1; pointer-events: none; }
.js [data-reveal-img] img { transform: scale(1.15); }
.js [data-reveal-img].is-in::after { transform: scaleY(0); transition: transform 1.3s cubic-bezier(.76, 0, .24, 1) var(--d, 0s); }
.js [data-reveal-img].is-in img { transform: scale(1); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
@media (hover: hover) { .js .collage__i.is-in:hover img { transform: scale(1.03); transition-duration: 1.2s; transition-delay: 0s; } }

/* ───────── ЦИТАТА С ФОТО ───────── */
.quote__wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.quote__img { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; background: #EEE9E3; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.quote__text { max-width: 14ch; }

/* ───────── КАРТОЧКА ТОВАРА (быстрый просмотр) ───────── */
.qv[hidden] { display: none; }
.qv { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; }
.qv__veil { position: absolute; inset: 0; background: rgba(27, 23, 20, .5); opacity: 0; transition: opacity .45s; }
.qv__panel {
  position: relative; width: min(980px, 100%); max-height: calc(100svh - 40px); overflow: auto;
  background: var(--bg); display: grid; grid-template-columns: 1.05fr 1fr;
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--ease-drawer);
}
.qv.is-open .qv__veil { opacity: 1; }
.qv.is-open .qv__panel { opacity: 1; transform: none; }
.qv__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #EEE9E3; }
.qv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv__media .silk { position: absolute; inset: 0; }
.qv__thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.qv__thumbs button { width: 44px; height: 56px; overflow: hidden; outline: 1px solid rgba(255,255,255,.7); opacity: .7; transition: opacity .3s, transform .3s; }
.qv__thumbs button.is-on { opacity: 1; outline: 2px solid var(--bg); }
.qv__thumbs img { position: static; width: 100%; height: 100%; object-fit: cover; }
.qv__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.qv__name { font: 400 clamp(34px, 3.6vw, 52px)/1.02 var(--serif); }
.qv__desc { color: var(--ink-2); font-size: 15px; max-width: 38ch; }
.qv__price { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 8px 0; }
.qv__ask { align-self: flex-start; margin-top: 6px; }
.qv__x { position: absolute; right: 10px; top: 10px; z-index: 3; width: 44px; height: 44px; background: rgba(247, 240, 228, .9); border-radius: 50%; transition: transform .4s var(--ease-out); }
@media (hover: hover) { .qv__x:hover { transform: rotate(90deg); } }

@media (max-width: 860px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .collage__i { aspect-ratio: 3 / 4; }
  .collage__i--a, .collage__i--b, .collage__i--c, .collage__i--d, .collage__i--e, .collage__text { grid-column: auto; grid-row: auto; }
  .collage__i--a { grid-column: 1 / 3; aspect-ratio: 4 / 5; }
  .collage__text { grid-column: 1 / 3; order: -1; }
  .collage__i--e { grid-column: 1 / 3; aspect-ratio: 1 / 1; }
  .quote__wrap { grid-template-columns: 1fr; }
  .quote__img { width: min(70%, 320px); justify-self: end; }
  .qv { padding: 0; align-items: end; }
  .qv__panel { grid-template-columns: 1fr; max-height: 92svh; transform: translateY(40px); }
  .qv__media { aspect-ratio: 4 / 5; }
  .hero__arch { width: min(62vw, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal-img]::after { display: none; } .js [data-reveal-img] img { transform: none !important; }
}
.cat-preview img, .cat-preview .silk { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
@media (max-width: 860px) {
  .hero__word { z-index: 1; }
}

.card__name { margin-top: 2px; }
.card__desc { margin-top: 4px; }
@media (min-width: 861px) { .hero__brand { display: none; } }

/* белый фон студийных фото растворяется в кремовом фоне страницы */
.card__media { background: var(--bg-2); }
.card__media img, .qv__media img { mix-blend-mode: multiply; }
.qv__media { background: var(--bg); }
.collage__i { background: var(--bg); }
.collage__i img, .quote__img img { mix-blend-mode: multiply; }
.quote__img { background: var(--bg); }
@media (max-width: 860px) {
  .hero { grid-template-rows: auto auto auto auto auto auto; }
  .hero__word { grid-row: 2; align-self: start; z-index: 3; font-size: 40vw; margin: -.36em 0 0; padding: 0; }
  .hero__brand { grid-row: 3; margin-top: 10vw; }
  .hero__lead { grid-row: 4; }
  .hero__cta { grid-row: 5; }
  .hero__aside { grid-row: 6; }
}

/* ───────── ПЕРВЫЙ ЭКРАН: вырезанная фигура перед надписью ───────── */
.hero__arch { grid-column: 2; grid-row: 1 / 4; margin-top: 14svh; background: linear-gradient(180deg, #E9DCC7 0%, #E2D2B8 100%); box-shadow: none; z-index: 0; }
.hero__word { z-index: 1; }
.hero__fig {
  grid-column: 2; grid-row: 1 / 4; z-index: 2; align-self: end; justify-self: center;
  width: 128%; max-width: none; height: calc(100svh - 136px); object-fit: contain; object-position: 50% 100%;
  pointer-events: none; filter: drop-shadow(0 30px 40px rgba(60, 40, 20, .18));
}
.js [data-enter="fig"] { transform: translateY(40px); }
.js.is-ready [data-enter="fig"] { transform: none; transition: opacity 1s var(--ease-out) .15s, transform 1.4s var(--ease-out) .15s; }
.js.intro-handoff [data-enter="arch"], .js.intro-handoff [data-enter="fig"] { transition: none !important; clip-path: none; transform: none; opacity: 1; }
.has-intro .hero__fig { visibility: hidden; }
.intro__arch { background: linear-gradient(180deg, #E9DCC7 0%, #E2D2B8 100%); box-shadow: none; }
.intro__fig { position: fixed; z-index: 2; clip-path: inset(100% 0 0 0); }
.intro__fig img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; display: block; filter: drop-shadow(0 30px 40px rgba(60, 40, 20, .18)); transform: translateY(30px); }
.intro.is-open .intro__fig { clip-path: inset(-10% -10% 0 -10%); transition: clip-path 1.4s cubic-bezier(.76, 0, .24, 1) .25s; }
.intro.is-open .intro__fig img { transform: none; transition: transform 1.6s var(--ease-out) .25s; }
.intro__word { z-index: 1; }

/* вырезанные фото: без смешивания, на тёплом фоне */
.card__media img, .qv__media img, .collage__i img, .quote__img img { mix-blend-mode: normal; object-fit: contain; object-position: 50% 100%; }
.card__media { background: linear-gradient(180deg, #F3EADC 0%, #E8DCC8 100%); }
.collage__i, .quote__img, .qv__media { background: linear-gradient(180deg, #EFE4D3 0%, #E4D5BE 100%); }
.drawer__thumb img { object-fit: contain !important; object-position: 50% 100%; background: #EFE4D3; }
.cat-preview { background: #EFE4D3; }
.cat-preview img { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 860px) {
  .hero__arch { margin-top: 18vw; height: min(80vw, 400px); }
  .hero__fig { grid-row: 1; width: min(86vw, 420px); height: min(100vw, 500px); }
}
@media (min-width: 861px) {
  .hero__arch, .hero__fig { position: absolute; left: 0; right: 0; margin: 0 auto; grid-area: auto; }
  .hero__arch { bottom: 40px; top: auto; width: 26vw; min-width: 240px; height: calc(100svh - 136px - 12svh); max-height: none; }
  .hero__fig { bottom: 40px; height: calc(100svh - 136px); width: calc((100svh - 136px) * .765); }
}
@media (max-width: 860px) {
  .hero__arch, .hero__fig { grid-column: 1; grid-row: 1; justify-self: center; }
  .hero__arch { width: min(64vw, 300px); height: min(78vw, 380px); margin-top: 22vw; align-self: end; }
  .hero__fig { width: min(82vw, 400px); height: min(107vw, 523px); align-self: end; }
  .hero__word { margin-top: -.42em; }
}
@media (max-width: 860px) { .hero__word { z-index: 3; } }

/* ───────── ПК: большая арка, фигура целиком внутри ───────── */
@media (min-width: 861px) {
  .hero__arch { bottom: 40px; width: max(31vw, 360px); height: calc(100svh - 112px); }
  .hero__fig { bottom: 40px; height: calc(100svh - 200px); width: calc((100svh - 200px) * .765); }
  .hero__word { font-size: min(30vw, 46svh); }
  .hero__new {
    grid-column: 3; grid-row: 1; align-self: center; justify-self: end; z-index: 3;
    display: grid; gap: 14px; justify-items: end; text-align: right; max-width: 260px;
  }
  .hero__new p { font: 500 12px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
  .hero__thumbs { display: flex; gap: 10px; }
  .hero__thumbs a {
    width: 68px; height: 86px; border-radius: 34px 34px 0 0; overflow: hidden; display: block;
    background: linear-gradient(180deg, #EFE4D3, #E2D2B8);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  }
  .hero__thumbs a:hover { transform: translateY(-4px); box-shadow: 0 14px 24px -12px rgba(60, 40, 20, .35); }
  .hero__thumbs img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform .6s var(--ease-out); }
  .hero__thumbs a:hover img { transform: scale(1.06); }
  /* тонкая вертикальная линия-ритм по краям первого экрана */
  .hero::before, .hero::after { content: ""; position: absolute; top: 96px; bottom: 40px; width: 1px; background: var(--line); }
  .hero::before { left: calc(50% - max(31vw, 360px) / 2 - 48px); }
  .hero::after { right: calc(50% - max(31vw, 360px) / 2 - 48px); }
  /* шире воздух между секциями и более крупная сетка карточек на больших экранах */
  .grid { gap: 36px 28px; }
  .card__name { font-size: 24px; }
}
@media (min-width: 1600px) { .grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 860px) {
  .hero__new { display: none; }
  .hero__arch { width: min(80vw, 380px); height: min(108vw, 520px); margin-top: 0; }
  .hero__fig { width: min(72vw, 344px); height: min(94vw, 450px); }
}
.hero__fig, .intro__fig img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%); }

/* ═════════ ПЕРВЫЙ ЭКРАН v3: журнальная композиция ═════════ */
.hx {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 3vw;
  padding: 92px var(--pad) 40px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 55%, rgba(226, 210, 184, .55), transparent 70%),
    var(--bg);
}
.hx__text { display: grid; gap: 26px; justify-items: start; max-width: 620px; position: relative; z-index: 2; }
.hx__title {
  font: 400 clamp(54px, 6.1vw, 104px)/.94 var(--serif); letter-spacing: -.015em;
}
.hx__title em { font-style: italic; color: #8A6A44; }
.hx__lead { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 40ch; }
.hx__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hx__wa { font-size: 11px; }
.hx__new { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.hx__new-k { font: 400 30px/1 var(--script); color: var(--ink); }
.hx__thumbs { display: flex; gap: 10px; }
.hx__thumbs a {
  width: 58px; height: 74px; border-radius: 29px 29px 0 0; overflow: hidden; display: block;
  background: linear-gradient(180deg, #EFE4D3, #E2D2B8);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.hx__thumbs img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .hx__thumbs a:hover { transform: translateY(-4px); box-shadow: 0 14px 24px -12px rgba(60, 40, 20, .35); }
  .hx__thumbs a:hover img { transform: scale(1.06); }
}

.hx__visual { position: relative; height: calc(100svh - 132px); min-height: 520px; display: flex; justify-content: center; }
.hx__stage { position: relative; height: 100%; aspect-ratio: .74; max-width: 100%; }
.hx__arch {
  position: absolute; inset: 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #ECDFCB 0%, #DDCBAE 100%);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 68, .12);
}
.hx__arch::after { /* тонкая вторая арка-контур */
  content: ""; position: absolute; inset: 14px 14px 0; border-radius: 999px 999px 0 0;
  border: 1px solid rgba(138, 106, 68, .28); border-bottom: 0;
}
.hx__fig {
  position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto;
  height: 86%; width: auto; max-width: none;
  filter: drop-shadow(0 26px 34px rgba(60, 40, 20, .2));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%);
}
.hx__mini {
  position: absolute; left: -15%; bottom: 9%; width: 30%; aspect-ratio: .76; z-index: 3;
  border-radius: 999px 999px 0 0; overflow: hidden;
  background: linear-gradient(180deg, #F5ECDF, #E7D9C3);
  box-shadow: 0 0 0 6px var(--bg), 0 30px 50px -24px rgba(60, 40, 20, .45);
  transition: transform .6s var(--ease-out);
}
.hx__mini img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform .8s var(--ease-out); }
@media (hover: hover) { .hx__mini:hover { transform: translateY(-6px); } .hx__mini:hover img { transform: scale(1.05); } }
.hx__badge {
  position: absolute; right: -9%; top: 12%; width: 25%; aspect-ratio: 1; z-index: 3;
  border-radius: 50%; background: var(--bg); display: grid; place-items: center;
  box-shadow: 0 18px 40px -22px rgba(60, 40, 20, .45);
}
.hx__badge svg { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 22s linear infinite; }
.hx__badge text { font: 500 9.6px/1 var(--sans); letter-spacing: .2em; fill: var(--ink); }
.hx__badge span { font: 400 clamp(30px, 3vw, 46px)/1 var(--script); color: #8A6A44; padding-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hx__scroll { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.hx__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: scrollDot 2.4s var(--ease-out) infinite; }
@keyframes scrollDot { to { top: 110%; } }

.has-intro .hx__arch, .has-intro .hx__fig { visibility: hidden; }
.js [data-enter="arch"].hx__arch { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.js.is-ready [data-enter="arch"].hx__arch { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.js.intro-handoff .hx__arch, .js.intro-handoff .hx__fig { transition: none !important; clip-path: none !important; transform: none !important; opacity: 1 !important; }
.intro__arch { background: linear-gradient(180deg, #ECDFCB 0%, #DDCBAE 100%); }
.intro__fig img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%); }

@media (max-width: 1100px) and (min-width: 861px) {
  .hx__title { font-size: clamp(46px, 6vw, 72px); }
  .hx__new { display: none; }
}
@media (max-width: 860px) {
  .hx { grid-template-columns: 1fr; gap: 34px; padding-top: 86px; min-height: 0; }
  .hx__visual { order: -1; height: auto; min-height: 0; }
  .hx__stage { width: min(78vw, 380px); height: auto; aspect-ratio: .74; }
  .hx__mini { left: -12%; width: 32%; box-shadow: 0 0 0 4px var(--bg), 0 20px 40px -20px rgba(60, 40, 20, .45); }
  .hx__badge { right: -10%; width: 28%; }
  .hx__badge text { font-size: 10.5px; }
  .hx__title { font-size: clamp(44px, 12.5vw, 64px); }
  .hx__cta { width: 100%; }
  .hx__cta .btn { width: 100%; }
  .hx__new { flex-wrap: wrap; }
  .hx__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx__badge svg, .hx__scroll span { animation: none; } }
.hx__badge text { font-size: 9px; letter-spacing: 0; }
.hx__mini { left: -17%; }
.hx__text { max-width: min(760px, 100%); }
.hx__fig, .intro__fig img, .hero__fig { -webkit-mask-image: none; mask-image: none; }
.hx__fig { height: 84%; }

/* ───────── настоящий логотип ───────── */
.nav__logo { padding: 4px 10px; line-height: 0; }
.nav__logo img { height: 50px; width: auto; display: block; transition: height .4s var(--ease-out); }
.nav.is-scrolled .nav__logo img { height: 42px; }
.intro__word { font-size: 0; line-height: 0; transform: translateY(-50%); top: 50%; }
.intro__word img { height: min(62vh, 560px); width: auto; display: block; margin: 0 auto; }
.intro__line { display: none; }
.hx__badge span { line-height: 0; padding: 0; }
.hx__badge span img { width: 46%; height: auto; display: block; margin: 0 auto; }
.hx__badge span { width: 100%; }
.footer__word { font-size: 0; line-height: 0; margin: 10px 0 0; padding-bottom: 60px; }
.footer__word img { height: min(56vw, 440px); width: auto; display: block; margin: 0 auto; }
.quote__sign { font-size: 0; line-height: 0; bottom: -10px; }
.quote__sign img { height: clamp(90px, 10vw, 150px); width: auto; }
@media (max-width: 860px) { .nav__logo img { height: 42px; } .intro__word img { height: min(52vh, 420px); } }
.intro__word { z-index: 4; }
@media (max-width: 860px) { .hx__mini { left: -7%; width: 30%; } }

/* ═════════ РАЗДЕЛЫ v3: в стиле первого экрана ═════════ */
.footer__word { display: none; }
.footer { padding: 28px 0 32px; }

/* заголовки */
.head { align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.head__t { display: grid; gap: 14px; }
.eyebrow { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8A6A44; }
.h2 { font: 400 clamp(46px, 5.4vw, 88px)/.96 var(--serif); text-transform: none; letter-spacing: -.015em; }
.h2 em { font-style: italic; color: #8A6A44; }
.order .h2 em, .order .eyebrow { color: #C9A877; }
.order .head { border-bottom-color: rgba(247, 240, 228, .16); }

/* бегущая строка: тонкие линии, курсив */
.marquee { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.marquee span { font: 400 italic clamp(24px, 2.4vw, 36px)/1 var(--serif); }
.marquee i { color: #8A6A44; }

/* каталог арками */
.catalog .cat-list { display: none; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.cat { display: grid; gap: 14px; }
.cat__media {
  position: relative; display: block; aspect-ratio: .78; overflow: hidden;
  border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #EFE4D3 0%, #E0CFB4 100%);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.cat__media::after { content: ""; position: absolute; inset: 10px 10px 0; border-radius: 999px 999px 0 0; border: 1px solid rgba(138, 106, 68, .25); border-bottom: 0; pointer-events: none; }
.cat__media img { position: absolute; inset: 8% 0 0; width: 100%; height: 92%; object-fit: contain; object-position: 50% 100%; transition: transform .9s var(--ease-out); }
.cat__media .silk { position: absolute; inset: 0; }
.cat__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 4px; }
.cat__name { font: 400 26px/1.1 var(--serif); }
.cat__n { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.cat__go { font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8A6A44; position: relative; justify-self: start; padding-bottom: 4px; }
.cat__go::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
@media (hover: hover) {
  .cat:hover .cat__media { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(60, 40, 20, .45); }
  .cat:hover .cat__media img { transform: scale(1.04); }
  .cat:hover .cat__go::after { transform: scaleX(1); transform-origin: left; }
}

/* коллекция: арки и мягкие рамки */
.collage__i { border-radius: 22px; }
.collage__i--a, .collage__i--d { border-radius: 999px 999px 0 0; }
.collage__i--a::before, .collage__i--d::before { content: ""; position: absolute; inset: 12px 12px 0; border-radius: 999px 999px 0 0; border: 1px solid rgba(138, 106, 68, .25); border-bottom: 0; z-index: 2; pointer-events: none; }
.collage__quote { font: 400 italic clamp(28px, 2.7vw, 40px)/1.15 var(--serif); }
.collage__text { border-left: 1px solid var(--line); padding-left: 28px; }

/* магазин: карточки-арки */
.shop { background: linear-gradient(180deg, var(--bg) 0%, #F1E7D8 100%); }
.chips { gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 22px; }
.chip.is-active { border-color: transparent; }
.card__media { border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #F3EADC 0%, #E3D3B9 100%); }
.card__media img { inset: 7% 0 0; height: 93%; }
.card__tag { left: 50%; top: 9%; transform: translateX(-50%); border-radius: 20px; padding: 7px 12px; background: rgba(247, 240, 228, .95); }
.card__add { border-radius: 0; }
.card__name { font-size: 24px; }

/* цитата */
.quote__text { font-style: italic; }
.quote__text .w.on { color: var(--ink); }
.quote__img { box-shadow: inset 0 0 0 1px rgba(138, 106, 68, .18); }

/* заказ: арочные номера */
.step__n { width: 64px; height: 76px; border-radius: 32px 32px 0 0; border: 1px solid rgba(201, 168, 119, .5); display: grid; place-items: center; font: 400 italic 30px/1 var(--serif); color: #C9A877; }
.step h3 { text-transform: none; font: 400 36px/1 var(--serif); }

@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .cats { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .cat__name { font-size: 20px; }
  .cat__row { flex-direction: column; gap: 6px; }
  .collage__text { border-left: 0; padding-left: 0; }
  .head { padding-bottom: 20px; }
}
.card__media img { background: transparent !important; }
.ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 250, 240, .7), transparent 70%), linear-gradient(180deg, #F1E7D8 0%, #E3D3B9 100%); }
.ph img { position: static !important; width: 42% !important; height: auto !important; opacity: .75; inset: auto !important; }
.ph span { font: 500 10px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #8A6A44; }
.drawer__thumb .ph span, .cat .ph span { display: none; }
.drawer__thumb { position: relative; }
.qv__media .ph img { width: 30% !important; }

/* ───────── живая загрузка (three.js) ───────── */
.intro__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.intro-gl .intro__word { filter: drop-shadow(0 2px 18px rgba(247, 240, 228, .9)); }
.intro-gl .intro.is-out { transition: background .6s ease .3s; }
.intro__count { z-index: 4; }
.intro__word img { max-width: 84vw; height: auto; max-height: min(62vh, 560px); }
@media (max-width: 860px) { .intro__word img { max-height: 46vh; } }
