.internal-hero-scene,
.internal-scene-header {
    display: none;
}

@view-transition {
    navigation: none;
}

@media (min-width: 1102px) {
    .header.header--desktop-hero.internal-legacy-header {
        display: none !important;
    }

    .header.header--desktop-hero.internal-legacy-header::before,
    .header.header--desktop-hero.internal-legacy-header::after {
        content: none !important;
        display: none !important;
    }

    .internal-hero-scene {
        position: relative;
        z-index: 1;
        display: block;
        overflow: hidden;
        isolation: isolate;
        min-height: 200px;
        height: 200px;
        max-height: 200px;
        margin-top: 0;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .internal-hero-scene .hero-stage__picture {
        contain: paint;
        background-color: #f7fafc;
        background-image: url('../images/hero/home-hero-main.webp');
        background-position: center 72%;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .internal-scene-header {
        contain: paint;
    }

    .internal-hero-scene::before {
        content: '';
        position: absolute;
        inset: auto 8% -12px;
        z-index: 2;
        height: 40px;
        pointer-events: none;
        background: radial-gradient(
            72% 140% at 50% 0%,
            rgba(247, 242, 235, 0.72) 0%,
            rgba(247, 242, 235, 0.34) 42%,
            rgba(247, 242, 235, 0) 78%
        );
        filter: blur(16px);
        opacity: 0.92;
    }

    .internal-hero-scene::after {
        content: '';
        position: absolute;
        inset: auto 0 -1px;
        z-index: 2;
        height: 58px;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(239, 245, 250, 0) 0%,
            rgba(239, 245, 250, 0.04) 18%,
            rgba(239, 245, 250, 0.1) 38%,
            rgba(239, 245, 250, 0.28) 62%,
            rgba(239, 245, 250, 0.64) 84%,
            rgba(239, 245, 250, 1) 100%
        );
        -webkit-backdrop-filter: blur(12px) saturate(104%);
        backdrop-filter: blur(12px) saturate(104%);
    }

    .internal-scene-header {
        position: absolute;
        inset: -20px 24px auto;
        z-index: 4;
        display: grid;
        grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr);
        align-items: end;
        gap: 0;
        margin-bottom: 0;
        padding-inline: 0;
        width: auto;
        transform: none;
        font-family: 'Manrope', sans-serif;
        font-optical-sizing: auto;
        font-synthesis: none;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .internal-scene-header .hero-scene__topbar {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: auto;
        grid-column: 1;
        width: max-content;
        justify-self: start;
        align-self: end;
        align-items: center;
        gap: 0;
        padding: 0;
        margin-bottom: 0;
        border: 0;
        border-radius: 0;
        background: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .internal-scene-header .hero-header-row {
        grid-column: 2;
        display: block;
        margin-top: 0;
    }

    .internal-scene-header .hero-brand {
        display: flex;
        align-items: flex-start;
        min-width: 0;
        width: max-content;
        margin-top: 38px;
        margin-left: 38px;
        transform: translateY(16px);
    }

    .internal-scene-header .hero-brand__link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: #10263d !important;
        text-decoration: none !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    .internal-scene-header .hero-brand__link *,
    .internal-scene-header .hero-brand__link *::before,
    .internal-scene-header .hero-brand__link *::after {
        color: inherit !important;
        text-decoration: none !important;
    }

    .internal-scene-header .hero-brand__mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        contain: paint;
        width: 78px;
        height: 78px;
        flex: 0 0 78px;
        padding: 4px;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(247, 249, 252, 0.98) 0%, rgba(201, 212, 227, 0.92) 100%);
        box-shadow:
            0 12px 28px rgba(15, 23, 42, 0.09),
            0 2px 6px rgba(24, 61, 93, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.82);
        isolation: isolate;
    }

    .internal-scene-header .hero-brand__logo {
        display: block;
        height: 70px;
        width: 70px;
        max-width: 328px;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        border: 0;
        background: transparent;
        object-fit: contain;
        position: relative;
        z-index: 1;
    }

    .internal-scene-header .hero-brand__text {
        display: grid;
        gap: 6px;
        min-width: 0;
        width: max-content;
        position: relative;
        padding-bottom: 8px;
    }

    .internal-scene-header .hero-brand__text::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 92px;
        height: 1px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(24, 61, 93, 0.56), rgba(24, 61, 93, 0));
    }

    .internal-scene-header .hero-brand__eyebrow {
        color: rgba(14, 18, 24, 0.84) !important;
        font-size: 13.8px;
        font-weight: 760;
        line-height: 1.18;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .internal-scene-header .hero-brand__name {
        font-family: 'Cormorant Garamond', serif;
        font-size: 39px;
        font-weight: 700;
        font-synthesis: none;
        line-height: 0.92;
        letter-spacing: -0.015em;
        color: #10263d;
        font-variant-numeric: lining-nums proportional-nums;
        font-feature-settings: "lnum" 1, "pnum" 1;
    }

    .internal-scene-header .hero-brand__wave {
        display: block;
        position: absolute;
        inset: -185% -185%;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 44%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0) 56%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: translate(150%, -150%) rotate(10deg);
        opacity: 0.6;
        pointer-events: none;
        filter: blur(0.6px);
        z-index: 2;
        animation: logo-wave-shine 3.1s linear infinite;
    }

    .internal-scene-header .hero-header-stack {
        display: none !important;
    }

    .internal-scene-header .hero-header-link,
    .internal-scene-header .hero-header-address {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-start;
        width: 100%;
        min-height: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        min-width: 0;
    }

    .internal-scene-header .hero-header-link,
    .internal-scene-header .hero-header-link:visited,
    .internal-scene-header .hero-header-link:hover,
    .internal-scene-header .hero-header-link:focus-visible,
    .internal-scene-header .hero-header-link *,
    .internal-scene-header .hero-header-link *::before,
    .internal-scene-header .hero-header-link *::after {
        text-decoration: none !important;
    }

    .internal-scene-header .hero-header-link--secondary {
        padding-left: 0;
        border-left: 0;
        opacity: 0.76;
    }

    .internal-scene-header .hero-header-link--secondary .hero-header-sub {
        display: none;
    }

    .internal-scene-header .hero-header-text {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    .internal-scene-header .hero-header-link i,
    .internal-scene-header .hero-header-address i {
        flex: 0 0 19px;
        --pokraska-icon-color: #183d5d;
        color: var(--pokraska-icon-color, #183d5d) !important;
        font-size: 18.5px;
        width: 19px;
        text-align: center;
        display: inline-block;
        line-height: 1;
        text-shadow: none !important;
    }

    .internal-scene-header .hero-header-link i::before,
    .internal-scene-header .hero-header-address i::before {
        display: block;
        line-height: 1;
    }

    .internal-scene-header .hero-header-main {
        color: #111418 !important;
        font-size: 18px;
        line-height: 1.1;
        font-weight: 760;
        font-variant-numeric: tabular-nums lining-nums;
        font-feature-settings: "tnum" 1, "lnum" 1;
    }

    .internal-scene-header .hero-header-link--primary .hero-header-main {
        font-size: 22.4px;
        line-height: 1.04;
    }

    .internal-scene-header .hero-header-link--secondary .hero-header-main {
        font-size: 17.3px;
    }

    .internal-scene-header .hero-header-sub {
        color: #5e6977 !important;
        font-size: 13.9px;
        line-height: 1.24;
        font-weight: 640;
        font-variant-numeric: tabular-nums lining-nums;
        font-feature-settings: "tnum" 1, "lnum" 1;
    }

    .internal-scene-header .hero-header-link--primary .hero-header-sub {
        color: #5e6977 !important;
        font-size: 14.7px;
    }

    .internal-scene-header .hero-header-address {
        grid-column: auto;
        justify-self: stretch;
        max-width: none;
        border-top: 0;
        color: #1f2d3c !important;
        font-size: 13.9px;
        line-height: 1.3;
        font-weight: 600;
        text-align: left;
    }

    .internal-scene-header .hero-header-address i {
        color: #183d5d !important;
    }

    .internal-scene-header .hero-header-address span {
        color: #1f2d3c !important;
    }

    .internal-scene-header .hero-scene__nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 9px 18px;
        justify-content: center;
        justify-self: center;
        width: max-content;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
        border-top: 0;
        align-self: end;
        position: relative;
        z-index: 3;
    }

    .internal-scene-header .hero-nav__link,
    .internal-scene-header .hero-nav__link:visited {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 33px;
        padding: 7px 13px;
        border: 1px solid rgba(24, 61, 93, 0.1);
        border-radius: 999px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1)),
            linear-gradient(90deg, rgba(24, 61, 93, 0.08), rgba(255, 255, 255, 0));
        color: rgba(14, 18, 24, 0.86);
        font-size: 16.3px;
        font-weight: 800;
        letter-spacing: 0.012em;
        line-height: 1.08;
        white-space: nowrap;
        text-decoration: none !important;
        text-shadow: none;
        box-shadow:
            0 8px 16px rgba(24, 61, 93, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.16);
        transition:
            color 180ms ease,
            border-color 180ms ease,
            background 180ms ease,
            box-shadow 180ms ease,
            opacity 180ms ease,
            transform 180ms ease;
    }

    .internal-scene-header .hero-nav__link::after {
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 0;
        height: 0.75px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(24, 61, 93, 0) 0%, rgba(24, 61, 93, 0.22) 20%, rgba(24, 61, 93, 0.36) 50%, rgba(24, 61, 93, 0.22) 80%, rgba(24, 61, 93, 0) 100%);
        box-shadow: 0 1px 3px rgba(24, 61, 93, 0.05);
        opacity: 0;
        transform: scaleX(0.42);
        transform-origin: center;
        transition: transform 180ms ease, background 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
    }

    .internal-scene-header .hero-nav__link:hover {
        color: #11161d;
        border-color: rgba(24, 61, 93, 0.22);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
            linear-gradient(90deg, rgba(24, 61, 93, 0.12), rgba(255, 255, 255, 0));
        box-shadow:
            0 10px 20px rgba(24, 61, 93, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
        transform: translateY(-1px);
    }

    .internal-scene-header .hero-nav__link:hover::after {
        opacity: 0.78;
        transform: scaleX(1);
    }

    .internal-scene-header .hero-nav__link--active {
        border: 1px solid transparent;
        background: none;
        border-color: transparent;
        color: #11161d !important;
        box-shadow: none;
        text-shadow: none;
        transform: none;
    }

    .internal-scene-header .hero-nav__link--active::after {
        opacity: 0.96;
        transform: scaleX(1);
        background: linear-gradient(90deg, rgba(24, 61, 93, 0) 0%, rgba(24, 61, 93, 0.28) 18%, rgba(24, 61, 93, 0.48) 50%, rgba(24, 61, 93, 0.28) 82%, rgba(24, 61, 93, 0) 100%);
        box-shadow: 0 1px 4px rgba(24, 61, 93, 0.1);
    }

    .internal-hero-stage {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 15 / 8;
        min-height: 670px;
        height: auto;
        margin: 0;
        overflow: hidden;
        border-radius: 0;
        border: 0;
        background: linear-gradient(180deg, #fbfcfd 0%, #f5f8fa 46%, #f7fafc 100%);
        box-shadow: 0 30px 68px -32px rgba(16, 38, 61, 0.16);
    }

    .internal-hero-stage::before {
        content: '';
        position: absolute;
        inset: auto 12% -38px;
        height: 120px;
        border-radius: 50%;
        background: radial-gradient(circle at center, rgba(28, 28, 28, 0.14), rgba(28, 28, 28, 0) 72%);
        filter: blur(26px);
        opacity: 0.28;
        pointer-events: none;
    }

    .internal-hero-stage::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            radial-gradient(34% 34% at 7% 7%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0) 64%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(247, 250, 252, 0.012) 24%, rgba(247, 250, 252, 0.01) 100%);
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0px, rgba(0, 0, 0, 1) calc(100% - 10px), rgba(0, 0, 0, 0.88) calc(100% - 4px), rgba(0, 0, 0, 0.28) 100%);
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0px, rgba(0, 0, 0, 1) calc(100% - 10px), rgba(0, 0, 0, 0.88) calc(100% - 4px), rgba(0, 0, 0, 0.28) 100%);
        pointer-events: none;
    }

    .internal-hero-scene .hero-stage__picture {
        position: absolute;
        inset: 0 -8px 0 -1px;
        z-index: 0;
        display: block;
        background-color: #f7fafc;
        background-image: url('../images/hero/home-hero-main.webp');
        background-position: center 72%;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .internal-hero-scene .hero-stage__picture img {
        width: calc(100% + 9px);
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: center 72%;
        animation: stageDrift 16s ease-in-out infinite;
        animation-delay: var(--hero-stage-drift-delay, 0s);
        animation-fill-mode: both;
        animation-play-state: paused;
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0px, rgba(0, 0, 0, 1) calc(100% - 10px), rgba(0, 0, 0, 0.88) calc(100% - 4px), rgba(0, 0, 0, 0.28) 100%);
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0px, rgba(0, 0, 0, 1) calc(100% - 10px), rgba(0, 0, 0, 0.88) calc(100% - 4px), rgba(0, 0, 0, 0.28) 100%);
        filter: none;
    }

    body#top .internal-hero-scene + .catalog-page,
    body#top .internal-hero-scene + .services-page,
    body#top .internal-hero-scene + .gallery-page,
    body#top .internal-hero-scene + .prices-page,
    body#top .internal-hero-scene + .payment-docs-page,
    body#top .internal-hero-scene + .contacts-page,
    body#top .internal-hero-scene + .privacy-page,
    body#top .internal-hero-scene + .automation-faq-wrap,
    body#top .internal-hero-scene + .automation-product-page {
        position: relative;
        z-index: 1;
        padding-top: 12px !important;
        background:
            radial-gradient(circle at 11% 0%, rgba(var(--theme-accent-rgb), 0.07), transparent 28%),
            radial-gradient(circle at 78% 8%, rgba(var(--theme-accent-rgb), 0.05), transparent 24%),
            radial-gradient(circle at 89% 2%, rgba(255, 255, 255, 0.76), transparent 26%),
            linear-gradient(180deg, #fbfcfd 0%, #f2f6f7 52%, #f7fafc 100%);
    }

    body#top .internal-hero-scene + .catalog-page::before,
    body#top .internal-hero-scene + .services-page::before,
    body#top .internal-hero-scene + .gallery-page::before,
    body#top .internal-hero-scene + .prices-page::before,
    body#top .internal-hero-scene + .payment-docs-page::before,
    body#top .internal-hero-scene + .contacts-page::before,
    body#top .internal-hero-scene + .privacy-page::before,
    body#top .internal-hero-scene + .automation-faq-wrap::before,
    body#top .internal-hero-scene + .automation-product-page::before {
        content: '' !important;
        position: absolute;
        inset: -12px 0 auto;
        z-index: 2;
        height: 46px;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(252, 250, 245, 0) 0%,
            rgba(242, 247, 251, 0.06) 24%,
            rgba(235, 243, 249, 0.18) 56%,
            rgba(241, 247, 252, 0.74) 100%
        );
        -webkit-backdrop-filter: blur(12px) saturate(103%);
        backdrop-filter: blur(12px) saturate(103%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    body#top .internal-hero-scene + .catalog-page > .container,
    body#top .internal-hero-scene + .services-page > .container,
    body#top .internal-hero-scene + .gallery-page > .container,
    body#top .internal-hero-scene + .prices-page > .container,
    body#top .internal-hero-scene + .payment-docs-page > .container,
    body#top .internal-hero-scene + .contacts-page > .container,
    body#top .internal-hero-scene + .privacy-page > .container,
    body#top .internal-hero-scene + .automation-faq-wrap > .container,
    body#top .internal-hero-scene + .automation-product-page > .container {
        position: relative;
        z-index: 3;
        padding-top: 0 !important;
    }
}

@media (min-width: 1102px) and (max-width: 1440px) {
    .internal-scene-header .hero-header-row {
        grid-template-columns: minmax(0, 1fr) minmax(332px, 364px);
        gap: 10px 18px;
    }

    .internal-scene-header .hero-header-stack {
        width: min(100%, 344px);
        max-width: 344px;
        min-height: 0;
        transform: translateY(-8px);
    }

    .internal-scene-header .hero-scene__nav {
        gap: 6px 8px;
    }

    .internal-scene-header .hero-nav__link,
    .internal-scene-header .hero-nav__link:visited {
        min-height: 31px;
        padding: 6px 9px;
        font-size: 14.2px;
    }

    .internal-scene-header .hero-brand__eyebrow {
        font-size: 13.2px;
    }

    .internal-scene-header .hero-brand__name {
        font-size: 35px;
    }
}

@keyframes stageDrift {
    0%,
    100% {
        transform: scale(1) translate3d(0, 0, 0);
    }

    50% {
        transform: scale(1.005) translate3d(-0.2%, -0.08%, 0);
    }
}

/* Tablet and narrow desktop-site mode use the compact header; wider canvases keep the hero header visible. */
@media (pointer: coarse) and (min-width: 900px) and (max-width: 1101.98px) and (max-aspect-ratio: 2 / 3),
    (min-width: 900px) and (max-width: 1101.98px) and (min-height: 1200px) and (max-aspect-ratio: 2 / 3),
    (hover: none) and (min-width: 900px) and (max-width: 1101.98px) and (max-aspect-ratio: 2 / 3) {
    body#top {
        --internal-compact-page-start: 96px;
    }

    body#top .header.header--desktop-hero.internal-legacy-header:not(.header--home),
    .header.header--desktop-hero.internal-legacy-header {
        display: block !important;
    }

    .internal-hero-scene,
    .internal-scene-header {
        display: none !important;
    }

    body#top .internal-hero-scene + .catalog-page,
    body#top .internal-hero-scene + .services-page,
    body#top .internal-hero-scene + .gallery-page,
    body#top .internal-hero-scene + .prices-page,
    body#top .internal-hero-scene + .payment-docs-page,
    body#top .internal-hero-scene + .contacts-page,
    body#top .internal-hero-scene + .privacy-page,
    body#top .internal-hero-scene + .automation-faq-wrap,
    body#top .internal-hero-scene + .automation-product-page {
        padding-top: var(--internal-compact-page-start) !important;
    }
}

@media (pointer: coarse) and (min-width: 900px) and (max-width: 1101.98px) and (max-aspect-ratio: 2 / 3),
    (min-width: 900px) and (max-width: 1101.98px) and (min-height: 1200px) and (max-aspect-ratio: 2 / 3),
    (hover: none) and (min-width: 900px) and (max-width: 1101.98px) and (max-aspect-ratio: 2 / 3) {
    body#top {
        --internal-compact-page-start: 136px;
    }
}

@media (min-width: 900px) and (max-width: 1600px) and (max-height: 900px) and (orientation: landscape) and (pointer: coarse) {
    body#top {
        --internal-compact-page-start: 92px;
    }
}

/* ========== UNIFIED DESKTOP HEADER SYSTEM ========== */
@media (min-width: 1102px) {
    body#top .desktop-hero-header.internal-scene-header {
        position: absolute;
        inset: 14px 24px auto;
        z-index: 4;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        gap: 16px 0;
        width: auto;
        margin: 0;
        padding-inline: 0;
        transform: none;
        overflow: visible;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-scene__topbar {
        grid-column: 1;
        grid-row: 1;
        display: grid;
        grid-template-columns: auto;
        width: max-content;
        justify-self: start;
        align-self: start;
        align-items: center;
        gap: 0;
        padding: 0;
        margin-bottom: 0;
        border: 0;
        border-radius: 0;
        background: none;
        backdrop-filter: none;
        box-shadow: none;
        overflow: visible;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand {
        display: flex;
        align-items: flex-start;
        min-width: 0;
        width: max-content;
        margin-top: 28px;
        margin-left: 38px;
        transform: none;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__mark {
        background: linear-gradient(180deg, rgba(247, 249, 252, 0.98) 0%, rgba(201, 212, 227, 0.92) 100%);
        box-shadow:
            0 12px 28px rgba(15, 23, 42, 0.09),
            0 2px 6px rgba(24, 61, 93, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.82);
        overflow: hidden;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__logo {
        overflow: hidden;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__text {
        gap: 6px;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-row {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 0;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-scene__nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        justify-self: center;
        width: max-content;
        max-width: none;
        min-height: 0;
        margin: 0 auto;
        padding: 0;
        gap: 9px 18px;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
        align-self: end;
        position: relative;
        z-index: 3;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-stack {
        position: absolute;
        top: 58px;
        right: 62px;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        max-width: none;
        gap: 0;
        margin: 0;
        font-family: 'Manrope', sans-serif;
        font-size: 16.5px;
        font-weight: 400;
        line-height: 1;
        transform: none;
        z-index: 4;
        pointer-events: auto;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--secondary,
    body#top .desktop-hero-header.internal-scene-header .hero-header-address {
        display: none !important;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:visited,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:focus-visible {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        width: auto;
        padding: 6px 0 8px;
        color: rgba(16, 38, 61, 0.9) !important;
        font-family: 'Manrope', sans-serif;
        font-size: 16.5px;
        font-weight: 400;
        line-height: 1;
        text-decoration: none !important;
        transform: none;
        opacity: 1;
        position: relative;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary .hero-header-text {
        display: block;
        min-width: 0;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary .hero-header-main {
        color: #10263d !important;
        font-size: clamp(16.2px, 1vw, 18.4px);
        line-height: 1.02;
        font-weight: 800;
        letter-spacing: 0.018em;
        font-variant-numeric: tabular-nums lining-nums;
        font-feature-settings: "tnum" 1, "lnum" 1;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary .hero-header-sub {
        display: none !important;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        font-size: 12.5px;
        color: rgba(24, 61, 93, 0.8) !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 252, 0.42));
        border: 1px solid rgba(24, 61, 93, 0.08);
        border-radius: 999px;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.46),
            0 4px 10px rgba(24, 61, 93, 0.05);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary::after {
        content: '';
        position: absolute;
        left: 39px;
        right: 0;
        bottom: 0;
        height: 1px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(24, 61, 93, 0.18), rgba(24, 61, 93, 0));
        opacity: 0.52;
        transition: opacity 180ms ease, transform 180ms ease;
        transform-origin: left center;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:focus-visible {
        color: #10263d !important;
        opacity: 0.92;
        box-shadow: none;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:hover::after,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:focus-visible::after {
        opacity: 0.8;
        transform: scaleX(1.02);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__link,
    body#top .desktop-hero-header.internal-scene-header .hero-brand__link:visited,
    body#top .desktop-hero-header.internal-scene-header .hero-brand__link:hover {
        color: #10263d !important;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__eyebrow {
        color: rgba(14, 18, 24, 0.84) !important;
        font-size: 13.8px;
        font-weight: 760;
        line-height: 1.18;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__name {
        font-size: 39px;
        color: #10263d !important;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-brand__text::after {
        background: linear-gradient(90deg, rgba(24, 61, 93, 0.56), rgba(24, 61, 93, 0));
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:visited {
        min-height: 33px;
        padding: 7px 13px;
        border: 1px solid rgba(24, 61, 93, 0.1);
        border-radius: 999px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1)),
            linear-gradient(90deg, rgba(24, 61, 93, 0.08), rgba(255, 255, 255, 0));
        color: rgba(14, 18, 24, 0.86);
        font-size: 16.3px;
        font-weight: 800;
        letter-spacing: 0.012em;
        line-height: 1.08;
        text-decoration: none !important;
        text-shadow: none;
        box-shadow:
            0 8px 16px rgba(24, 61, 93, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link::after {
        left: 12px;
        right: 12px;
        bottom: 0;
        height: 0.75px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(24, 61, 93, 0) 0%, rgba(24, 61, 93, 0.22) 20%, rgba(24, 61, 93, 0.36) 50%, rgba(24, 61, 93, 0.22) 80%, rgba(24, 61, 93, 0) 100%);
        box-shadow: 0 1px 3px rgba(24, 61, 93, 0.05);
        opacity: 0;
        transform: scaleX(0.42);
        transform-origin: center;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:hover {
        color: #11161d;
        border-color: rgba(24, 61, 93, 0.22);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
            linear-gradient(90deg, rgba(24, 61, 93, 0.12), rgba(255, 255, 255, 0));
        box-shadow:
            0 10px 20px rgba(24, 61, 93, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
        transform: translateY(-1px);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:hover::after {
        opacity: 0.78;
        transform: scaleX(1);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active:visited,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active:focus-visible {
        border: 1px solid transparent;
        background: none;
        border-color: transparent;
        color: #11161d !important;
        box-shadow: none;
        text-shadow: none;
        transform: none;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active::after {
        opacity: 0.96;
        transform: scaleX(1);
        background: linear-gradient(90deg, rgba(24, 61, 93, 0) 0%, rgba(24, 61, 93, 0.28) 18%, rgba(24, 61, 93, 0.48) 50%, rgba(24, 61, 93, 0.28) 82%, rgba(24, 61, 93, 0) 100%);
        box-shadow: 0 1px 4px rgba(24, 61, 93, 0.1);
    }
}

/* ========== DESKTOP CONTROL PANEL FINISH ========== */
@media (min-width: 1102px) {
    body#top .desktop-hero-header.internal-scene-header .hero-brand__mark {
        border: 1px solid rgba(24, 61, 93, 0.1);
        background: linear-gradient(180deg, rgba(247, 249, 252, 0.98) 0%, rgba(201, 212, 227, 0.92) 100%);
        box-shadow:
            0 12px 28px rgba(15, 23, 42, 0.09),
            0 2px 6px rgba(24, 61, 93, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.82);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-scene__nav {
        gap: 6px;
        padding: 6px 7px;
        border: 1px solid rgba(24, 61, 93, 0.11);
        border-radius: 999px;
        background:
            radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 32%),
            linear-gradient(135deg, rgba(255, 253, 248, 0.8), rgba(244, 236, 224, 0.66) 54%, rgba(229, 216, 194, 0.54));
        box-shadow:
            0 14px 34px rgba(63, 53, 38, 0.07),
            inset 0 1px 0 rgba(255, 255, 255, 0.58);
        -webkit-backdrop-filter: blur(14px) saturate(108%);
        backdrop-filter: blur(14px) saturate(108%);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:visited {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:focus-visible {
        border-color: rgba(24, 61, 93, 0.12);
        background: rgba(255, 255, 255, 0.5);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active:visited,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link--active:focus-visible {
        border-color: rgba(24, 61, 93, 0.16);
        background:
            radial-gradient(circle at 0% 0%, rgba(var(--theme-champagne-rgb), 0.18), rgba(var(--theme-champagne-rgb), 0) 42%),
            rgba(255, 255, 255, 0.62);
        color: #10263d !important;
        box-shadow:
            0 8px 16px rgba(16, 38, 61, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:visited,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary:focus-visible {
        padding: 8px 14px 9px 10px;
        border: 1px solid rgba(24, 61, 93, 0.12);
        border-radius: 999px;
        background:
            radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 38%),
            linear-gradient(145deg, rgba(255, 253, 248, 0.84), rgba(244, 236, 224, 0.7));
        box-shadow:
            0 12px 26px rgba(63, 53, 38, 0.07),
            inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }

    body#top .desktop-hero-header.internal-scene-header .hero-header-link--primary::after {
        content: none;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link {
        cursor: url("../images/ui/remote-cursor.svg") 6 5, pointer;
        position: relative;
        overflow: visible;
    }

    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:hover,
    body#top .desktop-hero-header.internal-scene-header .hero-nav__link:focus-visible {
        background:
            radial-gradient(circle at 8% 50%, rgba(var(--theme-champagne-rgb), 0.18), rgba(var(--theme-champagne-rgb), 0) 34%),
            rgba(255, 255, 255, 0.56);
        box-shadow:
            0 12px 24px rgba(16, 38, 61, 0.09),
            inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }
}
