/* TCG homepage Process component. Scoped to Muffin Builder section efdba453d. */
body.home .mcb-section-efdba453d {
    --tcg-process-accent: #d69942;
    --tcg-process-dark: #090909;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 78px 0 70px !important;
    background-position: 50% 50% !important;
    background-size: cover !important;
}

body.home .mcb-section-efdba453d > .section_video {
    z-index: -2;
}

body.home .mcb-section-efdba453d > .section_video > video {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: 50% 50%;
}

body.home .mcb-section-efdba453d > .mcb-background-overlay {
    z-index: -1;
    background: rgba(22, 0, 0, .66);
}

body.home .mcb-section-efdba453d > .section_wrapper,
body.home .mcb-section-efdba453d .mcb-section-inner-efdba453d,
body.home .mcb-section-efdba453d .mcb-wrap-3cfd2d467,
body.home .mcb-section-efdba453d .mcb-wrap-inner-3cfd2d467,
body.home .mcb-section-efdba453d .mcb-item-30cdaf889,
body.home .mcb-section-efdba453d .mcb-column-inner-30cdaf889 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .tcg-process {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: Lato, Arial, sans-serif;
}

body.home .tcg-process *,
body.home .tcg-process *::before,
body.home .tcg-process *::after {
    box-sizing: border-box;
}

body.home .tcg-process__header {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto 44px;
    text-align: center;
}

body.home .tcg-process__overline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 13px;
    color: var(--tcg-process-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
}

body.home .tcg-process__overline::before,
body.home .tcg-process__overline::after {
    content: "";
    width: 48px;
    height: 1px;
    background: var(--tcg-process-accent);
    opacity: .65;
}

body.home .tcg-process__title {
    margin: 0;
    color: #fff;
    font-size: clamp(52px, 5vw, 82px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: .035em;
    text-transform: uppercase;
}

body.home .tcg-process__lead {
    margin: 20px auto 0;
    max-width: 780px;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    line-height: 1.55;
}

body.home .tcg-process__tabs-wrap {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto 32px;
}

body.home .tcg-process__tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0 0 25px;
}

body.home .tcg-process__tabs::after {
    content: "";
    position: absolute;
    right: 2.7%;
    bottom: 6px;
    left: 2.7%;
    height: 1px;
    background: rgba(255, 255, 255, .34);
}

body.home .tcg-process__tab {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    min-height: 72px;
    padding: 4px 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .68);
    box-shadow: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font: inherit;
    text-align: center;
    transition: color .25s ease;
}

body.home .tcg-process__tab::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    width: 12px;
    height: 12px;
    border: 3px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: #260707;
    transform: translateX(-50%);
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

body.home .tcg-process__tab-number {
    margin-bottom: 9px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

body.home .tcg-process__tab-label {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .035em;
    text-transform: uppercase;
}

body.home .tcg-process__tab[aria-selected="true"],
body.home .tcg-process__tab:hover,
body.home .tcg-process__tab:focus-visible {
    color: var(--tcg-process-accent);
}

body.home .tcg-process__tab[aria-selected="true"] .tcg-process__tab-label,
body.home .tcg-process__tab:hover .tcg-process__tab-label,
body.home .tcg-process__tab:focus-visible .tcg-process__tab-label {
    color: var(--tcg-process-accent);
}

body.home .tcg-process__tab[aria-selected="true"]::after {
    border-color: var(--tcg-process-accent);
    background: var(--tcg-process-accent);
    transform: translateX(-50%) scale(1.22);
}

body.home .tcg-process__tab:focus-visible,
body.home .tcg-process__arrow:focus-visible {
    outline: 2px solid var(--tcg-process-accent);
    outline-offset: 4px;
}

body.home .tcg-process__panel-shell {
    display: grid;
    width: min(1400px, calc(100% - 64px));
    min-height: 540px;
    margin: 0 auto;
    overflow: hidden;
    grid-template-columns: minmax(340px, 34%) minmax(0, 66%);
    border: 1px solid rgba(214, 153, 66, .92);
    border-radius: 14px;
    background: var(--tcg-process-dark);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
}

body.home .tcg-process__copy-area {
    position: relative;
    display: flex;
    min-width: 0;
    padding: clamp(34px, 3.4vw, 54px);
    background: rgba(7, 7, 7, .98);
    flex-direction: column;
}

body.home .tcg-process__copy {
    animation: tcg-process-fade .26s ease both;
}

body.home .tcg-process__copy[hidden] {
    display: none !important;
}

body.home .tcg-process__counter {
    display: block;
    margin-bottom: 12px;
    color: var(--tcg-process-accent);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
}

body.home .tcg-process__stage-title {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: .015em;
    text-transform: uppercase;
}

body.home .tcg-process__divider {
    width: 58px;
    height: 3px;
    margin: 22px 0;
    background: var(--tcg-process-accent);
}

body.home .tcg-process__intro {
    margin: 0 0 13px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

body.home .tcg-process__body {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.65;
}

body.home .tcg-process__features {
    display: grid;
    gap: 14px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

body.home .tcg-process__feature {
    display: grid;
    color: rgba(255, 255, 255, .9);
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    font-size: 15px;
    line-height: 1.4;
}

body.home .tcg-process__feature svg {
    width: 23px;
    height: 23px;
    color: var(--tcg-process-accent);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

body.home .tcg-process__controls {
    display: flex;
    margin-top: auto;
    padding-top: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

body.home .tcg-process__arrow {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, color .2s ease;
}

body.home .tcg-process__arrow:hover {
    border-color: var(--tcg-process-accent);
    color: var(--tcg-process-accent);
}

body.home .tcg-process__arrow svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

body.home .tcg-process__dots {
    display: flex;
    gap: 11px;
    align-items: center;
}

body.home .tcg-process__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .34);
}

body.home .tcg-process__dot.is-active {
    background: var(--tcg-process-accent);
}

body.home .tcg-process__image-wrap {
    position: relative;
    min-width: 0;
    min-height: 540px;
    overflow: hidden;
    background: #160706;
}

body.home .tcg-process__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    opacity: 1;
    transition: opacity .28s ease;
}

body.home .tcg-process__image.is-changing {
    opacity: .18;
}

@keyframes tcg-process-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media only screen and (max-width: 1100px) {
    body.home .tcg-process__tabs-wrap,
    body.home .tcg-process__panel-shell {
        width: calc(100% - 40px);
    }

    body.home .tcg-process__panel-shell {
        grid-template-columns: minmax(315px, 40%) minmax(0, 60%);
    }

    body.home .tcg-process__tab-label {
        font-size: 10px;
    }
}

@media only screen and (max-width: 767px) {
    body.home .mcb-section-efdba453d {
        padding: 58px 0 52px !important;
    }

    body.home .tcg-process__header {
        width: calc(100% - 32px);
        margin-bottom: 34px;
    }

    body.home .tcg-process__overline {
        gap: 12px;
        font-size: 11px;
        letter-spacing: .26em;
    }

    body.home .tcg-process__overline::before,
    body.home .tcg-process__overline::after {
        width: 28px;
    }

    body.home .tcg-process__title {
        font-size: clamp(42px, 13vw, 58px);
        line-height: 1;
    }

    body.home .tcg-process__lead {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.55;
    }

    body.home .tcg-process__tabs-wrap {
        width: 100%;
        margin-bottom: 22px;
        overflow: hidden;
    }

    body.home .tcg-process__tabs {
        display: flex;
        gap: 4px;
        padding: 0 16px 18px;
        overflow-x: auto;
        scroll-padding-inline: 16px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.home .tcg-process__tabs::-webkit-scrollbar {
        display: none;
    }

    body.home .tcg-process__tabs::after,
    body.home .tcg-process__tab::after {
        display: none;
    }

    body.home .tcg-process__tab {
        min-width: 132px;
        min-height: 58px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 7px;
        scroll-snap-align: center;
        justify-content: center;
    }

    body.home .tcg-process__tab[aria-selected="true"] {
        border-color: var(--tcg-process-accent);
        background: rgba(214, 153, 66, .08);
    }

    body.home .tcg-process__tab-number {
        margin-bottom: 5px;
        font-size: 16px;
    }

    body.home .tcg-process__tab-label {
        font-size: 10px;
    }

    body.home .tcg-process__panel-shell {
        width: calc(100% - 28px);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        border-radius: 12px;
    }

    body.home .tcg-process__copy-area {
        min-height: 590px;
        padding: 30px 26px 25px;
    }

    body.home .tcg-process__stage-title {
        font-size: clamp(31px, 9.5vw, 42px);
        overflow-wrap: normal;
        word-break: normal;
    }

    body.home .tcg-process__intro {
        font-size: 17px;
    }

    body.home .tcg-process__body {
        font-size: 16px;
    }

    body.home .tcg-process__image-wrap {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    body.home .tcg-process__controls {
        padding-top: 25px;
    }

}

@media (prefers-reduced-motion: reduce) {
    body.home .tcg-process *,
    body.home .tcg-process *::before,
    body.home .tcg-process *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   TCG Homepage — Process → Location cinematic transition
   ========================================================= */

/*
 * Allow the existing Process video to continue visually
 * beyond the end of the section without changing layout.
 */
body.home .mcb-section-efdba453d {
    overflow: visible !important;
}

body.home .mcb-section-efdba453d > .section_video,
body.home .mcb-section-efdba453d > .mcb-background-overlay {
    bottom: -230px !important;
    height: auto !important;
}

/*
 * Keep the exact same moving video filling the extended area.
 */
body.home .mcb-section-efdba453d > .section_video > video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/*
 * Full-viewport white wash.
 *
 * This sits above the continued video but below all Location
 * content, creating the actual Process → white transition.
 */
body.home .mcb-section-efdba453d::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -230px;
    width: 100vw;
    height: 230px;
    transform: translateX(-50%);
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.08) 18%,
        rgba(255,255,255,.25) 38%,
        rgba(255,255,255,.55) 60%,
        rgba(255,255,255,.82) 80%,
        #fff 100%
    );
}

body.home .tcg-process {
    position: relative;
    z-index: 3;
}


/* =========================================================
   Make Location section genuinely full-width
   ========================================================= */

body.home .tcg-location-section {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: transparent !important;
}

/*
 * Remove BeTheme wrapper width restrictions specifically
 * for this custom section.
 */
body.home .tcg-location-section > .section_wrapper,
body.home .tcg-location-section .mcb-section-inner,
body.home .tcg-location-section .mcb-wrap,
body.home .tcg-location-section .mcb-wrap-inner,
body.home .tcg-location-section .mcb-item,
body.home .tcg-location-section .mcb-column-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*
 * Location itself stays transparent only through the transition
 * zone. The page becomes solid white before the actual content.
 */
body.home .tcg-location {
    position: relative;
    z-index: 2;
    background: transparent !important;
}

/*
 * White backing begins below the transition so the text/image
 * live on a clean white field.
 */
body.home .tcg-location::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 230px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
}

/*
 * Existing Location content remains exactly where it was.
 */
body.home .tcg-location__inner {
    position: relative;
    z-index: 4;
}


/* Tablet */
@media (max-width: 900px) {

    body.home .mcb-section-efdba453d > .section_video,
    body.home .mcb-section-efdba453d > .mcb-background-overlay {
        bottom: -190px !important;
    }

    body.home .mcb-section-efdba453d::after {
        bottom: -190px;
        height: 190px;
    }

    body.home .tcg-location::before {
        top: 190px;
    }
}


/* Mobile */
@media (max-width: 600px) {

    body.home .mcb-section-efdba453d > .section_video,
    body.home .mcb-section-efdba453d > .mcb-background-overlay {
        bottom: -145px !important;
    }

    body.home .mcb-section-efdba453d::after {
        bottom: -145px;
        height: 145px;

        background: linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.14) 22%,
            rgba(255,255,255,.42) 50%,
            rgba(255,255,255,.76) 75%,
            #fff 100%
        );
    }

    body.home .tcg-location::before {
        top: 145px;
    }
}
