.tooto-flagship, .tooto-turbo {
    --tooto-home-accent: #e71f22;
    --tooto-home-text: #fff;
    --tooto-home-background: #000;
    background: var(--tooto-home-background);
    color: var(--tooto-home-text);
}

/* The explorer owns the full glow on every screen. Keep preceding content
   above that glow without covering its overflow with a separate backdrop. */
.tooto-flagship {
    padding: 110px 0 40px;
    position: relative;
}

.tooto-flagship__inner {
    position: relative;
    z-index: 1;
    width: min(90%, 1560px);
    margin-inline: auto;
    text-align: center;
}

.tooto-flagship .tooto-flagship__logo {
    display: block;
    width: 103px;
    height: 30px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.tooto-flagship .tooto-home__title, .tooto-turbo .tooto-home__title {
    color: var(--tooto-home-text);
    font-family: inherit;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    text-wrap: balance;
}

.tooto-flagship__grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 82px 0 74px;
}

.tooto-flagship__card {
    position: relative;
    min-width: 0;
    aspect-ratio: 399/439;
    display: block;
    color: #000;
    text-decoration: none;
    isolation: isolate;
}

.tooto-flagship__surface {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(196,196,196,0.5);
    border-radius: 20px;
    background: #fff;
    z-index: -1;
}

.tooto-flagship__surface::after {
    content: "";
    position: absolute;
    inset: 32% 0 0;
    background: linear-gradient(transparent, #111 100%);
    opacity: 0;
    transition: opacity .45s;
}

.tooto-flagship .tooto-flagship__vehicle {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .45s;
}

.tooto-flagship__surface:has(.tooto-flagship__vehicle)::after {
    background: linear-gradient(transparent 50%, #0008);
}

.tooto-flagship__product {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 7%;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.tooto-flagship .tooto-flagship__product img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tooto-flagship .tooto-flagship__name {
    color: inherit;
    font: 600 16px/1.35 var(--theme-font-family, inherit);
    position: absolute;
    inset: auto 24px 32px;
    margin: 0;
    transition: color .3s;
    overflow-wrap: anywhere;
}

.tooto-flagship__card:focus-visible {
    outline: 2px solid var(--tooto-home-accent);
    outline-offset: 7px;
    border-radius: 20px;
}

.tooto-flagship__card:focus-visible .tooto-flagship__product {
    transform: translateY(-28%) scale(.94);
}

.tooto-flagship__card:focus-visible .tooto-flagship__surface::after, .tooto-flagship__card:focus-visible .tooto-flagship__vehicle {
    opacity: 1;
}

.tooto-flagship__card:focus-visible .tooto-flagship__name {
    color: #fff;
}

.tooto-flagship__all {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 32px;
    border-radius: 8px;
    background: var(--tooto-home-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.tooto-flagship__all:focus-visible, .tooto-flagship__carousel:focus-visible, .tooto-turbo button:focus-visible {
    outline: 2px solid var(--tooto-home-accent);
    outline-offset: 5px;
}

/* ScrollTrigger writes inline scroll-behavior during refresh. This scoped override
   keeps viewport measurement synchronous only while an explorer owns a pin. */
:root[data-tooto-turbo-scroll] { scroll-behavior: auto !important; }
/* Keep the Figma proportions. Above 1920px, gently grow the entire canvas up to
   1680px so artwork, hotspots and leaders stay aligned; height never rescales it. */
.elementor-widget-tooto-turbo-explorer { width: 100%; }
.tooto-turbo { position: relative; --tooto-progress: 0; --tooto-handoff: 0; --tooto-background: 0; --tooto-rings: 0; --tooto-reveal: 0; }
.tooto-turbo__sticky {
    position: relative; width: 100%; max-width: clamp(1440px, 75vw, 1680px); margin: auto;
    container-type: inline-size; isolation: isolate; overflow: visible;
}
.tooto-turbo__canvas { position: relative; width: 100%; aspect-ratio: 1440/947; isolation: isolate; overflow: clip; }
.tooto-turbo .tooto-home__title {
    position: absolute; z-index: 5; top: 12.038%; left: 29.792%; width: 40.486%;
    margin: 0; text-align: center; font-size: 3.889cqw; line-height: 1; text-wrap: initial;
}
/* One stationary glow for assembly, disassembly and the entire handoff. */
.tooto-turbo .tooto-turbo__glow { position: absolute; z-index: -1; left: -2.222222%; top: -19.583333cqw; width: 104.236%; max-width: none; height: auto; pointer-events: none; }
.tooto-turbo .tooto-turbo__rings { position: absolute; z-index: 0; left: 24.132%; top: 13.834%; width: 51.735%; height: auto; opacity: var(--tooto-rings); transform: scale(calc(.92 + var(--tooto-rings) * .08)); transform-origin: center; pointer-events: none; }
.tooto-turbo .tooto-turbo__watermark { display: block; position: absolute; z-index: 0; left: -5.66%; top: 34.213%; width: 111.319%; max-width: none; height: auto; opacity: calc(1 - var(--tooto-background)); transform: translateY(calc(var(--tooto-background) * -1.2cqw)) scale(calc(1 + var(--tooto-background) * .025)); transform-origin: center; pointer-events: none; }
.tooto-turbo .tooto-turbo__assembled {
    position: absolute; z-index: 2; left: 25.972%; top: 20.803%; width: 48.056%; height: 68.954%;
    object-fit: contain; opacity: calc(1 - var(--tooto-handoff)); pointer-events: none;
}
.tooto-turbo .tooto-turbo__assembly-trigger {
    position: absolute; z-index: 4; left: 47.5%; top: 73.707%; width: 4.861cqw; height: 4.861cqw;
    display: none; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none;
    opacity: calc(1 - var(--tooto-handoff));
}
.tooto-turbo.is-ready .tooto-turbo__assembly-trigger { display: block; }
.tooto-turbo__assembly-trigger:disabled { pointer-events: none; visibility: hidden; }
.tooto-turbo:is([data-tooto-state="expanding"], [data-tooto-state="assembling"]) .tooto-turbo__assembly-trigger:disabled { visibility: visible; }
.tooto-turbo__assembly-trigger img { display: block; width: 100%; height: auto; max-width: none; pointer-events: none; }
.tooto-turbo__parts, .tooto-turbo__hotspots { position: absolute; inset: 0; pointer-events: none; }
.tooto-turbo__parts { z-index: 3; opacity: var(--tooto-handoff); }
.tooto-turbo__hotspots { z-index: 4; }
.tooto-turbo .tooto-turbo__part {
    position: absolute; z-index: var(--tooto-depth); left: var(--tooto-x); top: var(--tooto-y);
    width: var(--tooto-w); height: var(--tooto-h); object-fit: fill; transform-origin: 0 0;
    transform: translate(calc(var(--tooto-dx) * (1 - var(--tooto-progress))), calc(var(--tooto-dy) * (1 - var(--tooto-progress))));
}
.tooto-turbo__part-mask { position: relative; width: 100%; height: 100%; transform-origin: 0 0; mask-size: 100% 100%; mask-repeat: no-repeat; }
.tooto-turbo .tooto-turbo__part img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tooto-turbo .tooto-turbo__hotspot {
    position: absolute; left: var(--tooto-x); top: var(--tooto-y); transform: translate(-50%, -50%);
    display: grid; place-items: center; width: max(24px, 3.056cqw); height: max(24px, 3.056cqw); min-height: 0;
    padding: 0; border: 0; background: transparent; border-radius: 50%; box-shadow: none;
    opacity: 0; visibility: hidden; pointer-events: none; color: var(--tooto-home-accent);
}
.tooto-turbo__hotspot img { width: 2.917cqw; height: auto; max-width: none; pointer-events: none; transition: scale .2s; }
.tooto-turbo:is(.is-open, [data-tooto-state="expanding"], [data-tooto-state="assembling"]) .tooto-turbo__hotspot { opacity: var(--tooto-reveal); visibility: visible; }
.tooto-turbo.is-open .tooto-turbo__hotspot { pointer-events: auto; }
/* Promote only the moving layers, and release them when the timeline settles. */
.tooto-turbo:is([data-tooto-state="expanding"], [data-tooto-state="assembling"]) :is(.tooto-turbo__rings, .tooto-turbo__watermark) { will-change: transform, opacity; }
.tooto-turbo:is([data-tooto-state="expanding"], [data-tooto-state="assembling"]) :is(.tooto-turbo__assembled, .tooto-turbo__parts) { will-change: opacity; }
.tooto-turbo:is([data-tooto-state="expanding"], [data-tooto-state="assembling"]) .tooto-turbo__part { will-change: transform; }
/* Hide selected artwork while preserving the hover target and keyboard focus. */
.tooto-turbo__hotspot[aria-expanded="true"] img { opacity: 0; }
.tooto-turbo__details { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.tooto-turbo__description { position: absolute; inset: 0; }
.tooto-turbo__description[hidden] { display: none; }
.tooto-turbo__copy { position: absolute; left: var(--tooto-text-x); top: var(--tooto-text-y); width: var(--tooto-text-w); }
.tooto-turbo .tooto-turbo__description h3 { color: var(--tooto-home-text); font-size: max(13px, 1.111cqw); line-height: 1.2; font-weight: 500; margin: 0 0 .556cqw; }
.tooto-turbo .tooto-turbo__description p { color: var(--tooto-home-text); font-size: max(11px, .833cqw); line-height: 1.4; font-weight: 200; margin: 0; }
.tooto-turbo__leader { position: absolute; left: var(--tooto-line-x); top: var(--tooto-line-y); width: var(--tooto-line-w); height: var(--tooto-line-h); }
.tooto-turbo__leader > .tooto-turbo__line { display: block; width: auto; height: 100%; max-width: none; transform: scaleX(-1); }
.tooto-turbo__leader--housing > .tooto-turbo__line { transform: none; }
.tooto-turbo .tooto-turbo__endpoint { position: absolute; width: 1.528cqw; height: auto; max-width: none; left: 100%; top: 100%; transform: translate(-50%, -50%); }
.tooto-turbo__leader--wheel .tooto-turbo__endpoint, .tooto-turbo__leader--intake .tooto-turbo__endpoint { left: 0; top: 0; }
.tooto-turbo__leader--housing .tooto-turbo__endpoint { left: 100%; top: -6.43%; }
.tooto-turbo__pagination { display: none; }
.tooto-turbo .tooto-turbo__toggle {
    position: absolute; z-index: 6; top: var(--tooto-toggle-y, calc(88.596% - 13px)); left: 50%; transform: translateX(-50%);
    display: none; align-items: center; justify-content: center; margin: 0; padding: 12px 32px; min-height: 48px;
    border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--tooto-home-accent);
    font: 300 18px/1.2 var(--theme-font-family, inherit); box-shadow: none; white-space: nowrap;
}
.tooto-turbo.is-ready .tooto-turbo__toggle { display: flex; }
.tooto-turbo__toggle:disabled { cursor: wait; }
.tooto-turbo__explore { font-size: 1.389cqw; }
.tooto-turbo__explore .tooto-turbo__label--mobile { display: none; }
.tooto-turbo__toggle span { display: flex; align-items: center; gap: 10px; }
.tooto-turbo__toggle img { object-fit: contain; flex: none; }
.tooto-turbo .tooto-turbo__reset { display: none; }
.tooto-turbo:is(.is-open,[data-tooto-state="assembling"]) .tooto-turbo__toggle { --tooto-toggle-y: 86.8%; border-color: var(--tooto-home-accent); }
.tooto-turbo:is(.is-open,[data-tooto-state="assembling"]) .tooto-turbo__reset { display: flex; }
.tooto-turbo:is(.is-open,[data-tooto-state="assembling"]) .tooto-turbo__explore { display: none; }
@media (hover: hover) and (pointer: fine) {
    .tooto-turbo__hotspot:hover img { scale: 1.2; }
    .tooto-turbo .tooto-turbo__toggle:hover { background: #e71f2214; }
}
@media (max-width: 1024px) and (min-width: 768px) {
    .tooto-turbo .tooto-turbo__toggle { min-height: 40px; padding: 8px 24px; font-size: 16px; }
    .tooto-turbo__copy { width: max(var(--tooto-text-w), 180px); }
    .tooto-turbo__description[data-tooto-detail="5"] .tooto-turbo__copy,
    .tooto-turbo__description[data-tooto-detail="6"] .tooto-turbo__copy { left: auto; right: 2%; }
}
@media (max-width: 767px) {
    .tooto-turbo__sticky { max-width: none; padding-bottom: 34px; }
    .tooto-turbo__canvas { aspect-ratio: 750/710; }
    .tooto-turbo .tooto-home__title { top: 16.056%; left: 11.2%; width: 77.733%; font-size: 8.533cqw; }
    .tooto-turbo .tooto-turbo__glow { left: -55.067%; top: -23.866667cqw; width: 208.133%; }
    .tooto-turbo .tooto-turbo__rings { display: none; }
    .tooto-turbo .tooto-turbo__watermark { display: block; position: absolute; z-index: 0; left: -10.157%; top: 57.887%; width: 120.447%; height: auto; max-width: none; opacity: calc(1 - var(--tooto-background) * (1 - var(--tooto-background)) * .7); transform: scale(calc(1 + var(--tooto-background) * (1 - var(--tooto-background)) * .08)); }
    .tooto-turbo .tooto-turbo__assembly-trigger { left: 46.987%; top: 81.466%; width: 5.867cqw; height: 5.867cqw; }
    .tooto-turbo__explore { font-size: 16px; }
    .tooto-turbo__explore .tooto-turbo__label--desktop { display: none; }
    .tooto-turbo__explore .tooto-turbo__label--mobile { display: inline; }
    .tooto-turbo .tooto-turbo__assembled { left: 21%; top: 34%; width: 58%; height: 64%; }
    .tooto-turbo .tooto-turbo__part, .tooto-turbo .tooto-turbo__hotspot { left: var(--tooto-mx); top: var(--tooto-my); }
    .tooto-turbo .tooto-turbo__part { width: var(--tooto-mw); height: var(--tooto-mh); }
    .tooto-turbo .tooto-turbo__hotspot { width: 24px; height: 24px; }
    .tooto-turbo__hotspot img { width: 5.6cqw; }
    .tooto-turbo__details { position: relative; inset: auto; width: 85.333%; min-height: 64px; margin: 6px auto 0; pointer-events: auto; }
    .tooto-turbo__description { position: static; }
    .tooto-turbo__copy { position: static; width: auto; border-left: 2px solid var(--tooto-home-accent); padding-left: 8px; }
    .tooto-turbo .tooto-turbo__description h3 { font-size: max(13px, 3.467cqw); margin-bottom: 4px; }
    .tooto-turbo .tooto-turbo__description p { font-size: max(12px, 3.2cqw); line-height: 1.4; }
    .tooto-turbo__leader { display: none; }
    .tooto-turbo__pagination { display: flex; justify-content: center; gap: 3px; margin: 8px auto 0; visibility: hidden; opacity: var(--tooto-reveal); }
    .tooto-turbo:is(.is-open, [data-tooto-state="expanding"], [data-tooto-state="assembling"]) .tooto-turbo__pagination { visibility: visible; }
    .tooto-turbo .tooto-turbo__pagination button { display: grid; place-items: center; min-height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
    .tooto-turbo__pagination button::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--tooto-home-text); }
    .tooto-turbo__pagination button[aria-pressed="true"]::after { background: var(--tooto-home-accent); }
    .tooto-turbo .tooto-turbo__toggle { position: relative; left: auto; top: auto; transform: none; width: fit-content; margin: 8px auto 0; padding: 6px 20px; min-height: 36px; font-size: 16px; }
    .tooto-turbo__toggle span { gap: 5px; }
    .tooto-turbo__toggle img { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .tooto-turbo__hotspot img { transition: none; } }

@media (hover: hover) and (pointer: fine) {
    .tooto-flagship__card:hover .tooto-flagship__product {
        transform: translateY(-28%) scale(.94);
    }

    .tooto-flagship__card:hover .tooto-flagship__surface::after, .tooto-flagship__card:hover .tooto-flagship__vehicle {
        opacity: 1;
    }

    .tooto-flagship__card:hover .tooto-flagship__name {
        color: #fff;
    }

    .tooto-flagship__all:hover {
        background: color-mix(in srgb, var(--tooto-home-accent), #000 18%);
        color: #fff;
    }

}

@media (max-width: 1024px) {
    .tooto-flagship {
        padding-top: 80px;
    }

    .tooto-flagship .tooto-home__title {
        font-size: 44px;
    }

    .tooto-flagship__grid {
        gap: 18px;
        margin-top: 64px;
        margin-bottom: 48px;
    }

    .tooto-flagship .tooto-flagship__name {
        font-size: 13px;
        inset-inline: 12px;
        bottom: 20px;
    }
}

@media (max-width: 767px) {
    .tooto-flagship {
        padding: 56px 0 48px;
    }

    .tooto-flagship__inner {
        width: 100%;
    }

    .tooto-flagship .tooto-flagship__logo {
        width: 52px;
        height: 15px;
        margin-bottom: 13px;
    }

    .tooto-flagship .tooto-home__title {
        font-size: clamp(26px, 8.53vw, 40px);
        padding-inline: 20px;
        white-space: nowrap;
    }

    .tooto-flagship__carousel {
        width: 100%;
        overflow-x: auto;
        padding: 60px 0 8px;
        scrollbar-width: none;
    }

    .tooto-flagship__grid {
        display: flex;
        gap: 11px;
        margin: 0;
    }

    .tooto-flagship__card {
        flex: 0 0 53.2%;
        width: 53.2%;
        height: auto;
        aspect-ratio: 399/439;
    }

    .tooto-flagship__surface {
        border-radius: 10px;
    }

    .tooto-flagship .tooto-flagship__name {
        font-size: 12px;
        font-weight: 400;
        bottom: 16px;
        inset-inline: 10px;
    }

    .tooto-flagship.is-mobile-carousel .tooto-flagship__carousel {
        overflow: hidden;
    }

    .tooto-flagship.is-mobile-carousel .tooto-flagship__grid {
        gap: 0;
    }

    .tooto-flagship__card.is-active .tooto-flagship__product {
        transform: translateY(-28%) scale(.94);
    }

    .tooto-flagship__card.is-active .tooto-flagship__surface::after, .tooto-flagship__card.is-active .tooto-flagship__vehicle {
        opacity: 1;
    }

    .tooto-flagship__card.is-active .tooto-flagship__name {
        color: #fff;
    }

    .tooto-flagship__all {
        margin-top: 28px;
        font-size: 16px;
        min-height: 48px;
        padding: 12px 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tooto-flagship__product, .tooto-flagship__surface::after, .tooto-flagship__vehicle, .tooto-flagship__name {
        transition: none;
    }
}
