/* =====================================================================
   Токены (акцентный цвет меняется из панели мастера)
   ===================================================================== */
:root {
  --accent: #d4af37;
  --accent-ink: #0a0a0a;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --bg: #0a0a0a;
  --bg-2: #101010;
  --card: #141414;
  --card-2: #1a1a1a;
  --card-3: #222;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f0f0f0;
  --text-2: #c9c9c9;
  --muted: #8b8b8b;
  --ok: #27ae60;
  --danger: #e74c3c;
  --warn: #e0a33a;
  --h: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --side: 216px;
  --side-open: 252px;
  --top: 0px;
  --bottom: 0px;
  --r: 10px;
  --gal-cols-m: 2;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--b); -webkit-font-smoothing: antialiased; overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke: none; }
.accent { color: var(--accent); }

.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- заставка ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; background: #050505; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transition: transform 1s var(--ease-io); }
.intro__logo { width: min(340px, 62vw); clip-path: inset(0 100% 0 0); animation: introLogo 1.1s .15s var(--ease-io) forwards; }
.intro__logo img { width: 100%; height: auto; }
@keyframes introLogo { to { clip-path: inset(0 0 0 0); } }
.intro__bar { width: 160px; height: 1px; background: var(--line-2); overflow: hidden; }
.intro__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.intro.is-done { transform: translateY(-100%); }
.intro.is-gone, .no-intro .intro { display: none; }

/* ---------- кнопки ---------- */
.btn {
  position: relative; z-index: 0; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 2px; border: 1px solid var(--line-2);
  font: 600 12.5px/1 var(--h); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: color .35s, border-color .35s, background .35s, translate .35s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); pointer-events: none; }
.btn:hover::before { transform: scaleY(1); }
.btn:hover::after { left: 130%; }
.btn:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn:active { scale: .97; }
.btn .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--gold { border-color: var(--accent); color: var(--accent); }
.btn--solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--solid::before { background: var(--text); }
.btn--line { color: var(--text); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11.5px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after { content: ''; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: none; border: 2px solid var(--accent-ink); border-right-color: transparent; border-radius: 50%; transform: none; animation: spin .7s linear infinite; }
.btn--gold.is-loading::after { border-color: var(--accent); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* ---------- боковая панель ---------- */
.side {
  position: fixed; z-index: 30; inset: 0 auto 0 0; width: var(--side); display: flex; flex-direction: column;
  padding: 30px 24px 22px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #0c0c0c, #080808);
  transition: width .55s var(--ease), box-shadow .55s, background .55s;
}
.side:hover { width: var(--side-open); box-shadow: 30px 0 80px -20px rgba(0, 0, 0, .9); background: linear-gradient(180deg, #0f0f0f, #0a0a0a); }
.side__logo { display: block; width: 168px; margin: 0 auto 38px; transition: opacity .3s, transform .6s var(--ease); }
.side__logo img { width: 100%; height: auto; }
.side__logo:hover { transform: scale(1.03); }
.side__nav { position: relative; display: flex; flex-direction: column; gap: 2px; padding-left: 14px; }
.side__bar { position: absolute; left: 0; top: 0; width: 2px; height: 18px; background: var(--accent); border-radius: 2px; transition: transform .6s var(--ease), height .6s var(--ease), opacity .3s; box-shadow: 0 0 12px var(--accent); }
.side__nav a { position: relative; display: flex; align-items: baseline; gap: 0; padding: 9px 0; font: 500 12.5px/1.2 var(--h); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s, gap .55s var(--ease), padding .55s var(--ease); }
.side__nav a small { display: inline-block; width: 0; overflow: hidden; opacity: 0; font: 500 10px var(--h); letter-spacing: .1em; color: #555; transition: width .55s var(--ease), opacity .4s; }
.side:hover .side__nav a { gap: 12px; }
.side:hover .side__nav a small { width: 18px; opacity: 1; }
.side__nav a:hover { color: var(--text); padding-left: 4px; }
.side__nav a.is-on { color: var(--text); }
.side__nav a.is-on small { color: var(--accent); }
.side__bottom { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.side__bottom > * { min-width: 0; }
.socials--side { justify-content: center; }

/* ---------- плеер ---------- */
.player { display: grid; gap: 10px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .02); }
.player__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.player__label { display: inline-flex; align-items: center; gap: 8px; font: 600 9.5px var(--h); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.player__list { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .3s, background .3s; }
.player__list .i { width: 16px; height: 16px; }
.player__list:hover, .player__list.is-on { color: var(--accent); background: var(--accent-soft); }
.player__title { overflow: hidden; white-space: nowrap; font-size: 12.5px; color: var(--text-2); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.player__title span { display: inline-block; }
.is-playing .player__title span { animation: ticker 16s linear infinite; padding-right: 40px; }
@keyframes ticker { 0%, 12% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.player__progress { position: relative; height: 3px; border-radius: 2px; background: var(--line-2); cursor: pointer; }
.player__progress::before { content: ''; position: absolute; inset: -6px 0; }
.player__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); border-radius: 2px; }
.player__ctrl { display: flex; align-items: center; justify-content: space-between; }
.player__btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, translate .45s var(--ease); }
.player__btn .i { width: 14px; height: 14px; }
.player__btn:hover { border-color: var(--accent); color: var(--accent); }
.player__btn--main { border-color: var(--accent); color: var(--accent); }
.player__btn--main:hover, .is-playing .player__btn--main { background: var(--accent); color: var(--accent-ink); }
.i-pause, .is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.eq i { width: 2px; height: 3px; background: var(--accent); border-radius: 1px; }
.is-playing .eq i { animation: eq .9s ease-in-out infinite; }
.is-playing .eq i:nth-child(2) { animation-delay: .2s; } .is-playing .eq i:nth-child(3) { animation-delay: .4s; } .is-playing .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }

.playlist { position: fixed; z-index: 70; left: calc(var(--side-open) + 16px); bottom: 22px; width: 330px; max-height: min(460px, 70vh); display: flex; flex-direction: column; background: rgba(17, 17, 17, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 30px 80px -20px #000; animation: pop .45s var(--ease); transform-origin: bottom left; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.playlist__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font: 600 11px var(--h); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.playlist__head button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.playlist__head button:hover { color: var(--text); }
.playlist__list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.playlist__list button { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; text-align: left; font-size: 13.5px; color: var(--text-2); transition: background .25s, color .25s; }
.playlist__list button:hover { background: var(--card-2); color: var(--text); }
.playlist__list button small { font: 600 10.5px var(--h); color: var(--muted); }
.playlist__list button em { font-style: normal; font-size: 11px; color: var(--muted); }
.playlist__list .is-on { color: var(--accent); }
.playlist__list .is-on small { color: var(--accent); }

/* ---------- соцсети ---------- */
.socials { display: flex; gap: 8px; }
.social { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: border-color .35s, color .35s, background .35s, translate .45s var(--ease); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }

/* ---------- сцена и переходы между разделами ---------- */
.stage { position: fixed; inset: 0 0 0 var(--side); overflow: hidden; background: #050505; }
.progress { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, transparent, var(--accent)); transition: width .15s linear; }
.panel {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  visibility: hidden; z-index: 0; background: var(--bg); clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io), transform 1s var(--ease-io), opacity 1s var(--ease-io), filter 1s;
  scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.panel > * { transition: transform 1.2s var(--ease-io); }
.panel.is-active { visibility: visible; z-index: 2; }
.panel.enter-fwd { clip-path: inset(100% 0 0 0); }
.panel.enter-back { clip-path: inset(0 0 100% 0); }
.panel.enter-fwd > * { transform: translateY(14vh); }
.panel.enter-back > * { transform: translateY(-14vh); }
.panel.is-leaving { visibility: visible; z-index: 1; transform: scale(.93); opacity: .25; filter: brightness(.6); }
.panel.no-anim, .panel.no-anim > * { transition: none !important; }
.panel::-webkit-scrollbar { width: 6px; }
.panel::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

/* появление элементов (включается при прокрутке внутри раздела) */
.a-up { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.a-up.is-in { opacity: 1; transform: none; }
.js-split .w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js-split .c { display: inline-block; transform: translateY(110%) rotate(8deg); transform-origin: left bottom; opacity: 0; transition: transform 1s var(--ease), opacity .7s; transition-delay: calc(var(--i, 0) * 26ms + 120ms); }
.js-split.is-in .c { transform: none; opacity: 1; }

/* 3D-наклон и блик */
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.a-up.tilt { transition: opacity 1s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); backface-visibility: hidden; }
.tilt.is-tilting { transition: transform .12s linear; }

.wrap { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vh, 110px) clamp(20px, 5vw, 72px) 90px; min-height: 100%; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vh, 40px); }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 600 11px var(--h); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.kicker__num { color: var(--muted); }
.kicker__num::after { content: ''; display: inline-block; width: 34px; height: 1px; background: var(--accent-line); vertical-align: middle; margin-left: 14px; }
.h2 { margin: 0; font: 700 clamp(34px, 4.4vw, 64px)/1.02 var(--h); letter-spacing: -.02em; text-transform: uppercase; }
.h4 { margin: 0 0 14px; font: 600 12px var(--h); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sub { margin: 16px 0 0; max-width: 560px; color: var(--muted); font-size: 15px; }

.pager { position: fixed; z-index: 20; right: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 11px var(--h); letter-spacing: .1em; color: var(--muted); }
.pager span:first-child { color: var(--accent); }
.pager i { position: relative; width: 1px; height: clamp(90px, 22vh, 190px); background: var(--line-2); overflow: hidden; }
.pager b { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--accent); transition: height .8s var(--ease); }

/* ---------- главная ---------- */
.panel--home { overflow: hidden; }
.hero { position: relative; height: 100%; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 36%; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.1) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1.4s var(--ease), opacity 1.2s; will-change: transform; animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { from { scale: 1; } to { scale: 1.05; } }
.panel.is-active .hero__media img { transform: scale(1.02) translate3d(var(--px, 0), var(--py, 0), 0); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 10, .75) 22%, rgba(10, 10, 10, .12) 55%, rgba(10, 10, 10, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.dust { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding: 0 clamp(24px, 6vw, 96px) 60px; max-width: 800px; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform 1.4s var(--ease); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font: 500 11.5px var(--h); letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); }
.eyebrow__dot { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.hero__title { margin: 0; font-family: var(--h); text-transform: uppercase; line-height: .92; }
.hero__title > span { display: block; }
.hero__title > span:first-child { font-weight: 300; font-size: clamp(24px, 3vw, 44px); letter-spacing: .42em; margin-bottom: 12px; color: var(--text); }
.hero__title > span:last-child { font-weight: 800; font-size: clamp(56px, 8.6vw, 140px); letter-spacing: -.02em; }
.hero__title .accent .c { background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 30%, color-mix(in srgb, var(--accent) 45%, #fff) 50%, var(--accent) 70%, var(--accent) 100%); background-size: 300% 100%; background-position: 100% 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__title .accent.is-in .c { animation: sheen 9s ease-in-out calc(var(--i, 0) * 50ms + 1.3s) infinite backwards; }
@keyframes sheen { 0% { background-position: 100% 0; } 14% { background-position: 0 0; } 100% { background-position: 0 0; } }
.hero__tagline { max-width: 460px; margin: 30px 0 0; color: var(--text-2); font-size: 16.5px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 38px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 34px; }
.stat b { display: block; font: 700 34px/1 var(--h); color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* ---------- о мастере ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__media { position: relative; max-width: 460px; }
.about__media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent-line); }
.about__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.about__badge { position: absolute; z-index: 4; left: -26px; bottom: 34px; width: 124px; height: 124px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: translateZ(50px); }
.about__badge::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed var(--accent-line); animation: spin 30s linear infinite; }
.about__badge b { font: 700 38px/1 var(--h); color: var(--accent); }
.about__badge span { font: 500 9.5px/1.35 var(--h); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-top: 4px; padding: 0 12px; }
.about__lead { margin: 26px 0 0; color: var(--text-2); font-size: 16.5px; font-weight: 300; }
.about__lead p { margin: 0 0 14px; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 34px; }
.list-lines { list-style: none; margin: 0; padding: 0; }
.list-lines li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); transition: color .3s, padding .4s var(--ease); }
.list-lines li:hover { color: var(--text); padding-left: 28px; }
.list-lines li::before { content: ''; position: absolute; left: 0; top: 21px; width: 8px; height: 1px; background: var(--muted); }
.list-lines--gold li::before { width: 6px; height: 6px; top: 19px; background: none; border: 1px solid var(--accent); transform: rotate(45deg); }

/* ---------- портфолио ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { min-height: 40px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 40px; font: 500 12px var(--h); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); transition: all .35s var(--ease); }
.chip sup { font-size: 9px; margin-left: 4px; color: var(--muted); }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip.is-on sup { color: inherit; }
.gview { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line-2); border-radius: 40px; }
.gview button { width: 40px; height: 36px; border-radius: 30px; display: grid; place-items: center; color: var(--muted); transition: all .3s; }
.gview button:hover { color: var(--text); }
.gview button.is-on { background: var(--accent); color: var(--accent-ink); }

/* слайдшоу-плеер */
.cinema__stage { position: relative; height: clamp(380px, calc(100vh - 390px), 720px); border-radius: 6px; overflow: hidden; background: #050505; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.cslide { position: absolute; inset: 0; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.cslide.enter-next { clip-path: inset(0 0 0 100%); }
.cslide.enter-prev { clip-path: inset(0 100% 0 0); }
.cslide__bg { position: absolute; inset: -60px; width: calc(100% + 120px); max-width: none; height: calc(100% + 120px); object-fit: cover; filter: blur(46px) brightness(.42) saturate(1.3); transform: scale(1.1); }
.cslide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cslide.is-out { transition: none; }
.cinema__nav { position: absolute; z-index: 4; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 10, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .4s, border-color .3s, background .3s, translate .45s var(--ease); }
.cinema__nav--prev { left: 22px; }
.cinema__nav--next { right: 22px; }
.cinema__stage:hover .cinema__nav { opacity: 1; }
.cinema__nav:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.cinema__meta { position: absolute; z-index: 4; left: 26px; bottom: 24px; display: flex; align-items: baseline; gap: 18px; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.cinema__num { font: 500 13px var(--h); letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.cinema__num b { font: 700 34px/1 var(--h); color: #fff; letter-spacing: -.02em; }
.cinema__cap { font: 600 11px var(--h); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.cinema__ctrl { position: absolute; z-index: 4; right: 22px; bottom: 22px; display: flex; gap: 8px; }
.cinema__ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 10, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; transition: all .3s; }
.cinema__ctrl button:hover { border-color: var(--accent); color: var(--accent); }
.cinema__ctrl .i { width: 15px; height: 15px; }
.cinema__progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.cinema__progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.cinema.is-playing .cinema__progress i { animation: cprog var(--dur, 5s) linear forwards; }
.cinema.is-paused .cinema__progress i { animation-play-state: paused; }
@keyframes cprog { to { width: 100%; } }
.cinema__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding: 4px 2px 8px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.cthumb { position: relative; flex: none; width: 70px; height: 92px; border-radius: 4px; overflow: hidden; opacity: .38; transition: opacity .35s, transform .45s var(--ease), box-shadow .35s; }
.cthumb img { width: 100%; height: 100%; object-fit: cover; }
.cthumb:hover { opacity: .85; transform: translateY(-3px); }
.cthumb.is-on { opacity: 1; box-shadow: 0 0 0 1px var(--bg), 0 0 0 2px var(--accent); transform: translateY(-3px); }

.masonry { columns: 3; column-gap: 14px; transition: opacity .35s; }
.is-fading { opacity: 0 !important; transition: opacity .3s; }
.tile { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; border-radius: 4px; background: var(--card); cursor: zoom-in; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.tile.is-in { opacity: 1; transform: none; }
.tile.tilt.is-in { transition: transform .6s var(--ease), opacity .9s var(--ease); }
.tile img { width: 100%; height: auto; min-height: 140px; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 55%); opacity: 0; transition: opacity .5s; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { opacity: 1; }
.tile__cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; font: 600 11px var(--h); letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.tile:hover .tile__cap { opacity: 1; transform: none; }
.more { display: flex; justify-content: center; margin-top: 28px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 5, .96); display: grid; place-items: center; padding: 50px 90px; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lightbox__fig img { max-width: min(1100px, 100%); max-height: calc(100vh - 130px); max-height: calc(100svh - 130px); object-fit: contain; animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.lightbox__fig figcaption { font: 500 11px var(--h); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); transition: all .3s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- цены (аккордеон) ---------- */
.acc__group { border-top: 1px solid var(--line); }
.acc__group:last-child { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 26px 4px; text-align: left; }
.acc__head h3 { margin: 0; flex: 1; font: 600 clamp(18px, 2vw, 26px)/1.2 var(--h); letter-spacing: .04em; text-transform: uppercase; transition: color .3s, letter-spacing .5s var(--ease); }
.acc__head small { font: 500 11px var(--h); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.acc__plus { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: all .4s var(--ease); }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; margin-left: -6px; background: currentColor; transition: transform .4s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__head:hover h3 { color: var(--accent); letter-spacing: .07em; }
.acc__group.is-open .acc__plus { border-color: var(--accent); color: var(--accent); transform: rotate(180deg); }
.acc__group.is-open .acc__plus::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__group.is-open .acc__body { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; padding: 14px 8px 32px; margin: 0 -8px; perspective: 1000px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, var(--card-2), var(--card)); transition: border-color .4s, transform .6s var(--ease), box-shadow .4s; }
.svc-card:hover { border-color: var(--accent-line); box-shadow: 0 24px 50px -30px var(--accent-line); }
.svc-card__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent-line); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; transition: background .4s, color .4s, transform .6s var(--ease); }
.svc-card__icon .i { width: 20px; height: 20px; stroke-width: 1.4; }
.svc-card:hover .svc-card__icon { background: var(--accent); color: var(--accent-ink); }
.svc-card h4 { margin: 0; font: 600 17px/1.3 var(--h); }
.svc-card p { margin: 0; font-size: 13.5px; color: var(--muted); flex: 1; }
.svc-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-card__price { font: 700 20px/1.1 var(--h); color: var(--accent); white-space: nowrap; }
.svc-card__dur { font-size: 12px; color: var(--muted); margin-top: 4px; }
.svc-card__book { font: 600 11px var(--h); letter-spacing: .14em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 3px; white-space: nowrap; transition: color .3s; }
.svc-card__book:hover { color: var(--accent); }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; perspective: 1000px; }
.review { position: relative; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.review::before { content: '“'; position: absolute; top: 6px; right: 22px; font: 700 90px/1 var(--h); color: var(--accent-soft); }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.review__text { margin: 14px 0 20px; color: var(--text-2); font-weight: 300; }
.review__who { font: 600 13px var(--h); letter-spacing: .06em; }
.review__who small { display: block; font: 400 12px var(--b); color: var(--muted); letter-spacing: 0; margin-top: 2px; }

/* ---------- онлайн-запись ---------- */
.book { display: grid; grid-template-columns: 1.3fr .9fr; gap: 18px; align-items: start; }
.bcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: clamp(20px, 2.6vw, 32px); }
.bcard--sticky { position: sticky; top: 24px; }
.bstep + .bstep { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.bstep__h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font: 600 13px var(--h); letter-spacing: .18em; text-transform: uppercase; }
.bstep__h small { color: var(--accent); }
.bstep__h em { margin-left: auto; font: 400 12.5px var(--b); letter-spacing: 0; text-transform: none; color: var(--muted); font-style: normal; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 10px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 14px; text-align: left; transition: all .3s var(--ease); }
.pick button .i { width: 16px; height: 16px; color: var(--accent); }
.pick button small { color: var(--muted); font-size: 12px; }
.pick button:hover { border-color: var(--accent-line); }
.pick button.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pick button.is-on .i, .pick button.is-on small { color: var(--accent-ink); }

.cal { max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font: 600 15px var(--h); letter-spacing: .08em; text-transform: uppercase; }
.cal__nav { display: flex; gap: 6px; }
.rbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .3s; }
.rbtn:hover { border-color: var(--accent); color: var(--accent); }
.rbtn[disabled] { opacity: .25; pointer-events: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__wd { text-align: center; font: 600 10.5px var(--h); letter-spacing: .12em; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal__day { position: relative; aspect-ratio: 1; max-height: 54px; border-radius: 50%; display: grid; place-items: center; font: 500 14.5px var(--b); transition: all .25s var(--ease); }
.cal__day::after { content: ''; position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal__day:hover { background: var(--card-3); }
.cal__day[data-s="full"]::after { background: var(--danger); opacity: .7; }
.cal__day[data-s="off"], .cal__day[data-s="past"], .cal__day[data-s="out"] { color: #4a4a4a; pointer-events: none; }
.cal__day[data-s="off"]::after, .cal__day[data-s="past"]::after, .cal__day[data-s="out"]::after { display: none; }
.cal__day[data-s="full"] { color: #6a6a6a; text-decoration: line-through; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal__day.is-on { background: var(--accent); color: var(--accent-ink); }
.cal__day.is-on::after { background: var(--accent-ink); }
.cal__legend, .legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.cal__legend span, .legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dot--red { background: var(--danger); }

.times__group + .times__group { margin-top: 14px; }
.times__label { font: 600 10.5px var(--h); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.time { height: 44px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 14px var(--b); font-variant-numeric: tabular-nums; transition: all .2s; }
.time[data-s="free"]:hover { border-color: var(--accent); color: var(--accent); }
.time[data-s="busy"] { color: #4e4e4e; border-color: var(--line); text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255, 255, 255, .025) 6px 12px); cursor: not-allowed; }
.time[data-s="short"] { color: #5c5c5c; border-style: dashed; cursor: not-allowed; }
.time.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.legend i { width: 13px; height: 13px; border-radius: 3px; border: 1px solid var(--line-2); }
.legend i.l-busy { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(255, 255, 255, .18) 3px 5px); }
.legend i.l-short { border-style: dashed; }
.legend i.l-on { background: var(--accent); border-color: var(--accent); }
.empty { padding: 26px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--muted); font-size: 14px; }
.empty b { display: block; color: var(--text); font: 600 15px var(--h); margin-bottom: 6px; }
.empty .btn { margin-top: 14px; }
.spinner { display: block; width: 26px; height: 26px; margin: 0 auto 14px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }

.form { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; height: 58px; padding: 24px 16px 8px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); color: var(--text); outline: none; font-size: 16px; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { height: 96px; padding-top: 28px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 14.5px; color: var(--muted); pointer-events: none; transition: all .22s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 24px -6px var(--accent-line); background: #121212; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.field__hint { margin: 6px 2px 0; font-size: 12px; color: var(--muted); }
.field.is-error input { border-color: var(--danger); }
.seg-label { font-size: 12.5px; color: var(--muted); margin: 4px 0 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 13px; transition: all .25s; }
.seg button.is-on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--line-2); border-radius: 3px; display: grid; place-items: center; transition: all .2s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check button { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { padding: 12px 14px; border-radius: 4px; background: rgba(231, 76, 60, .12); color: #ff9d92; font-size: 13.5px; }
.sum { margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 14px; }
.sum span { color: var(--muted); }
.sum b { font-weight: 500; text-align: right; }
.sum .sum__total b { font: 700 20px var(--h); color: var(--accent); }
.book__off { max-width: 560px; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: stretch; }
.ccard { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 4px; }
.crow { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.crow:last-of-type { border-bottom: 0; }
.crow__icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent-line); color: var(--accent); display: grid; place-items: center; flex: none; }
.crow small { display: block; font: 600 10px var(--h); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.crow b { font: 500 17px/1.4 var(--b); word-break: break-word; }
a.crow:hover b { color: var(--accent); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; font-size: 14.5px; }
.hours span:nth-child(odd) { color: var(--muted); }
.ccard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ccard .socials { margin-top: 18px; }
.map { position: relative; min-height: 360px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) grayscale(.85) contrast(.9) brightness(.95); }
.map__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }
.map__empty b { display: block; font: 700 clamp(26px, 3vw, 40px)/1.1 var(--h); letter-spacing: -.01em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot__links { display: flex; gap: 22px; }
.foot__links a:hover, .foot__links button:hover { color: var(--accent); }
.foot__links button { font-size: inherit; color: inherit; }

/* ---------- модальное окно, тост ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.modal__card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); overflow-y: auto; padding: 38px 32px 30px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); animation: zoomIn .45s var(--ease); }
.modal__card::before { content: ''; position: absolute; top: 0; left: 32px; width: 48px; height: 2px; background: var(--accent); }
.modal__card h3 { margin: 0 0 12px; font: 700 26px/1.15 var(--h); text-transform: uppercase; letter-spacing: -.01em; }
.modal__card p { color: var(--text-2); margin: 0 0 12px; }
.modal__text { white-space: pre-line; color: var(--text-2); font-size: 14.5px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.modal__close:hover { color: var(--accent); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.done__icon { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.done__icon .i { width: 32px; height: 32px; stroke-width: 1.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(24px + var(--bottom)); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 4px; border: 1px solid var(--accent-line); background: #111; color: var(--text); font-size: 14px; box-shadow: 0 20px 50px -20px #000; animation: toastIn .4s var(--ease); }
.toast.is-error { border-color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }


/* ---------- мобильные элементы ---------- */
.topbar, .bottomnav, .sheet { display: none; }

@media (max-width: 1023px) {
  :root { --side: 0px; --top: 60px; --bottom: calc(66px + env(safe-area-inset-bottom)); }
  .side, .pager, .playlist { display: none !important; }
  .topbar { display: flex; position: fixed; z-index: 30; inset: 0 0 auto; height: var(--top); align-items: center; gap: 14px; padding: 0 16px; background: rgba(10, 10, 10, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .topbar__logo { width: 104px; }
  .topbar__logo img { width: 100%; height: auto; }
  .topbar__title { flex: 1; text-align: right; font: 600 10.5px var(--h); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .topbar__music { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); }
  .topbar__music .eq { display: none; }
  .topbar__music.is-playing { border-color: var(--accent); }
  .topbar__music.is-playing .eq { display: inline-flex; }
  .topbar__music.is-playing .i-note { display: none; }
  .stage { inset: var(--top) 0 var(--bottom) 0; }
  .panel.enter-fwd { clip-path: inset(0 0 0 100%); }
  .panel.enter-back { clip-path: inset(0 100% 0 0); }
  .panel.enter-fwd > * { transform: translateX(12vw); }
  .panel.enter-back > * { transform: translateX(-12vw); }
  .bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 30; inset: auto 0 0; height: var(--bottom); padding-bottom: env(safe-area-inset-bottom); background: rgba(10, 10, 10, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .bottomnav a, .bottomnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 44px; font: 500 9.5px var(--h); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
  .bottomnav .i { width: 21px; height: 21px; stroke-width: 1.5; transition: transform .4s var(--ease); }
  .bottomnav .is-on { color: var(--accent); }
  .bottomnav .is-on .i { transform: translateY(-2px); }
  .bottomnav a:not(.bn-main).is-on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--accent); border-radius: 0 0 2px 2px; box-shadow: 0 0 10px var(--accent); }
  .bottomnav .bn-main span:first-child { width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 10px 30px -8px var(--accent-line), 0 0 0 5px var(--bg); }
  .sheet { display: block; position: fixed; inset: 0; z-index: 80; }
  .sheet[hidden] { display: none !important; }
  .sheet__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); animation: fade .3s; }
  .sheet__card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: #111; border-top: 1px solid var(--line-2); animation: sheetUp .5s var(--ease); display: grid; gap: 18px; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 4px; }
  .sheet__nav { display: grid; }
  .sheet__nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); font: 600 19px var(--h); text-transform: uppercase; letter-spacing: .02em; animation: up .5s var(--ease) backwards; }
  .sheet__nav a:nth-child(2) { animation-delay: .04s; } .sheet__nav a:nth-child(3) { animation-delay: .08s; } .sheet__nav a:nth-child(4) { animation-delay: .12s; } .sheet__nav a:nth-child(5) { animation-delay: .16s; } .sheet__nav a:nth-child(6) { animation-delay: .2s; } .sheet__nav a:nth-child(7) { animation-delay: .24s; }
  @keyframes up { from { opacity: 0; transform: translateY(14px); } }
  .sheet__nav a small { font: 500 11px var(--h); color: var(--muted); }
  .sheet__nav a.is-on { color: var(--accent); }
  .sheet__player { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
  .player__row { display: flex; align-items: center; gap: 10px; }
  .player__row .player__info { min-width: 0; flex: 1; margin-left: 4px; }
  .sheet__player .playlist__list { padding: 0; max-height: 30vh; }
  .wrap { padding-top: 34px; padding-bottom: 50px; }
  .hero { flex-direction: column; align-items: stretch; height: auto; min-height: 100%; }
  .panel--home { overflow-y: auto; }
  .hero__media { position: relative; inset: auto; height: 50vh; height: 50svh; min-height: 320px; flex: none; }
  .hero__media img { object-position: 50% 25%; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 2%, rgba(10, 10, 10, .2) 45%, rgba(10, 10, 10, .1) 100%); }
  .dust { height: 60%; }
  .hero__content { margin-top: -80px; padding: 0 20px 96px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; margin: 0 18px 18px 0; }
  .contacts { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
  .bcard--sticky { position: static; }
  .masonry { columns: 2; }
  .cinema__stage { height: 62vh; height: 62svh; min-height: 320px; }
  .cinema__nav { opacity: 1; width: 42px; height: 42px; margin-top: -21px; }
  .cinema__nav--prev { left: 10px; } .cinema__nav--next { right: 10px; }
  .cinema__meta { left: 16px; bottom: 16px; flex-direction: column; gap: 4px; }
  .cinema__num b { font-size: 26px; }
  .cinema__ctrl { right: 12px; bottom: 14px; }
  .cthumb { width: 54px; height: 70px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero__title > span:first-child { font-size: 19px; letter-spacing: .34em; }
  .hero__title > span:last-child { font-size: clamp(46px, 15vw, 70px); }
  .hero__tagline { font-size: 15px; margin-top: 20px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 18px; }
    .hero__meta { margin-top: 28px; gap: 18px; }
  .eyebrow { font-size: 10px; letter-spacing: .22em; margin-bottom: 18px; }
  .h2 { font-size: clamp(30px, 9vw, 40px); }
  .masonry { columns: var(--gal-cols-m); column-gap: 8px; }
  .tile { margin-bottom: 8px; }
  .about__cols { grid-template-columns: 1fr; gap: 20px; }
  .about__badge { left: auto; right: -14px; width: 104px; height: 104px; }
  .about__badge b { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .times__grid { grid-template-columns: repeat(4, 1fr); }
  .lightbox { padding: 60px 6px 90px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .modal__card { padding: 34px 22px 24px; }
  .foot { flex-direction: column; }
  .map { min-height: 280px; }
}
@media (min-width: 1500px) { .masonry { columns: 4; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .a-up, .tile, .js-split .c { opacity: 1; transform: none; }
  .grain { animation: none; }
  .intro { display: none; }
}


/* =====================================================================
   v4: эффекты управляются классами на <html> (из «Настроек сайта»)
   ===================================================================== */
.grain { display: none; }
.fx-grain .grain { display: block; }
html:not(.fx-anim) .a-up, html:not(.fx-anim) .tile { opacity: 1 !important; transform: none !important; transition: none !important; }
html:not(.fx-anim) .js-split .c { opacity: 1 !important; transform: none !important; transition: none !important; }
html:not(.fx-anim) .hero__media img { animation: none; }
.tilt.is-tilting { z-index: 6; position: relative; }

/* ---------- курсор: системный, с фирменной картинкой (не тормозит и не ломается) ---------- */
html.fx-cursor body:not(.adm-lock) { cursor: var(--cur-d, auto); }
html.fx-cursor body:not(.adm-lock) :is(a, button, label, select, [role="tab"], .tile, .cslide, .cinema__stage, .cal__day, .time, .chip, .cthumb, .svc-opt) { cursor: var(--cur-p, pointer); }
html.fx-cursor body:not(.adm-lock) :is(input:not([type="checkbox"]):not([type="range"]):not([type="color"]), textarea) { cursor: text; }
html.fx-cursor body:not(.adm-lock) :is(button[disabled], .cal__day[disabled]) { cursor: default; }
.click-ring { position: fixed; z-index: 9999; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; animation: clickRing .6s var(--ease) forwards; }
@keyframes clickRing { from { transform: scale(.25); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- экран загрузки ---------- */
.intro { gap: 22px; }
.intro__meta { display: flex; align-items: flex-end; justify-content: space-between; width: min(340px, 62vw); font: 500 10px var(--h); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fade .6s .5s forwards reverse; animation-direction: normal; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.intro__meta { animation: fadeInUp .6s .4s var(--ease) forwards; }
.intro__num { font: 200 40px/1 var(--h); color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.intro__num::after { content: '%'; font-size: 13px; color: var(--accent); margin-left: 3px; }
.intro__bar { width: min(340px, 62vw); }
.intro__bar i { transition: width .25s linear; }

/* ---------- компоновка: раздел помещается в экран ---------- */
.wrap { padding: clamp(32px, 6vh, 72px) clamp(20px, 4.5vw, 64px) 36px; display: flex; flex-direction: column; justify-content: center; }
.head { margin-bottom: clamp(16px, 2.6vh, 30px); }
.h2 { font-size: clamp(30px, 3.8vw, 58px); }
.sub { margin-top: 12px; }

/* ---------- о мастере: вкладки ---------- */
.wrap.about { display: grid; align-items: center; }
.about__media img { max-height: calc(100vh - 170px); }
.tabs { display: flex; gap: 26px; margin: 22px 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; flex: none; padding: 10px 0 12px; font: 600 11.5px var(--h); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tabs button:hover { color: var(--text-2); }
.tabs button.is-on { color: var(--text); }
.tabs button.is-on::after { transform: scaleX(1); }
.panes { display: grid; }
.pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease), visibility 0s .5s; }
.pane.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.about__lead { margin: 0; }

/* ---------- услуги: вкладки категорий + карточки ---------- */
#priceTabs { margin-bottom: 8px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 14px 12px 18px; margin: 0 -12px; perspective: none; }
.cards .svc-card { animation: cardIn .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
html:not(.fx-anim) .cards .svc-card { animation: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.pager-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; font: 500 12px var(--h); letter-spacing: .12em; color: var(--muted); }

/* ---------- отзывы: карусель ---------- */
.rv__score { text-align: right; }
.rv__score b { display: block; font: 200 52px/1 var(--h); letter-spacing: -.03em; }
.rv__score span { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.rv__score small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.rv__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 12px 4px; margin: 0 -4px; }
.rv__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 250px; }
.review__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin: 14px 0 16px; }
.review__more { align-self: flex-start; margin: -6px 0 16px; font: 600 10.5px var(--h); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent-line); padding-bottom: 2px; }
.review__src { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 500 10px var(--h); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review__src i { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.rv__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.rv__dots { display: flex; gap: 6px; }
.rv__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: all .4s var(--ease); cursor: pointer; }
.rv__dots i.is-on { width: 20px; background: var(--accent); }
.stars-pick { display: flex; gap: 4px; margin: 4px 0 14px; }
.stars-pick button { font-size: 30px; line-height: 1; color: #3a3a3a; transition: color .2s, transform .25s var(--ease); }
.stars-pick button.is-on { color: var(--accent); }
.stars-pick button:hover { transform: scale(1.15); }

/* ---------- онлайн-запись: пошагово ---------- */
.book { display: block; }
.bk { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.bk__steps { display: flex; border-bottom: 1px solid var(--line); padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
.bk__steps::-webkit-scrollbar { display: none; }
.bk__step { position: relative; display: flex; align-items: center; gap: 10px; padding: 17px 16px; font: 600 11.5px var(--h); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.bk__step em { font-style: normal; }
.bk__step span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; letter-spacing: 0; transition: all .3s; }
.bk__step.is-done { color: var(--text-2); }
.bk__step.is-done span { background: var(--card-3); border-color: transparent; color: var(--accent); }
.bk__step.is-on { color: var(--text); }
.bk__step.is-on span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bk__step.is-on::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 1px; background: var(--accent); }
.bk__body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; min-height: clamp(380px, calc(100vh - 360px), 540px); }
.bk__main { position: relative; padding: 22px 26px; min-width: 0; }
.bk__aside { border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; background: rgba(255, 255, 255, .015); }
.bk__aside .sum { margin: 0; border: 0; padding: 0; }
.bk__aside .sum__title { margin: 0 0 14px; font: 600 10.5px var(--h); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.bk__aside .sum__total { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.bk__h { margin: 0 0 4px; font: 600 17px var(--h); letter-spacing: .02em; }
.bk__hint { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.bk__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.bk__fade { animation: bkIn .55s var(--ease); }
@keyframes bkIn { from { opacity: 0; transform: translateX(16px); } }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.svc-opt { text-align: left; display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.svc-opt:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.svc-opt > .i { grid-row: span 2; width: 20px; height: 20px; color: var(--accent); }
.svc-opt b { font-weight: 600; font-size: 14px; line-height: 1.3; }
.svc-opt small { grid-column: 2; color: var(--muted); font-size: 12px; }
.svc-opt__check { grid-row: 1 / span 2; grid-column: 3; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .3s; }
.svc-opt__check .i { width: 12px; height: 12px; stroke-width: 3; opacity: 0; }
.svc-opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.svc-opt.is-on .svc-opt__check { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.svc-opt.is-on .svc-opt__check .i { opacity: 1; }
.bk-when { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.bk-when .times__grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.bk-when .time { height: 40px; }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-form .full { grid-column: 1 / -1; }
.bk-form .field textarea { height: 74px; }
.link-btn { font: 600 11px var(--h); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.link-btn:hover { color: var(--text); }
.link-btn .i { width: 14px; height: 14px; }

/* ожидание ответа сервера: прогресс + мини-игра */
.bwait { position: absolute; inset: 0; z-index: 8; background: rgba(12, 12, 12, .95); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; animation: fade .3s; overflow: hidden; }
.bwait__num { position: relative; z-index: 2; font: 200 72px/1 var(--h); letter-spacing: -.04em; font-variant-numeric: tabular-nums; pointer-events: none; }
.bwait__num::after { content: '%'; font-size: 18px; color: var(--accent); margin-left: 4px; }
.bwait__bar { position: relative; z-index: 2; width: min(320px, 70%); height: 1px; background: var(--line-2); margin: 20px 0 14px; overflow: hidden; pointer-events: none; }
.bwait__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s linear; }
.bwait__msg { position: relative; z-index: 2; font: 500 11px var(--h); letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); min-height: 16px; pointer-events: none; transition: opacity .3s; }
.bwait__game { position: relative; z-index: 2; margin-top: 22px; font-size: 12.5px; color: var(--muted); pointer-events: none; opacity: 0; transition: opacity .6s; }
.bwait__game.is-on { opacity: 1; }
.bwait__game b { color: var(--accent); font-weight: 600; }
.spark { position: absolute; z-index: 1; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; animation: sparkLife 2s var(--ease) forwards; }
.spark::before { content: ''; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); transition: transform .2s; }
.spark:hover::before { transform: rotate(45deg) scale(1.3); }
@keyframes sparkLife { 0% { opacity: 0; transform: scale(.2); } 15% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(.5) translateY(-14px); } }
.spark.is-pop { animation: sparkPop .45s ease-out forwards; pointer-events: none; }
@keyframes sparkPop { to { transform: scale(2.6); opacity: 0; } }

@media (max-width: 1023px) {
  .wrap { justify-content: flex-start; }
  .about__media img { max-height: 46vh; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 16px 16px; margin: 0 -16px; }
  .cards::-webkit-scrollbar { display: none; }
  .cards .svc-card { scroll-snap-align: center; }
  .rv__track { grid-auto-columns: 86%; }
  .rv__score { text-align: left; }
  .bk__body { grid-template-columns: 1fr; min-height: 0; }
  .bk__aside { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .bk__main { padding: 18px 18px 20px; }
  .bk-when { grid-template-columns: 1fr; gap: 18px; }
  .bk-form { grid-template-columns: 1fr; }
  .bk__step { padding: 15px 10px; font-size: 10.5px; gap: 8px; }
  .bk__step.is-on::after { left: 10px; right: 10px; }
  .bk__step:not(.is-on) em { display: none; }
  .bk__step em { font-style: normal; }
}
@media (max-width: 640px) {
  .bk-when .times__grid { grid-template-columns: repeat(4, 1fr); }
}


/* =====================================================================
   Панель мастера
   ===================================================================== */
.adm { position: fixed; inset: 0; z-index: 100; background: #0b0b0b; color: var(--text); display: flex; flex-direction: column; font-size: 14.5px; animation: fade .25s; }
.adm-login { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: fade .25s; }
.adm-login__card { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 34px 28px 26px; position: relative; }
.adm-login__card::before { content: ''; position: absolute; top: 0; left: 28px; width: 48px; height: 2px; background: var(--accent); }
.adm-login__card img { width: 90px; mix-blend-mode: screen; margin: -10px 0 8px -8px; }
.adm-login__card h2 { margin: 0 0 6px; font: 700 22px var(--h); text-transform: uppercase; letter-spacing: .02em; }
.adm-login__card p { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; }
.adm-login__card .btn { width: 100%; margin-top: 14px; }
.adm-login__foot { display: flex; justify-content: center; margin-top: 12px; }
.adm-login__foot button { font-size: 13px; color: var(--muted); }

.adm__top { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); background: #0e0e0e; }
.adm__title { display: flex; align-items: center; gap: 12px; margin-right: auto; font: 700 13px var(--h); letter-spacing: .2em; text-transform: uppercase; }
.adm__title img { width: 86px; }
.adm__badge { font: 700 10px var(--h); letter-spacing: .1em; padding: 4px 8px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.adm__body { flex: 1; display: grid; grid-template-columns: 236px 1fr; min-height: 0; }
.adm__tabs { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: #0e0e0e; overflow-y: auto; }
.adm__tab { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 6px; font-weight: 500; color: var(--text-2); text-align: left; transition: background .2s, color .2s; position: relative; }
.adm__tab:hover { background: var(--card-2); color: var(--text); }
.adm__tab.is-on { background: var(--accent-soft); color: var(--accent); }
.adm__tab.is-on::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--accent); }
.adm__tab .i { width: 18px; height: 18px; }
.adm__tab em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--danger); color: #fff; display: grid; place-items: center; }
.adm__main { overflow-y: auto; padding: 28px clamp(16px, 3vw, 40px) 120px; min-width: 0; }
.adm__inner { max-width: 1000px; margin: 0 auto; }
.adm h2 { margin: 0 0 6px; font: 700 26px var(--h); text-transform: uppercase; letter-spacing: .01em; }
.adm h3 { margin: 32px 0 12px; font: 600 11px var(--h); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.adm__lead { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; max-width: 680px; line-height: 1.55; }
.adm__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.adm__row--between { justify-content: space-between; }

.a-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.a-card + .a-card { margin-top: 10px; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.a-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.a-field > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.a-field small { font-size: 12px; color: #6f6f6f; }
.a-in, .a-sel, .a-ta { width: 100%; height: 42px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-2); background: #0e0e0e; color: var(--text); outline: none; font-size: 14.5px; transition: border-color .2s, box-shadow .2s; color-scheme: dark; }
.a-ta { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.a-in:focus, .a-sel:focus, .a-ta:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.a-in[type="color"] { padding: 4px; width: 60px; }
.a-full { grid-column: 1 / -1; }

.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: all .2s; color: var(--text); }
.a-btn:hover { border-color: var(--accent); color: var(--accent); }
.a-btn .i { width: 15px; height: 15px; }
.a-btn--gold { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.a-btn--gold:hover { color: var(--accent-ink); filter: brightness(1.1); }
.a-btn--ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.a-btn--ok:hover { color: #fff; filter: brightness(1.1); border-color: var(--ok); }
.a-btn--danger { color: #ff8a7e; }
.a-btn--danger:hover { border-color: var(--danger); color: var(--danger); }
.a-btn--sm { height: 32px; padding: 0 11px; font-size: 12.5px; }
.a-btn--icon { width: 32px; padding: 0; }
.a-btn[disabled] { opacity: .35; pointer-events: none; }

.a-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; }
.a-switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; border-radius: 11px; background: #333; position: relative; transition: background .25s; flex: none; margin: 0; cursor: pointer; }
.a-switch input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #ddd; transition: transform .25s var(--ease); }
.a-switch input:checked { background: var(--accent); }
.a-switch input:checked::after { transform: translateX(18px); background: #0a0a0a; }

.a-seg { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.a-seg button { height: 32px; padding: 0 12px; border-radius: 6px; font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.a-seg button.is-on { background: var(--accent); color: var(--accent-ink); }

.a-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.a-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.a-stat b { display: block; font: 700 26px/1.1 var(--h); margin-bottom: 4px; }
.a-stat span { font-size: 12.5px; color: var(--muted); }
.a-stat--hl { border-color: var(--accent); background: var(--accent-soft); }
.a-stat--hl b { color: var(--accent); }

.a-day { margin: 24px 0 10px; display: flex; align-items: baseline; gap: 10px; font: 600 13px var(--h); letter-spacing: .04em; }
.a-day small { font: 400 12.5px var(--b); color: var(--muted); }
.a-day--today::before { content: 'Сегодня'; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px; background: var(--accent); color: var(--accent-ink); }
.a-bk { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 8px; }
.a-bk--new { border-left: 3px solid var(--warn); }
.a-bk--cancelled { opacity: .5; }
.a-bk__time { font: 700 18px/1 var(--h); font-variant-numeric: tabular-nums; }
.a-bk__time small { display: block; font: 400 12.5px var(--b); color: var(--muted); margin-top: 5px; }
.a-bk__name { font-weight: 600; font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.a-bk__svc { margin-top: 2px; color: var(--text-2); }
.a-bk__meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.a-bk__meta a { color: var(--text); font-weight: 500; }
.a-bk__meta a:hover { color: var(--accent); }
.a-bk__comment { margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: var(--bg-2); font-size: 13px; color: var(--text-2); white-space: pre-wrap; }
.a-bk__log { margin-top: 6px; font-size: 12px; color: #7d8f84; white-space: pre-wrap; }
.a-bk__actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 290px; }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pill--new { background: rgba(224, 163, 58, .15); color: #f0b659; }
.pill--ok { background: rgba(39, 174, 96, .15); color: #52d18a; }
.pill--done { background: rgba(255, 255, 255, .08); color: #aaa; }
.pill--cancel { background: rgba(231, 76, 60, .15); color: #ff8a7e; }
.a-empty { text-align: center; padding: 46px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
.a-empty strong { display: block; font: 600 16px var(--h); color: var(--text); margin-bottom: 4px; }

.a-week { display: grid; gap: 6px; }
.a-wd { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 14px; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.a-wd__times { display: flex; align-items: center; gap: 8px; }
.a-wd__times .a-in { width: 120px; }
.a-wd.is-off .a-wd__times { opacity: .3; pointer-events: none; }

.a-cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.a-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font: 600 14px var(--h); letter-spacing: .08em; text-transform: uppercase; }
.a-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.a-cal__wd { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0; text-transform: uppercase; letter-spacing: .1em; }
.a-cal__day { min-height: 74px; padding: 7px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s; font-size: 12px; }
.a-cal__day:hover { border-color: var(--accent); }
.a-cal__day b { font: 600 14px var(--h); }
.a-cal__day span { color: var(--muted); font-size: 11px; line-height: 1.3; }
.a-cal__day.is-off { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255, 255, 255, .025) 6px 12px); }
.a-cal__day.is-off b { color: #666; }
.a-cal__day.is-special { border-color: var(--accent-line); }
.a-cal__day.is-today b { color: var(--accent); }
.a-cal__day.is-past { opacity: .4; }
.a-cal__day.is-empty { visibility: hidden; }
.a-cal__day em { font-style: normal; margin-top: auto; align-self: flex-start; padding: 1px 6px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); font-size: 10.5px; font-weight: 600; }

.a-list-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }
.a-list-item small { color: var(--muted); display: block; font-size: 12.5px; }
.a-svc { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.a-svc__tools { display: flex; flex-direction: column; gap: 6px; }
.a-svc.is-hidden { opacity: .55; }
.a-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.a-icons button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: all .2s; }
.a-icons button:hover { border-color: var(--accent); }
.a-icons button.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.a-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.a-ph { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: opacity .2s, border-color .2s; }
.a-ph.is-drag { opacity: .35; }
.a-ph.is-over { border-color: var(--accent); }
.a-ph__img { position: relative; aspect-ratio: 1; background: var(--bg-2); cursor: grab; }
.a-ph__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.a-ph__num { position: absolute; top: 6px; left: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.a-ph__body { padding: 8px; display: grid; gap: 6px; }
.a-ph__body .a-in { height: 34px; font-size: 12.5px; padding: 0 9px; }
.a-ph__tools { display: flex; gap: 4px; justify-content: space-between; }
.a-drop { display: block; border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted); transition: all .2s; cursor: pointer; background: var(--card); }
.a-drop:hover, .a-drop.is-over { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.a-drop strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.a-single { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.a-single img { width: 120px; height: 150px; object-fit: cover; border-radius: 6px; background: var(--bg-2); }
.a-single img.is-logo { height: 120px; object-fit: contain; background: #000; }
.a-note { padding: 13px 15px; border-radius: 8px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text-2); font-size: 13.5px; margin-bottom: 14px; line-height: 1.55; }
.a-note--info { background: rgba(80, 140, 200, .1); border-color: rgba(80, 140, 200, .35); }
.a-sections { display: grid; gap: 6px; }
.a-sec { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.a-sec .a-in { height: 36px; }
.a-colors { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.a-colors button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.a-colors button.is-on { border-color: #fff; }
.a-track { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }
.a-track .a-in { height: 36px; }

.a-save { position: fixed; left: 50%; bottom: 20px; z-index: 110; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 40px; background: #161616; border: 1px solid var(--accent); box-shadow: 0 20px 50px -15px #000; animation: toastIn .35s var(--ease); font-size: 13.5px; white-space: nowrap; }
.a-save .a-btn { border-radius: 30px; }
.a-modal { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .7); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.a-modal__card { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; }
.a-modal__card h3 { margin: 0 0 6px; font: 700 20px var(--h); letter-spacing: .01em; text-transform: uppercase; color: var(--text); }
.a-modal__card p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.a-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.a-modal__actions .a-btn { flex: 1 1 auto; }
.a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.a-chip { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.a-chip.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

@media (max-width: 860px) {
  .adm__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .adm__tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .adm__tabs::-webkit-scrollbar { display: none; }
  .adm__tab { flex: none; padding: 8px 12px; font-size: 13.5px; }
  .adm__tab .i { display: none; }
  .adm__tab.is-on::before { display: none; }
  .adm__main { padding-top: 18px; }
  .adm h2 { font-size: 21px; }
  .a-stats { grid-template-columns: 1fr 1fr; }
  .a-bk { grid-template-columns: 64px 1fr; gap: 12px; padding: 13px; }
  .a-bk__actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .a-wd { grid-template-columns: 1fr; gap: 8px; }
  .a-wd__times .a-in { width: auto; flex: 1; }
  .a-single { grid-template-columns: 90px 1fr; }
  .a-single img { width: 90px; height: 112px; }
  .a-cal__day { min-height: 54px; padding: 4px 5px; }
  .a-cal__day span { display: none; }
  .adm__top { padding: 0 10px; gap: 6px; }
  .adm__top .a-btn span { display: none; }
  .adm__title span { display: none; }
  .a-sec { grid-template-columns: auto 1fr; }
  .a-sec > div:last-child { grid-column: 1 / -1; }
  .a-save { bottom: calc(12px + env(safe-area-inset-bottom)); padding-left: 14px; }
}


/* ---------- v5: главная / о мастере / портфолio / услуги ---------- */
.about { grid-template-columns: minmax(300px, .9fr) 1.1fr; gap: clamp(32px, 4vw, 64px); }
.about__media { max-width: 520px; width: 100%; justify-self: center; }
.wrap.about .h2 { font-size: clamp(34px, 4.6vw, 70px); }
.about__lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; }
.about__text { max-width: 640px; }
.about__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font: 600 11.5px var(--h); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); padding-bottom: 6px; border-bottom: 1px solid var(--accent-line); transition: color .3s, border-color .3s, gap .4s var(--ease); }
.about__cta .i { width: 15px; height: 15px; color: var(--accent); }
.about__cta:hover { color: var(--accent); border-color: var(--accent); gap: 16px; }

#prices .wrap { justify-content: flex-start; }

.works { display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "main side"; gap: clamp(24px, 3vw, 44px); align-items: center; max-width: none; }
.works__side { grid-area: side; min-width: 0; }
.works__main { grid-area: main; min-width: 0; }
.works__side .head { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 20px; margin-bottom: 20px; }
.works__side .h2 { font-size: clamp(30px, 3vw, 46px); }
.works__side .sub { font-size: 14px; margin-top: 12px; }
.works__side .chips { margin-bottom: 0; }
.works__side .chip { min-height: 36px; padding: 0 14px; font-size: 11px; }
.works .cinema__stage { height: clamp(360px, calc(100vh - 190px), 960px); }
.works .cthumb { width: 46px; height: 60px; }
.works .cinema__thumbs { margin-top: 8px; padding-bottom: 4px; }

@media (max-width: 1023px) {
  .works { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .works__side .head { gap: 14px; margin-bottom: 14px; }
  .works__side .head > div { width: 100%; }
  .works__side .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 14px; padding: 0 20px; }
  .works__side .chips::-webkit-scrollbar { display: none; }
  .works__side .chip { flex: none; }
  .works .cinema__stage { height: 62vh; height: 62svh; min-height: 320px; }
  .works .cthumb { width: 54px; height: 70px; }
  .about__media { max-width: 380px; justify-self: start; }
}
.hero__actions .btn { padding: 0 24px; }
@media (min-width: 1024px) { .works { padding-right: 84px; } }
.works__side .gview { align-self: flex-start; width: auto; }

/* ---------- v6 ---------- */
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; width: fit-content; gap: 12px; align-items: stretch; }
.hero__actions .btn--line { min-width: 0; }
.btn--book { grid-column: 1 / -1; width: 0; min-width: 100%; flex-direction: column; gap: 7px; min-height: 84px; border-color: var(--accent); color: var(--accent-ink); font-size: 14px; background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 30%, color-mix(in srgb, var(--accent) 45%, #fff) 50%, var(--accent) 70%, var(--accent) 100%); background-size: 300% 100%; background-position: 100% 0; }
.btn--book::before { display: none; }
.btn--book:hover { color: var(--accent-ink); filter: brightness(1.08); }
.fx-anim .btn--book { animation: sheen 9s ease-in-out 2.4s infinite; }
.book__main { display: inline-flex; align-items: center; gap: 12px; }
.book__slot { font: 500 11px/1 var(--b); letter-spacing: .04em; text-transform: none; opacity: .72; white-space: nowrap; }
.book__slot b { font-weight: 600; }
.works { align-items: start; align-content: start; }
.works__side { position: sticky; top: 32px; }
@media (max-width: 1023px) { .works__side { position: static; } }
@media (max-width: 640px) { .hero__actions { width: 100%; } }

/* ---------- v7 ---------- */
.pager { width: 84px; gap: 12px; }
.pager__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: color .3s, border-color .3s, background .3s; }
.pager__arrow:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.pager__arrow[disabled] { opacity: .25; pointer-events: none; }
.pager__hint { display: block; width: 100%; text-align: center; padding: 4px 0; font: 600 11.5px/1 var(--h); letter-spacing: .22em; text-indent: .22em; text-transform: uppercase; color: var(--text-2); }
.pager__hint span { display: block; animation: scrollHint 2.2s var(--ease) infinite; }
.pager__hint:hover { color: var(--accent); }
@keyframes scrollHint { 0% { transform: translateY(-7px); opacity: 0; } 35% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }

.bk__nav .btn--cta { flex: 1; max-width: 420px; min-height: 62px; font-size: 13.5px; letter-spacing: .18em; }
.bk__nav .btn--cta .i { width: 18px; height: 18px; }
.bk__nav .btn--cta:not([disabled]) { box-shadow: 0 12px 34px -14px var(--accent); }
.bk__nav { gap: 18px; }
@media (max-width: 640px) { .bk__nav .btn--cta { max-width: none; } }

.spark { width: var(--sz, 44px); height: var(--sz, 44px); margin: calc(var(--sz, 44px) / -2) 0 0 calc(var(--sz, 44px) / -2); animation: sparkLife 2.6s var(--ease) forwards; }
.spark::before { width: 15px; height: 15px; box-shadow: 0 0 14px -2px var(--accent); }
.spark:hover::before { transform: rotate(45deg) scale(1.4); }
@keyframes sparkLife { 0% { opacity: 0; scale: .2; rotate: -40deg; } 14% { opacity: 1; scale: 1; rotate: 0deg; } 80% { opacity: 1; } 100% { opacity: 0; scale: .6; translate: 0 -24px; } }
.spark.is-pop { animation: sparkPop .6s ease-out forwards; }
@keyframes sparkPop { 0% { scale: 1; opacity: 1; } 100% { scale: 2; opacity: 0; } }
.spark-dust { position: absolute; z-index: 1; width: 7px; height: 7px; margin: -3px 0 0 -3px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 10px var(--accent); pointer-events: none; animation: dust .9s ease-out forwards; }
@keyframes dust { to { transform: translate(var(--dx), var(--dy)) rotate(225deg) scale(.2); opacity: 0; } }
.bwait__game { font-size: 14px; color: var(--text-2); }
.bwait__game b { font-size: 18px; }
@media (min-width: 1024px) { .works { padding-right: 124px; } }

/* ---------- v9: кнопка записи на главной ---------- */
.hero__actions { width: 100%; max-width: 360px; }
.btn--book { min-height: 70px; gap: 8px; padding: 0 24px; font-family: var(--h); font-size: 17px; font-weight: 600; letter-spacing: .3em; text-indent: .3em; box-shadow: 0 16px 40px -18px var(--accent); }
.btn--book .book__main { gap: 14px; }
.btn--book .i { width: 20px; height: 20px; }
@media (max-width: 640px) { .hero__actions { max-width: 340px; } .btn--book { font-size: 15.5px; letter-spacing: .26em; text-indent: .26em; } }
.panel { scrollbar-gutter: stable; }
.svc-card.is-tilting, .review.is-tilting { border-color: var(--accent-line); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .8), 0 0 0 1px var(--accent-line); }
.tile.is-tilting { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85); }
@media (max-width: 1023px) {
  .about, .wrap.about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about__media { max-width: 380px; margin: 0 18px 0 0; justify-self: start; }
  .about__text { max-width: none; min-width: 0; }
  .wrap.about .h2 { font-size: clamp(30px, 9vw, 44px); }
}
@media (max-width: 640px) {
  .hero__actions .btn--line { padding: 0 10px; font-size: 11px; letter-spacing: .1em; white-space: normal; text-align: center; line-height: 1.25; min-height: 48px; }
  .about__media img { max-height: 40vh; }
}
@media (max-width: 1023px) {
  .works { align-items: stretch; align-content: stretch; padding-right: clamp(20px, 5vw, 72px); }
  .works__side, .works__main { width: 100%; min-width: 0; }
}
@media (max-width: 1023px) { .works__side .gview { width: fit-content; align-self: flex-start; } }

/* ---------- v10 ---------- */
.hero__media img { transform: none !important; transition: opacity 1.2s !important; animation: none !important; will-change: auto; }
.panel--home.is-leaving { transform: none; }
.btn--book { min-height: 76px; padding: 0 20px; font-size: 24px; letter-spacing: .24em; text-indent: .24em; }
.btn--book .book__main { gap: 0; }
.btn--book .book__slot { font-size: 10px; letter-spacing: 0; text-indent: 0; opacity: .8; }
@media (max-width: 640px) { .btn--book { font-size: 22px; letter-spacing: .2em; text-indent: .2em; } }
.rv__track { padding: 30px 24px; margin: -18px -24px; scroll-padding-inline: 24px; }
.spark-ring { position: absolute; z-index: 1; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--accent); transform: rotate(45deg); pointer-events: none; animation: ringPop .6s ease-out forwards; }
@keyframes ringPop { to { transform: rotate(45deg) scale(3.4); opacity: 0; } }
