.tcovs-section {
    --tcovs-active: #fff;
    --tcovs-inactive: rgba(255, 255, 255, 0.4);
    --tcovs-overlay-opacity: 0.42;
    --tcovs-top-offset: 0px;
    --tcovs-total-height-vh: 1000vh;
    --tcovs-total-height-svh: 1000svh;
    position: relative;
    z-index: 99;
    width: 100%;
    height: var(--tcovs-total-height-vh);
    height: var(--tcovs-total-height-svh);
    min-height: 0;
    overflow: visible;
    background: #08211f;
    color: #fff;
    isolation: isolate;
}

.tcovs-pin,
.tcovs-backgrounds,
.tcovs-background,
.tcovs-overlay {
    position: absolute;
    inset: 0;
}

.tcovs-pin {
    position: sticky;
    top: var(--tcovs-top-offset);
    inset-inline: 0;
    width: 100%;
    height: calc(100vh - var(--tcovs-top-offset));
    height: calc(100svh - var(--tcovs-top-offset));
    overflow: hidden;
}

.tcovs-backgrounds {
    z-index: 0;
    background: #08211f;
}

.tcovs-background {
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
}

.tcovs-background.is-active {
    opacity: 1;
    visibility: visible;
}

.tcovs-bg-image,
.tcovs-bg-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.tcovs-bg-image {
    object-fit: cover;
    object-position: var(--tcovs-image-position, center center);
    user-select: none;
    pointer-events: none;
    will-change: transform;
    transform-origin: 50% 50%;
}

.tcovs-bg-placeholder {
    background:
        radial-gradient(circle at 72% 28%, rgba(45, 114, 101, 0.38), transparent 35%),
        linear-gradient(145deg, #0b3430 0%, #061917 100%);
}

.tcovs-overlay {
    z-index: 3;
    pointer-events: none;
    opacity: var(--tcovs-overlay-opacity);
    background:
        linear-gradient(90deg, rgba(2, 15, 14, 0.9) 0%, rgba(2, 15, 14, 0.34) 55%, rgba(2, 15, 14, 0.58) 100%),
        linear-gradient(0deg, rgba(2, 13, 12, 0.9) 0%, rgba(2, 13, 12, 0) 58%);
}

.tcovs-ui {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.53fr);
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    padding: clamp(3rem, 5.55vw, 6.25rem) clamp(2rem, 5.55vw, 6.25rem) clamp(2.5rem, 5vw, 5.25rem);
    box-sizing: border-box;
}

.tcovs-nav {
    grid-column: 1;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-content: start;
    column-gap: clamp(3.5rem, 4.6vw, 9rem);
    min-width: 0;
}

.tcovs-eyebrow {
    padding-top: 0.35rem;
    font-family: "Instrument Sans", Arial, sans-serif;
    font-size: 1.56rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.tcovs-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tcovs-tab-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tcovs-section .tcovs-tabs button.tcovs-tab {
    display: block !important;
    width: fit-content !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    appearance: none;
    text-align: left !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer;
    color: var(--tcovs-inactive);
    font-family: "Amerigo BT", Georgia, serif !important;
    font-size: 3.22rem !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
    transition: none;
    will-change: color;
}

.tcovs-section .tcovs-tabs button.tcovs-tab:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.75);
    outline-offset: 0.22em;
}

.tcovs-section .tcovs-tabs button.tcovs-tab.is-active {
    color: var(--tcovs-active);
}

.tcovs-side-contents {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    align-self: end;
    width: 100%;
    max-width: 20rem;
    justify-self: start;
}

.tcovs-side-content {
    grid-area: 1 / 1;
    align-self: end;
    width: 100%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    color: #fff;
    font-family: "Instrument Sans", Arial, sans-serif;
    font-size: 1.04rem;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: -0.025em;
    will-change: opacity, transform;
}

.tcovs-contents {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    align-self: end;
    width: 100%;
    max-width: 35rem;
    justify-self: end;
}

.tcovs-content {
    grid-area: 1 / 1;
    align-self: end;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    color: #fff;
    font-family: "Instrument Sans", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: -0.025em;
    will-change: opacity, transform;
}

/*
 * Desktop content widths are intentionally defined in CSS (not JS or inline
 * styles), so they can be reviewed and adjusted directly in this file.
 */
.tcovs-section .tcovs-contents > .tcovs-content {
    width: 100% !important;
    max-width: 35rem !important;
    justify-self: start !important;
}

.tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--expertise,
.tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--reliability {
    max-width: 27rem !important;
}

.tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--partnership,
.tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--flexibility,
.tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--growth {
    max-width: 24rem !important;
}

.tcovs-section .tcovs-contents > .tcovs-content > * {
    max-width: 100%;
}

.tcovs-content.is-active {
    opacity: 1;
    visibility: visible;
}

.tcovs-side-content.is-active {
    opacity: 0.7;
    visibility: visible;
}

.tcovs-has-animation .tcovs-content {
    opacity: 1;
    visibility: visible;
}

.tcovs-has-animation .tcovs-side-content {
    opacity: 0.7;
    visibility: visible;
}

.tcovs-content p,
.tcovs-content li,
.tcovs-content blockquote,
.tcovs-content h1,
.tcovs-content h2,
.tcovs-content h3,
.tcovs-content h4,
.tcovs-content h5,
.tcovs-content h6,
.tcovs-side-content p,
.tcovs-side-content li,
.tcovs-side-content blockquote,
.tcovs-side-content h1,
.tcovs-side-content h2,
.tcovs-side-content h3,
.tcovs-side-content h4,
.tcovs-side-content h5,
.tcovs-side-content h6 {
    overflow: visible;
}

.tcovs-measure-word {
    display: inline;
}

.tcovs-line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.tcovs-line {
    display: block;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.tcovs-content > :first-child,
.tcovs-side-content > :first-child {
    margin-top: 0;
}

.tcovs-content > :last-child,
.tcovs-side-content > :last-child {
    margin-bottom: 0;
}

.tcovs-empty-message {
    padding: 1rem;
    border: 1px dashed currentColor;
}

/* Client-requested desktop typography/layout refinements. */
@media (min-width: 768px) {
    .tcovs-side-contents {
        max-width: 24rem;
    }

    .tcovs-content {
        font-size: 2.5rem;
        font-weight: 600;
    }
}

/* Left-side active copy is intentionally softer on all breakpoints. */
.tcovs-side-content.is-active {
    opacity: 0.7 !important;
}

@media (max-width: 1199px) {
    /*
     * On tablet/mobile use the dynamic viewport height so the sticky panel
     * follows the visible browser viewport as Safari/Chrome toolbars expand
     * and collapse. Keep svh first as a fallback for older browsers.
     */
    .tcovs-pin {
        height: calc(100svh - var(--tcovs-top-offset));
        height: calc(100dvh - var(--tcovs-top-offset));
    }

    /*
     * Keep the image layer independent from theme/Beaver Builder responsive
     * image rules (many themes force img height:auto on tablet/mobile).
     * The background itself owns the fade; the image always fills that layer.
     */
    .tcovs-backgrounds,
    .tcovs-background {
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }

    .tcovs-bg-image,
    .tcovs-bg-placeholder {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .tcovs-ui {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr);
    }

    .tcovs-nav {
        column-gap: 4rem;
    }
}

@media (max-width: 767px) {
    .tcovs-section {
        height: var(--tcovs-total-height-vh);
        height: var(--tcovs-total-height-svh);
        min-height: 0;
    }

    .tcovs-overlay {
        background:
            linear-gradient(180deg, rgba(2, 15, 14, 0.92) 0%, rgba(2, 15, 14, 0.32) 40%, rgba(2, 15, 14, 0.94) 100%),
            linear-gradient(90deg, rgba(2, 15, 14, 0.32), rgba(2, 15, 14, 0.08));
    }

    .tcovs-ui {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        column-gap: 15px;
        padding: 20px 15px 30px;
    }

    .tcovs-nav {
        grid-column: 1;
        grid-row: 1;
        display: block;
        min-width: 0;
    }

    .tcovs-eyebrow {
        padding: 0;
        margin: 0 0 30px;
        font-size: 22px;
        line-height: 1.2;
    }

    .tcovs-tabs {
        gap: 15px;
        margin-bottom: 15px;
    }

    .tcovs-section .tcovs-tabs button.tcovs-tab {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }

    .tcovs-side-contents {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
        margin-bottom: 0;
        min-width: 0;
    }

    .tcovs-side-content {
        width: 100%;
        max-width: 100%;
        font-size: 12px;
        line-height: 1.42;
        letter-spacing: -0.025em;
        align-self: start;
    }

    .tcovs-contents {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        align-self: end;
    }

    .tcovs-section .tcovs-contents > .tcovs-content,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--expertise,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--reliability,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--partnership,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--flexibility,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--growth {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: stretch !important;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.28;
        letter-spacing: -0.03em;
    }
}

@media (max-width: 380px), (max-height: 700px) and (max-width: 767px) {
    .tcovs-ui {
        padding: 20px 15px 30px;
    }

    .tcovs-eyebrow {
        margin-bottom: 30px;
    }

    .tcovs-tabs {
        gap: 15px;
        margin-bottom: 15px;
    }

    .tcovs-section .tcovs-tabs button.tcovs-tab {
        font-size: 32px !important;
    }

    .tcovs-side-content {
        font-size: 12px;
        align-self: start;
    }

    .tcovs-section .tcovs-contents > .tcovs-content,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--expertise,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--reliability,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--partnership,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--flexibility,
    .tcovs-section .tcovs-contents > .tcovs-content.tcovs-content--growth {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: stretch !important;
        font-size: 30px;
        font-weight: 600;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tcovs-background,
    .tcovs-content,
    .tcovs-side-content,
    .tcovs-tab {
        transition: none !important;
    }
}
