/* Integrated Hero Section Styles */
.tmp-banner-one-area.moody-hero {
    background-color: #000000 !important;
    background-image: url('../../lajapathy-hero.webp') !important;
    background-size: cover !important;
    background-position: center 25% !important;
    background-attachment: fixed;
    position: relative;
    padding-top: 200px !important;
    padding-bottom: 150px !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.tmp-banner-one-area.moody-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.tmp-banner-one-area.moody-hero .container {
    position: relative;
    z-index: 5;
}

/* Premium Typography for Integrated Hero */
.moody-hero-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 152, 0, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    color: #FF9800;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.moody-hero-headline {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 35px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1.5px;
    text-shadow:
        0px 2px 12px rgba(0, 0, 0, 0.6),
        0px 0px 40px rgba(255, 152, 0, 0.06);
    animation: headline-glow 7s ease-in-out infinite;
}

.moody-hero-subtext {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 45px;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.moody-cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 20px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.moody-cta-btn:hover {
    transform: translateY(-5px);
    background: #FF9800;
    color: #000000;
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.4);
}

/* Social Links Group */
.moody-social-sidebar {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.moody-social-sidebar a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.moody-social-sidebar a:hover {
    color: #ffffff;
}

/* Global Hero Text Capitalization */
.tmp-banner-one-area.moody-hero .moody-hero-headline,
.tmp-banner-one-area.moody-hero .inner .title,
.tmp-banner-one-area.moody-hero .driven-by,
.tmp-banner-one-area.moody-hero .cd-headline.clip .cd-words-wrapper b,
.tmp-banner-one-area.moody-hero .tmp-btn .btn-text {
    text-transform: uppercase !important;
}

/* Response */
@media (max-width: 991px) {
    .tmp-banner-one-area.moody-hero {
        padding-top: 60px !important;
        text-align: center !important;
        /* Center alignment for badge/text on mobile */
    }

    /* Pull the container up a bit more organically on mobile */
    .tmp-banner-one-area.moody-hero>.container {
        bottom: auto !important;
    }

    /* Shrink the huge headline on mobile dramatically to fit the large amount of text */
    .moody-hero-headline {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        letter-spacing: -0.5px;
        line-height: 1.1;
    }

    /* Fix the badge text wrapper so the long text can wrap and doesn't push the button off screen */
    .tmp-banner-one-area.moody-hero .btn-text {
        font-size: 1.2rem !important;
        white-space: normal !important;
        display: inline-flex !important;
        flex-wrap: wrap;
    }

    .tmp-banner-one-area.moody-hero .btn-text span {
        font-size: 1.2rem !important;
    }

    /* Force the right column to align center on mobile instead of stacking awkwardly on the right */
    .tmp-banner-one-area.moody-hero .col-12.col-lg-5 .inner,
    .tmp-banner-one-area.moody-hero .col-lg-5 .inner {
        align-items: center !important;
        text-align: center !important;
        margin-top: 10px;
    }

    .moody-hero-subtext {
        margin-left: 0;
        margin-right: 0;
    }

    .moody-social-sidebar {
        display: none;
    }
}

/* ---------- Fog ---------- */
/* Ensure container content and text stays above the fog */
.tmp-banner-one-area.moody-hero .container {
    position: relative;
    z-index: 2;
}

/* The spacer supplies one hero-height of flow. Keep the artwork anchored to
   that document position so it exits before the transparent Impact landscape;
   a viewport-fixed layer otherwise reappears as a second partial hero. */
.tmp-banner-one-area.moody-hero {
    overflow: hidden;
    position: absolute !important;
    top: 0 !important;
    right: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    z-index: 0 !important;
    /* The transparent spacer below preserves the hero's place in document flow. */
}

.tmp-banner-one-area.moody-hero + .hero-scroll-spacer {
    position: relative;
    z-index: 1;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: transparent !important;
    pointer-events: none;
}

/* Keep the horizontal crop without making the document a scroll container. */
html,
body {
    overflow-x: clip;
}

/* All sections after the hero get solid black backgrounds so they cover its pinned layer. */
.tmp-banner-one-area.moody-hero~*,
.tmp-banner-one-area.moody-hero~section,
.tmp-banner-one-area.moody-hero~div {
    position: relative;
    z-index: 1;
    background-color: #000 !important;
}

.tmp-banner-one-area.moody-hero~.impact-scene,
.tmp-banner-one-area.moody-hero~section.impact-scene,
.impact-scene {
    background-color: transparent !important;
    background-image: url('../images/bg/impactbg.webp') !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: 100vw auto !important;
}

.impact-scene::after {
    content: "";
    position: absolute;
    top: calc(17.7734375vw - 2px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: #000;
    pointer-events: none;
}

.impact-scene > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .impact-scene {
        background-position: center top !important;
        background-size: 100vw auto !important;
    }

    .impact-scene::after {
        top: calc(17.7734375vw - 2px);
    }

    .impact-scene > .container {
        margin-top: calc(17.7734375vw - 102px) !important;
    }
}

/* Ensure body itself is solid black so no gaps between sections bleed */
html,
body {
    background: #000 !important;
}

/* Anchor hero text content to the bottom of the viewport */
.tmp-banner-one-area.moody-hero>.container {
    position: absolute !important;
    bottom: 100px;
    left: 0;
    right: 0;
    width: 100%;
}

.fogwrapper {
    height: 70%;
    position: absolute;
    bottom: 0;
    width: 100%;
    -webkit-filter: blur(16px) grayscale(.82);
    filter: blur(16px) grayscale(.82);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%);
    opacity: .78;
    pointer-events: none;
    z-index: 0;
}

.fogwrapper--foreground {
    z-index: 4 !important;
    height: 58%;
    bottom: 7%;
    opacity: .46;
    -webkit-filter: blur(9px) grayscale(.72);
    filter: blur(9px) grayscale(.72);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
}

.fogwrapper--foreground::before {
    position: absolute;
    inset: -12% -8%;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 42%, rgba(255, 214, 157, .45) 0 2px, transparent 3px),
        radial-gradient(circle at 42% 58%, rgba(255, 235, 194, .35) 0 2px, transparent 3px),
        radial-gradient(circle at 68% 34%, rgba(255, 190, 118, .4) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 68%, rgba(255, 225, 177, .32) 0 2px, transparent 3px);
    background-size: 170px 130px, 220px 180px, 260px 210px, 190px 160px;
    content: "";
    opacity: .95;
    pointer-events: none;
    animation: hero-dust-drift 24s linear infinite;
}

/* Extract portrait image above the fog */
.tmp-banner-one-area.moody-hero {
    background-image: none !important;
}

.hero-static-portrait {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 75vh;
    max-height: 1350px;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    pointer-events: none;

    /* Start invisible so the fade-in is clearly visible */
    opacity: 0;

    /* Slow fade-in entrance, then hand off to the continuous float */
    transform-origin: bottom center;
    animation:
        portrait-entrance 3.5s ease-in-out 0.2s forwards,
        portrait-float 6s ease-in-out 3.7s infinite;

    /* Warm ambient glow */
    filter: drop-shadow(0 40px 80px rgba(255, 152, 0, 0.18));
}

/* Background Name Stylings */
.hero-bg-name {
    position: absolute;
    top: 45%;
    left: 30%;
    transform: translate(-50%, -50%);
    font-size: 5vw;
    font-weight: 900;
    white-space: nowrap;
    text-align: center;
    -webkit-text-stroke: 1.5px #FF9800 !important;
    color: transparent !important;
    animation: up-down-2 0.9s infinite alternate;
    z-index: 1;
    pointer-events: none;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    line-height: 0.8;
    letter-spacing: -0.02em;
    user-select: none;
}

.outline-name {
    display: contents;
    /* Effectively remove the span without deleting it from HTML yet if preferred */
}

@media (max-width: 991px) {
    .hero-bg-name {
        font-size: 14vw;
        top: 35%;
        opacity: 0.3;
        /* A bit more visible on mobile background */
    }
}

#foglayer_01,
#foglayer_02,
#foglayer_03 {
    height: 100%;
    position: absolute;
    width: 200%;
}

#foglayer_01 .image01,
#foglayer_01 .image02,
#foglayer_02 .image01,
#foglayer_02 .image02,
#foglayer_03 .image01,
#foglayer_03 .image02 {
    float: left;
    height: 100%;
    width: 50%;
}

#foglayer_01 {
    -webkit-animation: foglayer_01_opacity 20s linear infinite, foglayer_moveme 52s linear infinite;
    -moz-animation: foglayer_01_opacity 20s linear infinite, foglayer_moveme 52s linear infinite;
    animation: foglayer_01_opacity 20s linear infinite, foglayer_moveme 52s linear infinite;
}

#foglayer_03 {
    -webkit-animation: foglayer_02_opacity 42s linear infinite, foglayer_moveme 24s linear infinite;
    -moz-animation: foglayer_02_opacity 42s linear infinite, foglayer_moveme 24s linear infinite;
    animation: foglayer_02_opacity 42s linear infinite, foglayer_moveme 24s linear infinite;
}

#foglayer_02 {
    -webkit-animation: foglayer_02_opacity 42s linear infinite, foglayer_moveme 36s linear infinite;
    -moz-animation: foglayer_02_opacity 42s linear infinite, foglayer_moveme 36s linear infinite;
    animation: foglayer_02_opacity 42s linear infinite, foglayer_moveme 36s linear infinite;
}

@keyframes hero-dust-drift {
    from { transform: translate3d(-2%, 2%, 0) scale(1); }
    50% { transform: translate3d(3%, -3%, 0) scale(1.06); }
    to { transform: translate3d(-2%, 2%, 0) scale(1); }
}

/* ---------- Moving Fog ---------- */
#foglayer_01 .image01,
#foglayer_01 .image02 {
    background: url("../images/bg/hero-fog.svg") center center/cover no-repeat transparent;
}

#foglayer_02 .image01,
#foglayer_02 .image02,
#foglayer_03 .image01,
#foglayer_03 .image02 {
    background: url("../images/bg/hero-fog.svg") center center/cover no-repeat transparent;
}

/* ---------- Keyframe Layer 1 ---------- */
@-webkit-keyframes foglayer_01_opacity {
    0% {
        opacity: .1;
    }

    22% {
        opacity: .5;
    }

    40% {
        opacity: .28;
    }

    58% {
        opacity: .4;
    }

    80% {
        opacity: .16;
    }

    100% {
        opacity: .1;
    }
}

@-moz-keyframes foglayer_01_opacity {
    0% {
        opacity: .1;
    }

    22% {
        opacity: .5;
    }

    40% {
        opacity: .28;
    }

    58% {
        opacity: .4;
    }

    80% {
        opacity: .16;
    }

    100% {
        opacity: .1;
    }
}

@-o-keyframes foglayer_01_opacity {
    0% {
        opacity: .1;
    }

    22% {
        opacity: .5;
    }

    40% {
        opacity: .28;
    }

    58% {
        opacity: .4;
    }

    80% {
        opacity: .16;
    }

    100% {
        opacity: .1;
    }
}

@keyframes foglayer_01_opacity {
    0% {
        opacity: .1;
    }

    22% {
        opacity: .5;
    }

    40% {
        opacity: .28;
    }

    58% {
        opacity: .4;
    }

    80% {
        opacity: .16;
    }

    100% {
        opacity: .1;
    }
}

/* ---------- Keyframe Layer 2 ---------- */
@-webkit-keyframes foglayer_02_opacity {
    0% {
        opacity: .5;
    }

    25% {
        opacity: .2;
    }

    50% {
        opacity: .1;
    }

    80% {
        opacity: .3;
    }

    100% {
        opacity: .5;
    }
}

@-moz-keyframes foglayer_02_opacity {
    0% {
        opacity: .5;
    }

    25% {
        opacity: .2;
    }

    50% {
        opacity: .1;
    }

    80% {
        opacity: .3;
    }

    100% {
        opacity: .5;
    }
}

@-o-keyframes foglayer_02_opacity {
    0% {
        opacity: .5;
    }

    25% {
        opacity: .2;
    }

    50% {
        opacity: .1;
    }

    80% {
        opacity: .3;
    }

    100% {
        opacity: .5;
    }
}

@keyframes foglayer_02_opacity {
    0% {
        opacity: .5;
    }

    25% {
        opacity: .2;
    }

    50% {
        opacity: .1;
    }

    80% {
        opacity: .3;
    }

    100% {
        opacity: .5;
    }
}

/* ---------- Keyframe Layer 3 ---------- */
@-webkit-keyframes foglayer_03_opacity {
    0% {
        opacity: .8
    }

    27% {
        opacity: .2;
    }

    52% {
        opacity: .6;
    }

    68% {
        opacity: .3;
    }

    100% {
        opacity: .8;
    }
}

@-moz-keyframes foglayer_03_opacity {
    0% {
        opacity: .8
    }

    27% {
        opacity: .2;
    }

    52% {
        opacity: .6;
    }

    68% {
        opacity: .3;
    }

    100% {
        opacity: .8;
    }
}

@-o-keyframes foglayer_03_opacity {
    0% {
        opacity: .8
    }

    27% {
        opacity: .2;
    }

    52% {
        opacity: .6;
    }

    68% {
        opacity: .3;
    }

    100% {
        opacity: .8;
    }
}

@keyframes foglayer_03_opacity {
    0% {
        opacity: .8;
    }

    27% {
        opacity: .2;
    }

    52% {
        opacity: .6;
    }

    68% {
        opacity: .3;
    }

    100% {
        opacity: .8;
    }
}

/* ---------- Keyframe moveMe ---------- */
@-webkit-keyframes foglayer_moveme {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

@-moz-keyframes foglayer_moveme {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

@-o-keyframes foglayer_moveme {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

@keyframes foglayer_moveme {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

@media only screen and (min-width: 280px) and (max-width: 767px) {

    #foglayer_01 .image01,
    #foglayer_01 .image02,
    #foglayer_02 .image01,
    #foglayer_02 .image02,
    #foglayer_03 .image01,
    #foglayer_03 .image02 {
        width: 100%;
    }
}

/* Ensure mobile overrides happen VERY LAST in the file to beat standard rules */
@media (max-width: 991px) {
    .tmp-banner-one-area.moody-hero {
        height: 100vh !important;
        min-height: 100vh !important;
        height: 100svh !important;
        /* Fallback to small viewport height to ignore Safari UI bars */
        min-height: 100svh !important;
        height: 100dvh !important;
        /* Fallback to dynamic viewport height */
        min-height: 100dvh !important;
        align-items: flex-end !important;
        /* Push container to the bottom of the viewport */
        padding-bottom: 50px !important;
        /* Aligned CTA to 50px from bottom */
    }

    /* NEUTRALIZE style.css absolute positioning and width constraints */
    .banner-one-main-wrapper,
    .banner-one-main-wrapper .inner {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Force the row and column to allow the full h1 height */
    .banner-one-main-wrapper .row,
    .banner-one-main-wrapper .col-12 {
        height: auto !important;
        overflow: visible !important;
        display: block !important;
        /* Stack columns naturally on mobile */
    }

    .tmp-banner-one-area.moody-hero>.container {
        /* Ensure the container itself doesn't clip and obeys the parent padding */
        position: relative !important;
        display: block !important;
        /* Centered padding */
        overflow: visible !important;
    }

    /* Boosted specificity and layout-saving overrides */
    .tmp-banner-one-area.moody-hero .moody-hero-headline {
        font-size: clamp(1.4rem, 5vw, 2.2rem) !important;
        /* Slightly smaller to fit everything */
        text-transform: uppercase !important;
        /* Capitalized as requested */
        z-index: 99 !important;
        position: relative !important;
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    .tmp-banner-one-area.moody-hero .cd-headline.clip .cd-words-wrapper {
        /* Removed width: auto and overflow: visible to allow 'clip' animation to function */
        display: inline-block !important;
        visibility: visible !important;
    }

    .tmp-banner-one-area.moody-hero .driven-by {
        opacity: 1 !important;
        display: block !important;
        margin-top: 30px !important;
        /* Increased margin for requested line break */
        margin-bottom: 2px !important;
        visibility: visible !important;
        color: #fff !important;
        /* Ensure it's not inheriting weird colors */
    }

    .tmp-banner-one-area.moody-hero .header-caption {
        display: block !important;
        z-index: 100 !important;
        visibility: visible !important;
    }

    /* Preserve required fragments for animation but let JS handle visibility */
    .tmp-banner-one-area.moody-hero .cd-headline.clip .cd-words-wrapper b {
        visibility: inherit;
        /* Dummy property to avoid empty ruleset lint while preserving structure */
    }

    .tmp-banner-one-area.moody-hero .cd-headline.clip .cd-words-wrapper b.is-visible {
        display: inline-block !important;
        color: #FF9800 !important;
        /* Solid Theme orange */
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }

    /* Smaller CTA for mobile */
    .tmp-banner-one-area.moody-hero .moody-cta-btn {
        padding: 14px 36px !important;
        font-size: 1.1rem !important;
    }

    .tmp-banner-one-area.moody-hero>.container {
        /* Remove absolute positioning so the height flexes naturally and doesn't get clipped off the top of the screen */
        position: relative !important;
        bottom: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* Mouse Scroll Animation */
#mouse-scroll {
    display: block;
    position: absolute;
    margin: auto;
    left: 50%;
    bottom: 30px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0.5;
    z-index: 9999;
}

#mouse-scroll span {
    display: block;
    width: 5px;
    height: 5px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    margin: 0 0 3px 5px;
}

#mouse-scroll .mouse {
    height: 21px;
    width: 14px;
    border-radius: 10px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    border: 2px solid #ffffff;
    margin-bottom: 5px;
}

#mouse-scroll .down-arrow-1 {
    margin-top: 6px;
}

#mouse-scroll .down-arrow-1,
#mouse-scroll .down-arrow-2,
#mouse-scroll .down-arrow-3 {
    -webkit-animation: mouse-scroll 1s infinite;
    -moz-animation: mouse-scroll 1s infinite;
    animation: mouse-scroll 1s infinite;
}

#mouse-scroll .down-arrow-1 {
    -webkit-animation-delay: .1s;
    -moz-animation-delay: .1s;
    animation-delay: .1s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

#mouse-scroll .down-arrow-2 {
    -webkit-animation-delay: .2s;
    -moz-animation-delay: .2s;
    animation-delay: .2s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

#mouse-scroll .down-arrow-3 {
    -webkit-animation-delay: .3s;
    -moz-animation-delay: .3s;
    animation-delay: .3s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

#mouse-scroll .mouse-in {
    height: 5px;
    width: 2px;
    display: block;
    margin: 5px auto;
    background: #ffffff;
    position: relative;
    -webkit-animation: animated-mouse 1.2s ease infinite;
    -moz-animation: animated-mouse 1.2s ease infinite;
    animation: animated-mouse 1.2s ease infinite;
}

@-webkit-keyframes animated-mouse {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
    }
}

@keyframes animated-mouse {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
    }
}

@-webkit-keyframes mouse-scroll {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes mouse-scroll {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Hide mouse scroll on mobile if it overlaps with CTA */
@media (max-width: 768px) {
    #mouse-scroll {
        display: none;
        /* Hide on small screens to avoid clutter with the floating CTA */
    }
}

/* ============================================================
   Hero Portrait Animations
   ============================================================ */

/* 1. Entrance — smooth fade-in only */
@keyframes portrait-entrance {
    0% {
        opacity: 0;
        transform: translateX(-50%);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%);
    }
}

/* 2. Floating idle — gentle continuous vertical bob */
@keyframes portrait-float {
    0% {
        transform: translateX(-50%) translateY(0px);
    }

    50% {
        transform: translateX(-50%) translateY(-12px);
    }

    100% {
        transform: translateX(-50%) translateY(0px);
    }
}

/* 3. Headline breathing glow — opacity 6% → 10%, 7s loop */
@keyframes headline-glow {

    0%,
    100% {
        text-shadow:
            0px 2px 12px rgba(0, 0, 0, 0.6),
            0px 0px 40px rgba(255, 152, 0, 0.06);
    }

    50% {
        text-shadow:
            0px 2px 12px rgba(0, 0, 0, 0.6),
            0px 0px 55px rgba(255, 152, 0, 0.10);
    }
}
/* =========================================================
   V42 — Cinematic Space Background
   Full-bleed background sits behind the existing fog/smoke
   and portrait layers without changing the hero content.
   ========================================================= */
.tmp-banner-one-area.moody-hero {
    background-image: none !important;
    background-color: #000 !important;
    isolation: isolate;
}

.tmp-banner-one-area.moody-hero .hero-space-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg/hero-space-background.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* Dark cinematic grade, still underneath smoke and content. */
.tmp-banner-one-area.moody-hero::before {
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.16) 0%,
        rgba(0, 0, 0, 0.34) 48%,
        rgba(0, 0, 0, 0.76) 100%
    );
    pointer-events: none;
}

/* Smoke/fog floats above the new space background. */
.tmp-banner-one-area.moody-hero .fogwrapper {
    z-index: 2;
}

/* Portrait remains above the environment + smoke. */
.tmp-banner-one-area.moody-hero .hero-static-portrait {
    z-index: 3;
}

@media (max-width: 991px) {
    .tmp-banner-one-area.moody-hero .hero-space-background {
        background-position: 58% center;
    }
}

/* =========================================================
   V44 — Hero composition refinement
   Reference-led desktop placement: portrait moves right and
   sits in front of the planet while the left side stays dark
   for the editorial headline.
   ========================================================= */
@media (min-width: 1200px) {
    .tmp-banner-one-area.moody-hero .hero-space-background {
        background-size: cover;
        background-position: center center;
    }

    .tmp-banner-one-area.moody-hero::before {
        background:
            linear-gradient(90deg,
                rgba(0, 0, 0, 0.70) 0%,
                rgba(0, 0, 0, 0.48) 28%,
                rgba(0, 0, 0, 0.12) 58%,
                rgba(0, 0, 0, 0.18) 100%),
            linear-gradient(180deg,
                rgba(0, 0, 0, 0.12) 0%,
                rgba(0, 0, 0, 0.10) 55%,
                rgba(0, 0, 0, 0.68) 100%);
    }

    .tmp-banner-one-area.moody-hero .hero-static-portrait {
        left: 62%;
        height: 88vh;
        max-height: none;
        bottom: 0;
        object-position: bottom center;
    }
}

/* Large laptop screens: retain the same composition with a slightly
   smaller portrait so the headline and portrait do not compete. */
@media (min-width: 992px) and (max-width: 1199px) {
    .tmp-banner-one-area.moody-hero .hero-space-background {
        background-position: center center;
    }

    .tmp-banner-one-area.moody-hero .hero-static-portrait {
        left: 61%;
        height: 78vh;
        bottom: 0;
    }
}

/* Mobile/tablet: keep the portrait clear of the editorial copy. */
@media (max-width: 991px) {
    .tmp-banner-one-area.moody-hero .hero-space-background {
        background-size: cover;
        background-position: 62% center;
    }

    .tmp-banner-one-area.moody-hero .hero-static-portrait {
        left: 72%;
        height: 58vh;
        max-height: 760px;
        bottom: 0;
    }
}

/* The impact landscape is its own moving layer so it can overlap the sticky
   hero while the section copy and client marks keep their normal scroll. */
.tmp-banner-one-area.moody-hero~.impact-scene,
.tmp-banner-one-area.moody-hero~section.impact-scene,
.impact-scene {
    --impact-parallax-y: 0px;
    isolation: isolate;
    background-color: transparent !important;
    background-image: none !important;
    /* Shrink trailing flow space as the mountain and client row translate up. */
    margin-bottom: var(--impact-parallax-y);
}

.impact-scene::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    z-index: 0;
    /* Keep the mountain sky transparent over the section's black base. */
    background-color: transparent;
    background-image: url('../images/bg/impactbg.webp');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100vw auto;
    pointer-events: none;
    transform: translate3d(0, var(--impact-parallax-y), 0);
    will-change: transform;
}

/* Keep the section copy and client row attached to the moving landscape. */
.impact-scene > .container {
    transform: translate3d(0, var(--impact-parallax-y), 0);
    will-change: transform;
}

/* Keep the solid section backdrop connected to the moving mountain and copy. */
.impact-scene::after {
    transform: translate3d(0, var(--impact-parallax-y), 0);
    will-change: transform;
}

/* Keep the next chapter opaque as it closes the moving parallax section. */
#impact.counter-area {
    position: relative;
    z-index: 1;
    background-color: #000 !important;
}

/* Give the selected client marks more presence in the carousel. */
.logo-swiper .support-company-logo {
    min-height: 134px;
    padding: 20px 16px;
}

.logo-swiper .support-company-logo img {
    width: min(100%, 168px);
    height: auto;
    max-height: 82px !important;
    opacity: 0.82;
}

@media (max-width: 576px) {
    .logo-swiper .support-company-logo {
        min-height: 112px;
        padding: 16px 14px;
    }

    .logo-swiper .support-company-logo img {
        width: min(100%, 150px);
        max-height: 72px !important;
    }
}
