/* ═══════════════════════════════════════════════════════════
   FestID — festid.ru
   ═══════════════════════════════════════════════════════════ */

:root {
    --ink: #08090c;
    --ink-2: #0d0f14;
    --ink-3: #12151c;
    --paper: #f1f0ec;
    --paper-ink: #0c0e12;

    --tx: #ecedf1;
    --tx-dim: rgba(236, 237, 241, 0.56);
    --tx-mute: rgba(236, 237, 241, 0.34);
    --line: rgba(255, 255, 255, 0.1);
    --line-2: rgba(255, 255, 255, 0.06);

    --blue: #3d63ff;
    --blue-lo: #1b2c7a;
    --mag: #e0479e;
    --orange: #ff7a1a;
    --printer-edge: #d8e7ff;

    --f: "Golos Text", "Helvetica Neue", Arial, system-ui, sans-serif;
    --m: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --hdr-h: 68px;
    --pad: clamp(20px, 5vw, 64px);
    --max: 1280px;

    --e: cubic-bezier(0.22, 1, 0.36, 1);
    --e-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--hdr-h) + 24px);
}
html.smooth {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--tx);
    font-family: var(--f);
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.62;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body.is-loading {
    overflow: hidden;
}
body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
ul,
ol {
    list-style: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}
::selection {
    background: var(--blue);
    color: #fff;
}

.mono {
    font-family: var(--m);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.wrap {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--pad);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
html:not([lang="ru"]) [data-ru-only] {
    display: none !important;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 200;
}
.skip:focus {
    left: 12px;
    top: 12px;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── grain overlay ─────────────────────────────────────── */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: 0.038;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══ Preloader ══════════════════════════════════════════ */
.pre {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0;
    background: radial-gradient(
        ellipse 70% 60% at 50% 44%,
        #171235 0%,
        #0a0a1c 52%,
        #05050d 100%
    );
    transition:
        opacity 0.55s var(--e),
        visibility 0.55s;
}
.pre.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.pre__stage {
    position: relative;
    width: min(46vmin, 300px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.pre__glow {
    position: absolute;
    inset: -42%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(93, 86, 255, 0.55),
        rgba(61, 99, 255, 0.22) 46%,
        transparent 72%
    );
    filter: blur(8px);
    opacity: 0;
    animation:
        preGlow 1s var(--e) 0.05s forwards,
        preBreathe 3.2s ease-in-out 1s infinite;
}
@keyframes preGlow {
    to {
        opacity: 1;
    }
}
@keyframes preBreathe {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

.pre__card {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24%;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
    animation: preIn 0.85s var(--e) 0.05s forwards;
}
.pre__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes preIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    70% {
        opacity: 1;
        filter: blur(0);
    }
    85% {
        transform: scale(1.03);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.pre__beam {
    position: absolute;
    left: 0;
    width: 100%;
    height: 26%;
    top: -26%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(125, 211, 252, 0.5) 44%,
        rgba(255, 255, 255, 0.92) 50%,
        rgba(125, 211, 252, 0.5) 56%,
        transparent
    );
    mix-blend-mode: screen;
    opacity: 0;
    animation: preBeam 1.15s linear 1.55s 1 forwards;
}
@keyframes preBeam {
    0% {
        top: -26%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.pre__frame {
    position: absolute;
    inset: -13%;
}
.pre__br {
    position: absolute;
    width: 26%;
    height: 26%;
}
.pre__br::before,
.pre__br::after {
    content: "";
    position: absolute;
    background: #7dd3fc;
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(125, 211, 252, 0.85);
    transform: scale(0);
}
.pre__br::before {
    height: 5px;
    width: 100%;
    transform-origin: left;
    animation: brX 0.55s var(--e) 0.95s forwards;
}
.pre__br::after {
    width: 5px;
    height: 100%;
    transform-origin: top;
    animation: brY 0.55s var(--e) 0.95s forwards;
}
@keyframes brX {
    to {
        transform: scaleX(1);
    }
}
@keyframes brY {
    to {
        transform: scaleY(1);
    }
}
.pre__br--tl {
    top: 0;
    left: 0;
}
.pre__br--tr {
    top: 0;
    right: 0;
}
.pre__br--tr::before {
    right: 0;
    transform-origin: right;
}
.pre__br--tr::after {
    right: 0;
}
.pre__br--bl {
    bottom: 0;
    left: 0;
}
.pre__br--bl::before {
    bottom: 0;
}
.pre__br--bl::after {
    bottom: 0;
    transform-origin: bottom;
}
.pre__br--br {
    bottom: 0;
    right: 0;
}
.pre__br--br::before {
    bottom: 0;
    right: 0;
    transform-origin: right;
}
.pre__br--br::after {
    bottom: 0;
    right: 0;
    transform-origin: bottom;
}

.pre__rings {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.pre__rings i {
    position: absolute;
    inset: 0;
    border: 2px solid #7dd3fc;
    border-radius: 26%;
    opacity: 0;
    transform: scale(0.5);
}
.pre__rings i:nth-child(1) {
    animation: ring 0.62s var(--e) 2.65s forwards;
}
.pre__rings i:nth-child(2) {
    animation: ring 0.62s var(--e) 2.78s forwards;
}
@keyframes ring {
    0% {
        opacity: 0.75;
        transform: scale(0.6);
    }
    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

.pre__status {
    position: absolute;
    bottom: max(7vh, 52px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--m);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}
.pre__caret {
    display: inline-block;
    width: 7px;
    height: 12px;
    margin-left: 5px;
    background: #7dd3fc;
    vertical-align: -1px;
    animation: blink 1s steps(2) infinite;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ═══ Page curtain (transitions) ═════════════════════════ */
.curtain {
    position: fixed;
    inset: 0;
    z-index: 110;
    pointer-events: none;
    display: grid;
}
.curtain span {
    grid-area: 1/1;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--e-io);
}
.curtain.in span {
    transform: scaleY(1);
    transform-origin: bottom;
}
.curtain.out span {
    transform: scaleY(0);
    transform-origin: top;
}

/* ═══ Header ═════════════════════════════════════════════ */
.hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: rgba(8, 9, 12, 0);
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.hdr.stuck {
    background: rgba(8, 9, 12, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line-2);
}
.hdr__in {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--pad);
    height: var(--hdr-h);
    display: flex;
    align-items: center;
    gap: 24px;
}
.hdr__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: transparent;
}
.hdr__progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue), var(--mag), var(--orange));
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 19px;
    flex: none;
}
.brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}
.brand b {
    font-weight: 800;
    background: linear-gradient(
        96deg,
        var(--blue),
        var(--mag) 55%,
        var(--orange)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.menu a {
    position: relative;
    padding: 8px 13px;
    font-size: 15px;
    color: var(--tx-dim);
    border-radius: 8px;
    transition: color 0.25s;
}
.menu a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--e);
}
.menu a:hover {
    color: var(--tx);
}
.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.menu a.active {
    color: var(--tx);
}
.menu__cta {
    display: none;
}

.hdr__cta {
    margin-left: 6px;
}
.lang {
    position: relative;
    flex: none;
    margin-left: 8px;
}
.lang select {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--tx);
    font: 600 12px/1 var(--f);
    letter-spacing: 0.08em;
    padding: 9px 17px 8px 2px;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 7px) 45%,
        calc(100% - 3px) 45%;
    background-size:
        4px 4px,
        4px 4px;
    background-repeat: no-repeat;
}
.lang select:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}
.burger {
    display: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
    position: relative;
    flex: none;
}
.burger span {
    position: absolute;
    left: 9px;
    width: 22px;
    height: 1.6px;
    background: var(--tx);
    border-radius: 2px;
    transition:
        transform 0.35s var(--e),
        opacity 0.2s;
}
.burger span:nth-child(1) {
    top: 17px;
}
.burger span:nth-child(2) {
    top: 23px;
}
.burger.open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* ═══ Buttons ════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition:
        background 0.3s,
        border-color 0.3s,
        color 0.3s,
        box-shadow 0.35s;
}
.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--e);
}
.btn:hover svg {
    transform: translateX(3px);
}
.btn--sm {
    height: 40px;
    padding: 0 18px;
    font-size: 14.5px;
}
.btn--primary {
    background: var(--tx);
    color: #08090c;
}
.btn--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        96deg,
        var(--blue),
        var(--mag) 60%,
        var(--orange)
    );
    opacity: 0;
    transition: opacity 0.35s;
}
.btn--primary:hover {
    color: #fff;
    box-shadow: 0 12px 40px rgba(61, 99, 255, 0.35);
}
.btn--primary:hover::before {
    opacity: 1;
}
.btn--primary > * {
    position: relative;
    z-index: 1;
}
.btn--ghost {
    border-color: var(--line);
    color: var(--tx);
}
.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}
.hdr__cta {
    border: 1px solid var(--line);
    border-radius: 999px;
}
.hdr__cta:hover {
    background: var(--tx);
    color: #08090c;
    border-color: var(--tx);
}

/* ═══ Hero ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    padding-top: calc(var(--hdr-h) + clamp(48px, 9vh, 110px));
    padding-bottom: clamp(60px, 10vh, 120px);
    overflow: hidden;
}
.hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            ellipse 55% 45% at 78% 18%,
            rgba(61, 99, 255, 0.2),
            transparent 70%
        ),
        radial-gradient(
            ellipse 45% 40% at 8% 72%,
            rgba(224, 71, 158, 0.13),
            transparent 70%
        ),
        linear-gradient(
                transparent 0,
                transparent calc(100% - 1px),
                var(--line-2) 100%
            )
            0 0/100% 84px,
        linear-gradient(
                90deg,
                transparent 0,
                transparent calc(100% - 1px),
                var(--line-2) 100%
            )
            0 0/84px 100%;
    -webkit-mask-image: radial-gradient(
        ellipse 90% 70% at 50% 35%,
        #000 30%,
        transparent 78%
    );
    mask-image: radial-gradient(
        ellipse 90% 70% at 50% 35%,
        #000 30%,
        transparent 78%
    );
}
.hero__in {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
}

.hero__h1 {
    font-size: clamp(2.55rem, 5.3vw, 5.05rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.042em;
    margin: 26px 0 24px;
}
.hero__h1 .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
    margin-bottom: -0.03em;
}
.hero__h1 .line > span {
    display: block;
    transform: translateY(105%);
    transition: transform 1s var(--e);
}
.hero__h1 .hl {
    background: linear-gradient(
        96deg,
        #8fa6ff 0%,
        var(--mag) 48%,
        var(--orange) 96%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__sub {
    max-width: 54ch;
    color: var(--tx-dim);
    font-size: clamp(16px, 1.25vw, 18.5px);
}
.hero__act {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    place-items: start center;
    padding-top: 7px;
    z-index: 2;
}
.hero__scroll span {
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--tx-dim);
    animation: wheel 1.8s var(--e) infinite;
}
@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    80% {
        transform: translateY(13px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@media (max-width: 900px) {
    .hero__scroll {
        display: none;
    }
}

/* ── badge artwork ── */
.hero__badge {
    display: grid;
    place-items: center;
    align-self: stretch;
}
.badge-art {
    width: min(460px, 38vw);
    position: relative;
    top: calc(-1 * var(--hero-gap));
    transform: translate3d(0, var(--badge-parallax-y, 0), 0)
        rotate(var(--badge-parallax-r, -1.2deg));
    transform-origin: 54% 8%;
    will-change: transform;
    pointer-events: none;
    filter: drop-shadow(0 26px 28px rgba(31, 20, 48, 0.14));
}
.badge-art picture,
.badge-art img {
    display: block;
    width: 100%;
    height: auto;
}

/* ═══ Clients ════════════════════════════════════════════ */
.clients {
    padding: clamp(44px, 7vh, 80px) 0;
    border-block: 1px solid var(--line-2);
    background: var(--ink-2);
}
.clients__label {
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tx-mute);
    text-align: center;
}
.logos {
    --k: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 3vw, 40px);
    align-items: center;
    margin-top: 34px;
}
.logos__i {
    display: grid;
    place-items: center;
    padding: 14px 8px;
    border-radius: 12px;
}
/* все логотипы приводим к одному белому силуэту, высота — своя у каждого */
.logos__i img {
    height: calc(var(--h, 24px) * var(--k));
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.52;
    transition: opacity 0.4s var(--e);
}
.logos__i:hover img {
    opacity: 1;
}
@media (max-width: 1040px) {
    .logos {
        --k: 0.84;
    }
}
@media (max-width: 720px) {
    .logos {
        grid-template-columns: repeat(2, 1fr);
        --k: 0.92;
        gap: 8px 24px;
    }
}

/* ═══ Sections ═══════════════════════════════════════════ */
.sec {
    padding: clamp(72px, 12vh, 150px) 0;
    position: relative;
    --rule: var(--line-2);
    --rule-2: var(--line);
    --sub: var(--tx-dim);
    --mute: var(--tx-mute);
}
.sec--tight {
    padding: clamp(56px, 8vh, 96px) 0;
}
.sec--light {
    background: var(--paper);
    color: var(--paper-ink);
    --rule: rgba(12, 14, 18, 0.14);
    --rule-2: rgba(12, 14, 18, 0.2);
    --sub: rgba(12, 14, 18, 0.62);
    --mute: rgba(12, 14, 18, 0.45);
}

.sec__head {
    max-width: 820px;
    margin-bottom: clamp(40px, 6vh, 72px);
}
.sec__head--left {
    max-width: 560px;
}
.sec__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mute);
}
.sec__h2 {
    margin-top: 18px;
    font-size: clamp(2rem, 4.4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.038em;
    max-width: 18ch;
}
.sec__lead {
    margin-top: 22px;
    max-width: 56ch;
    color: var(--sub);
    font-size: clamp(15.5px, 1.15vw, 17.5px);
}

/* perforated divider */
.perf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: radial-gradient(
            circle at 7px 0,
            var(--ink) 6.5px,
            transparent 7px
        )
        0 0/14px 14px repeat-x;
}

/* ═══ Services ═══════════════════════════════════════════ */
.svc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-2);
    border: 1px solid var(--line-2);
    border-radius: 20px;
    overflow: hidden;
}
.svc__c {
    position: relative;
    background: var(--ink);
    padding: clamp(26px, 3vw, 42px);
    overflow: hidden;
    transition: background 0.4s;
}
.svc__c::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s;
    background: radial-gradient(
        420px circle at var(--mx, 50%) var(--my, 50%),
        rgba(61, 99, 255, 0.14),
        transparent 62%
    );
}
.svc__c:hover::before {
    opacity: 1;
}
.svc__c h3 {
    position: relative;
    margin: 0 0 12px;
    font-size: clamp(20px, 1.9vw, 25px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.svc__c p {
    position: relative;
    color: var(--tx-dim);
    font-size: 15.5px;
    max-width: 46ch;
}
.svc__c:last-child:nth-child(odd) {
    grid-column: 1/-1;
}
@media (max-width: 760px) {
    .svc {
        grid-template-columns: 1fr;
    }
}

/* ═══ Kit ════════════════════════════════════════════════ */
.kit {
    border-top: 1px solid var(--rule);
}
.kit__r {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 3vw, 40px);
    align-items: baseline;
    padding: clamp(22px, 3vw, 34px) 4px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    transition: padding-left 0.5s var(--e);
}
.kit__r::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: var(--tx);
    transition: width 0.6s var(--e);
}
.kit__r:hover {
    padding-left: 16px;
}
.kit__r:hover::after {
    width: 100%;
}
.kit__b h3 {
    font-size: clamp(20px, 2.3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.kit__b p {
    margin-top: 10px;
    color: var(--sub);
    font-size: 15.5px;
    max-width: 58ch;
}
@media (max-width: 680px) {
    .kit__r {
        grid-template-columns: 1fr;
    }
}

/* ═══ Venues ═════════════════════════════════════════════ */
.halls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}
.hall {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: clamp(22px, 2.4vw, 30px);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.45s var(--e),
        box-shadow 0.45s var(--e);
}
.hall:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(12, 14, 18, 0.1);
}
.hall h3 {
    font-size: clamp(18px, 1.6vw, 21px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.hall p {
    margin-top: 10px;
    color: var(--sub);
    font-size: 15px;
}
.hall__t {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute);
}
@media (max-width: 860px) {
    .halls {
        grid-template-columns: 1fr;
    }
}

/* ═══ Languages / regions ════════════════════════════════ */
.glob {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
}
.glob__c {
    border-top: 1px solid var(--rule-2);
    padding-top: 22px;
}
.glob__c h3 {
    font-size: clamp(18px, 1.6vw, 21px);
    font-weight: 700;
    letter-spacing: -0.025em;
}
.glob__c p {
    margin-top: 10px;
    color: var(--sub);
    font-size: 15px;
    max-width: 44ch;
}
@media (max-width: 860px) {
    .glob {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ═══ Steps ══════════════════════════════════════════════ */
.steps {
    position: relative;
    padding-left: clamp(28px, 5vw, 64px);
}
.steps__rail {
    position: absolute;
    left: clamp(6px, 1.4vw, 16px);
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line-2);
    border-radius: 2px;
    overflow: hidden;
}
.steps__rail i {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--blue), var(--mag), var(--orange));
}
.steps__list {
    display: grid;
    gap: clamp(28px, 5vh, 56px);
}
.step {
    position: relative;
    max-width: 62ch;
}
.step::before {
    content: "";
    position: absolute;
    left: calc(-1 * clamp(28px, 5vw, 64px) + clamp(6px, 1.4vw, 16px) - 5px);
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ink);
    border: 2px solid var(--line);
    transition:
        border-color 0.4s,
        box-shadow 0.4s,
        transform 0.4s;
}
.step.on::before {
    border-color: var(--blue);
    box-shadow: 0 0 0 5px rgba(61, 99, 255, 0.18);
    transform: scale(1.12);
}
.step h3 {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.step p {
    color: var(--tx-dim);
    font-size: 15.5px;
}

/* ═══ Work ═══════════════════════════════════════════════ */
.work {
    border-top: 1px solid var(--line-2);
}
.work__r {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    gap: clamp(16px, 3vw, 36px);
    align-items: center;
    padding: clamp(20px, 2.8vw, 30px) 4px;
    border-bottom: 1px solid var(--line-2);
    position: relative;
    overflow: hidden;
    transition: padding-left 0.5s var(--e);
}
.work__r::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(61, 99, 255, 0.12),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.45s;
}
.work__r:hover {
    padding-left: 18px;
}
.work__r:hover::before {
    opacity: 1;
}
.work__name {
    position: relative;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.03em;
    white-space: nowrap;
}
.work__note {
    position: relative;
    color: var(--tx-mute);
    font-size: 14.5px;
}
.work__go {
    position: relative;
    font-size: 20px;
    color: var(--tx-mute);
    transition:
        transform 0.4s var(--e),
        color 0.4s;
}
.work__r:hover .work__go {
    transform: translate(4px, -4px);
    color: var(--tx);
}
@media (max-width: 760px) {
    .work__r {
        grid-template-columns: 1fr auto;
        row-gap: 6px;
    }
    .work__name {
        grid-row: 1;
        grid-column: 1;
        white-space: normal;
    }
    .work__go {
        grid-row: 1;
        grid-column: 2;
        align-self: center;
    }
    .work__note {
        grid-row: 2;
        grid-column: 1/-1;
    }
}

/* ═══ FAQ ════════════════════════════════════════════════ */
.faq__wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.faq__wrap .sec__head {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--hdr-h) + 32px);
}
.faq {
    border-top: 1px solid var(--line-2);
}
.qa {
    border-bottom: 1px solid var(--line-2);
}
.qa summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 2px;
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}
.qa summary::-webkit-details-marker {
    display: none;
}
.qa summary:hover {
    color: #fff;
}
.qa summary i {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 3px;
}
.qa summary i::before,
.qa summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--tx-dim);
    border-radius: 2px;
    transition:
        transform 0.4s var(--e),
        background 0.3s;
}
.qa summary i::before {
    width: 14px;
    height: 1.6px;
    transform: translate(-50%, -50%);
}
.qa summary i::after {
    width: 1.6px;
    height: 14px;
    transform: translate(-50%, -50%);
}
.qa[open] summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.qa[open] summary i::before {
    background: var(--blue);
}
.qa__b {
    overflow: hidden;
}
.qa__b p {
    padding: 0 40px 24px 2px;
    color: var(--tx-dim);
    font-size: 15.5px;
    max-width: 62ch;
}
@media (max-width: 860px) {
    .faq__wrap {
        grid-template-columns: 1fr;
    }
    .faq__wrap .sec__head {
        position: static;
        margin-bottom: 32px;
    }
}

/* ═══ CTA ════════════════════════════════════════════════ */
.cta__box {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--line);
    padding: clamp(36px, 6vw, 80px);
    text-align: center;
    background:
        radial-gradient(
            ellipse 70% 100% at 50% 0%,
            rgba(61, 99, 255, 0.22),
            transparent 65%
        ),
        radial-gradient(
            ellipse 60% 90% at 85% 110%,
            rgba(224, 71, 158, 0.16),
            transparent 65%
        ),
        var(--ink-2);
}
.cta__box .sec__label {
    position: relative;
}
.cta__h2 {
    position: relative;
    margin: 22px 0 16px;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.cta__sub {
    position: relative;
    margin-inline: auto;
    max-width: 54ch;
    color: var(--tx-dim);
    font-size: clamp(15.5px, 1.2vw, 18px);
}
.cta__act {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

/* ═══ Footer ═════════════════════════════════════════════ */
.ftr {
    border-top: 1px solid var(--line-2);
    padding: clamp(32px, 5vh, 52px) 0;
    background: var(--ink-2);
}
.ftr__in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}
.brand--ftr {
    font-size: 17px;
}
.brand--ftr img {
    width: 26px;
    height: 26px;
}
.ftr__note {
    color: var(--tx-mute);
    font-size: 14px;
}
.ftr__nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
}
.ftr__nav a {
    font-size: 14px;
    color: var(--tx-dim);
    transition: color 0.25s;
}
.ftr__nav a:hover {
    color: var(--tx);
}
.ftr__copy {
    font-size: 12px;
    color: var(--tx-mute);
}

/* Content enters without slide-deck reveals. Motion is reserved for direct
   interaction and the badge parallax. */
[data-anim],
[data-anim="stagger"] > * {
    opacity: 1;
    transform: none;
}
.hero__h1 .line > span {
    transform: none;
    transition: none;
}

/* ═══ Responsive ═════════════════════════════════════════ */
@media (max-width: 1040px) {
    .hero__in {
        grid-template-columns: 1fr;
        gap: clamp(28px, 5vh, 48px);
    }
    .hero__badge {
        align-self: center;
    }
    .hero__h1 {
        margin-top: 22px;
    }
    .badge-art {
        width: min(430px, 72vw);
        top: 0;
    }
}
@media (max-width: 960px) {
    .hdr__cta {
        display: none;
    }
    .burger {
        display: block;
    }
    .menu {
        position: fixed;
        inset: var(--hdr-h) 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        background: rgba(8, 9, 12, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 12px var(--pad) 28px;
        border-bottom: 1px solid var(--line-2);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.55s var(--e);
        pointer-events: none;
    }
    .menu.open {
        clip-path: inset(0 0 0 0);
        pointer-events: auto;
    }
    .menu a {
        padding: 15px 0;
        font-size: 19px;
        font-weight: 600;
        color: var(--tx);
        border-bottom: 1px solid var(--line-2);
        opacity: 0;
        transform: translateY(12px);
        transition:
            opacity 0.5s var(--e),
            transform 0.5s var(--e);
        transition-delay: calc(var(--i, 0) * 55ms);
    }
    .menu.open a {
        opacity: 1;
        transform: none;
    }
    .menu a::after {
        display: none;
    }
    .menu__cta {
        display: block;
        margin-top: 18px;
        border: 1px solid var(--line);
        border-radius: 999px;
        text-align: center;
        padding: 15px;
    }
}
@media (max-width: 620px) {
    .sec {
        padding: clamp(56px, 9vh, 96px) 0;
    }
    .sec--tight {
        padding: clamp(48px, 7vh, 80px) 0;
    }
    .sec__head {
        margin-bottom: 32px;
    }
}
@media (max-width: 520px) {
    .btn {
        height: 48px;
        padding: 0 22px;
        width: 100%;
    }
    .hero__act,
    .cta__act {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ═══ Motion preferences ═════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    html.smooth {
        scroll-behavior: auto;
    }
    [data-anim] {
        opacity: 1 !important;
        transform: none !important;
    }
    [data-anim="stagger"] > * {
        opacity: 1 !important;
        transform: none !important;
    }
    [data-anim="split"] .w > i {
        transform: none !important;
    }
    .hero__h1 .line > span {
        transform: none !important;
    }
}

/* ═══ Print ══════════════════════════════════════════════ */
@media print {
    .pre,
    .curtain,
    .hdr,
    .hero__scroll,
    .hero__badge {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
}

/* ═══ Light editorial theme ══════════════════════════════
   Тёплая бумага, строгая типографика и минимум декоративных эффектов. */
:root {
    --ink: #f5f2ec;
    --ink-2: #eeeae2;
    --ink-3: #e8e3da;
    --paper: #f0ece4;
    --paper-ink: #191816;
    --tx: #191816;
    --tx-dim: rgba(25, 24, 22, 0.66);
    --tx-mute: rgba(25, 24, 22, 0.44);
    --line: rgba(25, 24, 22, 0.16);
    --line-2: rgba(25, 24, 22, 0.09);
    --blue: #5134a7;
    --blue-lo: #e4dff2;
    --mag: #a83a82;
    --orange: #d35e93;
    --max: 1320px;
}

body {
    background: #2a185c;
    color: var(--tx);
}
body::after {
    opacity: 0.018;
    mix-blend-mode: multiply;
}
::selection {
    background: var(--blue);
    color: #fff;
}

.hdr {
    background: rgba(245, 242, 236, 0.9);
    border-bottom-color: var(--line-2);
}
.hdr.stuck {
    background: rgba(245, 242, 236, 0.92);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.hdr__progress i {
    background: var(--blue);
}
.brand b {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: inherit;
}
.brand img {
    box-shadow: 0 0 0 1px rgba(25, 24, 22, 0.08);
}
.menu a {
    color: var(--tx-dim);
    border-radius: 4px;
}
.menu a:hover,
.menu a.active {
    color: var(--tx);
}
.hdr__cta {
    border-color: var(--line);
    border-radius: 8px;
}
.hdr__cta:hover {
    background: var(--tx);
    color: var(--ink);
    border-color: var(--tx);
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    transition:
        background 0.25s,
        border-color 0.25s,
        color 0.25s,
        transform 0.25s;
}
.btn--primary {
    background: var(--tx);
    color: var(--ink);
}
.btn--primary::before {
    display: none;
}
.btn--primary:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}
.btn--ghost {
    border-color: var(--line);
    color: var(--tx);
    background: rgba(255, 255, 255, 0.16);
}
.btn--ghost:hover {
    border-color: rgba(25, 24, 22, 0.34);
    background: rgba(255, 255, 255, 0.55);
}

.hero {
    --hero-gap: clamp(64px, 10vh, 124px);
    min-height: min(820px, 100vh);
    padding-top: calc(var(--hdr-h) + var(--hero-gap));
    background: #f7f4ee;
    border-radius: 0 0 48px 48px;
}
.hero__grid {
    background:
        radial-gradient(
            ellipse 50% 68% at 83% 34%,
            rgba(81, 52, 167, 0.18),
            transparent 72%
        ),
        radial-gradient(
            ellipse 34% 48% at 96% 82%,
            rgba(211, 94, 147, 0.12),
            transparent 74%
        ),
        linear-gradient(
            90deg,
            transparent calc(50% - 0.5px),
            rgba(25, 24, 22, 0.035) 50%,
            transparent calc(50% + 0.5px)
        );
    -webkit-mask-image: none;
    mask-image: none;
}
.hero__in {
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
    gap: clamp(48px, 7vw, 110px);
}
.hero__h1 {
    margin: 0 0 28px;
    font-size: clamp(2.9rem, 4.65vw, 4.8rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.052em;
    max-width: 14ch;
}
.hero__h1 .hl {
    background: none;
    -webkit-text-fill-color: var(--blue);
    color: var(--blue);
}
.hero__sub {
    color: var(--tx-dim);
    font-size: clamp(16px, 1.18vw, 18px);
    max-width: 51ch;
}
.hero__act {
    margin-top: 36px;
}
.hero__scroll {
    border-color: var(--line);
    border-radius: 12px;
}

.clients {
    background: #2a185c;
    color: #fff;
    border: 0;
    padding-block: clamp(52px, 8vh, 90px);
}
.clients__label {
    color: rgba(255, 255, 255, 0.68);
}
.logos__i {
    border-radius: 4px;
}
.logos__i img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.logos li:nth-child(3) img {
    opacity: 0.64;
}
.logos li:nth-child(4) img {
    opacity: 0.8;
}
.logos__i:hover img {
    opacity: 1;
}

.sec {
    --rule: var(--line-2);
    --rule-2: var(--line);
    --sub: var(--tx-dim);
    --mute: var(--tx-mute);
    background: var(--ink);
}
.sec:nth-of-type(even) {
    background: var(--ink-2);
}
.sec--light {
    background: var(--paper);
    color: var(--paper-ink);
}
.sec__label {
    font-family: var(--f);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.sec__h2 {
    font-weight: 700;
    letter-spacing: -0.045em;
}
.perf {
    display: none;
}

#services {
    border-radius: 48px 48px 0 0;
}
#global {
    margin: 8px;
    border-radius: 48px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            ellipse 52% 100% at 88% 0,
            rgba(211, 94, 147, 0.34),
            transparent 70%
        ),
        linear-gradient(135deg, #24134f 0%, #5134a7 100%);
    --rule: rgba(255, 255, 255, 0.14);
    --rule-2: rgba(255, 255, 255, 0.28);
    --sub: rgba(255, 255, 255, 0.7);
    --mute: rgba(255, 255, 255, 0.55);
}
#global .sec__label,
#global .glob__c p {
    color: var(--sub);
}

.svc {
    gap: 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.svc__c {
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: clamp(28px, 3vw, 42px);
    transition:
        border-color 0.25s,
        background 0.25s;
}
.svc__c::before {
    display: none;
}
.svc__c:hover {
    border-color: rgba(25, 24, 22, 0.28);
}
.svc__c p {
    color: var(--tx-dim);
}

.kit__r {
    transition: border-color 0.25s;
}
.kit__r::after {
    display: none;
}
.kit__r:hover {
    padding-left: 4px;
    border-bottom-color: rgba(25, 24, 22, 0.35);
}
.hall {
    background: rgba(255, 255, 255, 0.58);
    border-color: var(--line);
    border-radius: 3px;
    transition:
        border-color 0.25s,
        background 0.25s;
}
.hall:hover {
    transform: none;
    box-shadow: none;
    background: #fff;
    border-color: rgba(25, 24, 22, 0.28);
}
.hall__t {
    font-family: var(--f);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.steps__rail {
    background: var(--line);
}
.steps__rail i {
    background: var(--blue);
}
.step::before {
    background: var(--ink);
    border-color: var(--line);
}
.step.on::before {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(81, 52, 167, 0.1);
}
.step p {
    color: var(--tx-dim);
}

.work {
    border-top-color: var(--line);
}
.work__r {
    border-bottom-color: var(--line);
    transition: border-color 0.25s;
}
.work__r::before {
    display: none;
}
.work__r:hover {
    padding-left: 4px;
    border-bottom-color: rgba(25, 24, 22, 0.34);
}
.work__note,
.work__go {
    color: var(--tx-mute);
}
.work__r:hover .work__go {
    color: var(--tx);
}

.faq,
.qa {
    border-color: var(--line);
}
.qa summary:hover {
    color: var(--blue);
}
.qa summary i::before,
.qa summary i::after {
    background: var(--tx-dim);
}
.qa__b p {
    color: var(--tx-dim);
}

#contact {
    background: #2a185c;
    padding-inline: 8px;
}
.cta__box {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 48px;
    color: #fff;
    text-align: left;
    padding: clamp(40px, 6vw, 80px);
    background:
        radial-gradient(
            ellipse 44% 140% at 100% 0,
            rgba(211, 94, 147, 0.42),
            transparent 68%
        ),
        linear-gradient(135deg, #251451 0%, #5134a7 100%);
}
.cta__box::after {
    content: "";
    position: absolute;
    width: min(420px, 42vw);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    right: -14%;
    bottom: -72%;
    pointer-events: none;
}
.cta__box .sec__label {
    display: block;
}
.cta__h2 {
    max-width: 13ch;
    font-weight: 700;
    letter-spacing: -0.05em;
}
.cta__sub {
    margin-inline: 0;
    color: rgba(255, 255, 255, 0.72);
}
.cta__act {
    justify-content: flex-start;
}
.cta .btn--primary {
    background: #fff;
    color: #191816;
}
.cta .btn--primary:hover {
    background: #f0eafd;
    color: #191816;
}
.cta .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.36);
    background: transparent;
}
.cta .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.ftr {
    background: #eae5dc;
    border-top-color: var(--line);
}
.ftr__note,
.ftr__copy {
    color: var(--tx-mute);
}
.ftr__nav a {
    color: var(--tx-dim);
}
.ftr__nav a:hover {
    color: var(--tx);
}

@media not all {
    /* ═══ Superseded composition (kept inert for diff safety) ══
   Характер строится крупными асимметричными плоскостями,
   а не набором мелких декоративных компонентов. */
    .hdr {
        padding: 10px 12px 0;
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        pointer-events: none;
    }
    .hdr.stuck {
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .hdr__in {
        pointer-events: auto;
        height: 60px;
        padding: 8px 10px 8px 18px;
        gap: 22px;
        background: rgba(247, 244, 238, 0.94);
        border: 1px solid rgba(25, 24, 22, 0.12);
        border-radius: 18px 38px 16px 30px / 16px 22px 28px 24px;
        box-shadow: 0 10px 34px rgba(35, 22, 54, 0.08);
        backdrop-filter: blur(18px) saturate(135%);
        -webkit-backdrop-filter: blur(18px) saturate(135%);
        transition:
            transform 0.35s var(--e),
            box-shadow 0.35s ease,
            background 0.35s ease;
    }
    .hdr.stuck .hdr__in {
        transform: translateY(-2px);
        background: rgba(247, 244, 238, 0.97);
        box-shadow: 0 14px 38px rgba(35, 22, 54, 0.14);
    }
    .hdr__progress {
        left: 34px;
        right: 34px;
        bottom: 2px;
        height: 2px;
        border-radius: 2px;
        overflow: hidden;
    }
    .brand img {
        width: 34px;
        height: 34px;
        border-radius: 34% 66% 42% 58% / 58% 38% 62% 42%;
        transform: rotate(-3deg);
    }
    .brand span {
        font-size: 20px;
    }
    .menu a {
        z-index: 0;
        border-radius: 0;
        padding-inline: 15px;
    }
    .menu a::after {
        z-index: -1;
        left: 5px;
        right: 5px;
        top: 2px;
        bottom: 2px;
        height: auto;
        border-radius: 48% 52% 42% 58% / 58% 38% 62% 42%;
        background: rgba(81, 52, 167, 0.1);
        transform: scale(0.72) rotate(-2deg);
        opacity: 0;
        transition:
            transform 0.3s var(--e),
            opacity 0.25s;
    }
    .menu a:hover::after,
    .menu a.active::after {
        transform: scale(1) rotate(-2deg);
        opacity: 1;
    }
    .hdr__cta {
        margin-left: 4px;
        background: var(--tx);
        color: var(--ink);
        border-color: var(--tx);
        border-radius: 16px 28px 15px 24px / 18px 15px 24px 20px;
    }
    .hdr__cta:hover {
        background: var(--blue);
        border-color: var(--blue);
        color: #fff;
        transform: rotate(-1deg);
    }
    .lang {
        margin-left: 4px;
    }

    .btn {
        border-radius: 17px 30px 16px 27px / 19px 16px 27px 22px;
    }
    .btn:hover {
        transform: translateY(-2px) rotate(-0.45deg);
    }
    .btn--ghost:hover {
        transform: translateY(-2px) rotate(0.45deg);
    }

    .hero {
        isolation: isolate;
        border-radius: 0 0 76px 26px / 0 0 52px 88px;
        box-shadow: 0 22px 0 rgba(42, 24, 92, 0.18);
    }
    .hero::before {
        content: "";
        position: absolute;
        z-index: 0;
        width: min(680px, 52vw);
        aspect-ratio: 1;
        right: -8%;
        top: 5%;
        pointer-events: none;
        border-radius: 38% 62% 56% 44% / 58% 36% 64% 42%;
        background: linear-gradient(
            145deg,
            rgba(81, 52, 167, 0.09),
            rgba(211, 94, 147, 0.13)
        );
        transform: rotate(-12deg);
    }
    .hero::after {
        content: "";
        position: absolute;
        z-index: 0;
        width: clamp(90px, 12vw, 180px);
        aspect-ratio: 1;
        left: -5%;
        bottom: -8%;
        pointer-events: none;
        border: 1px solid rgba(81, 52, 167, 0.2);
        border-radius: 64% 36% 58% 42% / 42% 62% 38% 58%;
        transform: rotate(18deg);
    }
    .hero__in {
        z-index: 2;
    }

    .clients {
        position: relative;
        isolation: isolate;
        margin-top: -30px;
        padding-top: clamp(92px, 12vh, 132px);
        padding-bottom: clamp(88px, 11vh, 124px);
        clip-path: polygon(
            0 7%,
            18% 3%,
            39% 5%,
            65% 1%,
            83% 4%,
            100% 0,
            100% 94%,
            82% 98%,
            59% 95%,
            32% 100%,
            12% 96%,
            0 99%
        );
    }
    .clients::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(220px, 28vw, 420px);
        aspect-ratio: 1;
        left: -7%;
        top: -64%;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 43% 57% 38% 62% / 61% 35% 65% 39%;
        transform: rotate(24deg);
    }
    .clients::after {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(140px, 18vw, 280px);
        aspect-ratio: 1;
        right: -4%;
        bottom: -55%;
        background: rgba(211, 94, 147, 0.2);
        border-radius: 64% 36% 53% 47% / 39% 61% 39% 61%;
        transform: rotate(-18deg);
    }

    #services {
        position: relative;
        z-index: 1;
        margin-top: -38px;
        padding-top: calc(clamp(72px, 10vw, 144px) + 28px);
        border-radius: 72px 22px 0 0 / 44px 78px 0 0;
    }
    #services::before {
        content: "";
        position: absolute;
        width: clamp(70px, 8vw, 118px);
        aspect-ratio: 1;
        right: 7%;
        top: 48px;
        background: var(--blue-lo);
        border-radius: 61% 39% 66% 34% / 42% 68% 32% 58%;
        transform: rotate(22deg);
        pointer-events: none;
    }
    #services .wrap {
        position: relative;
    }

    #global {
        position: relative;
        isolation: isolate;
        border-radius: 76px 26px 94px 34px / 42px 82px 38px 78px;
    }
    #global::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(260px, 38vw, 560px);
        aspect-ratio: 1;
        right: -13%;
        top: -52%;
        background: rgba(255, 255, 255, 0.075);
        border-radius: 37% 63% 46% 54% / 66% 34% 66% 34%;
        transform: rotate(-20deg);
    }
    #global::after {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(100px, 14vw, 210px);
        aspect-ratio: 1;
        left: -4%;
        bottom: -32%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 68% 32% 54% 46% / 41% 69% 31% 59%;
        transform: rotate(14deg);
    }
    #global .wrap {
        position: relative;
        z-index: 1;
    }

    .cta__box {
        border-radius: 74px 24px 92px 34px / 42px 84px 38px 76px;
    }
    .cta__box::before {
        content: "";
        position: absolute;
        width: min(250px, 28vw);
        aspect-ratio: 1;
        right: 18%;
        top: -42%;
        background: rgba(255, 255, 255, 0.07);
        border-radius: 39% 61% 48% 52% / 63% 37% 63% 37%;
        transform: rotate(17deg);
        pointer-events: none;
    }
    .cta__box::after {
        border-radius: 43% 57% 37% 63% / 61% 39% 61% 39%;
        transform: rotate(-18deg);
    }
    .cta__box > * {
        position: relative;
        z-index: 1;
    }

    @supports (animation-timeline: view()) {
        .hero::before {
            animation: shapeDrift linear both;
            animation-timeline: view();
            animation-range: entry 0 cover 100%;
        }
        #global::before,
        .cta__box::before {
            animation: shapeDriftReverse linear both;
            animation-timeline: view();
            animation-range: entry 0 cover 100%;
        }
    }
    @keyframes shapeDrift {
        from {
            translate: 0 -7%;
            rotate: -5deg;
        }
        to {
            translate: 0 9%;
            rotate: 7deg;
        }
    }
    @keyframes shapeDriftReverse {
        from {
            translate: 0 8%;
            rotate: 5deg;
        }
        to {
            translate: 0 -9%;
            rotate: -7deg;
        }
    }

    @media (max-width: 1040px) {
        .hero {
            min-height: 0;
        }
        .hero__in {
            grid-template-columns: 1fr;
        }
        .hero__h1 {
            max-width: 14ch;
        }
    }
    @media (max-width: 960px) {
        .hdr {
            padding: 8px 8px 0;
        }
        .hdr__in {
            height: 58px;
            padding-inline: 14px 10px;
            border-radius: 15px 30px 14px 24px / 14px 18px 24px 20px;
        }
        .menu {
            inset: 76px 8px auto;
            background: rgba(245, 242, 236, 0.98);
            border: 1px solid var(--line);
            border-radius: 20px 38px 22px 30px / 18px 24px 34px 28px;
            padding-inline: 22px;
        }
        .menu a {
            color: var(--tx);
            border-bottom-color: var(--line-2);
        }
        .menu a::after {
            display: none;
        }
        .menu__cta {
            border-color: var(--line);
            border-radius: 16px 28px 15px 24px / 18px 15px 24px 20px;
        }
        .lang {
            margin-left: auto;
        }
        .burger {
            margin-left: 4px;
        }
    }
    @media (max-width: 520px) {
        .hero {
            padding-top: calc(var(--hdr-h) + 52px);
        }
        .hero__h1 {
            font-size: clamp(2.75rem, 14vw, 4rem);
        }
        .badge-art {
            width: min(390px, 92vw);
        }
        .hero {
            border-radius: 0 0 42px 16px / 0 0 28px 52px;
            box-shadow: 0 14px 0 rgba(42, 24, 92, 0.16);
        }
        .clients {
            clip-path: polygon(
                0 4%,
                34% 1%,
                68% 4%,
                100% 0,
                100% 97%,
                63% 100%,
                28% 97%,
                0 100%
            );
        }
        #services {
            border-radius: 42px 14px 0 0 / 28px 48px 0 0;
        }
        #services::before {
            right: 3%;
            top: 38px;
            opacity: 0.72;
        }
        #global {
            margin-inline: 5px;
            border-radius: 44px 16px 54px 20px / 28px 48px 24px 44px;
        }
        .cta__box {
            border-radius: 44px 16px 54px 20px / 28px 48px 24px 44px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .hero::before,
        #global::before,
        .cta__box::before {
            animation: none !important;
            translate: none !important;
            rotate: none !important;
        }
    }
}

@media not all {
    /* ═══ Superseded Rocket direction v2 ══════════════════════
   Единая система: оболочка, срезанный угол, сигнальный цвет. */
    :root {
        --hdr-h: 100px;
        --signal: #e86a3c;
        --black: #101010;
        --shell: #f7f4ee;
        --cut: clamp(42px, 6vw, 88px);
    }

    body {
        background: var(--black);
    }

    .signalbar {
        pointer-events: auto;
        height: 32px;
        overflow: hidden;
        background: var(--signal);
        color: var(--black);
        font: 600 13px/32px var(--m);
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    .signalbar__track {
        display: flex;
        width: max-content;
        will-change: transform;
        animation: signalFlow 18s linear infinite;
    }
    .signalbar__track span {
        display: block;
        min-width: 180px;
        text-align: center;
        white-space: nowrap;
    }
    @keyframes signalFlow {
        to {
            transform: translateX(-50%);
        }
    }

    .hdr {
        padding: 0 8px;
        background: transparent;
        border: 0;
        pointer-events: none;
    }
    .hdr.stuck {
        background: transparent;
        border: 0;
    }
    .hdr__in {
        pointer-events: auto;
        max-width: none;
        height: 68px;
        padding: 0 clamp(18px, 4vw, 52px);
        gap: 24px;
        color: var(--black);
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition:
            background 0.3s,
            color 0.3s,
            border-radius 0.3s,
            transform 0.3s;
    }
    .hdr.stuck .hdr__in {
        transform: none;
        color: #fff;
        background: rgba(16, 16, 16, 0.94);
        border-radius: 0 0 28px 28px;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .hdr__progress {
        left: 32px;
        right: 32px;
        bottom: 1px;
        height: 2px;
    }
    .brand img {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        transform: none;
    }
    .brand span {
        font-size: 20px;
    }
    .brand b {
        color: inherit;
    }
    .menu a {
        padding: 9px 16px;
        color: rgba(16, 16, 16, 0.62);
        border-radius: 0;
        z-index: 0;
    }
    .menu a::after {
        left: auto;
        right: 3px;
        top: 50%;
        bottom: auto;
        width: 7px;
        height: 7px;
        border-radius: 1px;
        background: var(--signal);
        opacity: 0;
        transform: translateY(-50%) rotate(45deg) scale(0.2);
        transition:
            opacity 0.2s,
            transform 0.3s var(--e);
    }
    .menu a:hover,
    .menu a.active {
        color: var(--black);
    }
    .menu a:hover::after,
    .menu a.active::after {
        opacity: 1;
        transform: translateY(-50%) rotate(45deg) scale(1);
    }
    .hdr.stuck .menu a {
        color: rgba(255, 255, 255, 0.65);
    }
    .hdr.stuck .menu a:hover,
    .hdr.stuck .menu a.active {
        color: #fff;
    }
    .lang select {
        color: var(--black);
        border-bottom-color: rgba(16, 16, 16, 0.25);
    }
    .hdr.stuck .lang select {
        color: #fff;
        border-bottom-color: rgba(255, 255, 255, 0.28);
    }
    .hdr__cta {
        margin-left: 4px;
        color: #fff;
        background: var(--black);
        border-color: var(--black);
        border-radius: 999px;
        transform: none;
    }
    .hdr__cta:hover {
        color: #fff;
        background: var(--blue);
        border-color: var(--blue);
        transform: none;
    }
    .hdr.stuck .hdr__cta {
        color: var(--black);
        background: #fff;
        border-color: #fff;
    }

    .btn {
        border-radius: 999px;
        transform: none;
    }
    .btn:hover,
    .btn--ghost:hover {
        transform: translateY(-2px) rotate(0);
    }

    .hero {
        min-height: calc(100svh - 40px);
        margin: 32px 8px 8px;
        padding-top: calc(68px + var(--hero-gap));
        border-radius: 38px 38px 58px 58px;
        box-shadow: none;
        background: var(--shell);
        isolation: isolate;
    }
    .hero::before {
        display: block;
        width: min(720px, 58vw);
        right: -9%;
        top: 4%;
        aspect-ratio: 1;
        border-radius: 50%;
        transform: none;
        animation: none !important;
        background: radial-gradient(
            circle at 42% 38%,
            rgba(255, 255, 255, 0.95) 0 8%,
            rgba(225, 215, 255, 0.78) 28%,
            rgba(160, 126, 244, 0.35) 53%,
            rgba(232, 106, 60, 0.16) 69%,
            transparent 72%
        );
    }
    .hero::after {
        display: none;
    }
    .hero__grid {
        background:
            radial-gradient(
                ellipse 52% 72% at 86% 42%,
                rgba(81, 52, 167, 0.13),
                transparent 72%
            ),
            linear-gradient(
                90deg,
                transparent calc(50% - 0.5px),
                rgba(16, 16, 16, 0.035) 50%,
                transparent calc(50% + 0.5px)
            );
        opacity: 1;
    }
    .hero__h1 {
        font-size: clamp(3.25rem, 6.3vw, 6.5rem);
        font-weight: 800;
        line-height: 0.9;
        letter-spacing: -0.065em;
        text-transform: lowercase;
        max-width: 10.5ch;
    }
    .hero__h1 .hl {
        color: var(--blue);
        -webkit-text-fill-color: var(--blue);
    }
    .hero__sub {
        font-size: clamp(16px, 1.25vw, 19px);
        max-width: 48ch;
    }
    .hero__act {
        margin-top: 40px;
    }
    .hero .btn--primary {
        height: 60px;
        padding: 0 8px 0 25px;
        gap: 16px;
    }
    .hero .btn--primary svg {
        width: 42px;
        height: 42px;
        padding: 12px;
        color: var(--black);
        background: #fff;
        border-radius: 50%;
        transition:
            transform 0.35s var(--e),
            background 0.25s;
    }
    .hero .btn--primary:hover svg {
        transform: translateX(0) rotate(-8deg);
        background: #f0eafd;
    }
    .badge-art {
        width: min(500px, 40vw);
        filter: drop-shadow(0 30px 26px rgba(34, 18, 65, 0.17));
    }

    .clients {
        --cut: clamp(46px, 7vw, 104px);
        position: relative;
        margin: 0 8px 8px;
        padding: clamp(62px, 8vw, 104px) 0;
        color: #fff;
        background: var(--black);
        clip-path: polygon(
            0 0,
            calc(100% - var(--cut)) 0,
            100% var(--cut),
            100% 100%,
            0 100%
        );
        isolation: isolate;
    }
    .clients::before {
        display: block;
        z-index: 0;
        width: 44vw;
        max-width: 660px;
        aspect-ratio: 1;
        left: -18%;
        top: -80%;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 50%;
        transform: none;
    }
    .clients::after {
        display: none;
    }
    .clients .wrap {
        position: relative;
        z-index: 1;
    }
    .clients__label {
        color: rgba(255, 255, 255, 0.6);
    }
    .logos__i img {
        filter: brightness(0) invert(1);
        opacity: 0.76;
        transition:
            opacity 0.3s,
            transform 0.35s var(--e);
    }
    .logos li:nth-child(odd) .logos__i:hover img {
        transform: translateY(-5px) rotate(-2deg);
    }
    .logos li:nth-child(even) .logos__i:hover img {
        transform: translateY(-5px) rotate(2deg);
    }

    .sec {
        margin: 0 8px 8px;
        background: var(--shell);
        border-radius: 38px;
    }
    .sec:nth-of-type(even),
    .sec--light {
        background: var(--shell);
    }
    .sec__head {
        margin-bottom: clamp(44px, 7vw, 88px);
    }
    .sec__h2 {
        max-width: 13ch;
        font-size: clamp(2.8rem, 5.8vw, 6.3rem);
        font-weight: 800;
        line-height: 0.92;
        letter-spacing: -0.06em;
        text-wrap: balance;
    }
    .sec__label {
        gap: 12px;
        color: var(--tx-mute);
        text-transform: uppercase;
    }
    .sec__label::before {
        content: "";
        width: 8px;
        height: 8px;
        flex: none;
        background: var(--signal);
        transform: rotate(45deg);
    }
    .sec__lead {
        font-size: clamp(16px, 1.35vw, 20px);
        max-width: 56ch;
    }

    #services {
        margin: 0 8px 8px;
        padding-top: clamp(76px, 10vw, 140px);
        border-radius: 38px;
        clip-path: none;
    }
    #services::before {
        display: none;
    }
    .svc {
        counter-reset: service;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border-top: 1px solid var(--line);
    }
    .svc__c {
        counter-increment: service;
        min-height: clamp(210px, 22vw, 300px);
        padding: 30px clamp(8px, 3vw, 38px) 34px;
        background: transparent;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transition:
            background 0.3s,
            color 0.3s;
    }
    .svc__c:nth-child(odd) {
        border-right: 1px solid var(--line);
    }
    .svc__c::before {
        content: "0" counter(service);
        display: block;
        position: static;
        width: auto;
        height: auto;
        margin-bottom: auto;
        color: var(--blue);
        background: none;
        font: 500 12px/1 var(--m);
        letter-spacing: 0.08em;
        opacity: 1;
    }
    .svc__c:hover {
        color: #fff;
        background: var(--blue);
        border-color: var(--blue);
    }
    .svc__c:hover::before,
    .svc__c:hover p {
        color: rgba(255, 255, 255, 0.72);
    }
    .svc__c h3 {
        font-size: clamp(22px, 2.2vw, 34px);
        max-width: 16ch;
    }
    .svc__c p {
        margin-top: 14px;
        max-width: 48ch;
    }
    .svc__c:last-child:nth-child(odd) {
        border-right: 0;
    }

    #kit {
        background: #e8e0ff;
    }
    .kit {
        counter-reset: kit;
        border-top-color: rgba(16, 16, 16, 0.22);
    }
    .kit__r {
        counter-increment: kit;
        grid-template-columns: clamp(58px, 8vw, 116px) minmax(0, 1fr);
        padding-block: clamp(26px, 4vw, 48px);
        border-bottom-color: rgba(16, 16, 16, 0.22);
    }
    .kit__r::before {
        content: counter(kit, decimal-leading-zero);
        font: 500 clamp(18px, 2.3vw, 30px)/1 var(--m);
        color: var(--blue);
    }
    .kit__r:hover {
        padding-left: 4px;
    }
    .kit__b h3 {
        font-size: clamp(24px, 3vw, 42px);
    }

    #venues {
        background: #f1eee7;
    }
    .halls {
        counter-reset: hall;
        gap: 12px;
    }
    .hall {
        --local-cut: 42px;
        counter-increment: hall;
        min-height: 280px;
        padding: 30px;
        border: 0;
        border-radius: 0;
        background: #fff;
        clip-path: polygon(
            0 0,
            calc(100% - var(--local-cut)) 0,
            100% var(--local-cut),
            100% 100%,
            0 100%
        );
    }
    .hall::before {
        content: "0" counter(hall);
        display: block;
        margin-bottom: auto;
        color: var(--signal);
        font: 500 12px/1 var(--m);
    }
    .hall h3 {
        margin-top: 62px;
        font-size: clamp(22px, 2vw, 31px);
    }
    .hall:hover {
        background: #fff;
        transform: translateY(-4px);
    }

    #global {
        --cut: clamp(48px, 7vw, 108px);
        margin: 0 8px 8px;
        border-radius: 0;
        color: #fff;
        background: var(--blue);
        clip-path: polygon(
            var(--cut) 0,
            100% 0,
            100% 100%,
            0 100%,
            0 var(--cut)
        );
        isolation: isolate;
    }
    #global::before {
        display: block;
        z-index: 0;
        width: min(680px, 58vw);
        right: -16%;
        top: -60%;
        aspect-ratio: 1;
        border-radius: 50%;
        transform: none;
        background: rgba(232, 106, 60, 0.38);
    }
    #global::after {
        display: none;
    }
    #global .wrap {
        position: relative;
        z-index: 1;
    }
    #global .sec__label {
        color: rgba(255, 255, 255, 0.62);
    }
    #global .sec__label::before {
        background: var(--signal);
    }
    #global .glob__c {
        border-top-color: rgba(255, 255, 255, 0.28);
    }

    #process {
        --cut: clamp(48px, 7vw, 108px);
        margin: 0 8px 8px;
        border-radius: 0;
        color: #fff;
        background: var(--black);
        clip-path: polygon(
            0 0,
            calc(100% - var(--cut)) 0,
            100% var(--cut),
            100% 100%,
            0 100%
        );
        --rule: rgba(255, 255, 255, 0.14);
        --rule-2: rgba(255, 255, 255, 0.24);
        --sub: rgba(255, 255, 255, 0.65);
        --mute: rgba(255, 255, 255, 0.45);
        position: relative;
        overflow: hidden;
        isolation: isolate;
    }
    #process::after {
        content: "";
        position: absolute;
        z-index: 0;
        width: min(620px, 54vw);
        aspect-ratio: 1;
        right: -24%;
        bottom: -72%;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 50%;
        box-shadow: 0 0 0 70px rgba(81, 52, 167, 0.12);
    }
    #process .wrap {
        position: relative;
        z-index: 1;
    }
    #process .sec__label {
        color: rgba(255, 255, 255, 0.55);
    }
    #process .step::before {
        background: var(--black);
        border-color: rgba(255, 255, 255, 0.3);
    }
    #process .step.on::before {
        border-color: var(--signal);
        box-shadow: 0 0 0 4px rgba(232, 106, 60, 0.18);
    }
    #process .steps__rail i {
        background: var(--signal);
    }
    #process .step p {
        color: rgba(255, 255, 255, 0.62);
    }

    #faq {
        background: #f1eee7;
    }
    .qa summary {
        font-size: clamp(17px, 1.55vw, 22px);
        font-weight: 650;
    }

    #contact {
        margin: 0 8px 8px;
        padding: 0;
        background: transparent;
        border-radius: 0;
    }
    .cta__box {
        --cut: clamp(48px, 7vw, 108px);
        padding: clamp(48px, 7vw, 96px);
        color: var(--black);
        border-radius: 0;
        background: var(--signal);
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - var(--cut)),
            calc(100% - var(--cut)) 100%,
            0 100%
        );
    }
    .cta__box::before,
    .cta__box::after {
        display: none;
    }
    .cta__box .sec__label,
    .cta__sub {
        color: rgba(16, 16, 16, 0.62);
    }
    .cta__box .sec__label::before {
        background: var(--blue);
    }
    .cta__h2 {
        max-width: 10ch;
        font-size: clamp(3rem, 6.5vw, 7rem);
        font-weight: 800;
        line-height: 0.88;
        letter-spacing: -0.065em;
    }
    .cta .btn--primary {
        color: #fff;
        background: var(--black);
    }
    .cta .btn--primary:hover {
        color: #fff;
        background: var(--blue);
    }
    .cta .btn--ghost {
        color: var(--black);
        border-color: rgba(16, 16, 16, 0.32);
    }
    .cta .btn--ghost:hover {
        color: var(--black);
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--black);
    }

    .ftr {
        margin: 0 8px 8px;
        color: #fff;
        background: var(--black);
        border: 0;
        border-radius: 38px;
    }
    .ftr__note,
    .ftr__copy,
    .ftr__nav a {
        color: rgba(255, 255, 255, 0.55);
    }
    .ftr__nav a:hover {
        color: #fff;
    }

    @supports (animation-timeline: view()) {
        .clients::before,
        #global::before,
        #process::after {
            animation: orbDrift linear both;
            animation-timeline: view();
            animation-range: entry 0 cover 100%;
        }
    }
    @keyframes orbDrift {
        from {
            translate: 0 -8%;
        }
        to {
            translate: 0 12%;
        }
    }

    @media (max-width: 1040px) {
        .hero {
            padding-top: calc(68px + 52px);
        }
        .badge-art {
            width: min(430px, 74vw);
        }
    }
    @media (max-width: 960px) {
        :root {
            --hdr-h: 94px;
        }
        .signalbar {
            height: 28px;
            font-size: 11px;
            line-height: 28px;
        }
        .signalbar__track span {
            min-width: 150px;
        }
        .hdr {
            padding-inline: 5px;
        }
        .hdr__in {
            height: 66px;
            padding-inline: 16px 12px;
        }
        .hdr.stuck .hdr__in {
            border-radius: 0 0 22px 22px;
        }
        .menu {
            inset: 94px 5px auto;
            padding: 18px 22px 26px;
            color: #fff;
            background: var(--black);
            border: 0;
            border-radius: 0 0 28px 28px;
        }
        .menu a,
        .hdr.stuck .menu a {
            color: rgba(255, 255, 255, 0.72);
            border-bottom-color: rgba(255, 255, 255, 0.12);
        }
        .menu a:hover,
        .menu a.active {
            color: #fff;
        }
        .menu__cta {
            border-radius: 999px;
            border-color: rgba(255, 255, 255, 0.28);
        }
        .burger span {
            background: currentColor;
        }
        .hdr.stuck .burger {
            color: #fff;
        }
        .hero {
            margin-top: 28px;
        }
        .svc {
            grid-template-columns: 1fr;
        }
        .svc__c:nth-child(odd) {
            border-right: 0;
        }
        .svc__c {
            min-height: 220px;
        }
    }
    @media (max-width: 620px) {
        :root {
            --cut: 42px;
        }
        .hero {
            margin-inline: 5px;
            border-radius: 28px 28px 40px 40px;
            padding-top: calc(66px + 50px);
        }
        .hero__h1 {
            font-size: clamp(3rem, 15vw, 4.5rem);
        }
        .hero::before {
            width: 125vw;
            right: -60%;
            top: 38%;
        }
        .badge-art {
            width: min(360px, 92vw);
        }
        .clients,
        .sec,
        #services,
        #global,
        #process,
        #contact,
        .ftr {
            margin-inline: 5px;
        }
        .clients {
            --cut: 46px;
            padding-block: 68px;
        }
        .sec {
            border-radius: 28px;
        }
        .sec__h2 {
            font-size: clamp(2.7rem, 13vw, 4.3rem);
        }
        #services {
            border-radius: 28px;
        }
        .kit__r {
            grid-template-columns: 48px minmax(0, 1fr);
        }
        .halls {
            grid-template-columns: 1fr;
        }
        .hall {
            min-height: 250px;
        }
        #global,
        #process {
            --cut: 52px;
            border-radius: 0;
        }
        .cta__box {
            --cut: 52px;
            padding: 42px 26px 58px;
        }
        .cta__h2 {
            font-size: clamp(3rem, 14vw, 4.7rem);
        }
        .ftr {
            border-radius: 28px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .signalbar__track {
            animation-play-state: paused;
        }
        .clients::before,
        #global::before,
        #process::after {
            animation: none !important;
            translate: none !important;
        }
    }
}

/* ═══ FestID direction v4 ═════════════════════════════════
   Мягкие градиентные острова и большие сценовые дуги. */
:root {
    --d: "Onest", "Golos Text", "Helvetica Neue", Arial, sans-serif;
    --hdr-h: 76px;
    --black: #101010;
    --shell: #f7f4ee;
    --lavender: #e8e0ff;
    --violet: #5134a7;
    --signal: #7254d6;
    --ice: #dcebff;
    --mint: #d7f2ec;
    --berry: #b594e8;
}

body {
    background: var(--black);
}

.hdr {
    padding: 0 8px;
    background: transparent;
    border: 0;
    pointer-events: none;
}
.hdr.stuck {
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.hdr__in {
    pointer-events: auto;
    max-width: none;
    height: 76px;
    padding: 0 clamp(18px, 4vw, 52px);
    gap: 24px;
    color: var(--black);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        background 0.3s,
        color 0.3s,
        border-radius 0.3s,
        box-shadow 0.3s;
}
.hdr.stuck .hdr__in {
    color: #fff;
    background: rgba(16, 16, 16, 0.94);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.hdr__progress {
    left: 32px;
    right: 32px;
    bottom: 1px;
    height: 2px;
}
.brand {
    font-family: var(--d);
    font-weight: 800;
    letter-spacing: -0.055em;
}
.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    transform: none;
}
.brand span {
    font-size: 20px;
}
.brand b {
    color: inherit;
}
.menu a {
    padding: 9px 16px;
    color: rgba(16, 16, 16, 0.58);
    border-radius: 0;
    z-index: 0;
}
.menu a::after {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 5px;
    width: auto;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.25);
    transform-origin: left center;
    transition:
        opacity 0.2s,
        transform 0.35s var(--e);
}
.menu a:hover,
.menu a.active {
    color: var(--black);
}
.menu a:hover::after,
.menu a.active::after {
    opacity: 0.55;
    transform: scaleX(1);
}
.hdr.stuck .menu a {
    color: rgba(255, 255, 255, 0.62);
}
.hdr.stuck .menu a:hover,
.hdr.stuck .menu a.active {
    color: #fff;
}
.lang select {
    color: var(--black);
    border-bottom-color: rgba(16, 16, 16, 0.22);
}
.hdr.stuck .lang select {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.26);
}
.hdr__cta {
    margin-left: 4px;
    color: #fff;
    background: var(--black);
    border-color: var(--black);
    border-radius: 999px;
}
.hdr__cta:hover {
    color: #fff;
    background: var(--violet);
    border-color: var(--violet);
}
.hdr.stuck .hdr__cta {
    color: var(--black);
    background: #fff;
    border-color: #fff;
}

.btn {
    border-radius: 999px;
    transform: none;
}
.btn:hover,
.btn--ghost:hover {
    transform: translateY(-2px);
}

.hero {
    min-height: calc(100svh - 16px);
    margin: 8px;
    padding-top: calc(var(--hdr-h) + var(--hero-gap));
    border-radius: 38px 38px 60px 60px;
    background: var(--shell);
    box-shadow: none;
    isolation: isolate;
}
.hero::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    width: min(720px, 58vw);
    aspect-ratio: 1;
    right: -9%;
    top: 4%;
    border-radius: 50%;
    transform: none;
    animation: none !important;
    background: radial-gradient(
        circle at 42% 38%,
        #fff 0 7%,
        rgba(225, 220, 255, 0.88) 27%,
        rgba(142, 114, 229, 0.36) 53%,
        rgba(112, 196, 212, 0.14) 69%,
        transparent 72%
    );
}
.hero::after {
    display: none;
}
.hero__grid {
    background:
        radial-gradient(
            ellipse 54% 74% at 86% 42%,
            rgba(81, 52, 167, 0.13),
            transparent 72%
        ),
        linear-gradient(
            90deg,
            transparent calc(50% - 0.5px),
            rgba(16, 16, 16, 0.035) 50%,
            transparent calc(50% + 0.5px)
        );
    opacity: 1;
}
.hero__in {
    z-index: 2;
}
.hero__h1 {
    max-width: 10.5ch;
    font-family: var(--d);
    font-size: clamp(3.2rem, 6.3vw, 6.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.07em;
    text-transform: none;
}
.hero__h1 .hl {
    color: var(--violet);
    -webkit-text-fill-color: var(--violet);
}
.hero__sub {
    font-size: clamp(16px, 1.25vw, 19px);
    max-width: 48ch;
}
.hero__act {
    margin-top: 40px;
}
.hero .btn--primary {
    height: 60px;
    padding: 0 8px 0 25px;
    gap: 16px;
}
.hero .btn--primary svg {
    width: 42px;
    height: 42px;
    padding: 12px;
    color: var(--black);
    background: #fff;
    border-radius: 50%;
    transition:
        transform 0.35s var(--e),
        background 0.25s;
}
.hero .btn--primary:hover svg {
    transform: rotate(-8deg);
    background: #f0eafd;
}
.hero .btn--ghost {
    background: rgba(255, 255, 255, 0.34);
    border-color: rgba(16, 16, 16, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.hero .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(16, 16, 16, 0.28);
}
@supports not (
    (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
    .hero .btn--ghost {
        background: rgba(247, 244, 238, 0.92);
    }
}
@media (prefers-reduced-transparency: reduce) {
    .hero .btn--ghost {
        background: #f7f4ee;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
.badge-art {
    width: min(500px, 40vw);
    filter: drop-shadow(0 30px 26px rgba(34, 18, 65, 0.17));
}

.clients {
    position: relative;
    margin: 0 8px 8px;
    padding: clamp(62px, 8vw, 100px) 0;
    color: #fff;
    background: var(--black);
    border-radius: 48px;
    clip-path: none;
    isolation: isolate;
}
.clients::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    width: 42vw;
    max-width: 620px;
    aspect-ratio: 1;
    left: -16%;
    top: -88%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    transform: none;
}
.clients::after {
    display: none;
}
.clients .wrap {
    position: relative;
    z-index: 1;
}
.clients__label {
    color: rgba(255, 255, 255, 0.58);
}
.logos__i img {
    filter: brightness(0) invert(1);
    opacity: 0.76;
    transition:
        opacity 0.3s,
        transform 0.35s var(--e);
}
.logos li:nth-child(odd) .logos__i:hover img {
    transform: translateY(-5px) rotate(-2deg);
}
.logos li:nth-child(even) .logos__i:hover img {
    transform: translateY(-5px) rotate(2deg);
}

.sec {
    margin: 0 8px 8px;
    background: var(--shell);
    border-radius: 48px;
}
.sec:nth-of-type(even),
.sec--light {
    background: var(--shell);
}
.sec__head {
    margin-bottom: clamp(44px, 7vw, 86px);
}
.sec__h2,
.cta__h2,
.svc__c h3,
.hall h3,
.kit__b h3 {
    font-family: var(--d);
}
.sec__h2 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 5.6vw, 6.1rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.065em;
    text-wrap: balance;
}
.sec__label {
    gap: 12px;
    color: var(--tx-mute);
    text-transform: uppercase;
}
.sec__label::before {
    display: none;
}
.sec__lead {
    font-size: clamp(16px, 1.35vw, 20px);
    max-width: 56ch;
}

#services {
    margin: 0 8px 8px;
    padding-top: clamp(76px, 10vw, 138px);
    border-radius: 48px;
    clip-path: none;
}
#services::before {
    display: none;
}
.svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 2.5vw, 36px);
    border: 0;
}
.svc__c,
.hall {
    --shape-lg: clamp(72px, 7.4vw, 112px);
    --shape-sm: clamp(62px, 6.4vw, 96px);
    position: relative;
    overflow: hidden;
    color: var(--black);
    border: 0;
    background:
        radial-gradient(
            circle at 84% 5%,
            rgba(255, 255, 255, 0.96),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 94%,
            rgba(238, 244, 255, 0.9),
            transparent 37%
        ),
        linear-gradient(
            145deg,
            #eaf4ff 0%,
            #d8d2ff 38%,
            #b79fea 69%,
            #e9e3ff 100%
        );
    box-shadow:
        inset 0 14px 28px rgba(255, 255, 255, 0.5),
        inset 0 -18px 28px rgba(238, 235, 255, 0.7),
        0 0 30px rgba(183, 166, 233, 0.32);
    transform: none;
    transition:
        transform 0.4s var(--e),
        box-shadow 0.4s ease;
}
.svc__c {
    min-height: clamp(300px, 31vw, 430px);
    padding: clamp(34px, 4vw, 58px);
    border-radius: var(--shape-lg) var(--shape-lg) var(--shape-sm)
        var(--shape-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.svc__c:nth-child(even) {
    border-radius: var(--shape-lg) var(--shape-lg) var(--shape-lg)
        var(--shape-sm);
}
.svc__c:last-child:nth-child(odd) {
    border-radius: var(--shape-lg) var(--shape-lg) var(--shape-sm)
        var(--shape-sm);
}
.svc__c:nth-child(2),
.hall:nth-child(2) {
    background:
        radial-gradient(
            circle at 17% 5%,
            rgba(255, 255, 255, 0.95),
            transparent 31%
        ),
        radial-gradient(
            circle at 92% 90%,
            rgba(236, 232, 255, 0.9),
            transparent 36%
        ),
        linear-gradient(
            150deg,
            #e8faf6 0%,
            #d5e9ff 37%,
            #afa6ee 72%,
            #e6e0ff 100%
        );
}
.svc__c:nth-child(3),
.hall:nth-child(3) {
    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(255, 255, 255, 0.96),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 96%,
            rgba(231, 244, 255, 0.86),
            transparent 35%
        ),
        linear-gradient(
            140deg,
            #eef2ff 0%,
            #d7c9f4 38%,
            #a981d5 70%,
            #e9e4ff 100%
        );
}
.svc__c:nth-child(4) {
    background:
        radial-gradient(
            circle at 20% 8%,
            rgba(255, 255, 255, 0.94),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 94%,
            rgba(232, 241, 255, 0.88),
            transparent 38%
        ),
        linear-gradient(
            155deg,
            #e4f1ff 0%,
            #c7d8f6 34%,
            #9689dd 69%,
            #ddd7fb 100%
        );
}
.svc__c:nth-child(5) {
    background:
        radial-gradient(
            circle at 83% 6%,
            rgba(255, 255, 255, 0.96),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 96%,
            rgba(222, 246, 241, 0.9),
            transparent 37%
        ),
        linear-gradient(
            132deg,
            #e6f5ff 0%,
            #dcd6ff 37%,
            #a98be6 68%,
            #e2ecff 100%
        );
}
.svc__c::after,
.hall::after {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 76%;
    height: 36%;
    left: 12%;
    bottom: -16%;
    background: rgba(255, 255, 255, 0.6);
    filter: blur(30px);
    border-radius: 50%;
    transition:
        transform 0.55s var(--e),
        opacity 0.35s ease;
}
.svc__c > *,
.hall > * {
    position: relative;
    z-index: 1;
}
.svc__c h3 {
    margin-inline: auto;
    font-size: clamp(29px, 3.3vw, 50px);
    line-height: 0.94;
    letter-spacing: -0.055em;
    max-width: 14ch;
}
.svc__c p {
    margin: 18px auto 0;
    color: rgba(16, 16, 16, 0.68);
    font-size: clamp(14px, 1.2vw, 17px);
    max-width: 46ch;
}
.svc__c:hover,
.hall:hover {
    color: var(--black);
    transform: translateY(-7px);
    box-shadow:
        inset 0 16px 32px rgba(255, 255, 255, 0.68),
        inset 0 -18px 30px rgba(236, 232, 255, 0.78),
        0 22px 52px rgba(73, 47, 137, 0.2);
}
.svc__c:hover p {
    color: rgba(16, 16, 16, 0.68);
}
.svc__c:hover {
    box-shadow:
        inset 0 14px 28px rgba(255, 255, 255, 0.5),
        inset 0 -18px 28px rgba(238, 235, 255, 0.7),
        0 0 30px rgba(183, 166, 233, 0.32);
}
.svc__c:hover::after {
    transform: none;
    opacity: 1;
}
.hall:hover::after {
    transform: translateY(-12%) scale(1.08);
    opacity: 0.82;
}
.svc__c:last-child:nth-child(odd) {
    grid-column: 1/-1;
    min-height: 330px;
}

#kit {
    margin-bottom: 0;
    background: var(--lavender);
    border-radius: 48px 48px 0 0;
}
.kit {
    counter-reset: kit;
    border-top-color: rgba(16, 16, 16, 0.2);
}
.kit__r {
    counter-increment: kit;
    grid-template-columns: clamp(58px, 8vw, 116px) minmax(0, 1fr);
    padding-block: clamp(27px, 4vw, 48px);
    border-bottom-color: rgba(16, 16, 16, 0.2);
}
.kit__r::before {
    content: counter(kit, decimal-leading-zero);
    font: 500 clamp(18px, 2.3vw, 30px)/1 var(--m);
    color: var(--violet);
}
.kit__r:hover {
    padding-left: 4px;
}
.kit__b h3 {
    font-size: clamp(24px, 3vw, 42px);
    letter-spacing: -0.045em;
}

/* ═══ On-site printer scene ═══════════════════════════════ */
.printer-scene {
    position: relative;
    z-index: 2;
    height: 220vh;
    min-height: 1300px;
    margin: 0 8px;
    background: var(--lavender);
}
.printer-scene__sticky {
    position: sticky;
    z-index: 2;
    top: 0;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            transparent 0 78%,
            rgba(216, 231, 255, 0.48) 90%,
            var(--printer-edge) 100%
        ),
        radial-gradient(
            circle at 78% 38%,
            rgba(255, 255, 255, 0.98) 0 9%,
            rgba(228, 222, 255, 0.72) 30%,
            transparent 58%
        ),
        linear-gradient(180deg, #f7f4ee 0%, #f2eef9 68%, var(--printer-edge) 100%);
}
.printer-scene__copy {
    position: absolute;
    z-index: 3;
    left: clamp(34px, 7vw, 116px);
    top: 50%;
    width: min(520px, 39vw);
    transform: translateY(-50%);
    pointer-events: none;
}
.printer-scene__copy .sec__label {
    color: rgba(16, 16, 16, 0.52);
}
.printer-scene__copy h2 {
    margin: 18px 0 22px;
    font-family: var(--d);
    font-size: clamp(3rem, 5.2vw, 5.7rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.067em;
    text-wrap: balance;
}
.printer-scene__copy > p:last-child {
    max-width: 44ch;
    color: rgba(16, 16, 16, 0.6);
    font-size: clamp(15px, 1.18vw, 18px);
    line-height: 1.55;
}
.printer-scene__stage {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 0 0 48%);
}
.printer-scene__canvas {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.printer-scene.is-3d .printer-scene__canvas {
    opacity: 1;
}
.printer-scene__progress {
    position: absolute;
    z-index: 4;
    right: 28px;
    bottom: 26px;
    width: 96px;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(16, 16, 16, 0.13);
}
.printer-scene__progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--violet);
    transform: scaleX(0);
    transform-origin: left;
}

.scene-transition {
    position: relative;
    z-index: 1;
    height: clamp(210px, 27vw, 410px);
    margin: 0 8px 8px;
    overflow: hidden;
    background: var(--black);
}
.scene-transition svg {
    position: absolute;
    inset: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    overflow: visible;
    transform-origin: center;
}
.scene-transition__aura {
    fill: rgba(206, 196, 246, 0.4);
    filter: blur(18px);
}
.scene-transition__surface {
    filter: drop-shadow(0 18px 19px rgba(163, 150, 215, 0.32));
}
.scene-transition--lavender .scene-transition__surface {
    fill: var(--printer-edge);
}
.scene-transition--violet svg {
    transform: scaleX(-1);
}
.scene-transition--violet .scene-transition__aura {
    fill: rgba(91, 70, 151, 0.34);
}
.scene-transition--violet .scene-transition__surface {
    filter: drop-shadow(0 18px 20px rgba(77, 57, 133, 0.3));
}

#venues {
    color: #fff;
    background: var(--black);
    border-radius: 0 0 48px 48px;
}
#venues .sec__h2 {
    color: #fff;
}
#venues .sec__label {
    color: rgba(255, 255, 255, 0.5);
}
.halls {
    gap: clamp(14px, 1.7vw, 24px);
}
.hall {
    min-height: 340px;
    padding: clamp(28px, 3vw, 44px);
    border-radius: var(--shape-lg) var(--shape-lg) var(--shape-sm)
        var(--shape-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hall:nth-child(even) {
    border-radius: var(--shape-lg) var(--shape-lg) var(--shape-lg)
        var(--shape-sm);
}
.hall::before {
    display: none;
}
.hall h3 {
    margin: 0 auto;
    font-size: clamp(24px, 2.3vw, 36px);
    line-height: 1;
    letter-spacing: -0.045em;
}
.hall p {
    margin-inline: auto;
    max-width: 34ch;
}
.hall__t {
    width: 100%;
    text-align: center;
}
.hall p,
.hall__t {
    color: rgba(16, 16, 16, 0.62);
}

#global {
    margin: 0 8px;
    border-radius: 48px 48px 0 0;
    color: #fff;
    background: linear-gradient(90deg, #452b87 0%, #513797 52%, #5f49a7 100%);
    clip-path: none;
    isolation: isolate;
}
#global::before {
    display: none;
}
#global::after {
    display: none;
}
#global .wrap {
    position: relative;
    z-index: 1;
}
#global .sec__label {
    color: rgba(255, 255, 255, 0.62);
}
#global .glob__c {
    border-top-color: rgba(255, 255, 255, 0.28);
}

#process {
    margin: 0 8px 8px;
    border-radius: 48px;
    color: #fff;
    background: var(--black);
    clip-path: none;
}
#process::after {
    display: none;
}
#process .sec__label {
    color: rgba(255, 255, 255, 0.55);
}
#process .step::before {
    background: var(--black);
    border-color: rgba(255, 255, 255, 0.28);
}
#process .step.on::before {
    border-color: var(--signal);
    box-shadow: 0 0 0 4px rgba(114, 84, 214, 0.22);
}
#process .steps__rail i {
    background: var(--signal);
}
#process .step p {
    color: rgba(255, 255, 255, 0.62);
}

#faq {
    background: #f1eee7;
}
.qa summary {
    font-size: clamp(17px, 1.55vw, 22px);
    font-weight: 650;
}

#contact {
    margin: 0 8px 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.cta__box {
    padding: clamp(48px, 7vw, 96px);
    color: var(--black);
    border-radius: clamp(58px, 8vw, 104px);
    background:
        radial-gradient(
            circle at 82% 5%,
            rgba(255, 255, 255, 0.92),
            transparent 30%
        ),
        radial-gradient(
            circle at 9% 92%,
            rgba(218, 244, 238, 0.85),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #e2f1ff 0%,
            #ddd7ff 38%,
            #b49be9 70%,
            #e9e4ff 100%
        );
    clip-path: none;
    box-shadow:
        inset 0 18px 34px rgba(255, 255, 255, 0.5),
        inset 0 -20px 30px rgba(235, 232, 255, 0.72);
}
.cta__box::before,
.cta__box::after {
    display: none;
}
.cta__box .sec__label,
.cta__sub {
    color: rgba(16, 16, 16, 0.62);
}
.cta__h2 {
    max-width: 10ch;
    font-size: clamp(3rem, 6.5vw, 7rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.07em;
}
.cta .btn--primary {
    color: #fff;
    background: var(--black);
}
.cta .btn--primary:hover {
    color: #fff;
    background: var(--violet);
}
.cta .btn--ghost {
    color: var(--black);
    border-color: rgba(16, 16, 16, 0.3);
}
.cta .btn--ghost:hover {
    color: var(--black);
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--black);
    backdrop-filter: blur(40px) saturate(360%);
    -webkit-backdrop-filter: blur(40px) saturate(360%);
}

.ftr {
    margin: 0 8px 8px;
    color: #fff;
    background: var(--black);
    border: 0;
    border-radius: 38px;
}
.ftr__note,
.ftr__copy,
.ftr__nav a {
    color: rgba(255, 255, 255, 0.55);
}
.ftr__nav a:hover {
    color: #fff;
}

@supports (animation-timeline: view()) {
    .scene-transition svg {
        animation: curveTravel linear both;
        animation-timeline: view();
        animation-range: entry 0 cover 100%;
    }
}
@keyframes curveTravel {
    from {
        translate: 0 -3%;
        scale: 1.035;
    }
    to {
        translate: 0 4%;
        scale: 1;
    }
}

@media (max-width: 1040px) {
    .hero {
        padding-top: calc(var(--hdr-h) + 52px);
    }
    .hero__in {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        align-items: start;
    }
    .hero__copy {
        width: 100%;
    }
    .hero__badge {
        width: 100%;
        align-self: auto;
    }
    .badge-art {
        width: min(430px, 74vw);
    }
}
@media (max-width: 960px) {
    :root {
        --hdr-h: 68px;
    }
    .hdr {
        padding-inline: 5px;
    }
    .hdr__in {
        height: 68px;
        padding-inline: 16px 12px;
    }
    .hdr.stuck .hdr__in {
        border-radius: 0 0 22px 22px;
    }
    .menu {
        inset: 68px 5px auto;
        padding: 18px 22px 26px;
        color: #fff;
        background: var(--black);
        border: 0;
        border-radius: 0 0 28px 28px;
    }
    .menu a,
    .hdr.stuck .menu a {
        color: rgba(255, 255, 255, 0.72);
        border-bottom-color: rgba(255, 255, 255, 0.12);
    }
    .menu a:hover,
    .menu a.active {
        color: #fff;
    }
    .menu__cta {
        border-radius: 999px;
        border-color: rgba(255, 255, 255, 0.28);
    }
    .burger span {
        background: currentColor;
    }
    .hdr.stuck .burger {
        color: #fff;
    }
    .svc {
        grid-template-columns: 1fr;
    }
    .svc__c {
        min-height: 340px;
    }
}
@media (max-width: 620px) {
    :root {
        --hdr-h: 68px;
        --pad: 20px;
    }
    html {
        scroll-padding-top: 82px;
    }

    .hdr {
        padding: 5px;
    }
    .hdr__in {
        height: 58px;
        padding: 0 12px;
        gap: 10px;
        color: var(--black);
        background: rgba(247, 244, 238, 0.94);
        border-radius: 18px;
        box-shadow: 0 8px 26px rgba(35, 24, 62, 0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .hdr.stuck .hdr__in {
        height: 58px;
        border-radius: 18px;
        background: rgba(16, 16, 16, 0.94);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    }
    .brand {
        gap: 8px;
    }
    .brand img {
        width: 30px;
        height: 30px;
    }
    .brand span {
        font-size: 18px;
    }
    .lang {
        margin-left: auto;
    }
    .lang select {
        padding-right: 16px;
    }
    .burger {
        width: 36px;
        height: 36px;
        margin-left: 0;
    }
    .burger span {
        left: 8px;
        width: 20px;
    }
    .burger span:nth-child(1) {
        top: 15px;
    }
    .burger span:nth-child(2) {
        top: 21px;
    }
    .hdr__progress {
        left: 20px;
        right: 20px;
        bottom: 1px;
    }
    .menu {
        inset: 68px 5px auto;
        padding: 14px 18px 22px;
        border-radius: 18px 18px 24px 24px;
    }
    .menu a {
        padding: 13px 2px;
        font-size: 17px;
    }
    .menu a.menu__cta {
        margin-top: 18px;
        padding: 14px;
        border-radius: 999px;
    }

    .hero {
        min-height: 0;
        margin: 5px;
        padding: 102px 0 0;
        border-radius: 26px 26px 38px 38px;
        overflow: hidden;
    }
    .hero__in {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding-inline: 20px;
    }
    .hero__copy {
        width: 100%;
    }
    .hero__h1 {
        width: 100%;
        max-width: none;
        margin: 0 0 22px;
        font-size: clamp(2.75rem, 13.3vw, 3.4rem);
        line-height: 0.92;
        letter-spacing: -0.062em;
    }
    .hero__sub {
        max-width: none;
        font-size: 15.5px;
        line-height: 1.52;
    }
    .hero__act {
        margin-top: 24px;
        gap: 8px;
    }
    .hero .btn {
        height: 52px;
        width: 100%;
    }
    .hero .btn--primary {
        height: 54px;
        padding-left: 22px;
    }
    .hero__badge {
        height: 410px;
        width: calc(100% + 40px);
        margin-top: -150px;
        margin-inline: -20px;
        overflow: hidden;
        place-items: start center;
        z-index: -1;
    }
    .badge-art {
        width: 372px;
        max-width: none;
        top: 0;
        right: -24px;
    }
    .hero::before {
        width: 132vw;
        right: -70%;
        top: 44%;
    }

    .clients,
    .sec,
    #services,
    #global,
    #process,
    #contact,
    .ftr,
    .scene-transition {
        margin-inline: 5px;
    }
    .clients,
    .sec,
    #services,
    #global,
    #process {
        border-radius: 28px;
    }
    .clients {
        padding: 48px 0;
    }
    .clients__label {
        text-align: left;
    }
    .logos {
        margin-top: 26px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
    }
    .logos__i {
        min-height: 62px;
        padding: 10px 4px;
    }
    .logos__i img {
        opacity: 0.78;
        max-width: 132px;
    }

    .sec,
    #services {
        padding: 68px 0;
    }
    .sec--tight {
        padding: 62px 0;
    }
    .sec__head {
        margin-bottom: 34px;
        max-width: none;
    }
    .sec__label {
        font-size: 10px;
        letter-spacing: 0.17em;
    }
    .sec__h2 {
        max-width: 11ch;
        margin-top: 14px;
        font-size: clamp(2.35rem, 11.6vw, 2.95rem);
        line-height: 0.95;
        letter-spacing: -0.057em;
    }
    .sec__lead {
        margin-top: 18px;
        max-width: none;
        font-size: 15px;
        line-height: 1.55;
    }

    .svc {
        gap: 14px;
    }
    .svc__c {
        min-height: 292px;
        padding: 28px 26px;
    }
    .svc__c:nth-child(n),
    .hall:nth-child(n) {
        --shape-lg: 54px;
        --shape-sm: 44px;
        border-radius: var(--shape-lg) var(--shape-lg) var(--shape-sm)
            var(--shape-lg);
    }
    .svc__c:nth-child(even),
    .hall:nth-child(even) {
        border-radius: var(--shape-lg) var(--shape-lg) var(--shape-lg)
            var(--shape-sm);
    }
    .svc__c h3 {
        font-size: clamp(1.9rem, 8.8vw, 2.25rem);
        line-height: 0.98;
    }
    .svc__c p {
        margin-top: 16px;
        font-size: 14.5px;
        line-height: 1.55;
    }

    #kit {
        padding-bottom: 56px;
        border-radius: 28px 28px 0 0;
    }
    .kit__r {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding-block: 26px;
    }
    .kit__r::before {
        font-size: 14px;
    }
    .kit__b h3 {
        font-size: 23px;
        line-height: 1.05;
    }
    .kit__b p {
        font-size: 14.5px;
        line-height: 1.52;
    }

    .printer-scene {
        height: auto;
        min-height: 0;
        margin-inline: 5px;
    }
    .printer-scene__sticky {
        position: relative;
        display: block;
        height: auto;
        min-height: 0;
    }
    .printer-scene__copy {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        min-height: 0;
        padding: 86px 24px 26px;
        transform: none;
    }
    .printer-scene__copy h2 {
        max-width: 11ch;
        margin: 13px 0 16px;
        font-size: clamp(2.25rem, 10vw, 2.75rem);
        line-height: 0.94;
    }
    .printer-scene__copy > p:last-child {
        max-width: 44ch;
        font-size: 14.5px;
    }
    .printer-scene__stage {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(304px, 81.6vw, 368px);
        clip-path: none;
    }
    .printer-scene__progress {
        right: 22px;
        bottom: 20px;
    }

    .scene-transition {
        height: 148px;
        margin-bottom: 0;
    }
    .scene-transition svg {
        inset: -1px;
        width: auto;
        height: auto;
    }

    #venues {
        padding: 66px 0 72px;
        border-radius: 0 0 28px 28px;
    }
    #venues .sec__lead {
        color: rgba(255, 255, 255, 0.62);
    }
    .halls {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hall {
        min-height: 270px;
        padding: 28px 26px;
    }
    .hall h3 {
        font-size: 28px;
    }
    .hall p {
        font-size: 14.5px;
        line-height: 1.55;
    }
    .hall__t {
        font-size: 9.5px;
    }

    #global {
        padding: 66px 0;
        border-radius: 28px 28px 0 0;
    }
    #global .glob {
        gap: 0;
    }
    #global .glob__c {
        padding: 24px 0;
    }
    #global .glob__c:first-child {
        padding-top: 20px;
    }
    #global .glob__c h3 {
        font-size: 19px;
    }
    #global .glob__c p {
        font-size: 14.5px;
        line-height: 1.55;
    }

    #process {
        padding: 68px 0 76px;
        border-radius: 0 0 28px 28px;
    }
    .steps {
        padding-left: 28px;
    }
    .steps__list {
        gap: 38px;
    }
    .step h3 {
        font-size: 23px;
    }
    .step p {
        font-size: 14.5px;
        line-height: 1.55;
    }

    #faq {
        padding: 68px 0;
    }
    .faq__wrap .sec__head {
        margin-bottom: 28px;
    }
    .qa summary {
        padding: 20px 2px;
        font-size: 16px;
        line-height: 1.4;
    }
    .qa__b p {
        padding: 0 30px 20px 2px;
        font-size: 14.5px;
    }

    #contact {
        padding: 0;
    }
    .cta__box {
        padding: 38px 26px 44px;
        border-radius: 46px;
    }
    .cta__h2 {
        max-width: 8ch;
        font-size: clamp(2.65rem, 12vw, 3.15rem);
        line-height: 0.92;
    }
    .cta__sub {
        font-size: 15px;
        line-height: 1.55;
    }
    .cta__act {
        margin-top: 28px;
        gap: 10px;
    }

    .ftr {
        padding: 34px 0;
        border-radius: 28px;
    }
    .ftr__in {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
    }
    .ftr__nav {
        margin-left: 0;
        flex-wrap: wrap;
        gap: 10px 18px;
    }
    .ftr__copy {
        margin-top: 8px;
    }
}

@media (min-width: 700px) and (max-width: 960px) {
    .printer-scene__copy {
        left: clamp(38px, 7vw, 68px);
        top: 50%;
        width: 37%;
        transform: translateY(-50%);
    }
    .printer-scene__copy h2 {
        max-width: 9ch;
        margin: 14px 0 18px;
        font-size: clamp(2.25rem, 5.1vw, 3rem);
    }
    .printer-scene__copy > p:last-child {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (min-width: 621px) and (max-width: 699px) {
    .printer-scene {
        height: auto;
        min-height: 0;
        margin-inline: 5px;
    }
    .printer-scene__sticky {
        position: relative;
        display: block;
        height: auto;
        min-height: 0;
    }
    .printer-scene__copy {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        padding: 88px clamp(32px, 6vw, 44px) 30px;
        transform: none;
    }
    .printer-scene__copy h2 {
        max-width: 11ch;
        margin: 14px 0 18px;
        font-size: clamp(2.55rem, 7vw, 3.1rem);
        line-height: 0.94;
    }
    .printer-scene__copy > p:last-child {
        max-width: 46ch;
        font-size: 15px;
    }
    .printer-scene__stage {
        position: relative;
        inset: auto;
        width: 100%;
        height: min(432px, 73.6vw);
        clip-path: none;
    }
}

@media (min-width: 621px) and (max-height: 700px) {
    .printer-scene__copy h2 {
        margin-block: 12px 16px;
        font-size: clamp(2.2rem, 4.5vw, 3.7rem);
        line-height: 0.93;
    }
    .printer-scene__copy > p:last-child {
        font-size: 14px;
        line-height: 1.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-transition svg {
        animation: none !important;
        translate: none !important;
        scale: none !important;
    }
    .printer-scene {
        height: 120vh;
        min-height: 760px;
    }
    .printer-scene__canvas {
        transition: none;
    }
}

@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
    .printer-scene {
        height: auto;
        min-height: 0;
    }
}
