/* Изабелла — тёмная магия. Анимации: только transform / opacity. */

/* Cormorant Garamond и Ruslan Display — SIL Open Font License. Подмножества: cyrillic, latin. */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('./fonts/cormorant-garamond-italic-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('./fonts/cormorant-garamond-italic-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/cormorant-garamond-normal-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/cormorant-garamond-normal-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/cormorant-garamond-normal-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/cormorant-garamond-normal-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ruslan Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/ruslan-display-normal-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ruslan Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/ruslan-display-normal-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #09070b;
  --bg-2: #0d0709;
  --blood: #8e1224;
  --blood-hi: #c1182f;
  --blood-deep: #65192a;
  --violet: #51316f;
  --violet-hi: #8a63bd;
  --violet-deep: #2b1a3d;
  --emerald: #285344;
  --gold: #c9a15a;
  --gold-hi: #e8cd8f;
  --gold-dim: #8a6a35;
  --parch: #ece0c6;
  --text: #e8ded0;
  --muted: #ab9f90;
  --line: rgba(201, 161, 90, 0.28);

  --f-display: 'Ruslan Display', 'Cormorant Garamond', Georgia, serif;
  --f-text: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html.scroll-lock { overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, dl, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: #120a06; padding: 10px 16px; border-radius: 4px; transition: transform 0.2s var(--ease-out); }
.skip:focus { transform: translateY(72px); }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

main, .site-header, .site-footer, .dock { position: relative; z-index: 2; }
main { overflow-x: clip; }

/* ---------- фон: пепел, виньетка, свет курсора ---------- */
#ash { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.vignette {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 48%, rgba(0, 0, 0, 0.55) 100%);
}
.vignette::after {
  content: ''; position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-light {
  position: fixed; left: 0; top: 0; width: 620px; height: 620px; z-index: 3; pointer-events: none;
  margin: -310px 0 0 -310px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 168, 92, 0.16), rgba(193, 24, 47, 0.06) 40%, transparent 68%);
  mix-blend-mode: screen; transition: opacity 0.5s var(--ease-out);
  will-change: transform;
}
.cursor-light.on { opacity: 1; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.7rem 1.6rem; border-radius: 3px; border: 1px solid transparent;
  font-family: var(--f-text); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; text-align: center; line-height: 1.15; color: var(--parch);
  transition: transform 0.16s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 60px; padding-inline: 2.2rem; font-size: 1.2rem; }
.btn-sm { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn-blood { background: linear-gradient(180deg, #a2162b, #6b0f1d); border-color: #c1182f; color: #fff; box-shadow: 0 0 24px rgba(142, 18, 36, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b0e07; border-color: var(--gold-hi); box-shadow: 0 0 24px rgba(201, 161, 90, 0.25); }
.btn-ghost { background: rgba(6, 3, 4, 0.55); border-color: var(--line); color: var(--parch); backdrop-filter: blur(4px); }
.btn-wa { background: #0f5a33; border-color: #3fb56f; color: #fff; }
.btn-tg { background: #124a70; border-color: #4aa8de; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-blood:hover { background: linear-gradient(180deg, #b81a31, #7d1224); }
  .btn-gold:hover { background: linear-gradient(180deg, #f3dba2, #d6ad63); }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
  .btn-wa:hover { background: #167a45; }
  .btn-tg:hover { background: #1a6192; }
}
.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 0; padding: 0.7rem 0; min-height: 44px;
  color: var(--gold-hi); font-size: 1.1rem; letter-spacing: 0.04em; text-decoration: underline; text-decoration-color: rgba(201, 161, 90, 0.4); text-underline-offset: 5px;
}
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6, 3, 4, 0.7); color: var(--gold-hi);
  display: grid; place-items: center; transition: transform 0.16s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}
.round-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .round-btn:hover { border-color: var(--gold); background: rgba(142, 18, 36, 0.35); } }

/* ---------- шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s ease;
  background: linear-gradient(180deg, rgba(6, 3, 4, 0.96), rgba(6, 3, 4, 0.8)); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.site-header.scrolled::before { opacity: 1; }
.brand { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: 0.06em; text-decoration: none; color: var(--gold-hi); text-transform: uppercase; line-height: 1; }
.main-nav { display: flex; gap: clamp(0.8rem, 1.6vw, 1.7rem); }
.main-nav a { white-space: nowrap; text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; font-weight: 700; color: var(--parch); padding: 0.6rem 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .main-nav a:hover::after { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.header-call { text-decoration: none; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-hi); white-space: nowrap; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(6, 3, 4, 0.7); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--gold-hi); transition: transform 0.25s var(--ease-out), opacity 0.2s ease; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1280px) {
  .main-nav { gap: 0.9rem; }
  .main-nav a { font-size: 0.88rem; letter-spacing: 0.08em; }
}
@media (max-width: 1180px) {
  .header-call { display: none; }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.4rem;
    background: rgba(6, 3, 4, 0.98); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0s 0.22s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav a { font-size: 1.15rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(201, 161, 90, 0.12); }
}
@media (max-width: 640px) {
  .brand { font-size: 1.55rem; }
}

/* ---------- появление ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].revealed { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.95rem; font-weight: 700; color: var(--gold); }
.h2 { font-family: var(--f-text); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem); line-height: 1.04; letter-spacing: 0.01em; color: var(--parch); text-transform: uppercase; margin-top: 0.35rem; text-shadow: 0 0 40px rgba(142, 18, 36, 0.55); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-note { margin-top: 0.9rem; color: var(--muted); max-width: 52ch; }
.section::after { content: ''; position: absolute; left: 0; right: 0; top: -70px; height: 140px; pointer-events: none; background: radial-gradient(ellipse 38% 50% at 22% 50%, rgba(200, 190, 180, 0.06), transparent), radial-gradient(ellipse 34% 50% at 72% 50%, rgba(142, 18, 36, 0.14), transparent); }
.section::before { content: ''; position: absolute; left: 50%; top: 0; width: min(520px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }

.dark-veil { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 1; pointer-events: none; transition: opacity 3s var(--ease-out); }
.is-in .dark-veil { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 1.5rem) 0 4rem; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 72% 50%, rgba(142, 18, 36, 0.38), transparent 70%),
    radial-gradient(ellipse 80% 50% at 10% 100%, rgba(74, 10, 20, 0.5), transparent 70%),
    linear-gradient(180deg, #060304, #0a0507);
}
.hero-fog { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-fog i { position: absolute; left: 0; width: 200%; height: 55%; opacity: 0.55; animation: drift 70s linear infinite; will-change: transform;
  background: radial-gradient(ellipse 18% 50% at 10% 50%, rgba(200, 190, 180, 0.16), transparent 70%), radial-gradient(ellipse 22% 60% at 35% 40%, rgba(200, 190, 180, 0.12), transparent 70%), radial-gradient(ellipse 16% 45% at 62% 60%, rgba(200, 190, 180, 0.16), transparent 70%), radial-gradient(ellipse 20% 55% at 88% 45%, rgba(200, 190, 180, 0.12), transparent 70%); }
.hero-fog i:nth-child(1) { bottom: -8%; }
.hero-fog i:nth-child(2) { bottom: 18%; opacity: 0.35; animation-duration: 110s; animation-direction: reverse; }
.hero-fog i:nth-child(3) { top: -10%; opacity: 0.3; animation-duration: 140s; }
@keyframes drift { to { transform: translate3d(-50%, 0, 0); } }
.hero-sigil { position: absolute; z-index: -1; right: -8%; top: 50%; width: min(78vw, 820px); aspect-ratio: 1; margin-top: calc(min(78vw, 820px) / -2); color: var(--gold); opacity: 0.11; animation: spin 240s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; position: relative; z-index: 2; }
.hero-name { font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 1rem + 5.4vw, 6.6rem); line-height: 1; letter-spacing: 0.02em; overflow-wrap: anywhere; text-transform: uppercase; color: var(--parch);
  text-shadow: 0 0 30px rgba(193, 24, 47, 0.7), 0 0 80px rgba(142, 18, 36, 0.6), 0 4px 0 #000; }
.hero-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.9rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; font-size: clamp(1.05rem, 0.9rem + 0.9vw, 1.6rem); color: var(--gold-hi); }
.hero-roles b { color: var(--blood-hi); font-weight: 400; }
.hero-exp { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-style: italic; color: var(--parch); }
.hero-city { color: var(--muted); letter-spacing: 0.04em; margin-top: -0.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.6rem; }

.hero-figure { position: relative; justify-self: center; width: min(100%, 540px, calc(80dvh * 730 / 905)); }
.hero-frame { position: relative; aspect-ratio: 730 / 905; width: 100%; margin-inline: auto; overflow: hidden; isolation: isolate; will-change: transform; border-radius: 3px; box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 90px rgba(142, 18, 36, 0.3); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 6s var(--ease-out); }
.hero-figure.is-in .hero-frame img { transform: scale(1); }
.hero-frame::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 3, 4, 0.55), transparent 22%, transparent 78%, rgba(6, 3, 4, 0.45)), linear-gradient(180deg, rgba(6, 3, 4, 0.5), transparent 20%, transparent 62%, rgba(6, 3, 4, 0.85)); }
.hero-figure.is-in .dark-veil { transition-duration: 3.2s; }

.flame { position: absolute; z-index: 2; width: 14%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 190, 100, 0.8), rgba(255, 120, 40, 0.32) 35%, transparent 68%); animation: flicker 2.7s infinite; }
.hero-frame .f1 { left: 52%; top: 83%; width: 12%; }
.hero-frame .f2 { left: 3%; top: 64%; width: 20%; animation-delay: -1.1s; opacity: 0.6; }
.hero-frame .f3 { left: 86%; top: 80%; width: 18%; animation-delay: -1.9s; opacity: 0.55; }
@keyframes flicker {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  18% { opacity: 0.6; transform: scale(0.94); }
  34% { opacity: 1; transform: scale(1.05); }
  52% { opacity: 0.72; transform: scale(0.97); }
  74% { opacity: 1; transform: scale(1.03); }
}

.mirror { position: absolute; z-index: 4; left: 61.6%; top: 55.2%; width: 26%; height: 30%; padding: 0; border: 0; border-radius: 50%; background: none; overflow: hidden; }
.mirror { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mirror-halo { position: absolute; z-index: 3; left: 61.6%; top: 55.2%; width: 26%; height: 30%; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.9s var(--ease-out); box-shadow: 0 0 22px 6px rgba(182, 148, 92, 0.35), 0 0 60px 18px rgba(81, 49, 111, 0.45), inset 0 0 18px 2px rgba(182, 148, 92, 0.25); }
.mirror-halo.on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .mirror:hover ~ .mirror-halo { opacity: 1; } }
@media (hover: none) { .mirror-halo:not(.on):not(.used) { opacity: 1; animation: halo-hint 3.4s ease-in-out infinite; box-shadow: 0 0 16px 3px rgba(182, 148, 92, 0.28), inset 0 0 12px 1px rgba(182, 148, 92, 0.2); } }
@keyframes halo-hint { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.04); } }
.mirror-face { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity 1.3s var(--ease-out), filter 1.3s var(--ease-out);
  background: url('./media/hero/hero.webp') 11.3% 7.7% / 365% auto no-repeat; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(5px);
  box-shadow: inset 0 0 22px 10px rgba(0, 0, 0, 0.85); mix-blend-mode: screen; }
.mirror.active .mirror-face { opacity: 0.72; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(0.5px); animation: mirror-glitch 0.7s steps(2) infinite; }
@media (hover: hover) and (pointer: fine) { .mirror:hover .mirror-face { opacity: 0.72; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(0.5px); animation: mirror-glitch 0.7s steps(2) infinite; } }
.mirror.blink .mirror-face { animation: mirror-blink 2.4s ease-in-out; }
@keyframes mirror-blink {
  0% { opacity: 0; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(5px); }
  18% { opacity: 0.74; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(0.6px); }
  30% { opacity: 0.3; }
  42% { opacity: 0.76; }
  66% { opacity: 0.7; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(0.6px); }
  100% { opacity: 0; filter: grayscale(1) contrast(1.5) brightness(0.8) blur(5px); }
}
@keyframes mirror-glitch { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 40% { transform: translate3d(-3px, 1px, 0) scale(1.03); } 70% { transform: translate3d(3px, -1px, 0) scale(0.99); } }

.scroll-hint { position: absolute; left: 50%; bottom: 1rem; width: 28px; height: 46px; margin-left: -14px; border: 1px solid var(--line); border-radius: 14px; display: block; }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: hint 2s var(--ease-out) infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 860px) {
  .hero { align-items: flex-start; padding-top: var(--header-h); padding-bottom: 5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-figure { order: -1; width: min(100%, calc(72dvh * 730 / 905)); }
  .hero-frame { border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  .hero-frame::after { background: linear-gradient(180deg, rgba(6, 3, 4, 0.3), transparent 16%); }
  .hero-copy { margin-top: -1.6rem; align-items: center; text-align: center; }
  .hero-roles { justify-content: center; letter-spacing: 0.12em; }
    .hero-cta { justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }
}

/* ---------- обязательный текст ---------- */
.manifest { padding: clamp(3rem, 7vw, 6rem) 0; position: relative; }
.scroll-card {
  position: relative; max-width: 960px; margin-inline: auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.3rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(142, 18, 36, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(20, 10, 12, 0.92), rgba(10, 5, 7, 0.95));
  border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(6, 3, 4, 0.9), 0 0 0 7px rgba(201, 161, 90, 0.18), 0 40px 100px rgba(0, 0, 0, 0.7);
}
.corner { position: absolute; width: 38px; height: 38px; border: 2px solid var(--gold); pointer-events: none; }
.corner.tl { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.corner.tr { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.corner.bl { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.corner.br { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.manifest-text { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; align-items: center; }
.manifest-title { font-family: var(--f-text); font-weight: 700; font-size: clamp(1.5rem, 1rem + 2.6vw, 3rem); letter-spacing: 0.08em; color: var(--gold-hi); line-height: 1.2; text-shadow: 0 0 30px rgba(201, 161, 90, 0.35); }
.manifest-lead { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-style: italic; line-height: 1.4; max-width: 34ch; color: var(--parch); }
.manifest-sub { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); margin-top: 0.6rem; }
.dir-list { width: 100%; max-width: 640px; text-align: left; display: grid; gap: 0; }
.dir-list li { padding: 0.8rem 0.4rem; border-bottom: 1px solid rgba(201, 161, 90, 0.16); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 600; transition: background-color 0.25s ease, padding-left 0.25s var(--ease-out); }
.dir-list li:first-child { border-top: 1px solid rgba(201, 161, 90, 0.16); }
@media (hover: hover) and (pointer: fine) { .dir-list li:hover { background: linear-gradient(90deg, rgba(142, 18, 36, 0.3), transparent); padding-left: 1rem; } }
.manifest-warn { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); color: var(--parch); max-width: 36ch; margin-top: 0.6rem; }
.manifest-note { font-size: 1.3rem; color: var(--muted); font-style: italic; }
.manifest-finale { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); line-height: 1.2; font-style: italic; font-weight: 600; color: #fff; max-width: 24ch; margin-block: 0.8rem; text-shadow: 0 0 24px rgba(193, 24, 47, 0.8), 0 0 60px rgba(142, 18, 36, 0.6); }
.manifest-conf { font-weight: 700; letter-spacing: 0.08em; color: var(--gold-hi); }

/* ---------- Обо мне ---------- */
.about { background: linear-gradient(180deg, transparent, rgba(101, 25, 42, 0.24) 50%, transparent), radial-gradient(ellipse 48% 58% at 8% 55%, rgba(40, 83, 68, 0.2), transparent 70%); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: center; }
.old-frame { position: relative; isolation: isolate; overflow: hidden; padding: 0; border: 1px solid var(--gold-dim); box-shadow: 0 0 0 8px #0a0507, 0 0 0 9px var(--line), 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 80px rgba(142, 18, 36, 0.25); }
.old-frame img { width: 100%; height: auto; transform: scale(1.08); transition: transform 5s var(--ease-out); filter: sepia(0.18) contrast(1.05); }
.is-in .old-frame img, .old-frame.is-in img { transform: scale(1); }
.old-frame::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.65)); }
.old-frame .f1 { left: 78%; top: 42%; width: 18%; }
.old-frame .f2 { left: 76%; top: 82%; width: 22%; animation-delay: -1.3s; }
.about-photo { max-width: 480px; justify-self: center; width: 100%; }
.about-copy { display: flex; flex-direction: column; gap: 1.3rem; }
.facts { display: grid; gap: 0.2rem; }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(201, 161, 90, 0.16); align-items: baseline; }
.facts dt { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.88rem; font-weight: 700; color: var(--gold); }
.facts dd { margin: 0; font-size: 1.35rem; font-weight: 600; color: var(--parch); }
.whisper { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-style: italic; line-height: 1.25; color: #fff; padding-left: 1.2rem; border-left: 2px solid var(--blood-hi); text-shadow: 0 0 30px rgba(193, 24, 47, 0.55); }

.voice { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 10, 12, 0.9), rgba(10, 5, 7, 0.9)); border-radius: 4px; }
.voice-btn { width: 64px; height: 64px; flex: none; border-radius: 50%; border: 1px solid var(--blood-hi); background: radial-gradient(circle at 35% 30%, #b81a31, #5a0b17); color: #fff; display: grid; place-items: center; box-shadow: 0 0 26px rgba(193, 24, 47, 0.5); transition: transform 0.16s var(--ease-out); }
.voice-btn:active { transform: scale(0.94); }
.voice-btn .ico { width: 28px; height: 28px; grid-area: 1 / 1; }
.voice-btn .ico-pause, .voice.playing .voice-btn .ico-play { display: none; }
.voice.playing .voice-btn .ico-pause { display: block; }
.voice.attention .voice-btn { animation: pulse 1.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(193, 24, 47, 0.7); } 100% { box-shadow: 0 0 0 26px rgba(193, 24, 47, 0); } }
.voice-body { flex: 1; min-width: 0; display: grid; gap: 0.5rem; }
.voice-title { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.98rem; color: var(--gold-hi); }
.voice-wave { display: flex; align-items: center; gap: 4px; height: 26px; }
.voice-wave i { flex: 1; max-width: 8px; height: 100%; background: var(--gold); border-radius: 2px; transform: scaleY(0.2); transform-origin: center; opacity: 0.6; }
.voice.playing .voice-wave i { animation: wave 1s ease-in-out infinite; }
.voice-wave i:nth-child(2n) { animation-delay: -0.3s !important; }
.voice-wave i:nth-child(3n) { animation-delay: -0.6s !important; }
.voice-wave i:nth-child(5n) { animation-delay: -0.15s !important; }
@keyframes wave { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
.voice-bar { height: 3px; background: rgba(201, 161, 90, 0.2); border-radius: 2px; overflow: hidden; }
.voice-bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.voice-mute { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--parch); display: grid; place-items: center; }
.voice-mute .ico { grid-area: 1 / 1; }
.voice-mute .ico-muted, .voice-mute[aria-pressed='true'] .ico-vol { display: none; }
.voice-mute[aria-pressed='true'] .ico-muted { display: block; }
.voice-hint { color: var(--gold-hi); font-style: italic; margin-top: -0.6rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 400px; }
  .facts div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ---------- Обряды: круглые видеосферы ---------- */
.rituals { background: radial-gradient(ellipse 75% 50% at 50% 26%, rgba(101, 25, 42, 0.4), transparent 72%), radial-gradient(ellipse 46% 40% at 14% 70%, rgba(81, 49, 111, 0.2), transparent 70%), radial-gradient(ellipse 46% 40% at 88% 44%, rgba(81, 49, 111, 0.16), transparent 70%); }
.orb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(1.6rem, 3vw, 3rem) 1.5rem; }
.orb-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; }
.orb { position: relative; width: min(230px, 100%); aspect-ratio: 1; padding: 0; border: 0; background: none; border-radius: 50%; isolation: isolate; transition: transform 0.35s var(--ease-out); }
.orb-ring { position: absolute; inset: -3px; z-index: -1; border-radius: 50%; border: 1px solid rgba(182, 148, 92, 0.3); box-shadow: 0 0 0 1px rgba(8, 5, 9, 0.9); transition: border-color 0.5s ease; }
.orb-grid { position: relative; isolation: isolate; }
.orb-card { position: relative; z-index: 1; }
.orb-fx { position: absolute; left: -150px; top: -150px; width: calc(100% + 300px); height: calc(100% + 300px); z-index: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .orb:hover .orb-ring { border-color: rgba(190, 160, 226, 0.5); } }
.orb-inner { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; border: 4px solid #0a0507; }
.orb-inner img, .orb-inner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.orb-inner video { opacity: 0; transition: opacity 0.6s ease; }
.orb.live .orb-inner video { opacity: 1; }
.orb-inner::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, transparent 50%, rgba(0, 0, 0, 0.6)); }
.orb-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(6, 3, 4, 0.7); border: 1px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease, transform 0.25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .orb:hover { transform: scale(1.045); }
  .orb:hover .orb-play { opacity: 1; transform: none; }
}
.orb:focus-visible .orb-play { opacity: 1; transform: none; }
.orb:active { transform: scale(0.98); }
.orb-title { font-size: 1.6rem; font-weight: 700; color: var(--parch); line-height: 1.1; margin-top: 0.5rem; }
.orb-dir { color: #c3b7a7; font-size: 1.05rem; line-height: 1.35; max-width: 24ch; }
.orb-more { background: none; border: 0; min-height: 44px; padding: 0.4rem 0.6rem; color: var(--gold-hi); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(201, 161, 90, 0.4); text-underline-offset: 5px; }
@media (max-width: 640px) {
  .orb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 0.9rem; }
  .orb { width: min(168px, 100%); }
  .orb-title { font-size: 1.25rem; }
  .orb-dir { font-size: 0.95rem; }
  .orb-more { font-size: 0.8rem; letter-spacing: 0.08em; }
}

/* ---------- Видеоотзывы: круговая 360° 3D-карусель ---------- */
.video-reviews { overflow: hidden; background:
  radial-gradient(ellipse 70% 55% at 50% 60%, rgba(81, 49, 111, 0.36), transparent 72%),
  radial-gradient(ellipse 50% 40% at 50% 100%, rgba(101, 25, 42, 0.3), transparent 70%); }
.flow { position: relative; height: clamp(520px, 52vw, 680px); perspective: 1700px; perspective-origin: 50% 42%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: -6px; }
.flow.dragging { cursor: grabbing; }
.flow::before { content: ''; position: absolute; left: 50%; bottom: 3%; width: min(78%, 900px); height: 90px; transform: translateX(-50%); border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at center, rgba(81, 49, 111, 0.55), rgba(81, 49, 111, 0.18) 45%, transparent 72%); }
.flow-stage { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.fl-item {
  position: absolute; left: 50%; top: 50%; width: clamp(210px, 20vw, 280px); aspect-ratio: 9 / 16; padding: 0; border: 0; background: #000; border-radius: 6px; overflow: hidden; isolation: isolate;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(182, 148, 92, 0.55), 0 0 46px rgba(81, 49, 111, 0.55), 0 30px 70px rgba(0, 0, 0, 0.75);
}
.fl-item img, .fl-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl-item video { opacity: 0; transition: opacity 0.5s ease; }
.fl-item.live video { opacity: 1; }
.fl-shade { position: absolute; inset: 0; z-index: 2; background: #07050a; pointer-events: none; }
.fl-label { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 2.2rem 0.8rem 0.9rem; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85)); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.92rem; color: var(--parch); display: flex; align-items: center; gap: 0.5rem; justify-content: center; }
.fl-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(7, 5, 10, 0.7); color: var(--gold-hi); display: grid; place-items: center; transition: transform 0.25s var(--ease-out), background-color 0.2s ease; }
.fl-play .ico { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) { .fl-item:hover .fl-play { transform: scale(1.1); background: rgba(101, 25, 42, 0.8); } }
.flow-nav { position: absolute; z-index: 20; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 5, 10, 0.8); color: var(--gold-hi); display: grid; place-items: center; transition: transform 0.16s var(--ease-out), border-color 0.2s ease; }
.flow-nav:active { transform: scale(0.94); }
.flow-prev { left: max(10px, calc(50% - 600px)); } .flow-next { right: max(10px, calc(50% - 600px)); }
@media (hover: hover) and (pointer: fine) { .flow-nav:hover { border-color: var(--gold); } }
.flow-count { text-align: center; margin-top: 1.2rem; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.95rem; font-weight: 700; }
@media (max-width: 700px) {
  .flow { height: clamp(470px, 132vw, 580px); perspective: 1100px; }
  .fl-item { width: clamp(190px, 56vw, 250px); }
  .flow-nav { width: 48px; height: 48px; margin-top: -24px; background: rgba(7, 5, 10, 0.7); }
  .flow-prev { left: 4px; } .flow-next { right: 4px; }
}

/* ---------- Фотоотзывы: бесконечная карусель с едиными карточками ---------- */
.photo-reviews { background: linear-gradient(180deg, transparent, rgba(10, 6, 9, 0.75), transparent), radial-gradient(ellipse 60% 40% at 50% 60%, rgba(101, 25, 42, 0.16), transparent 70%); }
.carousel { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; padding: 0.5rem 0 1.5rem; outline-offset: -4px; }
.carousel.dragging { cursor: grabbing; }
.carousel::before, .carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(24px, 6vw, 90px); z-index: 2; pointer-events: none; }
.carousel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.carousel::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.car-track { display: flex; gap: var(--car-gap); width: max-content; will-change: transform; --car-gap: clamp(0.8rem, 2vw, 1.2rem); }
.car-item { flex: none; width: var(--car-w); --car-w: clamp(230px, 22vw, 290px); }
.car-card { display: flex; flex-direction: column; width: 100%; height: calc(var(--car-w) * 1.72); padding: 0; border: 1px solid rgba(182, 148, 92, 0.45); background: #0a0709; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), inset 0 0 0 4px #0a0709, inset 0 0 0 5px rgba(182, 148, 92, 0.18); transition: transform 0.3s var(--ease-out), border-color 0.2s ease; }
.car-img { position: relative; flex: 1; min-height: 0; background: radial-gradient(ellipse at 50% 40%, rgba(101, 25, 42, 0.28), #08060a 75%); }
.car-img img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; object-position: center; }
.car-cap { flex: none; padding: 0.65rem 0.5rem; background: #0d0709; border-top: 1px solid var(--line); color: var(--gold-hi); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; }
@media (hover: hover) and (pointer: fine) { .car-card:hover { transform: translateY(-5px); border-color: var(--gold); } }
.car-nav { display: flex; gap: 0.6rem; flex: none; }
@media (max-width: 640px) {
  .car-item { --car-w: min(74vw, 300px); }
  .section-head-row { flex-wrap: wrap; }
}

/* ---------- Карта дня ---------- */
.card-day { background: radial-gradient(ellipse 55% 62% at 72% 50%, rgba(81, 49, 111, 0.46), transparent 72%), radial-gradient(ellipse 34% 40% at 72% 56%, rgba(101, 25, 42, 0.22), transparent 70%); }
.card-day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.card-day-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.deck { position: relative; width: min(100%, 260px); aspect-ratio: 200 / 320; justify-self: center; border: 0; background: none; padding: 0; transition: transform 0.3s var(--ease-out); }
.deck-card { position: absolute; inset: 0; border-radius: 14px; background: #0b0506; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 60px rgba(81, 49, 111, 0.55); transition: transform 0.5s var(--ease-out); }
.deck-card svg { width: 100%; height: 100%; display: block; }
.deck-card.c1 { z-index: 3; animation: deck-float 5s ease-in-out infinite; }
.deck-card.c2 { z-index: 2; transform: rotate(-9deg) translateX(-12%); border: 1px solid var(--gold-dim); }
.deck-card.c3 { z-index: 1; transform: rotate(9deg) translateX(12%); border: 1px solid var(--gold-dim); }
@keyframes deck-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(1deg); } }
.deck.shuffling .deck-card.c1 { animation: sh-a 0.6s ease-in-out infinite; }
.deck.shuffling .deck-card.c2 { animation: sh-b 0.6s ease-in-out infinite; }
.deck.shuffling .deck-card.c3 { animation: sh-c 0.6s ease-in-out infinite; }
@keyframes sh-a { 0%, 100% { transform: translateX(0) rotate(0); z-index: 3; } 25% { transform: translateX(-72%) translateY(-4%) rotate(-12deg); z-index: 1; } 50% { transform: translateX(0) rotate(0); z-index: 2; } 75% { transform: translateX(72%) translateY(-4%) rotate(12deg); z-index: 3; } }
@keyframes sh-b { 0%, 100% { transform: rotate(-9deg) translateX(-12%); z-index: 2; } 25% { transform: translateX(80%) rotate(10deg); z-index: 4; } 50% { transform: translateX(-42%) translateY(-5%) rotate(-14deg); z-index: 3; } 75% { transform: translateX(30%) rotate(6deg); z-index: 1; } }
@keyframes sh-c { 0%, 100% { transform: rotate(9deg) translateX(12%); z-index: 1; } 25% { transform: translateX(-85%) rotate(-10deg); z-index: 1; } 50% { transform: translateX(46%) translateY(-5%) rotate(14deg); z-index: 4; } 75% { transform: translateX(-30%) rotate(-6deg); z-index: 2; } }
@media (hover: hover) and (pointer: fine) {
  .deck:hover .c2 { transform: rotate(-16deg) translateX(-30%); }
  .deck:hover .c3 { transform: rotate(16deg) translateX(30%); }
}
@media (max-width: 760px) {
  .card-day-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .card-day-copy { align-items: center; }
  .deck { width: 190px; }
}

/* ---------- Контакты ---------- */
.contacts { padding-bottom: 6rem; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: center; }
.contact-photo { max-width: 360px; width: 100%; justify-self: center; }
.contact-photo .old-frame img { transform: none; }
.contact-copy { display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; }
.contact-facts { width: 100%; display: grid; }
.contact-facts li { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(201, 161, 90, 0.16); align-items: baseline; }
.contact-facts span { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; font-weight: 700; color: var(--gold); }
.contact-facts b { font-size: 1.3rem; color: var(--parch); }
a.phone-big { display: inline-block; padding: 0.3rem 0; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); text-decoration: none; color: var(--gold-hi); letter-spacing: 0.03em; white-space: nowrap; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 760px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-photo { max-width: 280px; }
  .contact-facts li { grid-template-columns: 1fr; gap: 0.1rem; }
  .contact-btns .btn { flex: 1 1 100%; }
}

.site-footer { padding: 2.5rem var(--gutter) 3rem; text-align: center; border-top: 1px solid var(--line); color: var(--muted); display: grid; gap: 0.3rem; background: rgba(6, 3, 4, 0.8); }
.site-footer .credit { font-size: 0.95rem; margin-top: 0.4rem; }
.site-footer .credit a { color: #d4af37; padding: 0.4rem 0.2rem; }
.site-footer a { display: inline-block; padding: 0.55rem 0.8rem; color: var(--gold-hi); text-decoration: none; font-weight: 700; }

/* ---------- мобильная панель связи ---------- */
.dock { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; inset: auto 0 0 0; z-index: 70; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding-bottom: env(safe-area-inset-bottom); background: rgba(201, 161, 90, 0.35); border-top: 1px solid var(--line); }
  .dock-btn { display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 56px; text-decoration: none; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; background: rgba(6, 3, 4, 0.96); }
  .dock-wa { color: #5fd98f; } .dock-call { color: var(--gold-hi); } .dock-tg { color: #6bbdf0; }
}

/* ---------- модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(10px, 3vw, 28px); overscroll-behavior: contain; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 1, 2, 0.92); opacity: 0; transition: opacity 0.3s ease; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; max-height: 100%; opacity: 0; transform: scale(0.96) translateY(10px); transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out); }
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; z-index: 30; right: 10px; top: 10px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(6, 3, 4, 0.9); color: var(--gold-hi); display: grid; place-items: center; box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); transition: transform 0.16s var(--ease-out), background-color 0.2s ease; }
.modal-close .ico { width: 26px; height: 26px; }
.modal-close:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .modal-close:hover { background: var(--blood); } }
.modal-card > .modal-close { position: fixed; right: max(12px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); }

.video-panel { display: grid; grid-template-columns: auto minmax(260px, 380px); gap: 0; background: linear-gradient(180deg, #120a0c, #080405); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9), 0 0 100px rgba(142, 18, 36, 0.3); max-width: 100%; overflow: hidden; }
.video-panel.solo { grid-template-columns: auto; }
.vm-media { background: #000; display: grid; place-items: center; }
.vm-media video { display: block; max-width: min(92vw, 640px); max-height: min(calc(88dvh - 56px), 860px); width: auto; height: auto; background: #000; }
.vm-info { padding: clamp(1.4rem, 3vw, 2.4rem); padding-top: 4rem; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; min-width: 0; }
.vm-title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.05; text-transform: uppercase; color: var(--parch); font-weight: 700; text-shadow: 0 0 30px rgba(142, 18, 36, 0.6); }
.vm-dir { font-size: 1.3rem; font-weight: 600; color: var(--gold-hi); }
.vm-text { color: var(--muted); }
@media (max-width: 760px) {
  .video-panel { grid-template-columns: 1fr; width: 100%; max-height: 100%; overflow-y: auto; }
  .vm-media video { max-width: 100vw; width: 100%; max-height: 66dvh; }
  .vm-info { padding: 1.1rem 1.1rem 1.4rem; gap: 0.7rem; }
  .modal { padding: 0; align-items: stretch; }
  .video-panel { border: 0; align-self: center; }
  .modal-close { top: max(10px, env(safe-area-inset-top)); right: 10px; }
}

.photo-panel { width: min(100%, 980px); display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #0a0507; border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9); }
.pm-scroll { overflow: auto; max-height: calc(100dvh - 130px); display: grid; place-items: center; padding: 3.6rem 0.8rem 0.8rem; overscroll-behavior: contain; }
.pm-scroll img { max-width: 100%; max-height: calc(100dvh - 210px); width: auto; height: auto; object-fit: contain; background: #000; }
.photo-panel.zoomed .pm-scroll { place-items: start center; }
.photo-panel.zoomed .pm-scroll img { max-width: none; max-height: none; width: 190%; cursor: zoom-out; }
.pm-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.7rem; border-top: 1px solid var(--line); }
.pm-count { min-width: 4.5rem; text-align: center; color: var(--muted); letter-spacing: 0.1em; font-weight: 700; }

/* карта дня */
.modal-card { padding: 0; }
.modal-card .modal-backdrop { background: #020102; }
.cm-smoke { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.modal-card.open .cm-smoke { opacity: 1; }
.cm-smoke i { position: absolute; left: 0; width: 200%; height: 60%; opacity: 0.5; animation: drift 60s linear infinite;
  background: radial-gradient(ellipse 18% 50% at 12% 50%, rgba(200, 190, 180, 0.14), transparent 70%), radial-gradient(ellipse 22% 60% at 42% 40%, rgba(81, 49, 111, 0.22), transparent 70%), radial-gradient(ellipse 18% 45% at 70% 60%, rgba(200, 190, 180, 0.14), transparent 70%); }
.cm-smoke i:nth-child(1) { bottom: -10%; } .cm-smoke i:nth-child(2) { top: 0; animation-duration: 90s; animation-direction: reverse; opacity: 0.35; } .cm-smoke i:nth-child(3) { top: 35%; animation-duration: 120s; opacity: 0.3; }
.cm-stage { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; place-items: center; padding: 1rem; overflow-y: auto; }
.cm-intro, .cm-reveal { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), visibility 0s; }
.cm-controls { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.cm-intro video { display: block; height: min(66dvh, 700px); width: auto; max-width: 92vw; aspect-ratio: 480 / 848; background: #000; border: 1px solid var(--line); box-shadow: 0 0 120px rgba(142, 18, 36, 0.45); object-fit: contain; }
.cm-stage[data-stage='intro'] .cm-reveal { opacity: 0; visibility: hidden; transform: translateY(24px) scale(0.94); transition-delay: 0s, 0s, 0.7s; }
.cm-stage[data-stage='card'] .cm-intro { opacity: 0; visibility: hidden; transform: scale(1.04); transition-delay: 0s, 0s, 0.7s; pointer-events: none; }
.cm-reveal { gap: 1.1rem; max-width: 560px; text-align: center; }
.cm-date { letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.9rem; font-weight: 700; color: var(--gold); }
.tarot { width: min(220px, 52vw); aspect-ratio: 200 / 320; perspective: 1400px; }
.tarot-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.3s var(--ease-in-out); box-shadow: 0 0 0 transparent; }
.tarot.flipped .tarot-inner { transform: rotateY(180deg); }
.tarot-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 70px rgba(201, 161, 90, 0.3); }
.tarot-face svg { width: 100%; height: 100%; display: block; }
.tarot-front { transform: rotateY(180deg); }
.cm-meaning { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); display: grid; gap: 0.7rem; justify-items: center; }
.cm-meaning.shown { opacity: 1; transform: none; }
.cm-name { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-hi); line-height: 1.05; text-shadow: 0 0 30px rgba(201, 161, 90, 0.4); }
.cm-text { color: var(--parch); max-width: 40ch; }
.cm-actions { margin-top: 0.4rem; }
@media (max-width: 600px) {
  .cm-intro { gap: 0.8rem; }
  .cm-intro video { height: min(62dvh, 640px); }
  .cm-controls .btn-lg { min-height: 54px; padding-inline: 1.6rem; font-size: 1.05rem; }
}


/* ---------- Видеоприветствие ---------- */
.greeting { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; background:
  radial-gradient(ellipse 55% 62% at 72% 50%, rgba(101, 25, 42, 0.34), transparent 72%),
  radial-gradient(ellipse 36% 46% at 80% 56%, rgba(81, 49, 111, 0.24), transparent 70%); }
.greeting-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.greeting-copy { display: flex; flex-direction: column; gap: 0.9rem; }
.greeting-roles { text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--gold-hi); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); }
.greeting-exp { font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); color: var(--parch); }
.gv { justify-self: center; }
.gv-frame { position: relative; padding: 12px; border: 1px solid var(--gold-dim); background: #0a0709;
  box-shadow: 0 0 0 6px #08060a, 0 0 0 7px rgba(182, 148, 92, 0.28), 0 0 80px rgba(101, 25, 42, 0.55), 0 0 150px rgba(81, 49, 111, 0.38), 0 40px 90px rgba(0, 0, 0, 0.8); }
.gv-screen { position: relative; aspect-ratio: 480 / 848; width: min(78vw, calc(72dvh * 480 / 848), 380px); background: #000; overflow: hidden; }
.gv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; visibility: hidden; }
.gv.playing .gv-video { visibility: visible; }
.gv-poster { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; transition: opacity 0.4s ease, visibility 0s; }
.gv.playing .gv-poster { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0s 0.4s; }
.gv-poster img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.gv-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(8, 6, 10, 0.05), rgba(8, 6, 10, 0.6) 100%), linear-gradient(180deg, rgba(81, 49, 111, 0.2), rgba(8, 6, 10, 0.5)); transition: opacity 0.5s ease; }
.gv-play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-hi); background: rgba(8, 6, 10, 0.55); color: var(--gold-hi); box-shadow: 0 0 44px rgba(101, 25, 42, 0.9), inset 0 0 20px rgba(182, 148, 92, 0.15); transition: transform 0.35s var(--ease-out), background-color 0.3s ease; }
.gv-play::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(182, 148, 92, 0.55); animation: gv-ring 2.6s var(--ease-out) infinite; }
.gv-play .ico { width: 42px; height: 42px; margin-left: 7px; }
@keyframes gv-ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .gv-poster:hover img { transform: scale(1.07); }
  .gv-poster:hover .gv-shade { opacity: 0.55; }
  .gv-poster:hover .gv-play { transform: scale(1.1); background: rgba(101, 25, 42, 0.85); }
}
.gv-poster:focus-visible { outline-offset: -4px; }
@media (max-width: 860px) {
  .greeting .h2 { font-size: clamp(1.9rem, 6.4vw, 3.4rem); overflow-wrap: anywhere; }
  .greeting-roles { letter-spacing: 0.1em; font-size: 1rem; }
  .greeting-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .greeting-copy { align-items: center; }
  .gv-screen { width: min(76vw, 340px); }
}

.manifest-kicker { text-align: center; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--gold-hi); font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.25rem); margin: 0 auto 1.6rem; }

/* ---------- Оценка и «нравится» ---------- */
.rating-widget { display: flex; align-items: center; gap: 0.3rem 1rem; flex-wrap: wrap; margin-top: 1rem; }
.rating-avg { font-size: 2rem; line-height: 1; font-weight: 700; color: var(--gold-hi); letter-spacing: 0.02em; }
.rating-count { color: var(--muted); font-weight: 600; letter-spacing: 0.06em; }
.rating-stars { display: flex; gap: 2px; }
.mstar { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--gold); display: grid; place-items: center; transition: transform 0.2s var(--ease-out), color 0.2s ease; }
.mstar .ico { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: fill 0.2s ease; }
.mstar.lit { color: var(--gold-hi); }
.mstar.lit .ico { fill: currentColor; }
.mstar.part .ico { fill: url(#starPart); }
.mstar.pop, .like-btn.pop { animation: pop 0.35s var(--ease-out); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.rv-like { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.like-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 5, 10, 0.6); color: var(--parch); display: grid; place-items: center; transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease; }
.like-btn .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill 0.2s ease; }
.like-btn.is-liked { color: var(--blood-hi); border-color: var(--blood-hi); background: rgba(101, 25, 42, 0.45); }
.like-btn.is-liked .ico { fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .like-btn:hover, .mstar:hover { border-color: var(--gold); color: var(--gold-hi); } .mstar:hover { transform: scale(1.1); } }
.like-n { min-width: 1.6ch; font-weight: 700; color: var(--parch); }
.vm-media { display: grid; place-items: center; }
.vm-cta { width: 100%; border-radius: 0; min-height: 56px; margin: 0; }
.vm-like { width: 100%; padding: 0.4rem 0 0.6rem; background: #000; }
.vm-like .rv-like { margin-top: 0; }

/* ---------- Пояснение под отзывами и обрядами ---------- */
.disclaimer { margin: 1.6rem auto 0; max-width: 62ch; text-align: center; font-size: 1.05rem; line-height: 1.45; color: #bba685; }
.disclaimer .star { color: var(--gold); font-weight: 700; margin-right: 0.15em; }
.video-reviews .disclaimer, .photo-reviews .disclaimer { margin-top: 1.2rem; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; transition-delay: 0s !important; }
  [data-reveal] { transform: none; }
  .hero-fog, .hero-sigil, #ash, .cursor-light, .flame, .gv-play::before, .mirror-halo { display: none; }
  .dark-veil { transition-duration: 0.3s; }
}
