/* Сайт студии маникюра, дорогой стиль «Дьявол носит Прада».
   Сначала общая основа (раскладка, компоненты), в конце — тема: цвета, шрифты, свой моушен. */


@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
  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; }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--acc-hi); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--acc-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
#app { outline: none; min-height: 100vh; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- Типографика ---- */
.display { font-family: var(--display); font-size: var(--display-size, clamp(46px, 7.2vw, 124px)); font-weight: var(--dw); font-style: var(--dstyle, normal); line-height: var(--dlh, .96); letter-spacing: var(--dls, -.045em); text-transform: var(--dcase, none); }
.h1 { font-family: var(--display); font-size: clamp(36px, 4.6vw, 76px); font-weight: var(--dw); font-style: var(--dstyle, normal); line-height: var(--dlh, 1); letter-spacing: var(--dls-h, -.035em); text-transform: var(--dcase, none); }
.h2 { font-family: var(--display-2, var(--display)); font-size: clamp(26px, 2.6vw, 40px); font-weight: var(--dw-2, var(--dw)); font-style: var(--dstyle, normal); line-height: 1.1; letter-spacing: var(--dls-2, -.025em); text-transform: var(--dcase, none); }
.lead { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.5; color: var(--ink-2); font-weight: 400; max-width: 40em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--acc-hi); border-radius: var(--dot-r, 0); }
.label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.link:hover { border-color: var(--acc-hi); color: var(--hi); }
.link .arrow { width: 16px; height: 16px; }
.link-plain { transition: color .3s; }
.link-plain:hover { color: var(--acc-hi); }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform .45s var(--ease); }
.star { width: 16px; height: 16px; fill: currentColor; }
[data-count], .tile__price, .svc__price, .cta__phone, .hero__stats dt, .score b, .page { border-radius: var(--rb, 0); font-variant-numeric: tabular-nums; }

/* фирменная кромка темы */
.stripe, .logo__stripe { display: block; height: 3px; background: var(--edge); }

/* ---- Кнопки ---- */
.btn { border-radius: var(--rb, 0); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; font-size: 15px; font-weight: 650; letter-spacing: .01em; border: 1px solid transparent; overflow: hidden; isolation: isolate; transition: background-color .3s, border-color .3s, color .3s; white-space: nowrap; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--acc); color: var(--acc-ink); }
/* при наведении по кнопке проходит блик */
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, var(--sheen) 50%, transparent 70%); transform: translateX(-120%); }
.btn--primary:hover { background: var(--acc-hi); }
.btn--primary:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); transition: color .3s; }
.icon-btn svg, .search__icon, .search__close svg, .modal__close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-btn:hover { color: var(--acc-hi); }

/* ---- Логотип ---- */
.logo { display: inline-grid; grid-template-columns: auto auto; column-gap: 7px; align-items: baseline; font-size: 18px; letter-spacing: .14em; line-height: 1; }
.logo b { font-weight: 800; }
.logo span { font-weight: 300; }
.logo__stripe { grid-column: 1 / -1; margin-top: 7px; height: 2px; transform-origin: left; }
.logo--lg { font-size: 30px; justify-self: start; align-self: start; }
.logo--lg .logo__stripe { height: 3px; margin-top: 12px; }

/* ---- Шапка ---- */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdr); display: flex; align-items: center; gap: 40px; padding: 0 var(--pad); transition: transform .5s var(--ease), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: var(--hdr-solid); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__menu { display: flex; gap: 6px; margin-right: auto; }
.hdr__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hdr__phone { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: color .3s; }
.hdr__phone:hover { color: var(--hi); }

.dd { position: relative; }
.dd__link { position: relative; display: block; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .3s; }
.dd__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--acc-hi); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.dd__link:hover, .dd.is-open .dd__link, .dd__link.is-on { color: var(--hi); }
.dd.is-open .dd__link::after, .dd__link.is-on::after { transform: scaleX(1); }
.dd__panel { border-radius: var(--r-sm, 0); position: absolute; top: calc(100% + 10px); left: 0; width: 340px; padding: 22px 24px 20px; background: var(--bg-2); border: 1px solid var(--line); border-top: 2px solid var(--acc); box-shadow: var(--shadow); font-size: 14px; color: var(--ink-2);
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .32s var(--ease), opacity .2s, visibility 0s .32s; }
.dd__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd.is-open .dd__panel { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .38s var(--ease), opacity .2s, visibility 0s; }
.dd__panel--wide { width: 480px; }
.dd__panel--end { left: auto; right: 0; }
.dd__plain li { padding: 5px 0; line-height: 1.4; }
.dd__svc li a { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); transition: color .25s; }
.dd__svc li a:hover { color: var(--hi); }
.dd__svc b { flex: none; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.dd__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 650; color: var(--ink); }
.dd__all:hover .arrow, .more-link:hover .arrow, .tile__more:hover .arrow { transform: translateX(5px); }
.dd__score { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin-bottom: 12px; }
.dd__score b { font-family: var(--display-2, var(--display)); grid-row: span 2; font-size: 40px; font-weight: 760; color: var(--ink); letter-spacing: -.03em; }
.dd__score span { font-size: 12px; color: var(--mute); }
.dd__review { padding: 12px 0; border-top: 1px solid var(--line); }
.dd__review blockquote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.dd__review figcaption { margin-top: 6px; font-size: 12px; color: var(--mute); }
.dd__foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dd__foto img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r-sm, 0); }
.dd__phone { display: block; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.dd__panel p { margin-bottom: 4px; }
.dd__panel .btn { margin-top: 14px; }

.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---- Меню телефона ---- */
.menu { position: fixed; z-index: 45; inset: 0; padding: calc(var(--hdr) + 16px) var(--pad) 40px; background: var(--bg); overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-io), visibility 0s .55s; }
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease-io), visibility 0s; }
.mdd { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
.menu-open .mdd { opacity: 1; transform: none; }
.menu-open .mdd:nth-child(2) { transition-delay: .05s; } .menu-open .mdd:nth-child(3) { transition-delay: .1s; }
.menu-open .mdd:nth-child(4) { transition-delay: .15s; } .menu-open .mdd:nth-child(5) { transition-delay: .2s; }
.mdd__row { display: flex; align-items: center; }
.mdd__toggle { font-family: var(--display-2, var(--display)); flex: 1; text-align: left; padding: 18px 0; font-size: 30px; font-weight: 720; letter-spacing: -.03em; }
.mdd.is-on .mdd__toggle { color: var(--acc-hi); }
.mdd__go { border-radius: var(--rb, 0); width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.mdd__go .arrow { width: 20px; height: 20px; }
.mdd__panel { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.mdd__panel .dd__svc li a { padding: 11px 0; }
.menu__foot { color: var(--mute); font-size: 14px; }
.menu__phone { display: block; font-size: 26px; font-weight: 720; color: var(--ink); margin-bottom: 8px; }

/* ---- Появления ---- */
[data-intro] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.is-ready [data-intro] { opacity: 1; transform: none; }
.is-ready [data-intro="1"] { transition-delay: .25s; } .is-ready [data-intro="2"] { transition-delay: .35s; }
.is-ready [data-intro="3"] { transition-delay: .6s; } .is-ready [data-intro="4"] { transition-delay: .72s; }
.is-ready [data-intro="5"] { transition-delay: .9s; }
/* строки большого заголовка выезжают из-под маски */
.hero__title[data-intro], .page-head__title[data-intro] { opacity: 1; transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.is-ready .ln > span { transform: none; }
.is-ready .ln:nth-child(1) > span { transition-delay: .3s; } .is-ready .ln:nth-child(2) > span { transition-delay: .42s; } .is-ready .ln:nth-child(3) > span { transition-delay: .54s; }
.page-head__title { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease) .25s; }
.is-ready .page-head__title { clip-path: inset(0 0 -10% 0); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
/* кадры открываются шторкой слева направо, по очереди (наблюдается вся сетка) */
[data-reveal="imgs"] { opacity: 1; transform: none; }
[data-reveal="imgs"] > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal="imgs"].in > * { clip-path: inset(0 0 0 0); }
[data-reveal="imgs"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal="imgs"].in img { transform: none; }
.no-anim [data-intro], .no-anim [data-reveal], .no-anim [data-reveal] > *, .no-anim [data-reveal] img, .no-anim .ln > span, .no-anim .page-head__title, .no-anim [data-hero-media] img { transition: none !important; }

/* ---- Первый экран ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--bg-deep); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 2.6s var(--ease); }
.is-ready .hero__media img, .hero-static .hero__media img { opacity: 1; transform: none; }
.hero__shade { position: absolute; inset: 0; background: var(--hero-shade); }
.hero__fx { position: absolute; inset: 0; pointer-events: none; }
.hero__fx i { position: absolute; display: block; }
.hero__content { position: relative; padding-top: calc(var(--hdr) + 40px); padding-bottom: 46px; }
.hero__title { max-width: 11ch; margin: 22px 0 26px; }
.hero__lead { max-width: 34em; font-size: clamp(17px, 1.35vw, 21px); color: var(--ink-2); margin-bottom: 34px; }
.rating { border-radius: var(--rb, 0); display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-2); background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; color: var(--ink-2); transition: border-color .3s; }
.rating:hover { border-color: var(--acc-hi); }
.rating .star { color: var(--acc-hi); }
.rating b { color: var(--hi); font-size: 15px; }
.hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); padding-top: 0; padding-bottom: 34px; }
.hero__stats > div { padding: 22px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.hero__stats > div:last-child { border-right: 0; }
.hero__stats dt { font-size: clamp(22px, 2.2vw, 36px); font-weight: 720; letter-spacing: -.02em; }
.hero__stats dd { margin-top: 4px; font-size: 13px; color: var(--mute); }

/* ---- Витрины главной ---- */
.show { padding-top: clamp(90px, 11vw, 170px); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 30px; margin-bottom: clamp(36px, 4vw, 60px); }
.sec-head__num { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--mute); }
.sec-head__num .stripe { width: 64px; height: 2px; }
.more-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.more-link:hover { border-color: var(--acc-hi); }
.show__about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.show__about .lead { font-size: clamp(20px, 1.9vw, 30px); color: var(--ink); line-height: 1.4; letter-spacing: -.01em; }
.index-list li { display: grid; grid-template-columns: 52px 1fr; padding: 15px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list span { font-size: 13px; font-weight: 700; color: var(--acc-hi); font-variant-numeric: tabular-nums; padding-top: 2px; }
.show--reviews .wrap:first-child { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; }
.show--reviews .sec-head { margin-bottom: 0; }
.show--reviews .reviews { margin-top: clamp(36px, 4vw, 60px); }
.show__contacts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.show__contacts > div { padding: 26px 24px 0 0; }
.show__contacts p:not(.label) { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; }

/* ---- Плитки ---- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.tile { position: relative; display: flex; flex-direction: column; }
.tile__link { display: block; }
.tile__media { border-radius: var(--r, 0); position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
/* полоса цвета темы вдоль нижней кромки кадра */
.tile__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--acc-hi); box-shadow: 0 0 18px var(--acc-glow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.05); filter: saturate(1.05); }
.tile:hover .tile__media::after { transform: scaleX(1); }
.tile__cat { display: block; margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__name { font-family: var(--display-2, var(--display)); margin-top: 8px; font-size: 18px; font-weight: 680; line-height: 1.3; letter-spacing: -.01em; transition: color .3s; }
.tile:hover .tile__name { color: var(--hi); }
.tile__price { margin-top: 12px; font-size: 20px; font-weight: 740; letter-spacing: -.01em; }
.tile__desc { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.tile__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.tile__more:hover { color: var(--hi); }
.tile--anim { animation: tileIn .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(22px); clip-path: inset(0 0 12% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* ---- Отзывы ---- */
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-family: var(--display-2, var(--display)); font-size: clamp(64px, 7vw, 112px); font-weight: 780; letter-spacing: -.05em; line-height: .9; }
.score span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); }
.review__stars { display: flex; gap: 3px; color: var(--acc-hi); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { border-radius: var(--r, 0); display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.review:hover { border-color: var(--line-2); transform: translateY(-4px); }
.review blockquote { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.review figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 13px; color: var(--mute); }
.review figcaption b { color: var(--ink); font-size: 15px; font-weight: 650; }
.reviews--all { margin-top: 50px; }

/* ---- Фото ---- */
.foto__grid { display: grid; gap: 14px; }
.foto__item { border-radius: var(--r, 0); overflow: hidden; background: var(--bg-3); }
.foto__item img { width: 100%; height: 100%; object-fit: cover; }
.foto__grid--show { grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(380px, 46vw, 720px); }
.foto__grid--show .foto__item:first-child { grid-row: span 2; }
/* 10 кадров: большой + два · три в ряд · два + большой · панорама */
.foto__grid--all { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 16vw, 270px); grid-auto-flow: row dense; }
.foto__grid--all .foto__item { grid-column: span 2; }
.foto__grid--all .foto__item:nth-child(1) { grid-column: 1 / span 4; grid-row: span 2; }
.foto__grid--all .foto__item:nth-child(7) { grid-column: 3 / span 4; grid-row: span 2; }
.foto__grid--all .foto__item:nth-child(8), .foto__grid--all .foto__item:nth-child(9) { grid-column: 1 / span 2; }
.foto__grid--all .foto__item:nth-child(10) { grid-column: 1 / -1; grid-row: span 2; }
.foto__note { margin-top: 16px; font-size: 13px; color: var(--mute); }

/* ---- Страницы ---- */
.pg-first { padding-top: calc(var(--hdr) + clamp(50px, 7vw, 110px)); }
.pg-first--flush { padding-top: var(--hdr); }
.page-head { margin-bottom: clamp(40px, 5vw, 70px); }
.page-head__title { margin-top: 20px; }
.page-head__meta { margin-top: 18px; font-size: 15px; color: var(--mute); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); padding-bottom: clamp(90px, 10vw, 150px); }
.about__grid .lead { font-size: clamp(20px, 1.9vw, 28px); color: var(--ink); line-height: 1.45; }
.index-list--full { margin-bottom: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border-radius: var(--rb, 0); padding: 9px 14px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.catalog, .reviews-page, .foto { padding-bottom: clamp(90px, 10vw, 150px); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter { border-radius: var(--rb, 0); padding: 10px 16px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .3s, border-color .3s, color .3s; }
.filter:hover { border-color: var(--ink); color: var(--hi); }
.filter[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.pages { display: flex; gap: 8px; margin-top: 60px; }
.page { width: 52px; height: 52px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: border-color .3s, background-color .3s, color .3s; }
.page:hover { border-color: var(--ink); color: var(--hi); }
.page.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---- Карточка услуги ---- */
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.back .arrow { transform: rotate(180deg); }
.back:hover { color: var(--hi); }
.back:hover .arrow { transform: rotate(180deg) translateX(5px); }
.svc__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.svc__media { border-radius: var(--r, 0); aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img { width: 100%; height: 100%; object-fit: cover; }
.svc__info { padding-top: 6px; }
.svc__title { font-family: var(--display-2, var(--display)); margin: 18px 0 22px; font-size: clamp(30px, 3.2vw, 52px); font-weight: 740; line-height: 1.08; letter-spacing: -.03em; }
.svc__price { font-size: clamp(30px, 3vw, 46px); font-weight: 760; letter-spacing: -.03em; margin-bottom: 30px; }
.svc__facts { margin-top: 40px; border-top: 1px solid var(--line); }
.svc__facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.svc__facts dt { color: var(--mute); }
.svc__desc { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: clamp(80px, 9vw, 140px); }
.rich { max-width: 760px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.rich p + p, .rich p + ul, .rich ul + p { margin-top: 14px; }
.rich li { position: relative; padding-left: 22px; margin: 6px 0; }
.rich li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--acc-hi); border-radius: var(--dot-r, 0); }

.more { padding-top: clamp(80px, 9vw, 140px); }
.more__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.more__nav { display: flex; gap: 8px; }
.more__nav button { border-radius: var(--rb, 0); width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: border-color .3s, background-color .3s; }
.more__nav button:hover { border-color: var(--acc-hi); background: var(--acc); }
.more__nav button:first-child .arrow { transform: rotate(180deg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--pad) 10px; scroll-padding: 0 var(--pad); }
.rail::-webkit-scrollbar { display: none; }
.rail .tile { scroll-snap-align: start; }
@media (min-width: 1480px) { .rail { padding-left: calc((100vw - 1480px) / 2 + var(--pad)); scroll-padding-left: calc((100vw - 1480px) / 2 + var(--pad)); } }

/* ---- Контакты ---- */
.cta { position: relative; margin-top: clamp(90px, 11vw, 170px); padding: clamp(100px, 12vw, 190px) 0 clamp(70px, 8vw, 120px); overflow: hidden; background: var(--bg-deep); }
.pg-first--flush .cta { margin-top: 0; }
.cta__media { position: absolute; inset: -8% 0; will-change: transform; }
.cta__media picture, .cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: var(--cta-shade); }
.cta__inner { position: relative; }
.cta__title { margin: 24px 0 10px; max-width: 12ch; }
.cta__phone { display: inline-block; margin: 20px 0 34px; font-size: clamp(34px, 5vw, 84px); font-weight: 300; letter-spacing: -.03em; line-height: 1; white-space: nowrap; transition: color .35s; }
.cta__phone:hover { color: var(--acc-hi); }
.cta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(60px, 7vw, 100px); padding-top: 30px; border-top: 1px solid var(--line-2); }
.cta__grid p:not(.label) { font-size: 17px; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 13px; color: var(--mute); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status.is-open i { background: var(--ok); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--ok-glow); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } }

/* ---- Подвал ---- */
.footer { position: relative; margin-top: clamp(90px, 11vw, 170px); padding: 70px 0 34px; background: var(--bg-foot); border-top: 1px solid var(--line); }
.cta + .footer, .pg-first--flush + .footer { margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__nav { display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink-2); }
.footer__nav a { width: fit-content; transition: color .3s; }
.footer__nav a:hover, .footer__nav a.is-on { color: var(--hi); }
.footer__contacts { display: grid; gap: 8px; align-content: start; font-size: 15px; color: var(--ink-2); }
.footer__contacts a { font-size: 22px; font-weight: 700; color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }

/* ---- Поиск ---- */
.search { position: fixed; z-index: 70; inset: 0; visibility: hidden; transition: visibility 0s .5s; }
.search-open .search { visibility: visible; transition: none; }
.search__backdrop { position: absolute; inset: 0; background: var(--backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.search-open .search__backdrop { opacity: 1; }
.search__panel { position: relative; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 34px 0 30px; max-height: 88vh; overflow-y: auto; transform: translateY(-102%); transition: transform .5s var(--ease-io); }
.search__panel::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--edge); }
.search-open .search__panel { transform: none; }
.search__bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; border-bottom: 2px solid var(--line-2); transition: border-color .3s; }
.search__bar:focus-within { border-color: var(--acc-hi); }
.search__icon { flex: none; color: var(--mute); width: 26px; height: 26px; }
.search__input { flex: 1; min-width: 0; height: 74px; background: none; border: 0; outline: 0; font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.02em; }
.search__input::placeholder { color: var(--mute); font-weight: 400; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink-2); }
.search__close:hover { color: var(--hi); }
.search__hint { margin-top: 18px; font-size: 14px; color: var(--mute); }
.search__list { margin-top: 12px; }
.sres { display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; align-items: baseline; padding: 15px 16px; border-left: 2px solid transparent; cursor: pointer; animation: sresIn .35s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
@keyframes sresIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.sres.is-active { background: var(--bg-3); border-left-color: var(--acc-hi); }
.sres__name { font-size: 17px; font-weight: 600; }
.sres__name mark { background: none; color: var(--acc-hi); }
.sres__meta { font-size: 13px; color: var(--mute); text-align: right; }
.sres--cat .sres__name::before { content: 'Категория'; display: inline-block; margin-right: 10px; padding: 2px 7px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-hi); border: 1px solid currentColor; vertical-align: 3px; }
.search__empty { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; color: var(--ink-2); }

/* ---- Формы ---- */
.modal { position: fixed; z-index: 80; inset: 0; visibility: hidden; transition: visibility 0s .6s; }
.modal-open .modal { visibility: visible; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: var(--backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s; }
.modal-open .modal__backdrop { opacity: 1; }
.modal__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%); padding: 56px clamp(24px, 3.4vw, 50px) 40px; background: var(--bg-2); overflow-y: auto; transform: translateX(102%); transition: transform .6s var(--ease-io); }
.modal__panel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--edge-v); }
.modal-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--ink-2); transition: color .3s, transform .4s var(--ease); }
.modal__close:hover { color: var(--hi); transform: rotate(90deg); }
.modal__title { font-family: var(--display-2, var(--display)); margin: 14px 0 10px; font-size: clamp(30px, 3vw, 42px); font-weight: 740; letter-spacing: -.03em; line-height: 1.05; }
.demo-note { border-radius: var(--r-sm, 0); display: inline-block; margin-bottom: 26px; padding: 6px 10px; font-size: 12px; font-weight: 600; color: #ffb547; border: 1px solid rgba(255,181,71,.35); background: rgba(255,181,71,.07); }
.lead-done .demo-note { margin-bottom: 30px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm, 0); outline: 0; font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acc-hi); box-shadow: 0 0 0 3px var(--acc-glow); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--bad); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 18px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc); flex: none; }
.check.is-invalid { color: var(--bad-ink); }
.lead__error { border-radius: var(--r-sm, 0); margin-bottom: 16px; padding: 12px 14px; border-left: 3px solid var(--bad); background: var(--bad-bg); color: var(--bad-ink); font-size: 14px; }
.lead__submit { width: 100%; }
.lead.is-sending .lead__submit::before { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.7); transform-origin: left; animation: sending .7s linear both; }
@keyframes sending { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead__alt { margin-top: 18px; font-size: 14px; color: var(--mute); }
.lead__alt a { color: var(--ink); font-weight: 650; }
.lead-done { outline: none; }

/* ---- Нижняя панель на телефоне ---- */
.dock { display: none; }

/* ---- Переходы (вид шторки задаёт тема) ---- */
.fx-clone { position: fixed; z-index: 90; overflow: hidden; pointer-events: none; background: var(--bg-3); }
.fx-clone img { width: 100%; height: 100%; object-fit: cover; }
.fx-curtain { position: fixed; z-index: 95; inset: 0; pointer-events: none; }

/* ---- Адаптив ---- */
@media (max-width: 1180px) {
  .hdr__menu, .hdr__phone { display: none; }
  .burger { display: block; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .reviews { grid-template-columns: 1fr; }
  .show__about, .about__grid, .svc__grid, .svc__desc { grid-template-columns: 1fr; }
  .svc__desc { gap: 20px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(2) { border-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top .logo { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr: 62px; }
  body { font-size: 15px; }
  .hdr { gap: 12px; }
  .hdr__right { gap: 4px; }
  .hdr__book { display: none; }
  .logo { font-size: 16px; }
  .hero__content { padding-bottom: 30px; }
  .hero__shade { background: var(--hero-shade-m); }
  .cta__shade { background: var(--cta-shade-m, var(--cta-shade)); }
  .hero__stats { padding-bottom: 24px; }
  .hero__stats > div { padding: 16px 12px 0 0; margin-right: 12px; }
  .hero__stats dd { font-size: 12px; }
  .hero .btn-row .btn { flex: 1; padding: 0 16px; }
  .sec-head { grid-template-columns: 1fr; }
  .show--reviews .wrap:first-child { grid-template-columns: 1fr; gap: 26px; }
  .show__contacts, .cta__grid { grid-template-columns: 1fr; }
  .show__contacts > div { border-bottom: 1px solid var(--line); padding: 18px 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile__media { aspect-ratio: 16 / 10; }
  .foto__grid--show { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; height: 128vw; }
  .foto__grid--show .foto__item:first-child { grid-column: span 2; grid-row: auto; }
  .foto__grid--all { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; }
  .foto__grid--all .foto__item, .foto__grid--all .foto__item:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .foto__grid--all .foto__item:nth-child(3n+1) { grid-column: span 2; grid-row: span 1; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1) 34px; padding: 0 var(--pad); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .sres { grid-template-columns: 1fr; padding: 13px 12px; }
  .sres__meta { text-align: left; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__phone { font-size: clamp(30px, 9.4vw, 46px); }
  .rail { grid-auto-columns: 82vw; gap: 16px; }
  .more__nav { display: none; }
  .modal__panel { padding-top: 64px; }
  .dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; transform: translateY(160%); transition: transform .55s var(--ease); }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; height: 56px; box-shadow: var(--shadow); }
  .dock__call { border-radius: var(--rb, 0); width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); }
  .dock__call svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
}
@media (max-width: 380px) {
  .hero__stats dt { font-size: 20px; }
  .btn { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-intro], [data-reveal], .ln > span, .page-head__title { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}


/* ===== Тема «Дьявол носит Прада»: глянцевый журнал. Чёрный, слоновая кость и золото, контрастная антиква,
   прямые углы, подписи капителью с широким трекингом.
   Моушен: заголовок «собирается», как обложка журнала (буквы сходятся из широкого трекинга); тонкая золотая
   рамка обложки прочерчивается по первому экрану; кадры проявляются снизу вверх; смена страниц —
   чёрная страница с золотой кромкой проходит снизу вверх. ===== */
:root {
  --bg: #0b0a09; --bg-2: #13120f; --bg-3: #1b1915; --bg-4: #25221d;
  --line: rgba(244,238,226,.09); --line-2: rgba(244,238,226,.2);
  --ink: #f4eee2; --ink-2: #cfc7b8; --mute: #8e8676; --hi: #ffffff;
  --acc: #c8a25a; --acc-hi: #e2c27f; --acc-glow: rgba(200,162,90,.3); --acc-ink: #0b0a09;
  --edge: linear-gradient(90deg, #7d5f2c, #e2c27f 50%, #7d5f2c); --edge-v: linear-gradient(180deg, #7d5f2c, #e2c27f 50%, #7d5f2c);
  --ok: #8fc49a; --ok-glow: rgba(143,196,154,.45); --bad: #d0614f; --bad-bg: rgba(208,97,79,.08); --bad-ink: #f0ab9f;
  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: 'Didot', 'Bodoni 72', 'Bodoni MT', 'Playfair Display', 'Noto Serif Display', 'Georgia', 'Times New Roman', serif;
  --dw: 400; --dls: -.02em; --dls-h: -.015em; --dlh: 1.02; --dw-2: 400; --dls-2: -.01em;
  --display-size: clamp(48px, 7.6vw, 132px);
  --ease: cubic-bezier(.22,.61,.36,1); --ease-io: cubic-bezier(.76,0,.24,1);
  --pad: clamp(20px, 4.6vw, 76px); --hdr: 80px;
  --hdr-solid: rgba(11,10,9,.88); --glass: rgba(11,10,9,.45); --bg-deep: #050504; --bg-foot: #070706;
  --hero-shade: linear-gradient(90deg, rgba(5,5,4,.9) 0%, rgba(5,5,4,.55) 42%, rgba(5,5,4,.05) 78%), linear-gradient(0deg, rgba(5,5,4,.95) 0%, rgba(5,5,4,.15) 40%, rgba(5,5,4,.4) 100%);
  --hero-shade-m: linear-gradient(0deg, rgba(5,5,4,.97) 0%, rgba(5,5,4,.75) 48%, rgba(5,5,4,.2) 78%, rgba(5,5,4,.55) 100%);
  --cta-shade: linear-gradient(90deg, rgba(5,5,4,.95) 0%, rgba(5,5,4,.75) 50%, rgba(5,5,4,.35) 100%), linear-gradient(0deg, rgba(5,5,4,.9), transparent 50%);
  --backdrop: rgba(0,0,0,.66); --shadow: 0 30px 60px -20px rgba(0,0,0,.75); --sheen: rgba(255,255,255,.22);
  --r: 0; --rb: 0; --r-sm: 0; --dot-r: 0;
}

/* подписи — капителью, как в журнале */
.eyebrow, .label, .tile__cat, .sec-head__num { letter-spacing: .32em; font-weight: 600; }
.eyebrow::before { width: 34px; height: 1px; background: var(--acc); }
.logo { font-family: var(--display); font-size: 22px; letter-spacing: .34em; text-transform: uppercase; column-gap: 12px; }
.logo b { font-weight: 400; }
.logo span { font-weight: 400; font-style: italic; letter-spacing: .12em; text-transform: none; color: var(--acc-hi); }
.logo__stripe { height: 1px; }
.logo--lg { font-size: 34px; }
.btn { height: 56px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.btn--sm { height: 44px; font-size: 11px; }
.btn--primary:hover { background: var(--acc-hi); }
.btn--ghost { border-color: rgba(244,238,226,.35); }
.dd__link { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.dd__link::after { height: 1px; }
.dd__panel { border-top: 1px solid var(--acc); }
.hero__title { max-width: none; }
.hero__stats dt { font-family: var(--display); font-weight: 400; letter-spacing: 0; }
.hero__title .ln:nth-child(2) > span, .cta__title em { font-style: italic; }
.h1, .h2, .svc__title, .modal__title { letter-spacing: -.01em; }
.tile__name { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.tile__price { font-weight: 500; font-size: 17px; letter-spacing: .06em; color: var(--acc-hi); }
.svc__price, .cta__phone { font-family: var(--display); font-weight: 400; color: var(--acc-hi); }
.score b, .dd__score b { font-family: var(--display); font-weight: 400; }
.index-list span { color: var(--acc); }
.review { background: transparent; border: 0; border-top: 1px solid var(--line-2); padding: 30px 0 0; }
.review:hover { transform: none; border-color: var(--acc); }
.review blockquote { font-family: var(--display); font-size: 21px; line-height: 1.45; font-style: italic; color: var(--ink); }
.review__stars { color: var(--acc); }
.mdd__toggle { font-weight: 400; letter-spacing: 0; font-size: 34px; }
.mdd.is-on .mdd__toggle { color: var(--acc-hi); }
.page.is-on { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.filter { letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.sres--cat .sres__name::before { color: var(--acc); }

/* заголовок первого экрана собирается из широкого трекинга, как надпись на обложке */
.hero__title .ln > span, .page-head__title { transform: none; opacity: 0; letter-spacing: .18em; filter: blur(6px); transition: opacity 1.4s var(--ease), letter-spacing 1.8s var(--ease), filter 1.4s var(--ease); }
.page-head__title { clip-path: none; }
.is-ready .hero__title .ln > span, .is-ready .page-head__title { opacity: 1; letter-spacing: var(--dls); filter: none; }
.is-ready .page-head__title { transition-delay: .2s; }
/* тонкая золотая рамка обложки прочерчивается один раз */
.hero__fx { inset: 22px; }
.hero__fx i { background: rgba(226,194,127,.55); }
.hero__fx i:nth-child(1) { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; transform: scaleX(0); }
.hero__fx i:nth-child(2) { top: 0; right: 0; bottom: 0; width: 1px; transform-origin: top; transform: scaleY(0); }
.hero__fx i:nth-child(3) { bottom: 0; left: 0; right: 0; height: 1px; transform-origin: right; transform: scaleX(0); }
.hero__fx i:nth-child(4) { top: 0; left: 0; bottom: 0; width: 1px; transform-origin: bottom; transform: scaleY(0); }
.is-ready .hero__fx i { transition: transform 1.1s var(--ease-io); transform: none; }
.is-ready .hero__fx i:nth-child(1) { transition-delay: .5s; } .is-ready .hero__fx i:nth-child(2) { transition-delay: .9s; }
.is-ready .hero__fx i:nth-child(3) { transition-delay: 1.3s; } .is-ready .hero__fx i:nth-child(4) { transition-delay: 1.7s; }
.hero-static .hero__fx i, .no-anim .hero__fx i { transition: none; transform: none; }

/* появления: спокойные, без прыжков */
[data-reveal] { transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
[data-reveal="imgs"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal="imgs"].in > * { clip-path: inset(0 0 0 0); }
.tile__media img { filter: saturate(.8) contrast(1.05); }
.tile:hover .tile__media img { filter: saturate(1) contrast(1.05); }
.tile__media::after { height: 1px; box-shadow: none; }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.no-anim .hero__title .ln > span, .no-anim .page-head__title { transition: none !important; }

/* смена страниц: чёрная страница журнала с золотой кромкой проходит снизу вверх */
.fx-curtain--page { background: var(--bg); transform: translateY(101%); }
.fx-curtain--page i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--edge); box-shadow: 0 0 18px rgba(226,194,127,.5); }

@media (max-width: 760px) {
  .logo { font-size: 17px; letter-spacing: .26em; }
  .hero__fx { inset: 12px; }
  .btn { letter-spacing: .16em; }
  .review blockquote { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .ln > span, .page-head__title { opacity: 1 !important; letter-spacing: var(--dls) !important; filter: none !important; }
  .hero__fx i { transform: none !important; }
}
