/* Yulia Tim — версия 3, «подача изделия» в духе продуктовых страниц Apple:
   чёрная сцена, одно изделие на экран, движение управляется прокруткой, нейтральная палитра.
   Шрифты: Inter (RU/Latin) и Heebo (иврит) — без засечек. */
@font-face { font-family: "Inter"; src: url(/fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Heebo"; src: url(/fonts/heebo-hebrew-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; src: url(/fonts/heebo-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F; }

:root {
  --black: #000;
  --graphite: #1d1d1f;
  --smoke: #2c2c2e;
  --gray: #86868b;
  --mist: #f5f5f7;
  --line: #d2d2d7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --champagne: #d8b98a;   /* единственный тёплый акцент — цвет металла фурнитуры */
  --link: #0066cc;
  --font: "Inter", "Heebo", system-ui, -apple-system, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
:lang(he) { --font: "Heebo", "Inter", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--mist); color: var(--text); font: 400 1.0625rem/1.55 var(--font); letter-spacing: -0.01em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid #2997ff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 60; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }
.h2 { font-weight: 600; font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 .5em; text-wrap: balance; }

/* появление: мягкий подъём, как на продуктовых страницах */
.split .w { display: inline-block; vertical-align: top; }
.motion .split .w { opacity: 0; transform: translateY(.4em); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.motion .split.in .w { opacity: 1; transform: none; }
.motion .rise { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.motion .rise.in { opacity: 1; transform: none; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1.4em; border-radius: 999px; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0; transition: background .25s, transform .25s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #e8e8ed; }
.btn--ink { background: var(--text); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.btn--line:hover { background: rgba(0,0,0,.05); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- шапка: тёмное стекло, как глобальная навигация ---------- */
.top { --big: calc(1 - var(--hs, 0)); position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); height: calc(60px + 34px * var(--big)); padding: 0 var(--gut); color: #f5f5f7; background: rgba(22,22,23,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.top__logo { flex: none; display: block; width: calc(132px * (1 + .5 * var(--big))); color: #f0e2cc; }
.top__nav { display: flex; gap: clamp(16px, 2.6vw, 36px); margin-inline-start: auto; }
.top__nav a { text-decoration: none; font-size: .86rem; color: #e8e8ed; opacity: .88; padding: 10px 0; transition: opacity .2s; }
.top__nav a:hover { opacity: 1; }
.lang { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.top__login { flex: none; width: 34px; height: 34px; margin-inline-start: calc(-1 * clamp(4px, 1.5vw, 26px)); display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: inherit; opacity: .55; cursor: pointer; transition: opacity .2s, background .2s; }
.top__login svg { width: 20px; height: 20px; }
.top__login:hover, .top__login:focus-visible { opacity: 1; background: rgba(127,127,127,.12); }
.top__login[hidden] { display: none; }
.lang__globe { width: 18px; height: 18px; margin-inline: 8px 4px; flex: none; opacity: .8; }
.lang button { min-width: 42px; min-height: 34px; border: 0; background: none; border-radius: 999px; cursor: pointer; font-size: .82rem; color: #e8e8ed; }
.lang button[aria-pressed="true"] { background: #f5f5f7; color: #000; }
.top__progress { position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.08); }
.top__progress span { position: absolute; inset: 0; background: var(--champagne); transform-origin: left; transform: scaleX(var(--p, 0)); }
:dir(rtl) .top__progress span { transform-origin: right; }

/* логотип: вектор, обведённый с утверждённого PNG; рисуется при первом показе */
.logo-svg { width: 100%; height: auto; display: block; overflow: visible; }
.logo-fill { fill: currentColor; }
.logo-ink path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo-stone { fill: #7fb3b9; }
.logo-pendant { transform-box: fill-box; transform-origin: 50% 3%; }
.logo-ink { display: none; }
.logo-pendant.swing { animation: swing 2.4s cubic-bezier(.25,.6,.4,1); }
@keyframes swing { 0% { rotate: 0deg; } 10% { rotate: 20deg; } 28% { rotate: -15deg; } 46% { rotate: 10deg; } 62% { rotate: -6deg; } 78% { rotate: 3deg; } 100% { rotate: 0deg; } }

/* ---------- приветствие: стол мастерской, бусины нанизываются на нить ---------- */
.hello { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: clip; background: #e7e0d5; color: var(--text); isolation: isolate; }
.hello__bg { position: absolute; inset: 0; z-index: -2; }
.hello__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.hello::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(231,224,213,0) 40%, rgba(231,224,213,.8) 54%, rgba(231,224,213,.72) 100%); pointer-events: none; }
.hello__copy { width: min(620px, 46vw); margin-inline-start: auto; margin-inline-end: clamp(24px, 7vw, 120px); padding: 110px 0 90px; transform: translateY(calc(var(--hp, 0) * -60px)); opacity: calc(1 - var(--hp, 0) * 1.2); }
:dir(rtl) .hello__copy { margin-inline-start: clamp(24px, 7vw, 120px); margin-inline-end: auto; }
/* стол сфотографирован слева — текст всегда на свободной правой стороне */
.hello__copy { margin-left: auto !important; margin-right: clamp(24px, 7vw, 120px) !important; }
.hello__title { font-weight: 600; font-size: clamp(2.6rem, 5.2vw, 4.8rem); line-height: 1.04; letter-spacing: -0.04em; margin: 0; color: #24201c; }
.hello__title .w { display: inline-block; }
.hello__title .ln { display: block; }
.hello__title .ln + .ln { color: #7d6f60; }
.motion .hello__title .w { opacity: 0; filter: blur(10px); transform: translateY(.35em); }
.motion.is-ready .hello__title .w { opacity: 1; filter: none; transform: none; transition: opacity 1s var(--ease-out), filter 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 90ms + 250ms); }
.strand { display: block; width: min(100%, 520px); height: auto; margin: 18px 0 14px; overflow: visible; }
.strand__thread { fill: none; stroke: #b9aa98; stroke-width: 1.4; stroke-linecap: round; }
.motion .strand__thread { stroke-dasharray: 700; stroke-dashoffset: 700; }
.motion.is-ready .strand__thread { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.6,.1,.3,1) .9s; }
.motion .strand #strand-beads { transform-origin: 50% 50%; animation: sway 6s ease-in-out 4s infinite alternate; }
@keyframes sway { from { rotate: -.6deg; } to { rotate: .8deg; translate: 0 2px; } }
.hello__lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: #2d2823; margin: 0 0 .5em; font-weight: 500; max-width: 30ch; letter-spacing: -0.015em; }
.hello__sub { color: #5d544a; margin: 0 0 1.6em; max-width: 38ch; }
.hello__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.hello__count { color: #6f655a; font-size: .92rem; }
.motion .hello__lead, .motion .hello__sub, .motion .hello__actions { opacity: 0; transform: translateY(16px); }
.motion.is-ready .hello__lead, .motion.is-ready .hello__sub, .motion.is-ready .hello__actions { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) 1.4s, transform 1s var(--ease-out) 1.4s; }
.motion.is-ready .hello__sub { transition-delay: 1.55s; }
.motion.is-ready .hello__actions { transition-delay: 1.7s; }
.hello__loose { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.loose { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 12%, var(--c) 45%, color-mix(in srgb, var(--c) 70%, #000) 100%); box-shadow: 0 4px 6px -2px rgba(60,45,30,.35); }
.loose::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: rgba(80,60,40,.35); }
.motion .loose { opacity: 0; animation: drop 1.1s var(--ease-out) both; animation-delay: calc(var(--k) * 70ms + 600ms); }
@keyframes drop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }
.hello__down { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: calc(1 - var(--hp, 0) * 4); }
.hello__down span { width: 10px; height: 10px; border-right: 2px solid #3a332c; border-bottom: 2px solid #3a332c; rotate: 45deg; translate: 0 -2px; }
.motion .hello__down span { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 3px; } }

.table-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hello__bg { z-index: auto !important; }
.hello__bg img { position: relative; z-index: -3; }
.hello { touch-action: pan-y; }
/* (старые DOM-блёстки больше не используются) */
.glints { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.glint { position: absolute; left: var(--x); top: var(--y); width: var(--s, 28px); aspect-ratio: 1; translate: -50% -50%; opacity: 0; filter: drop-shadow(0 0 1.5px rgba(110,80,30,.55)) drop-shadow(0 0 3px rgba(255,214,140,.8)); }
.glint::before, .glint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 45%, #fffdf6 50%, transparent 55% 100%), linear-gradient(0deg, transparent 0 45%, #fffdf6 50%, transparent 55% 100%); -webkit-mask: radial-gradient(circle, #000 0 14%, rgba(0,0,0,.75) 30%, transparent 70%); mask: radial-gradient(circle, #000 0 14%, rgba(0,0,0,.75) 30%, transparent 70%); }
.glint::after { inset: 24%; rotate: 45deg; opacity: .8; }
.glint i { position: absolute; inset: 40%; border-radius: 50%; background: #fff; box-shadow: 0 0 4px 1px #fff, 0 0 8px 2px rgba(255,210,130,.6); }
.glint.on { animation: glint var(--t, 1.3s) ease-in-out forwards; }
@keyframes glint { 0% { opacity: 0; transform: scale(.2) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(35deg); } 100% { opacity: 0; transform: scale(.3) rotate(80deg); } }

/* ---------- кнопка «В начало» ---------- */
.totop { position: fixed; z-index: 25; inset-inline-end: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: rgba(29,29,31,.82); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); cursor: pointer; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), background .2s; }
.totop.show { opacity: 1; transform: none; }
.totop:hover { background: #000; }
.totop svg { width: 100%; height: 100%; }
.totop__track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; }
.totop__ring { fill: none; stroke: var(--champagne); stroke-width: 2; stroke-linecap: round; stroke-dasharray: calc(var(--p, 0) * 100) 100; transform: rotate(-90deg); transform-origin: 50% 50%; }
.totop path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.totop:hover path { animation: up .6s var(--ease-out); }
@keyframes up { 40% { translate: 0 -3px; } }
.totop__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- кадр, который раскрывается на весь экран ---------- */
.zoom { position: relative; height: 180vh; background: var(--black); color: #fff; }
.zoom__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom__frame { position: absolute; margin: 0; left: 50%; top: 50%; width: calc(var(--zw, 46) * 1vw); height: calc(var(--zh, 56) * 1vh); translate: -50% -50%; border-radius: calc(var(--zr, 28) * 1px); overflow: hidden; }
.zoom__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--zp, 0) * .25)); }
.zoom__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%); opacity: var(--zt, 0); }
.zoom__text { position: absolute; inset-inline: var(--gut); bottom: 12vh; text-align: center; opacity: var(--zt, 0); transform: translateY(calc((1 - var(--zt, 0)) * 30px)); z-index: 2; }
.zoom__title { font-weight: 600; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 .2em; }
.zoom__sub { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #e8e8ed; }
.zoom__cap { position: absolute; bottom: 18px; inset-inline-end: var(--gut); margin: 0; font-size: .78rem; color: rgba(255,255,255,.7); opacity: var(--zt, 0); z-index: 2; }

/* ---------- каталог: светлая витрина ---------- */
.cat { background: var(--mist); }
.cat > * { max-width: var(--max); margin-inline: auto; }
.cat { padding: clamp(72px, 9vw, 130px) var(--gut) clamp(56px, 7vw, 110px); }
.cat__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 28px; }
.cat__head .h2 { margin: 0; }
.cat__intro { margin: 0; color: var(--text-2); max-width: 40ch; font-size: 1.1rem; }
.cat__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; align-items: center; margin: clamp(26px, 3vw, 40px) auto 8px; }
.beads { display: flex; gap: 8px; flex-wrap: wrap; }
.bead { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px 4px 5px; border: 0; border-radius: 999px; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.06); transition: background .25s, color .25s, box-shadow .25s; }
:dir(rtl) .bead { padding: 4px 5px 4px 16px; }
.bead__stone { width: 34px; height: 34px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.bead__stone img { width: 86%; height: 86%; object-fit: contain; }
.bead__all { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; }
.bead__label { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.bead__n { color: var(--text-2); font-weight: 400; margin-inline-start: 2px; }
.bead:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.bead[aria-pressed="true"] { background: var(--text); color: #fff; }
.bead[aria-pressed="true"] .bead__n { color: #a1a1a6; }
.search { display: flex; align-items: center; gap: 10px; width: min(320px, 100%); position: relative; }
.search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.search input { width: 100%; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.search input::placeholder { color: #6e6e73; }
.cat__status { min-height: 1.6em; margin: 10px auto 18px; color: var(--text-2); font-size: .95rem; }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; margin-block: 0; }
.card--big { grid-column: span 2; grid-row: span 2; }
.card__link { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; border-radius: 22px; padding: 18px 18px 20px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card__link:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); }
.card__img { display: block; aspect-ratio: 1; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.card__link:hover .card__img img { transform: scale(1.04); }
.card--big .card__link { background: linear-gradient(180deg, #fff 0%, #ececf0 100%); padding: 28px; }
.card--big .card__img { flex: 1; aspect-ratio: auto; min-height: 0; position: relative; }
.card--big .card__img img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.18)); }
.card__set { order: -1; font-size: .78rem; font-weight: 600; color: #a0712a; margin-bottom: 6px; }
.card__title { font-weight: 600; font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.02em; margin-top: 12px; }
.card--big .card__title { font-size: 1.8rem; letter-spacing: -0.035em; }
.card__sub { font-size: .9rem; color: var(--text-2); line-height: 1.4; margin-top: 4px; }
.motion .card { opacity: 0; transform: translateY(46px); }
.motion .card.in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.cat__more { text-align: center; margin: 44px auto 0; }

/* ---------- детали ---------- */
.detail { background: #fff; color: var(--text); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(72px, 9vw, 130px) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); }
.detail__fig { margin: 0; }
.detail__fig img { width: 100%; border-radius: 28px; background: #fff; transform: scale(var(--ds, 1)); }
.detail__cap { font-size: .8rem; color: var(--text-2); margin-top: 10px; }
.detail__text p { max-width: 46ch; margin: 0 0 1em; color: var(--text-2); font-size: 1.12rem; }
.detail__text p:first-child { color: var(--text); font-size: 1.35rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; }

/* ---------- обо мне ---------- */
.about { background: var(--black); color: #f5f5f7; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(72px, 9vw, 140px) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); overflow: clip; }
.about__fig { margin: 0; border-radius: 28px; overflow: hidden; }
.about__fig img { width: 100%; transform: scale(calc(1.12 - var(--ap, 0) * .12)); transform-origin: 50% 40%; }
.about .h2 { color: var(--champagne); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.01em; }
.about__text p { max-width: 50ch; margin: 0 0 1em; color: #a1a1a6; font-size: 1.08rem; }
.about__text .about__first { color: #f5f5f7; font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.12; letter-spacing: -0.035em; }

/* ---------- контакт и форма ---------- */
.contact { background: var(--mist); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); padding: clamp(72px, 9vw, 130px) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); }
.contact__intro p { max-width: 38ch; color: var(--text-2); font-size: 1.1rem; }
.contact__channels { font-size: .92rem !important; }
.form { display: grid; gap: 4px; max-width: 640px; background: #fff; padding: clamp(20px, 3vw, 36px); border-radius: 24px; }
.form p { margin: 0 0 10px; }
.demo { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: #fff4e0; color: #5a3d0b; margin-bottom: 14px; font-size: .92rem; }
.demo strong { font-weight: 600; }
.form__selected { background: var(--mist); padding: 10px 14px; border-radius: 12px; }
.form__id { color: var(--text-2); font-size: .8rem; }
.form__intro, .form__hint, .form__note { color: var(--text-2); font-size: .9rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,.15); outline: none; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: #0071e3; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__out { min-height: 1.5em; font-size: .95rem; }
.form__out.is-error { color: #c4271c; font-weight: 500; }
.form--done { padding: 28px; border-radius: 22px; background: #f2f7ef; color: #1d1d1f; }
.form__done-h { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; }
.form__ref { margin: 0 0 10px; font-size: 1.8rem; font-weight: 600; letter-spacing: .02em; }
.form__out.is-demo { padding: 12px 16px; border-radius: 12px; background: #fff4e0; color: #5a3d0b; }

/* ---------- подвал ---------- */
.foot { background: var(--black); color: #a1a1a6; padding: clamp(80px, 10vw, 150px) var(--gut) 28px; }
.foot__quote { max-width: 980px; margin: 0 auto 80px; text-align: center; }
.foot__quote p { font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.04em; color: #f5f5f7; text-wrap: balance; }
.motion .foot__quote .qw { opacity: .16; transition: opacity .5s; }
.motion .foot__quote .qw.lit { opacity: 1; }
.foot__quote footer { color: var(--champagne); }
.foot__meta { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: .82rem; border-top: 1px solid #2c2c2e; padding-top: 20px; }
.foot__meta p { margin: 0; }
.foot__logo { width: 120px; color: #f0e2cc; }
.foot__photos { flex-basis: 100%; }
.foot__photos summary { cursor: pointer; min-height: 32px; }
.foot__photos p { max-width: 80ch; margin-top: 6px; }
.foot__top { margin-inline-start: auto; }
.noscript { padding: 16px var(--gut); color: #fff; }

/* ---------- карточка изделия ---------- */
.sheet { width: min(1200px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; color: var(--text); background: #fff; overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sheet-open body { overflow: hidden; }
.sheet__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(20px, 3vw, 48px); padding: clamp(16px, 2.4vw, 32px); position: relative; }
.sheet__close { position: sticky; top: 0; grid-column: 1 / -1; justify-self: end; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: var(--mist); cursor: pointer; margin-bottom: 8px; }
.sheet__close span:first-child { font-size: 1.4rem; line-height: 1; }
.sheet__media { min-width: 0; }
.viewer { margin: 0; }
.viewer__frame { display: grid; place-items: center; background: #fff; height: min(62vh, 620px); border-radius: 20px; overflow: hidden; }
.viewer__frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer__frame.is-photo { background: var(--mist); }
.motion .viewer__frame img { animation: pop .5s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.viewer__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .8rem; color: var(--text-2); }
.viewer__kind.is-original { color: #1d7a4f; font-weight: 500; }
.viewer__kind.is-render, .viewer__kind.is-mood { color: #a0712a; font-weight: 500; }
.viewer__nav { display: flex; gap: 8px; justify-content: center; margin: 10px 0; }
.viewer__nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; font-size: 1.5rem; line-height: 1; }
:dir(rtl) .viewer__nav button span { display: inline-block; transform: scaleX(-1); }
.thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; }
.thumbs__b { width: 68px; height: 68px; padding: 3px; border: 2px solid transparent; border-radius: 14px; background: var(--mist); cursor: pointer; }
.thumbs__b img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.thumbs__b[aria-current="true"] { border-color: var(--text); }
.sheet__info { min-width: 0; padding-top: 4px; }
.sheet__type { margin: 0 0 4px; color: #a0712a; font-size: .92rem; font-weight: 600; }
.sheet__title { font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 .25em; }
.sheet__sub { margin: 0; color: var(--text-2); font-size: 1.2rem; line-height: 1.35; }
.h4 { font-weight: 600; font-size: .92rem; margin: 1.4em 0 .35em; color: var(--text); }
.sheet__desc { margin: 0; max-width: 52ch; color: var(--text-2); }
.sheet__inc ul { margin: 0; padding-inline-start: 1.2em; color: var(--text-2); }
.sheet__unknown { margin: 18px 0 10px; padding: 12px 14px; background: var(--mist); border-radius: 12px; font-size: .9rem; color: var(--text-2); }
.sheet__cats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; margin: 0 0 18px; }
.sheet__cats a { color: var(--link); text-decoration: none; padding: 6px 0; }
.sheet__cats a:hover { text-decoration: underline; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.sheet__copied { font-size: .9rem; color: #1d7a4f; }
.sheet__inner--ask { display: block; max-width: 860px; margin: 0 auto; }
.sheet__askwrap { display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
.sheet__askwrap .form { padding: 0; }
.sheet__mini { margin: 0; }
.motion .sheet[open] { animation: sheetin .5s var(--ease-out); }
@keyframes sheetin { from { opacity: 0; transform: translateY(30px) scale(.98); } }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .detail, .about, .contact { grid-template-columns: 1fr; }
  .show__sticky { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 70px var(--gut) 40px; }
  .show__stage { grid-column: 1; grid-row: 1; height: 52vh; align-self: end; }
  .show__texts { grid-column: 1; grid-row: 2; min-height: 210px; text-align: center; }
  .show__text { justify-content: flex-start; align-items: center; }
  .show__sub { margin-inline: auto; }
  .show__spot { inset-inline: 0; margin: auto; top: 40%; width: 90vw; }
  .show__dots { top: auto; bottom: 18px; inset-inline-end: 50%; translate: 50% 0; grid-auto-flow: column; }
  .sheet__inner { grid-template-columns: 1fr; }
  .viewer__frame { height: min(54vh, 520px); }
}
@media (max-width: 700px) {
  .top { height: auto; flex-wrap: wrap; gap: 4px 10px; padding-block: 8px 4px; }
  .top__logo { width: calc(116px * (1 + .4 * var(--big))); }
  .lang__globe { width: 16px; height: 16px; margin-inline: 6px 2px; }
  .top__nav { order: 3; flex-basis: 100%; justify-content: space-between; margin: 0; }
  .top__nav a { padding: 6px 0; }
  .lang { margin-inline-start: auto; }
  .hello { align-items: end; }
  .hello__bg { bottom: auto; height: 48svh; }
  .hello__bg img { object-position: 4% 50%; }
  .hello::after { background: linear-gradient(180deg, rgba(231,224,213,0) 30%, rgba(231,224,213,.85) 46%, #e7e0d5 52%); }
  .hello__copy { width: auto; margin: 0 !important; padding: 44svh var(--gut) 84px; }
  .hello__title { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .totop { width: 50px; height: 50px; }
  .show__intro { top: 92px; inset-inline-end: var(--gut); text-align: center; max-width: none; }
  .show__intro p { display: none; }
  .show__title { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .show__sub { margin-bottom: 1em; }
  .zoom__text { bottom: 9vh; }
  .beads { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 8px; scrollbar-width: none; }
  .bead { flex: none; }
  .search { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__link { padding: 12px 12px 14px; border-radius: 18px; }
  .card--big { grid-row: span 1; }
  .card--big .card__link { padding: 18px; }
  .card--big .card__img { aspect-ratio: 1.2; flex: none; }
  .card__title { font-size: 1rem; }
  .card--big .card__title { font-size: 1.4rem; }
  .card__sub { font-size: .8rem; }
  .form__pair { grid-template-columns: 1fr; gap: 0; }
  .sheet { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .sheet__inner { padding: 12px 16px 28px; }
  .viewer__frame { height: min(44vh, 400px); }
  .thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .thumbs li { flex: none; }
  .thumbs__b { width: 60px; height: 60px; }
  .sheet__askwrap { grid-template-columns: 1fr; }
  .sheet__mini { max-width: 140px; }
  .foot__top { margin-inline-start: 0; }
}

/* без движения: закреплённые сцены превращаются в обычный поток */
.no-motion .hero, .no-motion .show, .no-motion .zoom { height: auto; }
.no-motion .hero__sticky, .no-motion .show__sticky, .no-motion .zoom__sticky { position: relative; height: auto; min-height: 0; }
.no-motion .hero__sticky { padding-bottom: 60px; }
.no-motion .hero__piece { position: relative; left: auto; top: auto; translate: none; transform: none; margin: 30px auto 0; width: min(70vw, 480px); }
.no-motion .hero__caption { display: none; }
.no-motion .show__sticky { display: block; padding: 90px var(--gut) 40px; }
.no-motion .show__intro { position: relative; top: 0; inset: auto; opacity: 1; margin-bottom: 30px; }
.no-motion .show__spot, .no-motion .show__dots { display: none; }
.no-motion .show__stage { display: none; }
.no-motion .show__texts { display: grid; gap: 40px; }
.no-motion .show__text { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.no-motion .show__text img { width: min(70vw, 420px); margin-bottom: 16px; }
.no-motion .zoom__sticky { padding: 40px var(--gut) 80px; display: block; }
.no-motion .zoom__frame { position: relative; left: auto; top: auto; translate: none; width: 100%; height: auto; border-radius: 28px; }
.no-motion .zoom__frame img { transform: none; height: auto; }
.no-motion .zoom__text, .no-motion .zoom__cap { position: relative; inset: auto; opacity: 1; transform: none; margin-top: 16px; }
.show__textimg { display: none; } .no-motion .show__textimg { display: block; }

/* ===================== Вариант «светлый» (?look=light) =====================
   Весь сайт в тоне раздела «Коллекции»: белый и светло-серый, графитовый текст,
   тёплые золотистые подписи. Стол приветствия — светлый нейтральный лён. */
.looks { flex-basis: 100%; display: flex; gap: 12px; flex-wrap: wrap; }
.looks a { color: inherit; text-underline-offset: 3px; }
.looks a[aria-current="true"] { font-weight: 600; text-decoration: none; color: var(--champagne); }

.look-light { --champagne: #a0712a; }
.look-light body { background: #fff; }
/* шапка — светлое стекло */
.look-light .top { background: rgba(255,255,255,.8); color: #6b3c1d; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.look-light .top__nav a { color: #1d1d1f; opacity: .85; }
.look-light .lang { background: rgba(0,0,0,.05); }
.look-light .lang button { color: #1d1d1f; }
.look-light .lang button[aria-pressed="true"] { background: #1d1d1f; color: #fff; }
.look-light .top__progress { background: rgba(0,0,0,.06); }
.look-light .logo-stone { fill: #5d8c92; }
/* приветствие */
.look-light .hello { background: #f4f4f2; }
.look-light .hello::after { background: linear-gradient(90deg, rgba(246,246,244,0) 40%, rgba(246,246,244,.82) 54%, rgba(246,246,244,.74) 100%); }
.look-light .hello__title { color: #1d1d1f; }
.look-light .hello__title .ln + .ln { color: #a0712a; }
.look-light .hello__lead { color: #1d1d1f; }
.look-light .hello__sub, .look-light .hello__count { color: #6e6e73; }
.look-light .strand__thread { stroke: #c9c6c0; }
.look-light .hello__down { background: rgba(255,255,255,.8); }
/* каталог — чистый белый вместо серого */
.look-light .cat { background: #fff; }
.look-light .card__link { background: #f7f7f8; }
.look-light .card--big .card__link { background: linear-gradient(180deg, #fafafa 0%, #efeff1 100%); }
.look-light .bead { background: #f5f5f7; box-shadow: none; }
.look-light .bead[aria-pressed="true"] { background: #1d1d1f; }
.look-light .search input { background: #f5f5f7; box-shadow: none; }
/* раскрывающийся кадр — на светлом */
.look-light .zoom { background: #f5f5f7; }
/* обо мне — светлый блок */
.look-light .about { background: #f5f5f7; color: #1d1d1f; }
.look-light .about .h2 { color: #a0712a; }
.look-light .about__text p { color: #6e6e73; }
.look-light .about__text .about__first { color: #1d1d1f; }
.look-light .detail { background: #fff; }
.look-light .contact { background: #fff; }
.look-light .form { background: #f5f5f7; }
.look-light .field input, .look-light .field textarea { background: #fff; }
/* подвал */
.look-light .foot { background: #f5f5f7; color: #6e6e73; }
.look-light .foot__quote p { color: #1d1d1f; }
.look-light .foot__meta { border-top-color: #e0e0e3; }
.look-light .foot__logo { color: #6b3c1d; }
.look-light .totop { background: rgba(255,255,255,.9); color: #1d1d1f; box-shadow: 0 10px 28px -10px rgba(0,0,0,.25); }
.look-light .totop path { stroke: #1d1d1f; }
.look-light .totop__track { stroke: rgba(0,0,0,.1); }
@media (max-width: 700px) {
  .look-light .hello::after { background: linear-gradient(180deg, rgba(244,244,242,0) 30%, rgba(244,244,242,.88) 46%, #f4f4f2 52%); }
}
.look-light .top__logo { color: #6b3c1d; }

/* ============ ноябрь 2026: карточки, «Обо мне», связь, нить ============ */
/* карточка: фото сливается с белой карточкой; настоящее фото поверх */
.look-light .card__link { background: #fff; box-shadow: inset 0 0 0 1px #e3e3e8; }
.look-light .card__link:hover { box-shadow: inset 0 0 0 1px #d2d2d7, 0 24px 50px -24px rgba(0,0,0,.25); }
.look-light .card--big .card__link { box-shadow: inset 0 0 0 1px #e3e3e8; }
.card { position: relative; }
.card__img { position: relative; border-radius: 14px; overflow: hidden; }
.card__img img.card__real, .card--big .card__img img.card__real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; transform: none; opacity: 0; transition: opacity .45s var(--ease-out); }
.card.is-real .card__img img.card__real { opacity: 1; }
.card__real-t { position: absolute; inset-block-end: 8px; inset-inline-start: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(29,29,31,.82); color: #fff; font-size: .72rem; line-height: 1.4; opacity: 0; transition: opacity .3s; pointer-events: none; }
.card.is-real .card__real-t { opacity: 1; }
.card__real-b { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.card__real-b::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5h3l1.5-2h7l1.5 2h3v10H4z'/%3E%3Ccircle cx='12' cy='13' r='3.2'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.card__real-b[aria-pressed="true"]::before { background-color: #1d1d1f; filter: invert(1); }
.card:hover .card__real-b, .card__real-b:focus-visible, .card__real-b[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .card__real-b { opacity: 1; } }
.is-editing .card__real-b { display: none; }

/* приветствие: пустая мелкая строка не занимает место */
.hello__sub:empty { display: none; }

/* «Обо мне» */
.about { align-items: start; }
.about__fig { border-radius: 0; overflow: visible; position: sticky; top: 110px; }
.about__ph { border-radius: 28px; overflow: hidden; }
.about__motto { margin-top: 22px; font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.03em; }
.about__h { margin: 1.6em 0 .4em; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.about__text p { color: #c7c7cc; }
.look-light .about__text p { color: #3a3a3e; }
.about__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.about__more.is-open { grid-template-rows: 1fr; }
.about__more-in { overflow: hidden; min-height: 0; }
.about__toggle { margin-top: 10px; }
.look-light .about__toggle { color: #1d1d1f; }
.about__toggle { color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.is-editing .about__more { grid-template-rows: 1fr; }

/* связь */
.contact__channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; max-width: none !important; }
.contact__channels[hidden] { display: none; }
.contact__facts { margin: 28px 0 0; max-width: 44ch; border-top: 1px solid var(--line); }
.contact__facts dt { font-weight: 600; padding-top: 16px; }
.contact__facts dd { margin: 2px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--text-2); }

/* нить с бусинами между разделами */
.thread { grid-column: 1 / -1; }
.thread svg { display: block; width: min(100%, 760px); height: auto; margin: 0 auto clamp(8px, 2vw, 28px); overflow: visible; }
.thread path { fill: none; stroke: #c9c6c0; stroke-width: 1.2; }

@media (max-width: 900px) {
  .about__fig { position: static; }
}
@media (max-width: 700px) {
  .card__img { border-radius: 10px; }
  .card__set { padding-inline-end: 34px; }
  .card__real-t { font-size: .66rem; inset-block-end: 6px; inset-inline-start: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .card__img img.card__real, .card__real-t, .card__real-b, .about__more { transition: none; }
}
.card__real-b[aria-pressed="true"]::before { background-color: rgba(255,255,255,.92); filter: none; box-shadow: 0 0 0 2px #1d1d1f; }
.about, .contact { row-gap: clamp(20px, 3vw, 44px); }

/* Приветствие, когда чаша доезжает до колонки текста (класс ставит look.js по размеру окна):
   стол сверху, текст под ним — как на телефоне. На широких окнах текст остаётся справа от стола. */
@media (min-width: 701px) {
  .hello-stack .hello { align-items: end; }
  .hello-stack .hello__bg { bottom: auto; height: 44svh; }
  .hello-stack .hello__bg img { object-position: 4% 50%; }
  .hello-stack .hello::after { background: linear-gradient(180deg, rgba(231,224,213,0) 26%, rgba(231,224,213,.85) 40%, #e7e0d5 46%); }
  .hello-stack.look-light .hello::after { background: linear-gradient(180deg, rgba(244,244,242,0) 26%, rgba(244,244,242,.88) 40%, #f4f4f2 46%); }
  .hello-stack .hello__copy { width: auto; max-width: 720px; margin: 0 !important; padding: 41svh clamp(24px, 6vw, 80px) 80px; }
  .hello-stack .hello__title { font-size: clamp(2.2rem, min(6vw, 6.4svh), 4rem); }
  .hello-stack .hello .strand { margin-block: 6px; }
  .hello-stack .hello__lead { max-width: 36ch; }
}

/* Приветствие, текст справа от стола: композиция стола меньше на ~четверть (высота 78% экрана, внизу плавно
   растворяется), само приветствие чуть ниже экрана не тянется (88%), текст выше и правее. Число 78 — и в js/look.js. */
@media (min-width: 701px) {
  html:not(.hello-stack) .hello { min-height: 88vh; min-height: 88svh; }
  html:not(.hello-stack) .hello__bg { bottom: auto; height: 78vh; height: 78svh; }
  html:not(.hello-stack) .hello::after { background: linear-gradient(180deg, rgba(231,224,213,0) 60svh, #e7e0d5 78svh), linear-gradient(90deg, rgba(231,224,213,0) 40%, rgba(231,224,213,.8) 54%, rgba(231,224,213,.72) 100%); }
  html.look-light:not(.hello-stack) .hello::after { background: linear-gradient(180deg, rgba(244,244,242,0) 60svh, #f4f4f2 78svh), linear-gradient(90deg, rgba(246,246,244,0) 40%, rgba(246,246,244,.82) 54%, rgba(246,246,244,.74) 100%); }
  html:not(.hello-stack) .hello__copy { margin-right: clamp(24px, 4vw, 72px) !important; padding-bottom: calc(90px + 5svh); }
}

/* ============ «Украшение крупным планом» — спокойный блок вместо кадра, разраставшегося на весь экран ============
   Раньше фото при прокрутке росло из карточки до полного экрана (переменные --zw/--zh/--zp из fx.js) — при быстрой
   прокрутке это выглядело резко. Теперь фото стоит на месте в рамке, рядом название и кнопка. */
#moment.zoom { height: auto; display: block; color: #f5f5f7; padding: clamp(64px, 8vw, 120px) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); }
.look-light #moment.zoom { color: #1d1d1f; }
#moment .zoom__sticky { position: static; height: auto; min-height: 0; overflow: visible; padding: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; justify-items: stretch; }
#moment .zoom__frame { position: relative; left: auto; top: auto; translate: none; width: auto; height: auto; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
#moment .zoom__frame img { width: 100%; height: 100%; object-fit: cover; transform: none; }
#moment .zoom__frame::after { content: none; }
#moment .zoom__cap { position: absolute; inset: auto auto 12px 12px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(29,29,31,.72); color: #fff; font-size: .75rem; opacity: 1; }
[dir="rtl"] #moment .zoom__cap { inset: auto 12px 12px auto; }
#moment .zoom__cap:empty { display: none; }
#moment .zoom__text { position: static; inset: auto; text-align: start; }
#moment .zoom__title { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 .3em; }
#moment .zoom__sub { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: inherit; opacity: .72; }
#moment .zoom__go { margin: 28px 0 0; }
#moment .zoom__go .btn { color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.motion #moment .zoom__text.rise { opacity: 0; }
.motion #moment .zoom__text.rise.in { opacity: 1; }
@media (max-width: 860px) {
  #moment .zoom__sticky { grid-template-columns: 1fr; gap: 22px; }
}

/* ============ «Политика конфиденциальности» и «Заявление о доступности» ============ */
.sheet__inner--doc { display: block; max-width: 780px; margin: 0 auto; }
.doc { padding-bottom: 12px; }
.doc .sheet__title { margin-bottom: .4em; }
.doc__intro { font-size: 1.15rem; line-height: 1.5; margin: 0 0 1.4em; max-width: 65ch; }
.doc__h { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; margin: 1.6em 0 .4em; }
.doc p { max-width: 65ch; line-height: 1.6; margin: 0 0 .8em; color: #3a3a3e; }
.doc .doc__intro { color: var(--text); }
.doc__todo { background: #fff1bf; color: #5a4300; border-radius: 4px; padding: 0 3px; }
.doc__updated { margin-top: 2em !important; font-size: .9rem; color: var(--text-2) !important; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot__legal a { color: inherit; display: inline-flex; align-items: center; min-height: 36px; }
.foot__legal a:empty { display: none; }
.form__privacy { color: var(--link); }

/* ============ Доступность (21.11.2026): контраст, обводка фокуса, размер касаний, спокойный режим ============ */
/* золотистый для мелкого текста: #a0712a давал 3.9–4.3:1, #8a5f1f — 5.1–5.6:1 (нужно ≥4.5) */
.look-light { --champagne: #8a5f1f; }
.card__set, .sheet__type, .viewer__kind.is-render, .viewer__kind.is-mood, .look-light .about .h2 { color: #8a5f1f; }
/* обводка фокуса с клавиатуры: была 2.8–3:1, стала 6.4–7:1 */
:focus-visible { outline: 2px solid #0058b0; outline-offset: 3px; }
.look-light .noscript { color: #1d1d1f; }
/* сенсорный экран: все кнопки и ссылки не меньше 44×44 */
@media (pointer: coarse) {
  .top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .lang button { min-width: 44px; min-height: 44px; }
  .top__login { width: 44px; height: 44px; }
  .sheet__close { min-height: 44px; }
  .sheet__cats a, .foot__top, .foot__legal a, .form__privacy, .detail__cap a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__photos summary { display: flex; align-items: center; min-height: 44px; }
  .sheet__cats a, .foot__legal a, .form__privacy { min-width: 44px; justify-content: center; }
  .looks a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
}
/* «уменьшить движение»: никаких подъёмов, увеличений и выездов при наведении */
@media (prefers-reduced-motion: reduce) {
  .card__link, .card__img img, .totop, .btn, .about__fig img { transition: none !important; }
  .card__link:hover, .card__link:hover .card__img img, .btn:active { transform: none !important; }
  .totop:hover path, .totop path { animation: none !important; }
}

/* Привязанные к прокрутке движения отключены (рывки на телефоне при прокрутке по инерции) — см. js/fx.js */
.hello__copy { transform: none; opacity: 1; }
.about__fig img { transform: none; }

/* Телефон: логотип не уменьшается при прокрутке — шапка там не становится ниже, и уменьшение только оставляло пустое место */
@media (max-width: 700px) {
  .top__logo { width: 162px; }
}

/* Затухание текста приветствия при прокрутке — средствами самого браузера (scroll-driven animation): оно идёт
   в одном потоке с прокруткой и не дёргается даже при прокрутке по инерции на iPhone. Где браузер этого не умеет,
   текст просто прокручивается без затухания. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hello__copy { animation: hello-leave linear both; animation-timeline: scroll(root block); animation-range: 0 80svh; }
    /* на телефоне текст стоит ниже стола — гаснет позже, когда действительно уходит наверх */
    @media (max-width: 700px) { .hello__copy { animation-range: 20svh 75svh; } }
    .hello-stack .hello__copy { animation-range: 20svh 75svh; }
  }
}
@keyframes hello-leave { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-60px); } }

/* нить-перегородка: прорисовывается при первом появлении (длина нити ~590, бусины двигает js/threads.js) */
.motion .thread path { stroke-dasharray: 640; stroke-dashoffset: 640; transition: stroke-dashoffset 1.4s var(--ease-out); }
.motion .thread.in path { stroke-dashoffset: 0; }
.thread__b { transition: opacity .3s; }
