.ss-hero,
.elementor-widget-ss_hero .ss-hero { box-sizing: border-box; display: flex; align-items: center; width: 100%; gap: 4vw; overflow: hidden; color: var(--ss-ink, #171717); font-family: inherit; }
.ss-hero *, .ss-hero *::before, .ss-hero *::after { box-sizing: border-box; }
.ss-hero--image-left { flex-direction: row; }
.ss-hero--image-right { flex-direction: row; }
.ss-hero--image-left .ss-hero__content { order: 2; }
.ss-hero--image-left .ss-hero__media { order: 1; }
.ss-hero--image-right .ss-hero__content { order: 1; }
.ss-hero--image-right .ss-hero__media { order: 2; }
.ss-hero--image-top, .ss-hero--image-bottom { flex-direction: column; align-items: stretch; }
.ss-hero--image-top .ss-hero__media { order: 1; width: 100%; flex-basis: auto; }
.ss-hero--image-top .ss-hero__content { order: 2; width: 100%; flex-basis: auto; }
.ss-hero--image-bottom .ss-hero__content { order: 1; width: 100%; flex-basis: auto; }
.ss-hero--image-bottom .ss-hero__media { order: 2; width: 100%; flex-basis: auto; }
.ss-hero__content { min-width: 0; flex: 0 1 48%; }
.ss-hero__media { position: relative; min-width: 0; flex: 0 1 52%; aspect-ratio: var(--ss-hero-image-ratio, 4 / 3); overflow: hidden; }
.ss-hero__media::after { content: ""; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.ss-hero__media img { display: block; width: 100%; height: 100%; object-fit: var(--ss-hero-image-fit, cover); object-position: center; }
.ss-hero__image-link { display: block; width: 100%; height: 100%; }
.ss-hero__eyebrow { margin: 0 0 1.1rem; color: var(--ss-orange, #E36712); font-family: inherit; font-size: clamp(.75rem, .85vw, .9rem); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.ss-hero__heading { margin: 0 0 1.4rem; max-width: 14ch; color: var(--ss-ink, #171717); font-family: inherit; font-size: clamp(2.5rem, 5.2vw, 7.5rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; overflow-wrap: anywhere; }
.ss-hero__body { max-width: 42rem; font-family: inherit; font-size: clamp(1rem, 1.15vw, 1.2rem); line-height: 1.55; color: var(--ss-muted, #7A7A7A); }
.ss-hero__body > :first-child { margin-top: 0; }
.ss-hero__body > :last-child { margin-bottom: 0; }
.ss-hero__actions { display: flex; align-items: center; justify-content: inherit; flex-wrap: wrap; gap: .85rem 1.4rem; margin-top: 2rem; }
.ss-hero__button { font-family: inherit; font-size: .95rem; line-height: 1.25; display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; transition: opacity .2s ease, transform .2s ease; }
.ss-hero__button:hover { opacity: .82; }
.ss-hero__button--primary { padding: .95rem 1.2rem; background: #E36712; color: #171717; font-weight: 600; }
.ss-hero__button--primary span, .ss-hero__button--secondary span { font-size: 1.1em; }
.ss-hero__button--secondary { color: #171717; border-bottom: 1px solid currentColor; padding: .5rem 0; }
@media (max-width: 767px) {
 .ss-hero, .elementor-widget-ss_hero .ss-hero { flex-direction: column; align-items: stretch; gap: 1.5rem; padding-left: clamp(18px, 5vw, 28px); padding-right: clamp(18px, 5vw, 28px); min-height: 0; }
 .ss-hero--mobile-top .ss-hero__media { order: -1 !important; }
 .ss-hero--mobile-top .ss-hero__content { order: 1 !important; }
 .ss-hero--mobile-bottom .ss-hero__content { order: -1 !important; }
 .ss-hero--mobile-bottom .ss-hero__media { order: 1 !important; }
 .ss-hero__content, .ss-hero__media { width: 100%; flex-basis: auto !important; }
 .ss-hero__media { aspect-ratio: var(--ss-hero-image-ratio, 4 / 3); }
 .ss-hero__heading { max-width: 100%; font-size: clamp(2.25rem, 10vw, 4.25rem); }
 .ss-hero__body { font-size: clamp(1rem, 4vw, 1.125rem); }
 .ss-hero__actions { margin-top: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .ss-hero__button { transition: none; } }

/* Full-bleed image treatment for the rotating cube option. */
.ss-hero--cube-background {
    position: relative;
    display: block;
    isolation: isolate;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    min-height: 560px;
    padding: clamp(32px, 6vw, 88px);
    background: #171717;
}
.ss-hero__background { position: absolute; inset: 0; z-index: 0; background-size: cover; background-repeat: no-repeat; }
.ss-hero__background-overlay { position: absolute; inset: 0; display: block; }
.ss-hero__marquee { position: absolute; z-index: 1; inset-inline: 0; top: 50%; overflow: hidden; transform: translateY(-50%); white-space: nowrap; pointer-events: none; font-size: clamp(3rem, 10vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.ss-hero__marquee-track { display: flex; width: max-content; animation: ss-hero-marquee var(--ss-marquee-duration, 32s) linear infinite; }
.ss-hero__marquee-track span { flex: 0 0 auto; padding-right: .7em; }
@keyframes ss-hero-marquee { to { transform: translateX(-50%); } }
.ss-hero--cube-background .ss-hero__media--cube { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; flex: none; aspect-ratio: auto; overflow: visible; background: transparent; pointer-events: none; }
.ss-hero--cube-background .ss-hero__media--cube::after { display: none; }
.ss-hero--cube-background .ss-hero__cube-stage { pointer-events: auto; }
.ss-hero--cube-background .ss-hero__content { position: relative; z-index: 3; width: min(45%, 560px); max-width: 560px; padding: 1rem; color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.ss-hero--cube-background .ss-hero__heading,
.ss-hero--cube-background .ss-hero__body { color: inherit; }
.ss-hero--cube-background .ss-hero__eyebrow { text-shadow: inherit; }
@media (max-width: 767px) {
    .ss-hero--cube-background { min-height: 620px; padding: 28px 20px; }
    .ss-hero--cube-background .ss-hero__content { width: 100%; max-width: 100%; padding: 0; }
    .ss-hero--cube-background .ss-hero__media--cube { position: absolute; inset: 0; }
    .ss-hero--cube-background .ss-hero__cube-stage { width: min(68vw, var(--ss-cube-size, 360px)); }
    .ss-hero__marquee { font-size: clamp(2.5rem, 15vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
    .ss-hero__marquee-track { animation: none; transform: translateX(0); }
}

/* Final stacking overrides: keep decorative layers below the 3D media. */
.ss-hero--cube-background > .ss-hero__background { z-index: 0 !important; pointer-events: none; }
.ss-hero--cube-background > .ss-hero__marquee { z-index: 1 !important; }
.ss-hero--cube-background > .ss-hero__media--cube {
    position: absolute !important;
    z-index: 20 !important;
    inset: 0 !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    background: transparent !important;
    pointer-events: none;
}
.ss-hero--cube-background .ss-hero__cube-stage { position: relative; z-index: 21; pointer-events: auto; }
.ss-hero--cube-background .ss-hero__cube { z-index: 22; }
.ss-hero--cube-background .ss-hero__cube-hitarea { z-index: 23; }


/* Hero media extensions: image, video and rotating cube */
.ss-hero__media--video,
.ss-hero__media--cube { display: flex; align-items: center; justify-content: center; }
.ss-hero__media--video { background: #0E1015; }
.ss-hero__media .ss-hero__video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}
.ss-hero__cube-message {
    width: 100%;
    padding: 2rem;
    background: #0E1015;
    color: #DDDBDB;
    font-size: 14px;
    text-align: center;
}
.ss-hero__cube-stage {
    isolation: isolate;
    position: relative;
    flex: 0 0 auto;
    width: min(100%, var(--ss-cube-size, 360px));
    height: auto;
    aspect-ratio: 1 / 1;
    perspective: 1100px;
    perspective-origin: 50% 50%;
    display: grid;
    place-items: center;
    overflow: visible;
}
.ss-hero__cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(-18deg) rotateY(0deg);
    will-change: transform;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.ss-hero__cube-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0E1015;
    border: 1px solid rgba(255,255,255,.12);
    backface-visibility: hidden;
    pointer-events: auto;
}
.ss-hero__cube-face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}
.ss-hero__cube-face--front { transform: rotateY(0deg) translateZ(var(--ss-cube-depth, 180px)); }
.ss-hero__cube-face--right { transform: rotateY(90deg) translateZ(var(--ss-cube-depth, 180px)); }
.ss-hero__cube-face--back { transform: rotateY(180deg) translateZ(var(--ss-cube-depth, 180px)); }
.ss-hero__cube-face--left { transform: rotateY(-90deg) translateZ(var(--ss-cube-depth, 180px)); }
.ss-hero__cube-face--top { transform: rotateX(90deg) translateZ(var(--ss-cube-depth, 180px)); }
.ss-hero__cube-face--bottom { transform: rotateX(-90deg) translateZ(var(--ss-cube-depth, 180px)); }
@media (max-width: 767px) {
    .ss-hero__cube-stage {
        width: min(78vw, var(--ss-cube-size, 360px));
        height: auto !important;
    }
    .ss-hero__cube { aspect-ratio: 1 / 1; }
}

.ss-hero__cube.is-dragging { cursor: grabbing; }
.ss-hero__cube:focus-visible { outline: 2px solid var(--ss-orange, #CF5400); outline-offset: 8px; }


/* v2.1.0: stable drag surface above the 3D faces.
   The cube itself can rotate freely beneath this transparent layer, so
   pointer hit-testing never depends on which face is currently visible. */
.ss-hero__cube { z-index: 1; }
.ss-hero__cube-hitarea {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    background: transparent;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.ss-hero__cube-hitarea:active { cursor: grabbing; }
.ss-hero__cube-hitarea:focus-visible {
    outline: 2px solid var(--ss-orange, #CF5400);
    outline-offset: 8px;
}
.ss-hero__cube.is-dragging + .ss-hero__cube-hitarea { cursor: grabbing; }
