:root {
            --primary: #6d1f3e;
            --primary-dark: #4a1529;
            --text-main: #1e1e1e;
            --text-light: #555;
            --bg-white: #ffffff;
            --bg-gray: #f7f7f7;
            --radius: 6px;
            --shadow: 0 4px 20px rgba(0,0,0,0.08);
            --container: 1200px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-main);
            line-height: 1.6;
            background: var(--bg-white);
            -webkit-font-smoothing: antialiased;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 12px 22px;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            border: 2px solid var(--primary);
            border-radius: 3px;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
        }

        /* ======= Заголовки ======= */
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-chevron {
            display: flex;
            justify-content: center;
            margin-bottom: 12px;
        }

        .section-chevron svg {
            width: 36px;
            height: 22px;
            fill: var(--primary);
        }

        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-main);
            margin-bottom: 16px;
        }

        .section-subtitle {
            max-width: 820px;
            margin: 0 auto 16px;
            color: var(--text-light);
            font-size: 1.05rem;
            line-height: 1.8;
        }

        .section-divider {
            width: 55px;
            height: 3px;
            background: var(--primary);
            margin: 0 auto;
        }

        /* ======= Шапка ======= */
        .header-top {
            background: white;
            padding: 14px 0;
            border-bottom: 1px solid #eee;
        }

        .header-top-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px 26px;
            flex-wrap: wrap;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .main-logo {
            max-height: 140px;
            width: auto;
            object-fit: contain;
        }

        .header-contacts {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px 28px;
            flex: 1 1 360px;
            flex-wrap: wrap;
        }

        .header-contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .h-icon {
            width: 34px;
            height: 34px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
        }

        .h-contact-text .value {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            transition: color 0.3s ease;
        }

        .header-contact-item:hover .h-icon {
            transform: scale(1.15) rotate(10deg);
            box-shadow: 0 4px 12px rgba(109,31,62,0.3);
        }

        .header-contact-item:hover .value { color: var(--primary); }

        .header-socials {
            display: flex;
            gap: 12px;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            margin-right: 80px;
        }

        .s-icon {
            min-width: 52px;
            height: 52px;
            padding: 10px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border: 1px solid rgba(109,31,62,0.14);
            box-shadow: 0 10px 24px rgba(23, 16, 19, 0.08);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
            overflow: hidden;
        }

        .s-icon:hover {
            transform: translateY(-3px);
            border-color: rgba(109,31,62,0.28);
            box-shadow: 0 14px 28px rgba(23, 16, 19, 0.14);
        }

        .s-icon img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            display: block;
        }

        .s-icon-vk {
            overflow: hidden;
            padding: 4px;
        }

        .s-icon-vk img {
            width: 52px !important;
            height: 52px !important;
        }

        .s-icon.is-wide {
            min-width: auto;
            padding: 6px 10px;
        }

        .s-icon.is-wide img {
            width: 90px;
            height: 24px;
        }

        /* ======= Навигация ======= */
        .header-nav {
            background: #1a1a1a;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-inner {
            display: flex;
            justify-content: center;
            position: relative;
        }

        nav {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .burger-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 15px 0;
            z-index: 1001;
            position: relative;
        }

        .burger-btn span {
            display: block;
            width: 25px;
            height: 2px;
            background-color: white;
            margin: 4px 0;
            transition: 0.3s ease;
        }

        .burger-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
        .burger-btn.active span:nth-child(2) { opacity: 0; }
        .burger-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

        .nav-links { display: flex; }
        .nav-links li { position: relative; }

        .nav-links li + li::before {
            content: "|";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            color: #444;
            pointer-events: none;
            font-size: 0.7rem;
        }

        .nav-links a {
            display: block;
            padding: 14px 22px;
            color: #fff;
            font-size: 0.95rem;
            font-weight: 700;
            transition: 0.3s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: white;
            background: var(--primary);
        }

        /* ======= Hero ======= */
        .hero {
            padding: 60px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(135deg, rgba(109,31,62,0.05), rgba(109,31,62,0.1));
            filter: blur(8px);
            z-index: -2;
        }

        .hero::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.7);
            z-index: -1;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero-badge {
            color: var(--primary);
            font-weight: 800;
            margin-bottom: 20px;
            font-size: 1.35rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            text-align: center;
        }

        .hero h1 {
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 24px;
            color: #222;
            text-align: left;
        }

        .hero-text {
            color: #444;
            font-size: 1.1rem;
            font-weight: 600;
            max-width: 640px;
            margin-bottom: 28px;
            text-align: justify;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-benefits {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px 18px;
            margin-bottom: 28px;
        }

        .hero-benefits li {
            font-size: 0.95rem;
            color: #333;
            position: relative;
            padding-left: 18px;
        }

        .hero-benefits li::before {
            content: "•";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary);
            font-weight: 700;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            justify-content: center;
        }

        .hero-secondary {
            color: var(--primary);
            font-weight: 700;
            border: 2px solid var(--primary);
            border-radius: 3px;
            padding: 12px 22px;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 0.06em;
        }

        .hero-secondary:hover {
            background: var(--primary);
            color: #fff;
        }

        .hero-image {
            position: relative;
            z-index: 1;
            max-width: 90%;
            margin: 0 auto;
        }

        .hero-image img {
            display: block;
            width: 100%;
            height: 500px;
            object-fit: cover;
            object-position: center;
            position: relative;
            z-index: 1;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .hero-image::before {
            content: "";
            position: absolute;
            top: -25px;
            right: -25px;
            width: 100%;
            height: 100%;
            background: var(--primary);
            z-index: 0;
        }

        /* ======= Услуги ======= */
        .services {
            padding: 80px 0;
            background: var(--bg-gray);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }

        .service-card {
            background: white;
            padding: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 2px solid #eee;
            display: flex;
            flex-direction: column;
            min-height: 250px;
            transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
        }

        .service-card:hover {
            border-color: var(--primary);
            box-shadow: 0 8px 30px rgba(109,31,62,0.15);
            transform: translateY(-4px);
        }

        .icon-box {
            width: 52px;
            height: 52px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            flex-shrink: 0;
        }

        .icon-box svg {
            width: 26px;
            height: 26px;
            stroke: var(--primary);
            fill: none;
        }

        .service-card h3 {
            margin-bottom: 12px;
            font-size: 1.05rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            line-height: 1.35;
        }

        .service-card p {
            color: var(--text-light);
            margin-bottom: 20px;
            font-size: 0.95rem;
            flex-grow: 1;
            line-height: 1.7;
        }

        .service-link {
            display: inline-block;
            color: var(--primary);
            font-weight: 700;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-top: auto;
        }

        .service-link:hover { text-decoration: underline; }

        /* ======= Преимущества ======= */
        .advantages { padding: 70px 0; background: white; }
        .advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px 40px; }
        .advantage-item { display: flex; align-items: flex-start; gap: 18px; }
        .adv-icon {
            width: 46px;
            height: 46px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .adv-icon svg {
            width: 38px;
            height: 38px;
            stroke: var(--primary);
            fill: none;
            stroke-width: 1.6;
        }

        .advantage-item h3 {
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 8px;
        }

        .advantage-item p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* ======= О нас ======= */
        .about { padding: 70px 0; background: var(--bg-gray); }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text p {
            color: var(--text-light);
            margin-bottom: 18px;
            line-height: 1.85;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .about-image { position: relative; }

        .about-image img {
            width: 100%;
            height: auto;
            position: relative;
            z-index: 1;
            border-radius: var(--radius);
        }

        .about-image::after {
            content: "";
            position: absolute;
            bottom: -14px;
            right: -14px;
            width: 55%;
            height: 55%;
            background: var(--primary);
            border-radius: var(--radius);
            z-index: 0;
        }

        .about-caption {
            margin-top: 22px;
            padding: 16px 22px;
            background: linear-gradient(135deg, var(--primary) 0%, #4a1529 100%);
            color: #fff;
            border-radius: var(--radius);
            text-align: center;
            position: relative;
            z-index: 2;
            box-shadow: 0 6px 18px rgba(109, 31, 62, 0.18);
        }
        .about-caption .caption-role {
            display: block;
            font-size: 0.78rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            font-weight: 700;
            opacity: 0.85;
            margin-bottom: 6px;
        }
        .about-caption .caption-name {
            display: block;
            font-size: 1.15rem;
            font-weight: 800;
            line-height: 1.3;
        }

        /* ======= FAQ ======= */
        .faq {
            padding: 70px 0;
            background: white;
        }

        .faq-list {
            max-width: 860px;
            margin: 0 auto;
        }

        .faq-item {
            border-bottom: 1px solid #eee;
        }

        .faq-question {
            width: 100%;
            background: none;
            border: none;
            text-align: left;
            padding: 20px 0;
            font-family: 'Inter', sans-serif;
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .faq-question:hover { color: var(--primary); }

        .faq-chevron {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            transition: transform 0.3s ease;
        }

        .faq-item.open .faq-chevron {
            transform: rotate(180deg);
        }

        .faq-answer {
            display: none;
            padding: 0 0 20px 0;
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.8;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        /* ======= SEO блок ======= */
        .seo-section {
            padding: 60px 0;
            background: var(--bg-gray);
        }

        .seo-box {
            background: white;
            border: 1px solid #eee;
            box-shadow: var(--shadow);
            border-radius: var(--radius);
            padding: 30px;
            max-width: 860px;
            margin: 0 auto;
        }

        .seo-box h2 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 14px;
            color: var(--text-main);
        }

        .seo-box p {
            color: var(--text-light);
            font-size: 1.0rem;
            line-height: 1.8;
            margin-bottom: 12px;
        }

        .seo-box p:last-child { margin-bottom: 0; }

        /* ======= Подвал ======= */
        footer {
            padding: 45px 0 25px;
            background: #111;
            color: #888;
            font-size: 0.88rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 35px;
            margin-bottom: 35px;
        }

        .footer-col h4,
        .footer-col .footer-heading {
            color: white;
            margin-bottom: 16px;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 0.07em;
            font-weight: 700;
        }

        .footer-col a { display: block; margin-bottom: 9px; }
        .footer-col a:hover { color: white; }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* ======= Адаптив ======= */
@media (max-width: 1024px) {
    .header-top-inner {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo {
        width: auto;
        justify-content: flex-start;
    }

    .header-contacts {
        flex: 1 1 auto;
        justify-content: center;
        width: auto;
    }

    .header-socials {
        width: auto;
        justify-content: flex-end;
        margin-left: auto;
        flex-wrap: nowrap;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


        @media (max-width: 900px) {
            .advantages-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .header-top { padding: 10px 0; }

            .header-top-inner {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px 16px;
            }

            .logo {
                width: 100%;
                justify-content: center;
            }

            .main-logo { max-height: 80px; }

            .header-contacts {
                display: none;
            }

            /* Мобильные контакты */
            .mobile-phone,
            .mobile-email {
                display: flex !important;
                width: 100%;
                justify-content: center;
            }

            .mobile-phone a,
            .mobile-email a {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 9px 20px;
                border-radius: 30px;
                font-weight: 700;
                font-size: 0.95rem;
                letter-spacing: 0.02em;
            }

            .mobile-phone a {
                background: var(--primary);
                color: white;
                border: 2px solid var(--primary);
                box-shadow: 0 4px 12px rgba(109,31,62,0.3);
            }

            .mobile-email a {
                background: transparent;
                color: var(--primary);
                border: 2px solid var(--primary);
                box-shadow: 0 4px 12px rgba(109,31,62,0.1);
            }

            .mobile-phone a svg,
            .mobile-email a svg {
                width: 17px;
                height: 17px;
                flex-shrink: 0;
            }

            .header-socials {
                width: 100%;
                justify-content: center;
                margin-left: 0;
                margin-right: 0;
                gap: 10px;
            }

            .s-icon {
                min-width: 44px;
                height: 44px;
                padding: 8px;
                border-radius: 10px;
            }

            .s-icon img {
                width: 26px;
                height: 26px;
            }

            .s-icon-vk img {
                width: 52px !important;
                height: 52px !important;
            }

            .s-icon.is-wide {
                min-width: 110px;
                padding: 8px 12px;
            }

            nav { justify-content: flex-end; }
            .burger-btn { display: block; margin-left: auto; }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #1a1a1a;
                flex-direction: column;
                align-items: center;
                padding: 0;
                box-shadow: 0 10px 15px rgba(0,0,0,0.3);
                transform: translateY(-10px);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
            }

            .nav-links.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
                padding: 10px 0 20px;
            }

            .nav-links li { width: 100%; text-align: center; }
            .nav-links li + li::before { display: none; }
            .nav-links a { padding: 12px 14px; font-size: 1rem; }

            .hero { padding: 36px 0; }

            .hero-grid,
            .about-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .hero h1 { font-size: 1.6rem; }
            .hero-badge { font-size: 0.95rem; margin-bottom: 12px; }
            .hero-text { font-size: 0.92rem; margin-bottom: 20px; }
            .hero-benefits { grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
            .hero-benefits li { font-size: 0.9rem; }

            .hero-image {
                max-width: 100%;
                order: -1;
            }

            .hero-image img {
                height: 260px;
                border-radius: var(--radius);
            }

            .hero-image::before,
            .about-image::after { display: none; }

            .advantages-grid { grid-template-columns: 1fr; }
            .services-grid { grid-template-columns: 1fr; }
            .section-title { font-size: 1.3rem; }
            .section-subtitle { font-size: 0.9rem; }

            .about { padding: 40px 0; }

            .about-image img {
                border-radius: var(--radius);
                max-height: 400px;
                object-fit: cover;
                object-position: top;
            }

            .about-text p { font-size: 0.92rem; }
        }

        @media (max-width: 600px) {
            .footer-bottom {
                flex-direction: column;
                gap: 10px;
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .hero-actions .btn,
            .hero-actions .hero-secondary {
                width: 100%;
                text-align: center;
            }
        }

/* ============================================
   АНИМАЦИЯ ВЕСОВ ФЕМИДЫ (hero-image-anim)
   ============================================ */

.hero-image-anim {
    perspective: 1500px;
    perspective-origin: 50% 40%;
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0 !important;
    align-self: start;
    transform: translateY(-30px);
}
@media (max-width: 768px) {
    .hero-image-anim { transform: none; align-self: center; }
}
.hero-image-anim::before { display: none !important; }
.hero-image-anim .scales-svg {
    width: 100%;
    height: auto;
    max-width: 470px;
    display: block;
    margin: 0 auto;
    overflow: visible;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.05s linear;
    box-shadow: none;
}
@media (max-width: 1024px) {
    .hero-image-anim .scales-svg { max-width: 380px; }
}
@media (max-width: 768px) {
    .hero-image-anim .scales-svg { max-width: 320px; }
}

/* Стартовое (скрытое) состояние */
.anim .scales-glow      { opacity: 0; }
.anim .scales-base      { opacity: 0; transform: translateY(24px); }
.anim .scales-pillar    { transform: scaleY(0); transform-origin: 300px 591px; }
.anim .scales-pillar-highlight { opacity: 0; transform: translateY(0); }
.anim .scales-finial    { opacity: 0; transform: scale(0.3); transform-origin: 300px 175px; }
.anim .scales-beam      { opacity: 0; transform: scaleX(0); transform-origin: 300px 180px; }
.anim .left-pan-pendulum,
.anim .right-pan-pendulum { opacity: 0; }
.anim .left-pan-pendulum  { transform: translateY(-130px); }
.anim .right-pan-pendulum { transform: translateY(-130px); }

/* Origins */
.scales-beam-rocker    { transform-origin: 300px 180px; }
.scales-beam-breathing { transform-origin: 300px 180px; }
.left-pan-pendulum     { transform-origin: 140px 188px; }
.right-pan-pendulum    { transform-origin: 460px 188px; }
.left-pan-swing        { transform-origin: 140px 188px; }
.right-pan-swing       { transform-origin: 460px 188px; }

/* Запуск (через .run от IntersectionObserver) */
.anim.run .scales-glow         { animation: glowIn 1.4s 0.0s ease-out forwards; }
.anim.run .scales-base         { animation: fadeUp 0.7s 0.1s cubic-bezier(.22,1,.36,1) forwards; }
.anim.run .scales-pillar       { animation: growUp 1.0s 0.7s cubic-bezier(.22,1,.36,1) forwards; }
.anim.run .scales-pillar-highlight { animation: sweepUp 0.7s 1.3s ease-out forwards; }
.anim.run .scales-finial       { animation: pop 0.5s 1.6s cubic-bezier(.34,1.56,.64,1) forwards,
                                            finialAnticipate 0.4s 2.0s ease-in-out; }
.anim.run .scales-beam         { animation: drawBeamAnticipate 0.95s 2.05s cubic-bezier(.22,1,.36,1) forwards; }
.anim.run .left-pan-pendulum   { animation: dropPan 0.85s 2.65s cubic-bezier(.34,1.3,.55,1) forwards; }
.anim.run .right-pan-pendulum  { animation: dropPan 0.85s 2.7s cubic-bezier(.34,1.3,.55,1) forwards; }
.anim.run .scales-beam-rocker  { animation: beamWobble 3.2s 3.4s cubic-bezier(.36,.07,.45,1.4) forwards; }
.anim.run .scales-beam-breathing { animation: breathing 5s 5.1s ease-in-out infinite; }
.anim.run .left-pan-swing  {
    animation: leftPanSwing 3.5s 3.45s cubic-bezier(.36,.07,.45,1.4) forwards,
               leftPanIdle 4.6s 5.5s ease-in-out infinite;
}
.anim.run .right-pan-swing {
    animation: rightPanSwing 3.5s 3.45s cubic-bezier(.36,.07,.45,1.4) forwards,
               rightPanIdle 5.3s 5.55s ease-in-out infinite;
}
.anim.run .left-cup-shape  { animation: cupSquash 3.5s 3.45s ease-in-out forwards; transform-origin: 140px 314px; }
.anim.run .right-cup-shape { animation: cupSquashOpp 3.5s 3.45s ease-in-out forwards; transform-origin: 460px 314px; }
.anim .pan-shadow              { opacity: 0; }
.anim.run .pan-shadow-left     { animation: shadowIn 0.6s 3.0s ease-out forwards; }
.anim.run .pan-shadow-right    { animation: shadowIn 0.6s 3.05s ease-out forwards; }

/* Keyframes */
@keyframes glowIn    { to { opacity: 1; } }
@keyframes fadeUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes pop       { to { opacity: 1; transform: scale(1); } }
@keyframes growUp    { to { transform: scaleY(1); } }
@keyframes sweepUp {
    0%   { opacity: 0;   transform: translateY(0); }
    20%  { opacity: 0.6; }
    100% { opacity: 0;   transform: translateY(-380px); }
}
@keyframes finialAnticipate {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}
@keyframes drawBeamAnticipate {
    0%   { opacity: 0; transform: scaleX(0); }
    12%  { opacity: 1; transform: scaleX(0.05); }
    22%  { transform: scaleX(0.03); }
    100% { opacity: 1; transform: scaleX(1); }
}
@keyframes dropPan {
    0%   { opacity: 0; transform: translateY(-130px); }
    65%  { opacity: 1; transform: translateY(6px); }
    85%  { transform: translateY(-2px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes beamWobble {
    0%   { transform: rotate(0deg); }
    14%  { transform: rotate(4.5deg); }
    32%  { transform: rotate(-3deg); }
    50%  { transform: rotate(1.8deg); }
    68%  { transform: rotate(-0.9deg); }
    84%  { transform: rotate(0.4deg); }
    100% { transform: rotate(0deg); }
}
@keyframes breathing {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-1.6deg); }
    50%  { transform: rotate(0.8deg); }
    75%  { transform: rotate(-0.5deg); }
    100% { transform: rotate(0deg); }
}
@keyframes leftPanSwing {
    0%   { transform: rotate(0deg); }
    14%  { transform: rotate(-2.5deg); }
    32%  { transform: rotate(2deg); }
    50%  { transform: rotate(-1.2deg); }
    68%  { transform: rotate(0.6deg); }
    84%  { transform: rotate(-0.3deg); }
    100% { transform: rotate(0deg); }
}
@keyframes rightPanSwing {
    0%   { transform: rotate(0deg); }
    14%  { transform: rotate(2.5deg); }
    32%  { transform: rotate(-2deg); }
    50%  { transform: rotate(1.2deg); }
    68%  { transform: rotate(-0.6deg); }
    84%  { transform: rotate(0.3deg); }
    100% { transform: rotate(0deg); }
}
@keyframes leftPanIdle {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-0.9deg); }
    55%      { transform: rotate(0.7deg); }
    80%      { transform: rotate(-0.4deg); }
}
@keyframes rightPanIdle {
    0%, 100% { transform: rotate(0deg); }
    30%      { transform: rotate(0.9deg); }
    60%      { transform: rotate(-0.7deg); }
    85%      { transform: rotate(0.4deg); }
}
@keyframes cupSquash {
    0%   { transform: scale(1, 1); }
    14%  { transform: scale(1.02, 0.97); }
    32%  { transform: scale(0.98, 1.03); }
    50%  { transform: scale(1.01, 0.99); }
    100% { transform: scale(1, 1); }
}
@keyframes cupSquashOpp {
    0%   { transform: scale(1, 1); }
    14%  { transform: scale(0.98, 1.03); }
    32%  { transform: scale(1.02, 0.97); }
    50%  { transform: scale(0.99, 1.01); }
    100% { transform: scale(1, 1); }
}
@keyframes shadowIn { to { opacity: 0.18; } }

@media (prefers-reduced-motion: reduce) {
    .anim *, .anim.run * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
