/* «Ақық» — ювелирный дом. Тёплый кремовый фон, тонкие засечки Cormorant Garamond, мелкий разреженный Commissioner,
   кинематографичные баннеры с полями по краям, кремовые плитки товаров. Цвета и шрифты — токены ниже. */
:root {
  --bg: #fbf8f3; --fg: #1e1712; --muted: #7b6f65; --line: #e8dfd3; --soft: #f3ece1;
  --accent: #1e1712; --accent-ink: #fbf8f3; --sale: #b04a2a; --ok: #4f6b3a;
  --carnelian: #b04a2a; --gold: #b8893b; --gold-l: #e9c98b; --cocoa: #1a120d; --cream: #f6efe6;
  --card-bg: #f3ece1; --radius: 0px; --radius-btn: 0px; --wrap: 1360px; --gap: 28px; --edge: 28px;
  --font-body: 'Commissioner', system-ui, sans-serif; --font-head: 'Cormorant Garamond', Georgia, serif;
  --step--1: 13px; --step-0: 15px; --step-1: 17px; --step-2: 24px; --step-3: clamp(30px, 3.2vw, 44px); --step-4: clamp(40px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
body { font-weight: 400; letter-spacing: .005em; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.005em; }
::selection { background: var(--gold-l); color: var(--fg); }
.kicker { margin: 0 0 14px; font: 500 11px/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 640px; }
.sec-h { font-size: var(--step-4); line-height: 1.02; margin: 0; }
.narrow2 { max-width: 880px; }
.plink { display: inline-flex; align-items: center; gap: 6px; color: var(--carnelian); text-decoration: none; font-size: 14px; letter-spacing: .02em; padding: 10px 0; transition: gap .35s var(--ease); }
.plink:hover { gap: 12px; }
.btn { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; min-height: 50px; padding: 0 28px; transition: background .25s, color .25s, transform .4s var(--ease); }
.btn--light { background: var(--cream); color: var(--fg); border-color: var(--cream); }
.btn--light:hover { background: #fff; filter: none; }
.btn--lg { font-size: 12.5px; }
.chip { border-radius: 999px; padding: 0 16px; }
.round-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--fg); padding: 0; transition: border-color .2s, transform .3s var(--ease); }
.round-btn:hover { border-color: var(--fg); transform: scale(1.06); }
.round-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
[data-magnetic] { transition: transform .45s var(--ease), background .25s, color .25s; will-change: transform; }
[data-magnetic].is-mag { transition: transform .12s linear, background .25s, color .25s; }

/* ——— шапка ——— */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .96); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; view-transition-name: top; }
.top.is-scrolled { border-color: var(--line); }
.top__in { height: 72px; padding: 0 var(--edge); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.top__menu { display: none; }
.top__nav { display: flex; gap: 26px; }
.top__nav a, .top__cart-w { font: 500 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; position: relative; padding: 8px 0; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.top__nav a:hover::after, .top__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.top__nav--r { display: none; }
.top__logo { text-decoration: none; justify-self: center; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__w { font: 500 29px/1 var(--font-head); letter-spacing: .26em; margin-right: -.26em; }
.logo__gem { width: 11px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd2b0 0 12%, #e0703f 30%, #8e2a14 75%, #5c180b); box-shadow: 0 0 0 1.5px var(--gold), 0 2px 6px rgba(140, 40, 15, .35); }
.top__icons { display: flex; align-items: center; gap: 6px; }
.top__search { display: flex; align-items: center; border-bottom: 1px solid transparent; transition: border-color .3s; }
.top__search:focus-within { border-color: var(--fg); }
.top__search input { width: 0; border: 0; background: none; padding: 0; outline: none; transition: width .45s var(--ease), padding .3s; font-size: 13px; }
.top__search:focus-within input, .top__search input:not(:placeholder-shown) { width: 150px; padding: 0 6px; }
.top__search .icon-btn { width: 40px; height: 40px; }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.4; }
.top__fav { position: relative; }
.top__fav b { position: absolute; top: 6px; right: 4px; min-width: 15px; height: 15px; border-radius: 9px; background: var(--carnelian); color: #fff; font-size: 9px; display: grid; place-items: center; }
.top__cart { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; padding: 8px 0 8px 8px; }
.top__cart-n { font: 500 12px/1 var(--font-body); letter-spacing: .05em; }
.top__cart-n b { font-weight: 500; }
.top__cart-n b:not([hidden]) + i { display: none; }
.top__cart-n i { font-style: normal; }
.top__cart svg { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mmenu { background: var(--bg); }
.mmenu__brand { font: 500 26px var(--font-head); letter-spacing: .22em; }
.mmenu nav a { font: 300 26px/1.2 var(--font-head); }
.top__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
@media (min-width: 1180px) { .top__nav--r { display: flex; } }

/* ——— бегущая строка ——— */
.band { overflow: clip; padding: 18px 0; border-bottom: 1px solid var(--line); }
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band__run { display: flex; align-items: center; flex: none; }
.band span { font: 500 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.band i { font-style: normal; color: var(--gold); font-size: 13px; letter-spacing: .3em; }
@keyframes band { to { transform: translateX(-50%); } }

/* ——— первый экран ——— */
.hero { padding: 0 var(--edge); }
.hero__stage { position: relative; height: clamp(600px, calc(100svh - 96px), 900px); overflow: clip; color: var(--cream);
  background: radial-gradient(120% 90% at 72% 40%, #5a3620 0%, #33200f 38%, #170d07 78%, #0f0805 100%); isolation: isolate; --mx: 70%; --my: 40%; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.hero__blinds { position: absolute; inset: -30% -60%; background: repeating-linear-gradient(104deg, transparent 0 58px, rgba(255, 186, 112, .075) 58px 120px, transparent 120px 150px);
  -webkit-mask: radial-gradient(55% 60% at 60% 45%, #000 0 30%, transparent 75%); mask: radial-gradient(55% 60% at 60% 45%, #000 0 30%, transparent 75%); animation: blinds 26s linear infinite; }
@keyframes blinds { to { transform: translateX(150px); } }
.hero__glow { position: absolute; left: -50%; top: -50%; width: 100%; height: 100%; background: radial-gradient(closest-side, rgba(255, 170, 90, .22), transparent 70%); transform: translate(var(--mx), var(--my)); transition: transform 1.2s var(--ease); }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; z-index: 1; }
.hero__ring:active { cursor: grabbing; }
.hero__poster { position: absolute; right: 4%; top: 50%; width: min(52%, 680px); height: auto; transform: translateY(-50%); z-index: 0; transition: opacity .8s; }
.is-gl .hero__poster { opacity: 0; }
.hero__spark { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none; opacity: 0; }
.is-gl .hero__spark { opacity: 1; }
.hero__spark::before { content: ''; position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; background: radial-gradient(circle, #fff 0 6%, rgba(255, 245, 220, .6) 12%, transparent 40%), conic-gradient(from 45deg, transparent 0 22%, rgba(255, 255, 255, .0) 23%, transparent 27%);
  clip-path: polygon(50% 0, 54% 46%, 100% 50%, 54% 54%, 50% 100%, 46% 54%, 0 50%, 46% 46%); background-color: rgba(255, 250, 235, .9); mix-blend-mode: screen; animation: twinkle 3.4s var(--ease) infinite; }
@keyframes twinkle { 0%, 62%, 100% { transform: scale(0) rotate(0); opacity: 0; } 70% { transform: scale(1) rotate(25deg); opacity: 1; } 84% { transform: scale(.25) rotate(60deg); opacity: .4; } }
.hero__copy { position: absolute; left: clamp(28px, 6vw, 110px); bottom: clamp(40px, 11vh, 120px); width: min(560px, 44%); z-index: 3; }
.hero__copy .kicker { color: rgba(246, 239, 230, .7); }
.hero__t { font-size: clamp(48px, 5.8vw, 96px); line-height: .98; letter-spacing: -.012em; margin-bottom: 22px; }
.hero__lead { color: rgba(246, 239, 230, .78); font-size: 15.5px; line-height: 1.6; max-width: 470px; margin-bottom: 26px; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero .plink { color: var(--gold-l); }
.hero__cap { position: absolute; right: clamp(24px, 3vw, 48px); bottom: 34px; z-index: 3; display: grid; gap: 2px; text-align: right; text-decoration: none; color: var(--cream); }
.hero__cap span { font: 400 22px/1.2 var(--font-head); }
.hero__cap small { font-size: 12px; color: rgba(246, 239, 230, .62); }
.hero__cap small:first-child { font: 500 10px/1.6 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.hero__cap b { font-weight: 500; font-size: 13px; margin-top: 4px; }
.hero__hint { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); z-index: 3; margin: 0; font: 500 10.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 239, 230, .55); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero__hint::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-l); animation: pulse 2s ease-in-out infinite; }
.hero__hint-m { display: none; }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .3; } }

/* ——— заголовки по словам ——— */
.fx .is-split .w { display: inline-block; vertical-align: top; }
.fx .is-split .w__i { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.45em) rotate(3deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease), opacity .9s ease, filter .9s ease; transition-delay: calc(var(--wi) * 75ms + 80ms); }
.fx .is-split.is-in .w__i { transform: none; opacity: 1; filter: none; }

/* ——— коллекции ——— */
.coll { padding: 88px 0 72px; }
.coll__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.coll__tabs { display: flex; gap: 26px; flex-wrap: wrap; }
.coll__tabs button { border: 0; background: none; padding: 8px 0; font: 500 11.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); position: relative; }
.coll__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); transform: scaleX(0); transition: transform .5s var(--ease); }
.coll__tabs button[aria-selected="true"] { color: var(--fg); }
.coll__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.coll__body { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) 64px minmax(0, 2fr); gap: 0 22px; align-items: start; }
.coll__feat { position: relative; display: block; text-decoration: none; color: var(--cream); }
.coll__img { display: block; aspect-ratio: 3 / 4; overflow: clip; background: var(--soft); position: relative; }
.coll__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.coll__feat:hover .coll__img img { transform: scale(1.05); }
.coll__img::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20, 12, 8, .62)); }
.coll__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 4px; z-index: 1; }
.coll__cap b { font: 300 36px/1.05 var(--font-head); }
.coll__cap small { font-size: 12.5px; opacity: .82; }
.coll__nav { display: flex; flex-direction: column; gap: 10px; align-items: center; align-self: center; }
.coll__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.coll__track::-webkit-scrollbar { display: none; }
.coll__track .card { flex: 0 0 calc((100% - 48px) / 2.6); scroll-snap-align: start; }
.has-lid { position: relative; }
.boxlid { position: absolute; left: -6px; right: -6px; z-index: 20; transform-origin: 50% 0; backface-visibility: hidden; pointer-events: none;
  background: radial-gradient(90% 120% at 50% 10%, #4a2e1b, #2a1a10 55%, #170e08), var(--cocoa); box-shadow: 0 40px 80px -30px rgba(40, 20, 8, .6), inset 0 0 0 1px rgba(233, 201, 139, .3); }
.boxlid::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(233, 201, 139, .4); }
.boxlid::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px); }
.boxlid__seam { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-l) 50%, var(--gold) 80%, transparent); }
.boxlid__mono { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 300 72px/1 var(--font-head); letter-spacing: .12em; color: var(--gold-l); opacity: .9; }

/* ——— карточки товаров ——— */
.card { background: transparent; }
.card__media { position: relative; isolation: isolate; }
.card__media img { transition: transform 1.1s var(--ease), opacity .6s; }
.card:hover .card__media img { transform: scale(1.045); }
.card__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.card:hover .card__alt { opacity: 1; }
.card__media::after, [data-glint]::after { content: ''; position: absolute; inset: -10% -40%; z-index: 2; pointer-events: none; background: linear-gradient(100deg, transparent 38%, rgba(255, 248, 232, .0) 42%, rgba(255, 250, 238, .55) 50%, rgba(255, 248, 232, 0) 58%, transparent 62%); transform: translateX(-75%); opacity: 0; }
.card:hover .card__media::after, a:hover > [data-glint]::after, [data-glint]:hover::after, figure:hover [data-glint]::after { opacity: 1; transform: translateX(75%); transition: transform 1.1s var(--ease), opacity .2s; }
[data-glint] { position: relative; display: block; overflow: clip; }
.card__badge { left: 12px; top: 12px; background: var(--bg); color: var(--fg); font: 500 10px/1.9 var(--font-body); letter-spacing: .16em; text-transform: uppercase; padding: 2px 10px; z-index: 3; }
.card__fav { background: rgba(251, 248, 243, .78); z-index: 3; width: 36px; height: 36px; right: 10px; top: 10px; }
.card__fav svg { stroke-width: 1.4; width: 20px; height: 20px; }
.card__body { gap: 4px; padding-top: 16px; }
.card__name { order: 1; font: 400 21px/1.15 var(--font-head); }
.card__meta { order: 2; font-size: 12.5px; }
.card__price { order: 3; font-size: 14px; margin-top: 4px; }
.card__price b { font-weight: 500; }
.card__size { order: 4; margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.card__size.is-ok { color: var(--ok); }
.card__size.is-ok::before { content: '● '; font-size: 8px; vertical-align: 2px; }
.card__add { order: 5; margin-top: 12px; align-self: start; min-height: 40px; padding: 0 18px; background: transparent; color: var(--fg); border-color: var(--line); font-size: 10.5px; }
.card__add:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); filter: none; }

/* ——— кинематографичные баннеры ——— */
.cine { position: relative; margin: 24px var(--edge) 0; min-height: 520px; aspect-ratio: 21 / 9; overflow: clip; color: var(--cream); display: grid; align-items: center; }
.cine__media { position: absolute; inset: 0; overflow: clip; }
.cine__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.cine__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 8, 5, .0) 30%, rgba(14, 8, 5, .62) 85%); }
.cine__copy { position: relative; z-index: 1; justify-self: end; width: min(480px, 40%); margin-right: 8vw; }
.cine--r .cine__media::after { background: linear-gradient(270deg, rgba(14, 8, 5, .0) 35%, rgba(14, 8, 5, .58) 85%); }
.cine--r .cine__copy { justify-self: start; margin: 0 0 0 8vw; }
.cine .kicker { color: rgba(246, 239, 230, .72); }
.cine h2 { font-size: var(--step-4); line-height: 1.02; margin-bottom: 18px; }
.cine .plink { color: var(--gold-l); }
.clip-ready { clip-path: inset(9% 7% 9% 7%); transition: clip-path 1.5s var(--ease); }
.clip-ready.is-in { clip-path: inset(0 0 0 0); }

/* ——— шкатулка коллекций ——— */
.cats { padding: 96px 0 110px; }
.cats__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; margin-bottom: 48px; }
.cats__head p { color: var(--muted); margin: 0; }
.cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gap); }
.ctile { text-decoration: none; display: grid; gap: 14px; }
.ctile:nth-child(3n + 2) { transform: translateY(70px); }
.js .ctile[data-reveal]:nth-child(3n + 2) { transform: translateY(100px); }
.js .ctile[data-reveal].is-in:nth-child(3n + 2) { transform: translateY(70px); }
.ctile__img { aspect-ratio: 3 / 4; background: var(--soft); }
.ctile__img img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(0); transform: scale(1.02); transition: transform 1.2s var(--ease), clip-path .9s var(--ease); }
.ctile:hover .ctile__img img { transform: scale(1.08); clip-path: inset(3% 3% 3% 3%); }
.ctile__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.ctile__cap b { font: 300 30px/1.1 var(--font-head); }
.ctile__cap small { font-size: 12px; color: var(--muted); text-align: right; }

/* ——— история ——— */
.story { position: relative; height: 360vh; background: #f3ede3; transition: background-color .9s ease, color .9s ease; }
.story.is-dark { background: #150d08; color: var(--cream); }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; padding: 0 max(var(--edge), calc((100vw - var(--wrap)) / 2)); overflow: clip; }
.story__ring { position: relative; height: 82vh; }
.story__ring canvas { width: 100%; height: 100%; display: block; }
.story__stage { position: absolute; left: 0; bottom: 0; margin: 0; font: 300 18px var(--font-head); color: var(--muted); }
.story__stage span { font-size: 56px; color: var(--gold); }
.story__t { font-size: var(--step-3); line-height: 1.08; margin-bottom: 34px; max-width: 460px; }
.story__steps { list-style: none; margin: 0; padding: 0; display: grid; }
.story__step { grid-area: 1 / 1; display: grid; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .6s ease, transform .8s var(--ease), visibility 0s linear .6s; max-width: 440px; }
.story__step.is-past { transform: translateY(-24px); }
.story__step.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.story__step b { font: 400 30px/1.1 var(--font-head); }
.story__step span { color: var(--muted); font-size: 15px; line-height: 1.65; }
.story.is-dark .story__step span, .story.is-dark .kicker { color: rgba(246, 239, 230, .66); }
.story__bar { margin-top: 36px; height: 1px; background: var(--line); max-width: 440px; overflow: hidden; }
.story.is-dark .story__bar { background: rgba(246, 239, 230, .18); }
.story__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.story.no-gl .story__ring { background: url(../img/atelier/bench.webp) center / cover; }
.story.is-static { height: auto; }
.story.is-static .story__sticky { position: static; height: auto; padding-top: 80px; padding-bottom: 80px; }
.story.is-static .story__steps { gap: 22px; }
.story.is-static .story__step { grid-area: auto; opacity: 1; visibility: visible; transform: none; }

/* ——— размер: промо ——— */
.sizep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 120px 0 100px; }
.sizep__art { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.sizep__svg { width: 100%; height: auto; display: block; overflow: visible; }
.sizep__svg text { font-family: var(--font-body); font-weight: 500; fill: var(--fg); }
.sizep__run { transform-origin: 200px 200px; animation: spin 38s linear infinite; }
.sizep__dial { transform-origin: 200px 200px; animation: dial 7s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dial { 0%, 100% { transform: rotate(-8deg) scaleX(.96); } 50% { transform: rotate(8deg) scaleX(1); } }
.sizep__num { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 30px; text-align: center; pointer-events: none; padding-bottom: 4px; }
.sizep__num b { font: 300 clamp(72px, 9vw, 120px)/1 var(--font-head); }
.sizep__num small { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.sizep__num b { margin-top: -30px; }
.sizep__copy h2 { font-size: var(--step-4); line-height: 1.02; margin-bottom: 30px; }
.sizep__list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 18px; counter-reset: s; }
.sizep__list li { display: grid; gap: 4px; padding-left: 48px; position: relative; counter-increment: s; }
.sizep__list li::before { content: '0' counter(s); position: absolute; left: 0; top: 2px; font: 400 15px var(--font-head); color: var(--carnelian); }
.sizep__list b { font: 400 22px/1.2 var(--font-head); }
.sizep__list span { color: var(--muted); font-size: 14.5px; }

/* ——— хиты, условия, дом ——— */
.hits { padding: 40px 0 110px; }
.hits__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.serv { padding: 100px 0 60px; }
.serv__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.serv__list li { padding: 30px 24px 10px 0; display: grid; gap: 8px; border-right: 1px solid var(--line); padding-left: 24px; }
.serv__list li:first-child { padding-left: 0; }
.serv__list li:last-child { border-right: 0; }
.serv__list b { font: 300 clamp(44px, 4.6vw, 68px)/1 var(--font-head); font-variant-numeric: lining-nums; }
.serv__list li > span { color: var(--muted); font-size: 14px; }
.serv__note { font-size: 12px; color: var(--muted); margin-top: 18px; }
.house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; padding: 60px 0 130px; }
.house__img { aspect-ratio: 4 / 5; background: var(--soft); }
.house__img img { width: 100%; height: 100%; object-fit: cover; }
.house__copy h2 { font-size: var(--step-4); line-height: 1.02; margin-bottom: 26px; }
.house__copy p { color: var(--muted); max-width: 520px; }
[data-clip].clip-ready { clip-path: inset(14% 14% 14% 14%); transform: scale(1.12); transition: clip-path 1.5s var(--ease), transform 1.8s var(--ease); }
[data-clip].clip-ready.is-in { clip-path: inset(0); transform: none; }

/* ——— подвал ——— */
.foot { background: var(--cocoa); color: var(--cream); padding: 0 0 28px; overflow: clip; position: relative; }
.foot__word { font: 300 clamp(110px, 24vw, 360px)/.9 var(--font-head); letter-spacing: .14em; text-indent: .14em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(233, 201, 139, .28); padding: 70px 0 70px; white-space: nowrap; user-select: none; }
.foot__in { width: min(var(--wrap), 100% - 2 * var(--pad, 32px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 56px; }
.foot__brand p { color: rgba(246, 239, 230, .62); max-width: 380px; margin: 18px 0 6px; font-size: 14px; }
.foot .plink { color: var(--gold-l); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot__h { font: 500 11px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 239, 230, .5); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-l); }
.foot__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(246, 239, 230, .14); padding-top: 22px; margin: 30px 0 0; font-size: 12px; color: rgba(246, 239, 230, .5); }

/* ——— каталог ——— */
.crumbs { font-size: 12px; letter-spacing: .04em; }
.cat-head h1, .page-title { font-weight: 300; line-height: 1.02; }
.cat-search input, .frange input, .cat-sort select, .promo input, .field input, .field textarea, .mmenu__search input { border-radius: 0; background: var(--bg); }
.cat-chips { gap: 22px; border-bottom: 1px solid var(--line); padding: 18px 0 0; margin-bottom: 8px; }
.cat-chips .chip { border: 0; background: none; border-radius: 0; padding: 10px 0 14px; min-height: 0; font: 500 11.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); position: relative; }
.cat-chips .chip::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--fg); transform: scaleX(0); transition: transform .5s var(--ease); }
.cat-chips .chip.is-on { color: var(--fg); background: none; }
.cat-chips .chip.is-on::after { transform: scaleX(1); }
.cat-main { position: relative; }
.fgroup legend { font: 500 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.fgroup:has(input[name="f-size"]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fgroup:has(input[name="f-size"]) legend { grid-column: 1 / -1; }
.fgroup:has(input[name="f-size"]) .fopt { position: relative; justify-content: center; padding: 0; height: 36px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.fgroup:has(input[name="f-size"]) .fopt input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fgroup:has(input[name="f-size"]) .fopt i { display: none; }
.fgroup:has(input[name="f-size"]) .fopt:has(input:checked) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.size-note { margin: 0 0 18px; padding: 12px 16px; background: var(--soft); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ——— карточка товара ——— */
.gallery__main, .gallery__thumbs button { background: var(--soft); }
.ptitle { font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; line-height: 1.02; }
.pprice { font-size: 22px; }
.pprice b { font-weight: 500; }
.pvars__list .chip { min-width: 46px; justify-content: center; font-variant-numeric: tabular-nums; }
.pvars__list .chip[data-pv="x"] { font-style: italic; }
.pfacts li::before { border-color: var(--gold); }
.pstock { color: var(--ok); }
.pinfo h2 { font-size: 28px; }
.engr { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.engr__size { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; }
.engr__size svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--carnelian); stroke-width: 1.5; }
.engr__size a { color: var(--carnelian); }
.engr__box { display: grid; gap: 10px; padding: 18px; background: var(--soft); }
.engr__l { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 500; font-size: 14px; }
.engr__l span { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.engr__row { display: flex; align-items: center; border: 1px solid var(--line); background: var(--bg); }
.engr__row input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; padding: 0 14px; outline: none; }
.engr__row output { padding: 0 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.engr__row:focus-within { border-color: var(--fg); }
.engr__fonts, .rz-metal { display: flex; gap: 8px; flex-wrap: wrap; }
.engr__fonts .chip { font-size: 17px; min-height: 38px; }
.engr__band { display: flex; align-items: center; justify-content: center; height: 58px; padding: 0 20px; overflow: hidden; border-radius: 4px;
  background: linear-gradient(180deg, #8a5a1c 0%, #e9c98b 18%, #fff1cc 32%, #d9a956 52%, #a87425 74%, #f0d49a 90%, #7a4d16 100%); box-shadow: inset 0 0 0 1px rgba(90, 55, 15, .3), inset 0 10px 18px -12px rgba(60, 30, 5, .7); }
.engr__band span { font-size: 24px; line-height: 1; color: rgba(78, 46, 12, .85); text-shadow: 0 1px 0 rgba(255, 244, 214, .7), 0 -1px 0 rgba(60, 30, 5, .35); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.engr__note { margin: 0; font-size: 12px; color: var(--muted); }
.engr__note a { color: var(--carnelian); }
.line__engr { font-size: 12px; color: var(--carnelian); font-style: italic; }
.giftopt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg); cursor: pointer; }
.giftopt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--fg); }
.giftopt span { display: grid; gap: 2px; font-size: 13.5px; }
.giftopt small { color: var(--muted); font-size: 12px; }

/* ——— размер и гравировка ——— */
.rz-head { padding-bottom: 28px; }
.rz-head .page-title { margin-bottom: 14px; }
.rz { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 56px; align-items: start; padding-bottom: 80px; }
.rz-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.rz-tabs button { border: 0; background: none; padding: 16px 0 18px; text-align: left; display: grid; gap: 6px; font: 400 20px/1.1 var(--font-head); color: var(--muted); position: relative; }
.rz-tabs button b { font: 500 11px var(--font-body); letter-spacing: .16em; color: var(--carnelian); }
.rz-tabs button::after { content: ''; position: absolute; left: 0; right: 12px; bottom: -1px; height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.rz-tabs button[aria-selected="true"] { color: var(--fg); }
.rz-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.rz-panel { padding-top: 26px; }
.rz-steps { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.rz-steps button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 13px; color: var(--muted); }
.rz-steps button b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-size: 12px; }
.rz-steps button.is-on { color: var(--fg); border-color: var(--fg); }
.rz-steps button.is-on b { background: var(--fg); color: var(--bg); }
.rz-screen { position: relative; display: grid; place-items: center; min-height: 360px; overflow: clip; touch-action: none;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 20px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20px 100%, #fdfbf7; background-blend-mode: multiply; box-shadow: inset 0 0 0 1px var(--line); }
.rz-card { position: relative; border-radius: 12px; border: 2px dashed var(--fg); background: linear-gradient(135deg, rgba(184, 137, 59, .16), rgba(176, 74, 42, .1)); }
.rz-card__chip { position: absolute; left: 12%; top: 34%; width: 13%; height: 18%; border-radius: 4px; background: linear-gradient(135deg, #e9c98b, #b8893b); opacity: .7; }
.rz-card__l1, .rz-card__l2 { position: absolute; left: 12%; height: 5%; background: rgba(30, 23, 18, .18); border-radius: 3px; }
.rz-card__l1 { top: 68%; width: 56%; } .rz-card__l2 { top: 78%; width: 30%; }
.rz-card__mm { position: absolute; right: 10px; top: 8px; font-size: 11px; color: var(--muted); }
.rz-card.is-vert .rz-card__chip { left: 34%; top: 12%; width: 18%; height: 13%; }
.rz-card.is-vert .rz-card__l1, .rz-card.is-vert .rz-card__l2 { display: none; }
.rz-card.is-vert .rz-card__mm { writing-mode: vertical-rl; }
.rz-circle { position: absolute; inset: 0; display: grid; place-items: center; cursor: ew-resize; }
.rz-circle__ring { position: relative; border-radius: 50%; border: 1.5px solid var(--carnelian); background: radial-gradient(circle, rgba(176, 74, 42, .06), rgba(176, 74, 42, .13)); box-shadow: 0 0 0 6px rgba(176, 74, 42, .06); }
.rz-circle__cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); background: linear-gradient(var(--carnelian), var(--carnelian)) center / 1px 100% no-repeat, linear-gradient(var(--carnelian), var(--carnelian)) center / 100% 1px no-repeat; }
.rz-circle__d { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font: 400 18px var(--font-head); background: var(--bg); padding: 2px 12px; }
.rz-ctrl { display: grid; gap: 14px; justify-items: start; padding-top: 18px; }
.rz-ctrl p { margin: 0; color: var(--muted); font-size: 14px; max-width: 560px; }
.rz-ctrl p b { color: var(--fg); font-weight: 500; }
.rz-range { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; }
.rz-range input, .rz-thread__in input[type="range"] { flex: 1; accent-color: var(--carnelian); height: 30px; }
.rz-range .round-btn { font-size: 20px; flex: none; }
.rz-thread { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center; }
.rz-thread__art { width: 100%; height: auto; }
.rz-finger { fill: #f1e2d0; stroke: #c9b096; stroke-width: 1.5; }
.rz-loop { fill: none; stroke: var(--carnelian); stroke-width: 2.4; stroke-dasharray: 600; stroke-dashoffset: 0; }
.rz-tail { fill: none; stroke: var(--carnelian); stroke-width: 2.4; stroke-dasharray: 80; }
.rz-mark { fill: var(--fg); }
.rz-thread__art.is-drawn .rz-loop { animation: draw 1.6s var(--ease) both; }
.rz-thread__art.is-drawn .rz-tail { animation: draw2 1s .9s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 600; } }
@keyframes draw2 { from { stroke-dashoffset: 80; } }
.rz-howto { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.rz-thread__in { display: grid; gap: 10px; max-width: 420px; margin-top: 22px; }
.rz-table-wrap { overflow-x: auto; }
.rz-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.rz-table th { text-align: left; font: 500 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rz-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rz-table tbody tr { cursor: pointer; transition: background .2s; }
.rz-table tbody tr:hover { background: var(--soft); }
.rz-table tbody tr.is-on { background: var(--fg); color: var(--bg); }
.rz-res { position: sticky; top: 92px; display: grid; gap: 18px; padding: 22px; background: var(--soft); }
.rz-res__ring { position: relative; aspect-ratio: 1 / .78; background: radial-gradient(100% 90% at 50% 35%, #4d2f1b, #1c110a 70%, #120a06); overflow: clip; }
.rz-res__ring canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.rz-res__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.rz-res__ring.is-gl .rz-res__poster { opacity: 0; }
.rz-res__hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font: 500 10px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 239, 230, .5); white-space: nowrap; pointer-events: none; }
.rz-res__size { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 18px; align-items: end; }
.rz-res__size .kicker { grid-column: 1 / -1; margin: 0; }
.rz-big { position: relative; margin: 0; font: 300 96px/1 var(--font-head); overflow: clip; padding-right: 4px; min-width: 1.5em; }
.rz-big span { display: inline-block; }
.rz-big__old { position: absolute; left: 0; top: 0; }
.rz-res__d { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.rz-engr { display: grid; gap: 10px; }
.rz-metal .chip { font-size: 12.5px; }
.rz-actions { display: grid; gap: 4px; justify-items: center; }
.rz-res .small { margin: 0; }
.rz-tips { padding: 40px 0 110px; }
.rz-tips ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.rz-tips li { display: grid; gap: 8px; border-top: 1px solid var(--fg); padding-top: 16px; }
.rz-tips b { font: 400 24px/1.15 var(--font-head); }
.rz-tips li > span { color: var(--muted); font-size: 14px; }
.rz-mini { display: none; }

/* ——— дом ——— */
.dhero { position: relative; margin: 0 var(--edge); }
.dhero__media { position: relative; aspect-ratio: 21 / 8; min-height: 380px; overflow: clip; }
.dhero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.dhero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 8, 5, .05), rgba(14, 8, 5, .55)); }
.dhero__copy { position: absolute; left: 0; right: 0; bottom: 34px; color: var(--cream); }
.dhero .crumbs, .dhero .crumbs a, .dhero .kicker { color: rgba(246, 239, 230, .75); }
.dhero .page-title { max-width: 820px; margin: 0; }
.dtext { padding: 90px 0 40px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; }
.dtext__cols { columns: 2 260px; column-gap: 40px; color: var(--muted); }
.atelier { padding: 60px 0 90px; }
.atelier__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 36px; }
.atelier figure { margin: 0; display: grid; gap: 14px; }
.atelier figure > span { aspect-ratio: 4 / 5; background: var(--soft); }
.atelier img { width: 100%; height: 100%; object-fit: cover; }
.atelier figcaption { display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.atelier figcaption b { font: 400 24px var(--font-head); color: var(--fg); }
.dfacts { padding: 90px 0; }
.dfacts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 60px; margin: 36px 0 0; }
.dfacts__list div { border-top: 1px solid var(--line); padding-top: 16px; }
.dfacts dt { font: 400 26px var(--font-head); margin-bottom: 6px; }
.dfacts dd { margin: 0; color: var(--muted); }
.dshow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; padding: 20px 0 120px; }
.dshow__copy p { color: var(--muted); }
.dshow__copy p b { color: var(--fg); font-weight: 500; }
.dshow__map svg { width: 100%; height: auto; display: block; }

/* ——— доставка ——— */
.dl { display: grid; gap: 0; padding: 10px 0 100px; }
.dl__b { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 30px; align-content: start; }
.dl__b > * + *:not(h2) { margin-top: 12px; }
.dl__b > *:not(h2) { grid-column: 2; }
.dl__b h2 { font-size: 30px; grid-row: 1 / span 9; }
.dl__b ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; color: var(--muted); }
.dl__b ul b { color: var(--fg); font-weight: 500; }
.dl__b p { color: var(--muted); margin: 0 0 8px; }
.dl__b details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.dl__b summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.dl__b summary::after { content: '+'; font: 300 22px/1 var(--font-head); transition: transform .4s var(--ease); }
.dl__b details[open] summary::after { transform: rotate(45deg); }
.dl__b details p { margin-top: 10px; }

/* ——— корзина, оформление, 404 ——— */
.cartpage__side, .checkout__side { background: var(--soft); grid-template-columns: minmax(0, 1fr); }
.promo input { width: 0; }
.promo .btn { padding: 0 16px; }
.cbox legend, .checkout__t, .drawer__title, .empty-cart__t, .done__t { font-weight: 300; }
.drawer__title { font-size: 28px; }
.done__k { color: var(--carnelian); }
.lost__code { font-weight: 300; color: var(--gold-l); }
.sum__save dd { color: var(--ok); }

/* ——— курсор-спутник ——— */
.cur { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: normal; }
.cur.is-on { opacity: 1; }
.cur i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gold); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.cur span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); font: 500 9.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cocoa); opacity: 0; transition: opacity .3s, transform .45s var(--ease); white-space: nowrap; }
.cur[data-st="link"] i { transform: scale(2.4); background: rgba(184, 137, 59, .12); }
.cur[data-st="view"] i, .cur[data-st="light"] i { transform: scale(5.6); background: rgba(251, 248, 243, .92); border-color: transparent; }
.cur[data-st="light"] i { background: rgba(233, 201, 139, .9); }
.cur[data-st="view"] span, .cur[data-st="light"] span { opacity: 1; transform: translate(-50%, -50%); }

/* ——— переходы между страницами: шкатулка ——— */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-lid .6s cubic-bezier(.6, 0, .4, 1) both; transform-origin: 50% 0; }
::view-transition-new(root) { animation: vt-open .8s cubic-bezier(.2, .7, .1, 1) both; }
::view-transition-group(top) { animation-duration: .4s; }
@keyframes vt-lid { to { transform: perspective(1800px) rotateX(-14deg) translateY(-3%); opacity: 0; } }
@keyframes vt-open { from { clip-path: inset(49.5% 0 49.5% 0); } to { clip-path: inset(0 0 0 0); } }

/* ——— без анимации ——— */
@media (prefers-reduced-motion: reduce) {
  .band__track, .hero__blinds, .hero__spark::before, .sizep__run, .sizep__dial, .hero__hint::before { animation: none; }
  .clip-ready, [data-clip].clip-ready { clip-path: none; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .ctile:nth-child(3n + 2), .js .ctile[data-reveal]:nth-child(3n + 2) { transform: translateY(70px); }
}

/* ——— планшет ——— */
@media (max-width: 1100px) {
  .top__nav { gap: 18px; }
  .hero__copy { width: min(520px, 52%); }
  .coll__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 22px; }
  .coll__nav { display: none; }
  .coll__track .card { flex-basis: calc((100% - 24px) / 1.7); }
  .serv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serv__list li:nth-child(2) { border-right: 0; }
  .serv__list li:nth-child(3) { padding-left: 0; }
  .rz { grid-template-columns: minmax(0, 1fr); }
  .rz-res { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .rz-res__ring { grid-row: span 3; }
  .rz-tips ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ——— телефон ——— */
@media (max-width: 860px) {
  :root { --edge: 12px; --gap: 14px; }
  .top__in { height: 60px; grid-template-columns: auto 1fr auto; gap: 8px; padding: 0 8px; }
  .top__menu { display: inline-grid; }
  .top__nav, .top__search, .top__fav { display: none !important; }
  .top__logo { justify-self: center; }
  .logo__w { font-size: 24px; }
  .top__cart-w { display: none; }
  .top__cart { position: relative; padding: 8px; }
  .top__cart svg { display: block; }
  .top__cart-n { position: absolute; right: 0; top: 4px; font-size: 0; }
  .top__cart-n i { display: none; }
  .top__cart-n b:not([hidden]) { display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--carnelian); color: #fff; font-size: 9.5px; }
  .hero__stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero__ring { position: relative; inset: auto; height: 58svh; min-height: 330px; flex: none; }
  .hero__poster { right: 50%; top: 29svh; width: 82%; transform: translate(50%, -50%); }
  .hero__copy { position: relative; left: auto; bottom: auto; width: auto; padding: 0 20px 22px; margin-top: -40px; }
  .hero__t { font-size: clamp(40px, 11.5vw, 54px); }
  .hero__lead { font-size: 14.5px; }
  .hero__cap { position: relative; right: auto; bottom: auto; text-align: left; padding: 16px 20px 22px; border-top: 1px solid rgba(246, 239, 230, .14); }
  .hero__hint { top: 16px; }
  .hero__hint-d { display: none; }
  .hero__hint-m { display: inline; }
  .band { padding: 14px 0; }
  .band span { padding: 0 14px; font-size: 11px; }
  .coll { padding: 60px 0 50px; }
  .coll__head { margin-bottom: 22px; }
  .coll__tabs { gap: 16px; overflow-x: auto; flex-wrap: nowrap; width: 100%; scrollbar-width: none; }
  .coll__body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .coll__img { aspect-ratio: 4 / 3; }
  .coll__cap b { font-size: 30px; }
  .coll__track .card { flex-basis: 64%; }
  .cine { aspect-ratio: 4 / 5; min-height: 0; align-items: end; }
  .cine__media::after, .cine--r .cine__media::after { background: linear-gradient(180deg, rgba(14, 8, 5, 0) 40%, rgba(14, 8, 5, .7) 90%); }
  .cine__copy, .cine--r .cine__copy { justify-self: stretch; width: auto; margin: 0; padding: 0 20px 22px; }
  .cats { padding: 64px 0 70px; }
  .cats__head { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 28px; }
  .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .ctile:nth-child(3n + 2), .js .ctile[data-reveal]:nth-child(3n + 2), .js .ctile[data-reveal].is-in:nth-child(3n + 2) { transform: none; }
  .ctile__cap { display: grid; gap: 2px; }
  .ctile__cap b { font-size: 23px; }
  .ctile__cap small { text-align: left; }
  .story { height: 380vh; }
  .story__sticky { grid-template-columns: minmax(0, 1fr); grid-template-rows: 50svh auto; align-content: start; gap: 0; padding: 60px 20px 0; }
  .story__ring { height: 50svh; }
  .story__stage { bottom: 6px; }
  .story__stage span { font-size: 38px; }
  .story__t { font-size: 26px; margin-bottom: 16px; }
  .story__step b { font-size: 24px; }
  .story__step span { font-size: 14px; }
  .story__bar { margin-top: 18px; }
  .sizep { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 70px 0 60px; }
  .sizep__art { max-width: 330px; }
  .hits { padding: 20px 0 70px; }
  .hits__head { margin-bottom: 24px; flex-wrap: wrap; }
  .serv { padding: 60px 0 30px; }
  .serv__list li { padding: 22px 12px 10px; }
  .serv__list li:nth-child(odd) { padding-left: 0; }
  .house { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 40px 0 80px; }
  .foot__word { padding: 46px 0 20px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__cols > div:last-child { grid-column: 1 / -1; }
  .cat-chips { gap: 18px; }
  .card__name { font-size: 18px; }
  .card__add { padding: 0 12px; font-size: 10px; letter-spacing: .1em; }
  .rz-tabs button { font-size: 16px; padding: 12px 6px 14px 0; }
  .pbuy .btn { flex: 1 1 100%; order: -1; }
  .pbuy .stepper { flex: 1; justify-content: space-between; }
  .rz-screen { min-height: 300px; }
  .rz-thread { grid-template-columns: minmax(0, 1fr); }
  .rz-thread__art { max-width: 280px; }
  .rz-res { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .rz-res__ring { grid-row: auto; }
  .rz-big { font-size: 80px; }
  .rz-tips ul { grid-template-columns: minmax(0, 1fr); }
  .rz-table th, .rz-table td { padding: 9px 8px; }
  .rz-mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 18px; background: rgba(251, 248, 243, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); font-size: 14px; }
  .rz-mini b { font: 400 24px/1 var(--font-head); margin-left: 4px; }
  .rz-mini .btn { min-height: 42px; padding: 0 14px; font-size: 10.5px; letter-spacing: .08em; }
  body[data-page="razmer"] { padding-bottom: 64px; }
  .dhero__media { aspect-ratio: 4 / 5; min-height: 0; }
  .dtext, .dshow { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 60px; }
  .atelier__grid { grid-template-columns: minmax(0, 1fr); }
  .dfacts__list { grid-template-columns: minmax(0, 1fr); }
  .dl__b { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dl__b > *:not(h2) { grid-column: 1; }
  .dl__b h2 { grid-row: auto; }
}
