:root {
            --panel-count: 6;
            --panel-index: 0;
            --text-main: #111318;
            --text-muted: #5b606f;
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0;
            overflow: hidden;
            background: #f4f4f2; /* Чуть теплее, чем чистый белый, для премиальности */
            color: var(--text-main);
            font-family: 'Manrope', sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        .topbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 70px;
            padding: 0 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 25;
            background: transparent;
            border-bottom: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            isolation: isolate;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 14px 8px 8px;
            text-decoration: none;
            color: #111318;
            border: 1px solid rgba(17, 19, 24, 0.16);
            border-radius: 12px; /* Более строгая форма */
            background: rgba(255, 255, 255, 0.4); /* Больше прозрачности */
            backdrop-filter: blur(12px); /* Сильное размытие */
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            transition: transform 0.3s ease, background 0.3s ease;
        }

        .brand-mark {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 16px;
            font-weight: 700;
            background: #111318;
            color: #ffffff;
        }

        .brand-name {
            font-size: 17px;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        /* Новое верхнее меню */
        .top-nav {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 999px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        }

        .nav-link {
            text-decoration: none;
            color: #111318;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 999px;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .nav-divider {
            width: 1px;
            height: 16px;
            background: rgba(17, 19, 24, 0.1);
            margin: 0 4px;
        }

        .nav-btn-primary {
            text-decoration: none;
            color: #ffffff;
            background: #111318;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 20px;
            border-radius: 999px;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .nav-btn-primary:hover {
            transform: translateY(-1px);
            background: #000000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .experience {
            position: fixed;
            inset: 0;
            z-index: 2;
        }

        .panel-track {
            width: calc(var(--panel-count) * 100vw);
            height: 100vh;
            display: flex;
            transform: translate3d(calc(var(--panel-index) * -100vw), 0, 0);
            transition: transform var(--slide-duration, 920ms) var(--slide-ease, cubic-bezier(0.2, 0.9, 0.25, 1));
            will-change: transform;
        }

        .panel-track.is-instant {
            transition: none;
        }

        .panel {
            width: 100vw;
            height: 100vh;
            display: grid;
            grid-template-columns: minmax(260px, 510px) minmax(300px, 1fr);
            align-items: end;
            gap: clamp(24px, 4.6vw, 82px);
            padding: clamp(92px, 12vh, 126px) clamp(24px, 4vw, 62px) 0;
            background: transparent; /* Прозрачный, чтобы видеть общий фон */
            position: relative;
            overflow: hidden;
            --accent: #4f6ddf;
            --flow: 1;
            --motion-duration: 920ms;
            --motion-ease: cubic-bezier(0.2, 0.9, 0.25, 1);
            --copy-enter-x: 72px;
            --copy-enter-y: 22px;
            --copy-enter-rot: 2deg;
            --copy-enter-blur: 4px;
            --copy-out-x: 64px;
            --copy-out-y: -14px;
            --copy-out-rot: 2deg;
            --copy-out-blur: 6px;
            --visual-enter-x: 44px;
            --visual-enter-y: 20px;
            --visual-enter-scale: 1.04;
            --visual-enter-blur: 2px;
            --visual-out-x: 34px;
            --visual-out-y: -8px;
            --visual-out-scale: 0.97;
            --visual-out-blur: 3px;
            --hero-enter-x: 92px;
            --hero-enter-y: 0px;
            --hero-enter-rot: 3deg;
            --hero-enter-scale: 1.26;
            --hero-enter-blur: 7px;
            --hero-out-x: 82px;
            --hero-out-y: 24px;
            --hero-out-rot: 4deg;
            --hero-out-scale: 1.12;
            --hero-out-blur: 8px;
            --title-enter-y: 24px;
            --title-enter-skew: 6deg;
            --hero-idle-duration: 7.2s;
            --hero-idle-x: 8px;
            --hero-idle-y: 10px;
            --hero-idle-rot: 1.2deg;
            --aura-color: rgba(79, 109, 223, 0.28);
            --aura-intensity: 0.4;
            --spark-color: rgba(79, 109, 223, 0.34);
            --spark-intensity: 0.3;
        }

        .panel:not(:last-child)::after {
            content: '';
            position: absolute;
            right: 0;
            top: 16%;
            width: 1px;
            height: 68%;
            background: rgba(17, 19, 24, 0.08);
        }

        .panel-copy {
            opacity: 0.2;
            transition: opacity 680ms ease, transform 760ms cubic-bezier(0.2, 0.9, 0.25, 1);
            align-self: center;
            padding-bottom: clamp(86px, 11vh, 136px);
            padding-right: clamp(10px, 1.2vw, 22px);
            min-width: 0;
            max-width: 100%;
            position: relative;
            z-index: 50; /* Текст должен быть выше всех визуальных эффектов */
            transform: translateZ(0); /* Форсируем новый контекст наложения, чтобы текст был поверх всего */
        }

        .panel-visual {
            perspective: 1000px; /* Добавляем перспективу для 3D эффекта */
            opacity: 1;
            height: 100%;
            position: relative;
            z-index: 1; /* Опускаем визуальную часть ниже текста */
            background: transparent;
            border: none;
            border-radius: 0;
            overflow: visible;
            line-height: 0;
            transform: translate3d(0, 0, 0);
            transition: none;
        }

        .panel-visual::before,
        .panel-visual::after {
            content: '';
            position: absolute;
            pointer-events: none;
            opacity: 0;
        }

        .panel-visual::before {
            left: 50%;
            bottom: 0;
            width: min(760px, 70vw);
            height: min(680px, 70vh);
            border-radius: 50%;
            background: radial-gradient(circle at 50% 68%, var(--aura-color) 0%, rgba(255, 255, 255, 0) 70%);
            filter: blur(16px);
            transform: translateX(-50%) translateY(20%) scale(0.9);
        }

        .panel-visual::after {
            inset: 12% 4% 2%;
            background:
                radial-gradient(circle at 18% 82%, var(--spark-color) 0 1.4px, rgba(255, 255, 255, 0) 2.4px),
                radial-gradient(circle at 34% 70%, var(--spark-color) 0 1.6px, rgba(255, 255, 255, 0) 2.5px),
                radial-gradient(circle at 56% 78%, var(--spark-color) 0 1.3px, rgba(255, 255, 255, 0) 2.2px),
                radial-gradient(circle at 72% 66%, var(--spark-color) 0 1.5px, rgba(255, 255, 255, 0) 2.4px),
                radial-gradient(circle at 86% 80%, var(--spark-color) 0 1.4px, rgba(255, 255, 255, 0) 2.4px);
            transform: translateY(10px);
        }

        .panel.is-active .panel-copy,
        .panel.is-active .panel-subtitle,
        .panel.is-active .spell-chips,
        .panel.is-active .panel-cta {
            opacity: 1;
            transform: translateY(0);
        }

        .panel.is-active .panel-visual {
            transform: translate3d(0, 0, 0);
            transition: none;
        }

        .panel h2 {
            margin: 0;
            display: block;
            max-width: none; /* Разрешаем тексту занимать всё доступное пространство */
            font-family: 'Space Grotesk', sans-serif; /* Стильный дисплейный шрифт */
            font-size: clamp(3rem, 7vw, 9.5rem); /* Еще немного уменьшили vw для более активного сжатия */
            line-height: 0.95; /* Плотная посадка для заголовка */
            letter-spacing: -0.04em; /* Плотный кернинг */
            color: #111318; /* Резервный цвет */
            background: linear-gradient(135deg, #111318 30%, var(--accent) 100%); /* Возвращаем фирменный градиент */
            background-size: 150% auto;
            background-origin: border-box; /* Фон рисуется от границ padding, покрывая все выносные элементы */
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: none; /* Убираем фильтр тени — это главная причина проблем с обрезкой */
            font-weight: 700;
            hyphens: none;
            padding: 0.1em 0.2em; /* Добавляем "воздух" вокруг букв, чтобы они не срезались */
            margin: -0.1em -0.2em; /* Компенсируем отступы отрицательным маржином */
            width: fit-content;
        }

        /* 1. Passport: Глубокое погружение в оранжевый */
        .panel-passport h2 {
            /* Возвращаем асимметричный градиент для глубины */
            background: linear-gradient(135deg, #111318 10%, #9a3412 40%, var(--accent) 70%, #fb923c 100%);
            background-size: 200% auto;
            background-origin: border-box;
            -webkit-background-clip: text;
            background-clip: text;
            animation: deepFlow 8s ease-in-out infinite;
        }
        .panel-passport .panel-cta {
            background: linear-gradient(135deg, #111318 10%, #9a3412 40%, var(--accent) 70%, #fb923c 100%);
            background-size: 200% auto;
            animation: deepFlow 3s ease-in-out infinite; /* Ускорено для заметности */
        }
        @keyframes deepFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

        /* 2. Editorial: Глубокий монохром (Серебро) */
        .panel-editorial h2 {
            background: linear-gradient(135deg, #111318 10%, #374151 40%, #6b7280 70%, #9ca3af 100%);
            background-size: 200% auto;
            background-origin: border-box;
            -webkit-background-clip: text;
            background-clip: text;
            animation: deepFlow 8s ease-in-out infinite;
        }
        .panel-editorial .panel-cta {
            background: linear-gradient(135deg, #111318 10%, #374151 40%, #6b7280 70%, #9ca3af 100%);
            background-size: 200% auto;
            animation: deepFlow 4s ease-in-out infinite;
        }

        /* 3. Grade: Глубокий синий (Сапфир) */
        .panel-grade h2 {
            background: linear-gradient(135deg, #111318 10%, #1e3a8a 40%, var(--accent) 70%, #60a5fa 100%);
            background-size: 200% auto;
            background-origin: border-box;
            -webkit-background-clip: text;
            background-clip: text;
            animation: deepFlow 8s ease-in-out infinite;
        }
        .panel-grade .panel-cta {
            background: linear-gradient(135deg, #111318 10%, #1e3a8a 40%, var(--accent) 70%, #60a5fa 100%);
            background-size: 200% auto;
            animation: deepFlow 4s ease-in-out infinite;
        }

        /* 4. Vector: Глубокий изумруд (Техно) */
        .panel-vector h2 {
            background: linear-gradient(135deg, #111318 10%, #064e3b 40%, var(--accent) 70%, #34d399 100%);
            background-size: 300% auto;
            background-origin: border-box;
            -webkit-background-clip: text;
            background-clip: text;
            animation: deepFlow 8s ease-in-out infinite;
        }
        .panel-vector .panel-cta {
            background: linear-gradient(135deg, #111318 10%, #064e3b 40%, var(--accent) 70%, #34d399 100%);
            background-size: 300% auto;
            animation: deepFlow 4s ease-in-out infinite;
        }

        /* 5. Market: Глубокий фиолетовый (Аметист) */
        .panel-market h2 {
            background: linear-gradient(135deg, #111318 10%, #4c1d95 40%, var(--accent) 70%, #a78bfa 100%);
            background-size: 200% auto;
            background-origin: border-box;
            -webkit-background-clip: text;
            background-clip: text;
            animation: deepFlow 8s ease-in-out infinite;
        }
        .panel-market .panel-cta {
            background: linear-gradient(135deg, #111318 10%, #4c1d95 40%, var(--accent) 70%, #a78bfa 100%);
            background-size: 200% auto;
            animation: deepFlow 4s ease-in-out infinite;
        }

        /* 6. Background Remove: Глубокий розовый (Маджента) */
        .panel-bg-remove h2 {
            background: linear-gradient(135deg, #111318 10%, #831843 40%, var(--accent) 70%, #fbcfe8 100%);
            background-size: 200% auto;
            background-origin: border-box;
            -webkit-background-clip: text;
            background-clip: text;
            animation: deepFlow 8s ease-in-out infinite;
        }
        .panel-bg-remove .panel-cta {
            background: linear-gradient(135deg, #111318 10%, #831843 40%, var(--accent) 70%, #fbcfe8 100%);
            background-size: 200% auto;
            animation: deepFlow 4s ease-in-out infinite;
        }

        .panel-subtitle {
            margin: 14px 0 0;
            font-size: clamp(1.02rem, 1.52vw, 1.24rem);
        }

        .panel-subtitle {
            margin: 14px 0 0;
            font-size: clamp(1.02rem, 1.52vw, 1.24rem);
            line-height: 1.68;
            color: #4b5563;
            max-width: 46ch;
            font-weight: 500;
            opacity: 0;
            transform: translateY(14px);
            transition: opacity 0.45s ease 0.2s, transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1) 0.2s;
        }

        .panel-cta {
            margin-top: 32px; /* Больше воздуха перед кнопкой */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 16px; /* Увеличенный шрифт */
            letter-spacing: 0.05em;
            font-weight: 700;
            color: #ffffff;
            background: var(--accent); /* Использование цвета панели */
            padding: 18px 36px; /* Увеличенная кнопка */
            border-radius: 999px;
            text-decoration: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            transform: translateY(14px);
            box-shadow: 0 20px 40px -10px var(--aura-color); /* Более мягкая и глубокая тень */
            /* Анимация появления */
            transition: gap 0.3s ease, opacity 0.45s ease 0.38s, transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1) 0.38s;
        }

        .panel.is-active .panel-cta:hover {
            gap: 12px;
            transform: translateY(-2px);
            box-shadow: 0 25px 50px -12px var(--aura-color);
        }

        .panel.is-active a.panel-cta {
            animation: none;
        }
        
        .panel.is-active a.panel-cta:hover {
            animation: none; /* Отключаем пульсацию при наведении, чтобы не конфликтовать с hover */
        }

        .panel-visual img {
            position: absolute;
            left: 50%;
            bottom: 0;
            display: block;
            width: auto;
            height: auto;
            max-width: 100%; /* Ограничиваем ширину, чтобы изображение не налезало на соседние блоки */
            max-height: 100%; /* Ограничиваем высоту, чтобы изображение не перекрывало текст сверху */
            transform-origin: bottom center;
            filter: none;
            /* Добавляем плавность для 3D наклона */
            transition: transform 0.1s ease-out; /* Быстрая реакция на мышь */
            transform: translateX(-50%) translateY(calc(var(--hero-offset-y, 0px) + 30px)) scale(1.2) rotateY(calc(var(--look-x) * 1deg)) rotateX(calc(var(--look-y) * -1deg));
        }

        .panel.is-active .panel-visual img {
            /* Сохраняем вращение в активном состоянии */
            transform: translateX(-50%) translateY(calc(var(--hero-offset-y, 0px) + 30px)) scale(1.2) rotateY(calc(var(--look-x) * 1deg)) rotateX(calc(var(--look-y) * -1deg));
        }

        /* 3-й слайд (Grade): опускаем на 30px (база 30 + 30 = 60) */
        .panel-grade .panel-visual img,
        .panel.is-active.panel-grade .panel-visual img {
            transform: translateX(-50%) translateY(calc(var(--hero-offset-y, 0px) + 60px)) scale(1.2) rotateY(calc(var(--look-x) * 1deg)) rotateX(calc(var(--look-y) * -1deg));
        }

        /* 4-й слайд (Vector): увеличиваем еще на 10% (1.44 * 1.1 ≈ 1.58) */
        .panel-vector .panel-visual img,
        .panel.is-active.panel-vector .panel-visual img {
            transform: translateX(-50%) translateY(calc(var(--hero-offset-y, 0px) + 280px)) scale(1.58) rotateY(calc(var(--look-x) * 1deg)) rotateX(calc(var(--look-y) * -1deg));
        }

        .panel.is-active .panel-visual::before,
        .panel.is-active .panel-visual::after {
            opacity: 0 !important;
            animation: none !important;
        }

        .panel-visual .visual-hover {
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.1s ease-out;
        }

        /* Зона срабатывания эффекта (триггер) */
        .visual-trigger {
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 151px;
            height: 191px;
            margin-left: -164px;
            margin-bottom: 508px;
            --trigger-rotation: -4.0deg;
            z-index: 20;
            cursor: help; /* Курсор-подсказка */
            /* Синхронизация движения с картинкой */
            transform-origin: bottom center;
            transform: translateX(-50%) translateY(calc(var(--hero-offset-y, 0px) + 30px)) scale(1.2) rotateY(calc(var(--look-x) * 1deg)) rotateX(calc(var(--look-y) * -1deg)) rotate(var(--trigger-rotation, 0deg));
        }

        /* Показываем второе фото только при наведении на триггер */
        .visual-trigger:hover ~ .visual-hover {
            opacity: 1;
        }

        /* Специфичные настройки для 2-го слайда (Гарри) */
        .visual-trigger-2 {
            width: 225px;
            height: 170px;
            margin-left: 6px;
            margin-bottom: 212px;
        }

        /* Настройки для 3-го слайда (Color Grade) */
        .visual-trigger-3 {
            width: 181px;
            height: 229px;
            margin-left: -64px;
            margin-bottom: 298px;
            --trigger-rotation: -7.5deg;
        }

        /* Настройки для 6-го слайда (Удаление фона) */
        .visual-trigger-6 {
            width: 292px;
            height: 231px;
            margin-left: 11px;
            margin-bottom: 142px;
            --trigger-rotation: -2deg;
        }

        /* Стили для режима калибровки */
        body.is-calibrating .visual-trigger {
            background: rgba(249, 115, 22, 0.4) !important;
            border: 2px solid #f97316 !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            cursor: move !important;
        }

        /* Коррекция позиции триггера для 3-го слайда (чтобы совпадал с опущенным фото) */
        .panel-grade .visual-trigger {
            transform: translateX(-50%) translateY(calc(var(--hero-offset-y, 0px) + 60px)) scale(1.2) rotateY(calc(var(--look-x) * 1deg)) rotateX(calc(var(--look-y) * -1deg)) rotate(var(--trigger-rotation, 0deg));
        }

        .panel.is-entering .panel-visual img,
        .panel.is-leaving .panel-visual img,
        .panel.is-active:not(.is-entering):not(.is-leaving) .panel-visual img {
            animation: none !important;
            filter: none;
        }

        @keyframes auraPulse {
            0%,
            100% {
                opacity: calc(var(--aura-intensity) * 0.7);
                transform: translateX(-50%) translateY(20%) scale(0.9);
            }
            50% {
                opacity: var(--aura-intensity);
                transform: translateX(-50%) translateY(14%) scale(1.06);
            }
        }

        @keyframes sparkDrift {
            0% {
                opacity: 0;
                transform: translateY(14px) scale(0.96);
            }
            28% {
                opacity: var(--spark-intensity);
            }
            100% {
                opacity: 0;
                transform: translateY(-18px) scale(1.04);
            }
        }

        @keyframes heroIdle {
            0%,
            100% {
                transform: translateX(-50%) translateY(var(--hero-offset-y, 0px)) rotate(0deg) scale(1.2);
            }
            25% {
                transform: translateX(calc(-50% + (var(--hero-idle-x) * 0.34)))
                    translateY(calc(var(--hero-offset-y, 0px) - (var(--hero-idle-y) * 0.38)))
                    rotate(calc(var(--hero-idle-rot) * -0.35))
                    scale(1.21);
            }
            52% {
                transform: translateX(calc(-50% + var(--hero-idle-x)))
                    translateY(calc(var(--hero-offset-y, 0px) - var(--hero-idle-y)))
                    rotate(calc(var(--hero-idle-rot) * -1))
                    scale(1.22);
            }
            77% {
                transform: translateX(calc(-50% + (var(--hero-idle-x) * -0.42)))
                    translateY(calc(var(--hero-offset-y, 0px) - (var(--hero-idle-y) * 0.2)))
                    rotate(calc(var(--hero-idle-rot) * 0.42))
                    scale(1.19);
            }
        }

        .panel.dir-next {
            --flow: 1;
        }

        .panel.dir-prev {
            --flow: -1;
        }

        .panel.is-entering .panel-copy {
            animation: panelCopyEnter var(--motion-duration) var(--motion-ease) both;
        }

        .panel.is-leaving .panel-copy {
            animation: panelCopyLeave calc(var(--motion-duration) * 0.8) var(--motion-ease) both;
        }

        .panel.is-entering .panel-visual,
        .panel.is-leaving .panel-visual {
            animation: none !important;
        }

        .panel.is-entering .panel-visual img {
            animation: panelHeroEnter var(--motion-duration) var(--motion-ease) both;
        }

        .panel.is-leaving .panel-visual img {
            animation: panelHeroLeave calc(var(--motion-duration) * 0.82) var(--motion-ease) both;
        }

        .panel.is-entering h2 {
            animation: panelTitleEnter calc(var(--motion-duration) * 0.9) cubic-bezier(0.16, 0.84, 0.44, 1) both;
        }

        @keyframes panelTitleEnter {
            0% {
                opacity: 0;
                transform: translateY(40px);
                letter-spacing: -0.01em;
                filter: blur(12px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
                letter-spacing: -0.04em;
                filter: none;
            }
        }

        @keyframes panelCopyEnter {
            0% {
                opacity: 0;
                filter: blur(var(--copy-enter-blur));
                transform: translate3d(calc(var(--copy-enter-x) * var(--flow)), var(--copy-enter-y), 0)
                    rotate(calc(var(--copy-enter-rot) * var(--flow)));
            }
            100% {
                opacity: 1;
                filter: none;
                transform: translate3d(0, 0, 0) rotate(0deg);
            }
        }

        @keyframes panelCopyLeave {
            0% {
                opacity: 1;
                filter: none;
                transform: translate3d(0, 0, 0) rotate(0deg);
            }
            100% {
                opacity: 0;
                filter: blur(var(--copy-out-blur));
                transform: translate3d(calc(var(--copy-out-x) * var(--flow) * -1), var(--copy-out-y), 0)
                    rotate(calc(var(--copy-out-rot) * var(--flow) * -1));
            }
        }

        @keyframes panelVisualEnter {
            0% {
                opacity: 0.3;
                filter: blur(var(--visual-enter-blur));
                transform: translate3d(calc(var(--visual-enter-x) * var(--flow)), var(--visual-enter-y), 0)
                    scale(var(--visual-enter-scale));
            }
            100% {
                opacity: 1;
                filter: none;
                transform: translate3d(0, 0, 0) scale(1);
            }
        }

        @keyframes panelVisualLeave {
            0% {
                opacity: 1;
                filter: none;
                transform: translate3d(0, 0, 0) scale(1);
            }
            100% {
                opacity: 0;
                filter: blur(var(--visual-out-blur));
                transform: translate3d(calc(var(--visual-out-x) * var(--flow) * -1), var(--visual-out-y), 0)
                    scale(var(--visual-out-scale));
            }
        }

        @keyframes panelHeroEnter {
            0% {
                opacity: 0;
                filter: blur(var(--hero-enter-blur));
                transform: translateX(calc(-50% + (var(--hero-enter-x) * var(--flow))))
                    translateY(calc(var(--hero-offset-y, 0px) + var(--hero-enter-y)))
                    rotate(calc(var(--hero-enter-rot) * var(--flow)))
                    scale(var(--hero-enter-scale));
            }
            100% {
                opacity: 1;
                filter: none;
                transform: translateX(-50%) translateY(var(--hero-offset-y, 0px)) rotate(0deg) scale(1.2);
            }
        }

        @keyframes panelHeroLeave {
            0% {
                opacity: 1;
                filter: none;
                transform: translateX(-50%) translateY(var(--hero-offset-y, 0px)) rotate(0deg) scale(1.2);
            }
            100% {
                opacity: 0;
                filter: blur(var(--hero-out-blur));
                transform: translateX(calc(-50% + (var(--hero-out-x) * var(--flow) * -1)))
                    translateY(calc(var(--hero-offset-y, 0px) + var(--hero-out-y)))
                    rotate(calc(var(--hero-out-rot) * var(--flow) * -1))
                    scale(var(--hero-out-scale));
            }
        }

        .panel.fx-lumos {
            --copy-enter-x: 108px;
            --copy-enter-y: 16px;
            --copy-enter-rot: 4deg;
            --hero-enter-x: 132px;
            --hero-enter-y: 0px;
            --hero-enter-rot: 6deg;
            --visual-enter-scale: 1.06;
        }

        .panel.fx-editorial {
            --motion-ease: cubic-bezier(0.77, 0, 0.175, 1);
            --copy-enter-x: 38px;
            --copy-enter-y: 4px;
            --copy-enter-rot: 0deg;
            --copy-enter-blur: 11px;
            --hero-enter-x: 62px;
            --hero-enter-y: -8px;
            --hero-enter-scale: 1.34;
            --hero-enter-blur: 10px;
            --visual-enter-scale: 1.08;
            --visual-enter-blur: 10px;
        }

        .panel.fx-patronus {
            --motion-ease: cubic-bezier(0.16, 1.2, 0.3, 1);
            --copy-enter-x: 18px;
            --copy-enter-y: 42px;
            --copy-enter-rot: 0deg;
            --hero-enter-x: 26px;
            --hero-enter-y: 96px;
            --hero-enter-scale: 1.08;
            --hero-enter-rot: 1deg;
            --title-enter-y: 34px;
            --title-enter-skew: 1deg;
        }

        .panel.fx-rune {
            --motion-ease: cubic-bezier(0.68, -0.22, 0.27, 1.18);
            --copy-enter-x: 92px;
            --copy-enter-y: -24px;
            --copy-enter-rot: 8deg;
            --hero-enter-x: 104px;
            --hero-enter-y: -14px;
            --hero-enter-rot: 9deg;
            --hero-enter-scale: 1.33;
            --visual-enter-scale: 1.11;
            --title-enter-y: 18px;
            --title-enter-skew: 9deg;
        }

        .panel.fx-diagon {
            --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
            --copy-enter-x: 58px;
            --copy-enter-y: -38px;
            --copy-enter-rot: -7deg;
            --hero-enter-x: 156px;
            --hero-enter-y: -104px;
            --hero-enter-rot: 13deg;
            --hero-enter-scale: 1.1;
            --title-enter-y: 12px;
            --title-enter-skew: -7deg;
        }

        .panel.fx-patronus.is-entering .panel-visual img {
            animation-name: panelHeroEnterLeviosa;
        }

        .panel.fx-diagon.is-entering .panel-copy {
            animation-name: panelCopyEnterDiagonal;
        }

        .panel.fx-diagon.is-entering .panel-visual img {
            animation-name: panelHeroEnterOrbital;
        }

        @keyframes panelVisualEnterSweep {
            0% {
                opacity: 0.2;
                clip-path: inset(0 100% 0 0);
                transform: translate3d(calc(62px * var(--flow)), 0, 0) scale(1.04);
            }
            100% {
                opacity: 1;
                clip-path: inset(0 0 0 0);
                transform: translate3d(0, 0, 0) scale(1);
            }
        }

        @keyframes panelVisualLeaveSweep {
            0% {
                opacity: 1;
                clip-path: inset(0 0 0 0);
            }
            100% {
                opacity: 0;
                clip-path: inset(0 0 0 100%);
                transform: translate3d(calc(52px * var(--flow) * -1), 0, 0) scale(0.98);
            }
        }

        @keyframes panelVisualEnterShutter {
            0% {
                opacity: 0;
                clip-path: inset(0 50% 0 50%);
                filter: blur(12px);
                transform: scale(1.08);
            }
            100% {
                opacity: 1;
                clip-path: inset(0 0 0 0);
                filter: blur(0);
                transform: scale(1);
            }
        }

        @keyframes panelVisualLeaveShutter {
            0% {
                opacity: 1;
                clip-path: inset(0 0 0 0);
                transform: scale(1);
            }
            100% {
                opacity: 0;
                clip-path: inset(0 50% 0 50%);
                transform: scale(1.06);
            }
        }

        @keyframes panelHeroEnterLeviosa {
            0% {
                opacity: 0;
                filter: blur(9px);
                transform: translateX(calc(-50% + (26px * var(--flow))))
                    translateY(calc(var(--hero-offset-y, 0px) + 136px))
                    rotate(calc(-8deg * var(--flow)))
                    scale(1.02);
            }
            64% {
                opacity: 1;
                filter: blur(0);
                transform: translateX(calc(-50% + (-10px * var(--flow))))
                    translateY(calc(var(--hero-offset-y, 0px) - 20px))
                    rotate(calc(3deg * var(--flow)))
                    scale(1.25);
            }
            100% {
                opacity: 1;
                transform: translateX(-50%) translateY(var(--hero-offset-y, 0px)) rotate(0deg) scale(1.2);
            }
        }

        @keyframes panelVisualEnterDiagonal {
            0% {
                opacity: 0.1;
                clip-path: polygon(0 0, 16% 0, 0 100%, 0 100%);
                transform: translate3d(calc(56px * var(--flow)), -10px, 0) scale(1.07);
            }
            100% {
                opacity: 1;
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
                transform: translate3d(0, 0, 0) scale(1);
            }
        }

        @keyframes panelVisualLeaveDiagonal {
            0% {
                opacity: 1;
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            100% {
                opacity: 0;
                clip-path: polygon(84% 0, 100% 0, 100% 100%, 100% 100%);
                transform: translate3d(calc(52px * var(--flow) * -1), 14px, 0) scale(0.95);
            }
        }

        @keyframes panelCopyEnterDiagonal {
            0% {
                opacity: 0;
                filter: blur(8px);
                transform: translate3d(calc(86px * var(--flow)), -40px, 0) skewX(calc(-10deg * var(--flow)));
            }
            100% {
                opacity: 1;
                filter: none;
                transform: translate3d(0, 0, 0) skewX(0deg);
            }
        }

        @keyframes panelHeroEnterOrbital {
            0% {
                opacity: 0;
                filter: blur(10px);
                transform: translateX(calc(-50% + (184px * var(--flow))))
                    translateY(calc(var(--hero-offset-y, 0px) - 118px))
                    rotate(calc(18deg * var(--flow)))
                    scale(1.03);
            }
            58% {
                opacity: 1;
                filter: none;
                transform: translateX(calc(-50% + (22px * var(--flow))))
                    translateY(calc(var(--hero-offset-y, 0px) + 30px))
                    rotate(calc(2deg * var(--flow)))
                    scale(1.22);
            }
            100% {
                opacity: 1;
                transform: translateX(-50%) translateY(var(--hero-offset-y, 0px)) rotate(0deg) scale(1.2);
            }
        }

        .panel-passport {
            --accent: #f97316; /* Яркий, сочный оранжевый */
            --aura-color: rgba(237, 171, 94, 0.32);
            --spark-color: rgba(237, 171, 94, 0.48);
            --hero-idle-duration: 6.8s;
            --hero-idle-x: 10px;
            --hero-idle-y: 12px;
            --hero-idle-rot: 1.5deg;
            --spark-intensity: 0.38;
        }

        .panel-passport .panel-copy {
            transform: translateX(-54px) translateY(20px);
        }

        .panel-editorial {
            --accent: #111827; /* Глубокий черный */
            --aura-color: rgba(99, 104, 116, 0.24);
            --spark-color: rgba(124, 129, 142, 0.34);
            --hero-idle-duration: 8.1s;
            --hero-idle-x: 6px;
            --hero-idle-y: 8px;
            --hero-idle-rot: 0.65deg;
            --aura-intensity: 0.34;
            --spark-intensity: 0.24;
        }

        .panel-editorial .panel-copy {
            transform: translateY(44px) scale(0.97);
        }

        .panel-grade {
            --accent: #3b82f6; /* Яркий синий */
            --aura-color: rgba(94, 147, 255, 0.34);
            --spark-color: rgba(124, 169, 255, 0.42);
            --hero-idle-duration: 6.4s;
            --hero-idle-x: 11px;
            --hero-idle-y: 14px;
            --hero-idle-rot: 1.35deg;
            --spark-intensity: 0.42;
        }

        .panel-grade .panel-copy {
            transform: translateX(32px) rotate(-1.3deg);
        }

        .panel-vector {
            --accent: #10b981; /* Яркий изумрудный */
            --aura-color: rgba(50, 197, 160, 0.3);
            --spark-color: rgba(80, 220, 184, 0.44);
            --hero-idle-duration: 7s;
            --hero-idle-x: 9px;
            --hero-idle-y: 10px;
            --hero-idle-rot: 1deg;
            --spark-intensity: 0.35;
        }

        .panel-vector .panel-copy {
            transform: translateY(-24px) translateX(-14px);
        }

        .panel-market {
            --accent: #8b5cf6; /* Яркий фиолетовый */
            --aura-color: rgba(143, 112, 228, 0.26);
            --spark-color: rgba(166, 136, 244, 0.38);
            --hero-idle-duration: 8.8s;
            --hero-idle-x: 5px;
            --hero-idle-y: 6px;
            --hero-idle-rot: 0.5deg;
            --aura-intensity: 0.3;
            --spark-intensity: 0.22;
        }

        .panel-market .panel-copy {
            transform: translateX(28px) scale(0.95);
        }

        .panel-bg-remove {
            --accent: #ec4899; /* Яркий розовый */
            --aura-color: rgba(236, 72, 153, 0.28);
            --spark-color: rgba(244, 114, 182, 0.40);
            --hero-idle-duration: 7.5s;
            --hero-idle-x: 8px;
            --hero-idle-y: 11px;
            --hero-idle-rot: 1.2deg;
            --spark-intensity: 0.36;
        }

        .panel-bg-remove .panel-copy {
            transform: translateX(18px) scale(0.98);
        }

        .scene-flash {
            position: fixed;
            inset: 0;
            z-index: 24;
            pointer-events: none;
            opacity: 0;
        }

        .scene-flash.is-animating {
            animation: sceneFlash 0.5s ease both;
        }

        @keyframes sceneFlash {
            0% { opacity: 0; }
            35% { opacity: 0.55; }
            100% { opacity: 0; }
        }

        .scene-curtain {
            position: fixed;
            inset: 0;
            z-index: 23;
            pointer-events: none;
            opacity: 0;
            --curtain-color: rgba(255, 208, 138, 0.68);
        }

        .scene-curtain::before,
        .scene-curtain::after {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0;
        }

        .scene-curtain.is-animating {
            opacity: 1;
        }

        .scene-curtain.curtain-lumos.is-animating::before {
            background: linear-gradient(102deg, rgba(255, 255, 255, 0) 30%, var(--curtain-color) 50%, rgba(255, 255, 255, 0) 68%);
            animation: curtainLumos 0.86s cubic-bezier(0.2, 0.82, 0.3, 1) both;
        }

        .scene-curtain.curtain-editorial.is-animating::before,
        .scene-curtain.curtain-editorial.is-animating::after {
            background: rgba(21, 22, 28, 0.2);
            animation-duration: 0.96s;
            animation-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
            animation-fill-mode: both;
        }

        .scene-curtain.curtain-editorial.is-animating::before {
            animation-name: curtainEditorialTop;
        }

        .scene-curtain.curtain-editorial.is-animating::after {
            animation-name: curtainEditorialBottom;
        }

        .scene-curtain.curtain-patronus.is-animating::before {
            background: radial-gradient(circle at 50% 52%, rgba(151, 207, 255, 0.58) 0%, rgba(151, 207, 255, 0.08) 40%, rgba(151, 207, 255, 0) 68%);
            animation: curtainPatronus 0.98s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .scene-curtain.curtain-rune.is-animating::before {
            background:
                repeating-linear-gradient(-36deg, rgba(58, 170, 145, 0) 0 12px, rgba(58, 170, 145, 0.28) 12px 18px, rgba(58, 170, 145, 0) 18px 30px),
                linear-gradient(90deg, rgba(58, 170, 145, 0) 0%, rgba(58, 170, 145, 0.24) 50%, rgba(58, 170, 145, 0) 100%);
            animation: curtainRune 0.92s cubic-bezier(0.2, 0.9, 0.25, 1) both;
        }

        .scene-curtain.curtain-diagon.is-animating::before {
            background:
                radial-gradient(circle at 20% 72%, rgba(145, 111, 230, 0.38) 0%, rgba(145, 111, 230, 0) 52%),
                radial-gradient(circle at 78% 26%, rgba(145, 111, 230, 0.3) 0%, rgba(145, 111, 230, 0) 48%),
                repeating-linear-gradient(90deg, rgba(145, 111, 230, 0) 0 12px, rgba(145, 111, 230, 0.11) 12px 14px);
            animation: curtainDiagon 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
        }

        @keyframes curtainLumos {
            0% {
                opacity: 0;
                transform: translateX(-130%) skewX(-12deg);
            }
            28% {
                opacity: 0.86;
            }
            100% {
                opacity: 0;
                transform: translateX(130%) skewX(-12deg);
            }
        }

        @keyframes curtainEditorialTop {
            0% {
                opacity: 0;
                transform: translateY(-100%);
            }
            35% {
                opacity: 0.5;
                transform: translateY(-38%);
            }
            100% {
                opacity: 0;
                transform: translateY(-100%);
            }
        }

        @keyframes curtainEditorialBottom {
            0% {
                opacity: 0;
                transform: translateY(100%);
            }
            35% {
                opacity: 0.5;
                transform: translateY(38%);
            }
            100% {
                opacity: 0;
                transform: translateY(100%);
            }
        }

        @keyframes curtainPatronus {
            0% {
                opacity: 0;
                transform: scale(0.35);
            }
            44% {
                opacity: 0.62;
            }
            100% {
                opacity: 0;
                transform: scale(1.38);
            }
        }

        @keyframes curtainRune {
            0% {
                opacity: 0;
                transform: translateX(-26%);
            }
            30% {
                opacity: 0.64;
            }
            100% {
                opacity: 0;
                transform: translateX(26%);
            }
        }

        @keyframes curtainDiagon {
            0% {
                opacity: 0;
                transform: scale(1.16);
            }
            32% {
                opacity: 0.6;
            }
            100% {
                opacity: 0;
                transform: scale(1);
            }
        }

        .scene-controls {
            position: fixed;
            left: 20px;
            right: 20px;
            bottom: 16px;
            /* 2. Учет безопасной зоны для iPhone X и новее */
            bottom: max(16px, env(safe-area-inset-bottom) + 16px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 26;
            pointer-events: none;
        }

        .control-side,
        .dots,
        .scene-meta {
            pointer-events: auto;
        }

        .control-side {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .nav-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.25);
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.4);
            color: #111318;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
            cursor: pointer;
            transition: opacity 0.2s ease, transform 0.1s ease-out, background-color 0.2s ease;
        }
        
        .nav-btn:hover {
            background: #111318;
            color: #ffffff;
        }

        .nav-btn:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }

        .nav-btn:not(:disabled):hover {
            transform: translateY(-1px);
        }

        .dots {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.4);
        }

        .dot {
            width: 24px;
            height: 4px;
            border: 0;
            border-radius: 4px;
            background: rgba(17, 19, 24, 0.2);
            cursor: pointer;
            transition: width 0.3s ease, background-color 0.3s ease;
            padding: 0;
            position: relative;
        }

        .dot.is-active {
            width: 40px;
            background: var(--accent);
        }

        /* Всплывающая подсказка (Tooltip) для навигации */
        .dot::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translate(-50%, -10px);
            background: rgba(20, 22, 28, 0.45); /* Более прозрачный темный фон */
            color: #fff;
            padding: 8px 12px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.2, 0.9, 0.25, 1);
            pointer-events: none;
            margin-bottom: 14px;
            box-shadow: 0 12px 40px -8px rgba(0,0,0,0.3);
            backdrop-filter: blur(20px); /* Усиленное размытие для эффекта стекла */
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            z-index: 10;
        }

        .dot:hover::after {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, 0);
        }

        .scene-meta {
            display: inline-flex;
            align-items: baseline;
            gap: 8px;
            padding: 10px 16px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.4);
        }

        .scene-count {
            font-size: 11px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(17, 19, 24, 0.58);
            font-weight: 700;
        }

        .scene-name {
            font-family: 'Manrope', sans-serif;
            font-size: 15px;
            font-weight: 600;
            line-height: 1;
            color: #111318;
        }

        /* Снич 2 */
        .snitch-2 {
            position: fixed;
            top: 0;
            left: 0;
            width: 240px;
            height: 240px;
            z-index: 100;
            pointer-events: auto;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            will-change: transform;
            animation: snitchFlap2 0.029s linear infinite;
        }

        @keyframes snitchFlap2 {
            0% { background-image: url('../images/promo/snich/11.webp'); }
            16.6% { background-image: url('../images/promo/snich/22.webp'); }
            33.3% { background-image: url('../images/promo/snich/33.webp'); }
            50% { background-image: url('../images/promo/snich/44.webp'); }
            66.6% { background-image: url('../images/promo/snich/66.webp'); }
            83.3% { background-image: url('../images/promo/snich/77.webp'); }
            100% { background-image: url('../images/promo/snich/11.webp'); }
        }

        /* Модальное окно скидки */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 200;
            display: none;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .modal-overlay.is-visible {
            display: flex;
            opacity: 1;
        }

        /* Слой перехода на следующую страницу */
        #page-transition {
            position: fixed;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #f9fafb; /* Цвет фона целевой страницы (Tailwind gray-50) */
            z-index: 9999;
            pointer-events: none;
            will-change: transform;
        }

        /* Анимация ухода текущей страницы вверх */
        body.is-swapping-up .experience,
        body.is-swapping-up .topbar,
        body.is-swapping-up .scene-controls {
            transform: translateY(-100vh);
            transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1);
        }

        /* Анимация появления новой страницы снизу */
        body.is-swapping-up #page-transition {
            transform: translateY(-100%);
            transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1);
        }

        .modal-content {
            background: #ffffff;
            padding: 40px;
            border-radius: 24px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .modal-overlay.is-visible .modal-content {
            transform: scale(1);
        }
        .promo-code {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 32px;
            font-weight: 700;
            color: #f97316;
            margin: 24px 0;
            padding: 16px;
            border: 2px dashed #f97316;
            border-radius: 12px;
            background: rgba(249, 115, 22, 0.05);
        }

        @media (max-width: 980px) {
            .topbar {
                height: 64px;
            }

            .brand {
                padding: 6px 11px 6px 7px;
                box-shadow: 0 6px 14px rgba(17, 19, 24, 0.08);
            }

            .top-nav {
                padding: 4px;
            }

            .nav-link,
            .nav-divider {
                display: none;
            }

            .panel {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto;
                align-content: end;
                gap: 16px;
                padding-top: 76px;
                padding-bottom: 0;
            }

            .panel-copy {
                padding-bottom: 86px;
            }

            .panel h2 {
                font-size: clamp(2.5rem, 9vw, 5rem); /* Более плавное уменьшение на мобильных */
            }

            .panel-subtitle {
                font-size: 0.98rem;
            }

            .panel-visual {
                height: min(54vh, 460px);
            }

            .scene-controls {
                bottom: 12px;
                gap: 8px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .scene-meta {
                order: -1;
                width: 100%;
                justify-content: center;
                background: transparent; /* Убираем лишний шум в интерфейсе */
                border: none;
                backdrop-filter: none;
                padding: 0;
                margin-bottom: 10px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .panel-track,
            .panel-copy,
            .panel-visual,
            .panel-visual img,
            .panel-cta,
            .nav-btn,
            .dot {
                transition: none !important;
            }

            .panel.is-entering .panel-copy,
            .panel.is-entering .panel-visual,
            .panel.is-entering .panel-visual img,
            .panel.is-leaving .panel-copy,
            .panel.is-leaving .panel-visual,
            .panel.is-leaving .panel-visual img,
            .panel.is-active:not(.is-entering):not(.is-leaving) .panel-visual img,
            .panel.is-active .panel-visual::before,
            .panel.is-active .panel-visual::after,
            .panel.is-entering h2,
            .scene-flash,
            .scene-curtain {
                animation: none !important;
            }

            .scene-flash,
            .scene-curtain {
                display: none;
            }

            .panel.is-active .panel-visual::before,
            .panel.is-active .panel-visual::after {
                opacity: 0 !important;
            }
        }
