﻿@import url("./theme.css");

/* ==========================================================================
   SANTACRUZ HOMEPAGE REDESIGN
   Refactored replacement for wwwroot/css/home-redesign.css

   Load this file AFTER site.css and the generated *.styles.css file.
   It is scoped to .scv2-page so public/admin pages remain unaffected.
   ========================================================================== */



/* ==========================================================================
   1. Homepage isolation and shared layout
   ========================================================================== */

html:has(.scv2-page),
body:has(.scv2-page) {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--theme-page-bg);
    color: var(--theme-text);
    font-family: var(--theme-font-sans);
}

    body:has(.scv2-page) main,
    body:has(.scv2-page) main.pb-3,
    body:has(.scv2-page) header {
        margin: 0 !important;
        padding: 0 !important;
    }

/* _Layout.cshtml wraps the homepage in a top-level Bootstrap container. */
body.sc-site-public:has(.scv2-page) > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--theme-hero-bg);
}

    body.sc-site-public:has(.scv2-page) > .container > main,
    body.sc-site-public:has(.scv2-page) > .container > main.pb-3 {
        margin: 0 !important;
        padding: 0 !important;
    }

body:has(.scv2-page) .container:has(.scv2-page) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.scv2-page,
.scv2-page * {
    box-sizing: border-box;
}

    .scv2-page a,
    .scv2-page a:hover {
        text-decoration: none;
    }

.scv2-shell {
    width: min(100%, 1360px);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 4rem);
}

.scv2-section {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.scv2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 1rem;
    color: var(--theme-brand-strong);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

.scv2-section-heading {
    max-width: 720px;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.scv2-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.scv2-page .scv2-section-heading h2,
.scv2-page .scv2-culture__intro h2 {
    margin: 0;
    color: var(--theme-text-heading);
    font-size: clamp(2rem, 3.7vw, 3.5rem);
    font-weight: 780;
    letter-spacing: -.055em;
    line-height: 1.08;
}

/* Keep the original three-line culture heading on desktop. */
.scv2-page .scv2-culture__intro h2 {
    max-width: 370px;
    font-size: clamp(2rem, 3.1vw, 3.05rem);
}


.scv2-section-heading > p:last-child {
    max-width: 630px;
    margin: 1rem auto 0;
    color: var(--theme-text-muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.scv2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 48px;
    padding: .8rem 1.2rem;
    border-radius: 10px;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

    .scv2-button span {
        font-size: 1.15rem;
        line-height: 0;
        transition: transform .18s ease;
    }

    .scv2-button:hover {
        transform: translateY(-2px);
    }

        .scv2-button:hover span {
            transform: translateX(3px);
        }

.scv2-button--primary {
    border: 1px solid var(--theme-button-brand-light-border);
    color: var(--theme-brand-contrast);
    background: var(--theme-button-brand-light-bg);
}

    .scv2-button--primary:hover {
        border-color: var(--theme-button-brand-light-border-hover);
        color: var(--theme-action);
        background: var(--theme-button-brand-light-bg-hover);
    }

/* Hero: paired with the white secondary button, so this one goes black. */
.scv2-hero .scv2-button--primary {
    border-color: var(--theme-button-dark-bg);
    color: var(--theme-surface);
    background: var(--theme-button-dark-bg);
}

    .scv2-hero .scv2-button--primary:hover {
        border-color: var(--theme-button-dark-bg-hover);
        color: var(--theme-surface);
        background: var(--theme-button-dark-bg-hover);
    }

/* Final CTA: standalone on the dark section, so white reads best. */
.scv2-apply .scv2-button--primary {
    border-color: var(--theme-surface);
    color: var(--theme-hero-bg);
    background: var(--theme-surface);
}

    .scv2-apply .scv2-button--primary:hover {
        border-color: var(--theme-surface);
        color: var(--theme-surface);
        background: rgba(var(--theme-rgb-surface), .12);
    }

.scv2-button--secondary {
    border: 1px solid var(--theme-surface);
    color: var(--theme-hero-bg);
    background: var(--theme-surface);
}

    .scv2-button--secondary:hover {
        border-color: var(--theme-surface);
        color: var(--theme-surface);
        background: rgba(var(--theme-rgb-surface), .12);
    }

/* ==========================================================================
   4. Hero
   Performance choices:
   - no CSS filter on the full-screen video
   - no backdrop-filter above the video
   - only two lightweight animated decoration layers
   ========================================================================== */

.scv2-hero {
    position: relative;
    isolation: isolate;
    min-height: min(760px, calc(100vh - 73px));
    margin-top: 0;
    overflow: hidden;
    border-radius: 0;
    color: var(--theme-surface);
    background: linear-gradient(160deg, var(--theme-hero-bg) 0%, var(--theme-hero-bg-strong) 100%);
}

    .scv2-hero::before {
        position: absolute;
        z-index: -1;
        inset: 0;
        content: "";
        pointer-events: none;
        background: linear-gradient(90deg, rgba(var(--theme-rgb-hero-bg), .98) 0%, rgba(var(--theme-rgb-hero-bg), .92) 42%, rgba(var(--theme-rgb-hero-bg), .48) 72%, rgba(var(--theme-rgb-hero-bg), .18) 100%), linear-gradient(180deg, rgba(var(--theme-rgb-hero-bg), .12) 0%, rgba(var(--theme-rgb-hero-bg), .82) 100%);
    }

.scv2-hero__media {
    position: absolute;
    z-index: -3;
    inset: 0;
    overflow: hidden;
}

.scv2-hero__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .58;
    filter: none; /* Removing this avoids per-frame image processing. */
    transform: none;
}

.scv2-hero__mesh {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.scv2-hero__orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: .48;
    filter: none;
}

.scv2-hero__orb--one {
    top: 17%;
    right: 10%;
    width: 320px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(var(--theme-rgb-brand), .20), transparent 68%);
    animation: scv2-float-one 14s ease-in-out infinite alternate;
}

.scv2-hero__orb--two {
    right: 38%;
    bottom: -12%;
    width: 440px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(var(--theme-rgb-action), .22), transparent 68%);
    animation: scv2-float-two 17s ease-in-out infinite alternate;
}

.scv2-hero__orb--one,
.scv2-hero__orb--two,
.scv2-hero__orb--three {
    display: none;
}

.scv2-hero__network-line {
    position: absolute;
    display: block;
    width: 60vw;
    height: 1px;
    opacity: .28;
    transform-origin: left center;
    background: linear-gradient(90deg, transparent, rgba(var(--theme-rgb-brand-soft), .74) 50%, transparent);
}

.scv2-hero__network-line--one {
    right: -8%;
    bottom: 28%;
    transform: rotate(-18deg);
}

.scv2-hero__network-line--two {
    right: -3%;
    bottom: 17%;
    transform: rotate(11deg);
}

.scv2-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: inherit;
    padding-top: clamp(5rem, 10vw, 8.8rem);
    padding-bottom: clamp(2rem, 5vw, 3.7rem);
}

.scv2-hero__copy {
    position: relative;
    z-index: 3;
    width: min(100%, 680px);
}

.scv2-page .scv2-hero .scv2-eyebrow {
    color: var(--theme-brand-soft) !important;
    -webkit-text-fill-color: var(--theme-brand-soft);
    font-size: .88rem;
}

.scv2-page .scv2-hero h1 {
    max-width: 650px;
    margin: 0;
    color: var(--theme-text-inverse) !important;
    -webkit-text-fill-color: var(--theme-text-inverse);
    font-size: clamp(2.8rem, 5.2vw, 5.3rem);
    font-weight: 790;
    letter-spacing: -.075em;
    line-height: .98;
}

    .scv2-page .scv2-hero h1 span {
        color: var(--theme-brand-soft) !important;
        -webkit-text-fill-color: var(--theme-brand-soft);
    }

.scv2-page .scv2-hero p.scv2-hero__lead {
    max-width: 620px;
    margin: 1.6rem 0 0;
    color: var(--theme-text-inverse) !important;
    -webkit-text-fill-color: var(--theme-text-inverse);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.6;
}

.scv2-page .scv2-hero p.scv2-hero__body {
    max-width: 630px;
    margin: .9rem 0 0;
    color: rgba(var(--theme-rgb-surface-soft), .90) !important;
    -webkit-text-fill-color: rgba(var(--theme-rgb-surface-soft), .90);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.75;
}

.scv2-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.8rem;
}

.scv2-hero__trust-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 790px);
    margin-top: clamp(3rem, 8vw, 7rem);
    overflow: hidden;
    border: 1px solid rgba(var(--theme-rgb-brand-soft), .17);
    border-radius: 16px;
    background: rgba(var(--theme-rgb-text-strong), .88);
    box-shadow: 0 14px 30px rgba(var(--theme-rgb-hero-bg), .16);
    backdrop-filter: none; /* Avoid compositing a blurred layer over video. */
}

.scv2-trust-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.15rem;
    border-right: 1px solid rgba(var(--theme-rgb-brand-soft), .15);
}

    .scv2-trust-item:last-child {
        border-right: 0;
    }

.scv2-trust-item__icon {
    display: grid;
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(var(--theme-rgb-brand-soft), .35);
    border-radius: 10px;
    color: var(--theme-brand-soft-alt);
    font-size: 1.05rem;
}

.scv2-page .scv2-trust-item strong,
.scv2-page .scv2-trust-item span:last-child {
    display: block;
    -webkit-text-fill-color: currentColor;
}

.scv2-page .scv2-trust-item strong {
    color: var(--theme-text-inverse) !important;
    font-size: .88rem;
    line-height: 1.2;
}

.scv2-page .scv2-trust-item span:last-child {
    margin-top: .18rem;
    color: rgba(var(--theme-rgb-surface-soft), .78) !important;
    font-size: .76rem;
    line-height: 1.25;
}

/* ==========================================================================
   5. Services
   ========================================================================== */

.scv2-services {
    overflow: hidden;
    background: radial-gradient(circle at 8% 45%, rgba(var(--theme-rgb-brand), .12), transparent 23%), radial-gradient(circle at 92% 25%, rgba(var(--theme-rgb-brand), .10), transparent 25%), var(--theme-page-bg);
}

.scv2-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 255px;
    padding: 1.65rem;
    overflow: hidden;
    border: 1px solid rgba(var(--theme-rgb-text-strong), .10);
    border-radius: 16px;
    background: rgba(var(--theme-rgb-surface), .88);
    box-shadow: var(--shadow-page-card);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .scv2-service-card:hover {
        border-color: rgba(var(--theme-rgb-brand-alt), .35);
        box-shadow: 0 16px 34px rgba(var(--theme-rgb-text-strong), .08);
        transform: translateY(-6px);
    }

.scv2-service-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--theme-feature-icon);
    background: linear-gradient( 135deg, var(--theme-feature-icon-bg-start), var(--theme-feature-icon-bg-end) );
    font-size: 1.4rem;
    font-weight: 700;
}

.scv2-services .row.g-4 > div:nth-child(1) .scv2-service-card__icon { color: var(--theme-icon-teal);   background: var(--theme-icon-teal-bg); }
.scv2-services .row.g-4 > div:nth-child(2) .scv2-service-card__icon { color: var(--theme-icon-green);  background: var(--theme-icon-green-bg); }
.scv2-services .row.g-4 > div:nth-child(3) .scv2-service-card__icon { color: var(--theme-icon-violet); background: var(--theme-icon-violet-bg); }
.scv2-services .row.g-4 > div:nth-child(4) .scv2-service-card__icon { color: var(--theme-icon-amber);  background: var(--theme-icon-amber-bg); }

.scv2-page .scv2-service-card h3 {
    max-width: 220px;
    margin: 1.3rem 0 0;
    color: var(--theme-text-heading);
    font-size: 1.3rem;
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.22;
}

.scv2-page .scv2-service-card p {
    margin: .8rem 0 1.35rem;
    color: var(--theme-text-muted);
    font-size: 1.03rem;
    line-height: 1.6;
}

.scv2-service-card__arrow {
    margin-top: auto;
    color: var(--theme-brand-strong);
    font-size: 1.4rem;
    font-weight: 700;
}

/* ==========================================================================
   6. Why SantaCruz
   ========================================================================== */

.scv2-why {
    padding-top: 0;
    background: var(--theme-page-bg);
}

.scv2-why__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(235px, .9fr) minmax(0, 2.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--theme-border-muted);
    border-radius: 22px;
    color: var(--theme-text);
    background: var(--theme-surface);
    box-shadow: none;
}

    .scv2-why__panel::before {
        display: none;
    }

.scv2-why__intro,
.scv2-why__values {
    position: relative;
    z-index: 1;
}

.scv2-page .scv2-why__panel .scv2-eyebrow {
    color: var(--theme-brand-strong) !important;
    -webkit-text-fill-color: var(--theme-brand-strong);
    font-size: .91rem;
}

.scv2-page .scv2-why__intro h2 {
    margin: 0;
    color: var(--theme-text-heading) !important;
    -webkit-text-fill-color: var(--theme-text-heading);
    font-size: clamp(2.09rem, 3.25vw, 3.19rem);
    font-weight: 780;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.scv2-page .scv2-why__intro > p:last-child {
    margin: 1.15rem 0 0;
    color: var(--theme-text-muted) !important;
    -webkit-text-fill-color: var(--theme-text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.scv2-why__values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.scv2-value {
    padding: .65rem clamp(.9rem, 2vw, 1.3rem);
    border-left: 1px solid var(--theme-border);
}

    .scv2-value:first-child {
        border-left: 0;
    }

.scv2-value__icon {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-size: 1.15rem;
}

.scv2-why__values > .scv2-value:nth-child(1) .scv2-value__icon { color: var(--theme-icon-teal);   background: var(--theme-icon-teal-bg); }
.scv2-why__values > .scv2-value:nth-child(2) .scv2-value__icon { color: var(--theme-icon-green);  background: var(--theme-icon-green-bg); }
.scv2-why__values > .scv2-value:nth-child(3) .scv2-value__icon { color: var(--theme-icon-violet); background: var(--theme-icon-violet-bg); }

.scv2-page .scv2-value h3 {
    margin: 0;
    color: var(--theme-text-heading) !important;
    -webkit-text-fill-color: var(--theme-text-heading);
    font-size: 1.28rem;
    font-weight: 740;
    line-height: 1.3;
}

.scv2-page .scv2-value p {
    margin: .7rem 0 0;
    color: var(--theme-text-muted) !important;
    -webkit-text-fill-color: var(--theme-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================================================
   7. Culture
   ========================================================================== */

.scv2-culture {
    background: radial-gradient(circle at 90% 95%, rgba(var(--theme-rgb-brand), .13), transparent 31%), var(--theme-page-bg);
}

.scv2-culture__intro {
    padding-bottom: .3rem;
}

    .scv2-culture__intro h2 {
        max-width: 370px;
        font-size: clamp(2rem, 3.1vw, 3.05rem);
    }

.scv2-page .scv2-culture__intro > p:last-of-type {
    max-width: 360px;
    margin: 1rem 0 1.4rem;
    color: var(--theme-text-muted);
    font-size: .96rem;
    line-height: 1.72;
}

.scv2-text-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1rem;
    border: 1px solid var(--theme-brand);
    border-radius: 10px;
    color: var(--theme-brand-contrast);
    background: var(--theme-brand-soft);
    font-size: .9rem;
    font-weight: 750;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

    .scv2-text-link:hover {
        border-color: var(--theme-brand-strong);
        color: var(--theme-action);
        background: var(--theme-brand-soft-alt);
        transform: translateY(-2px);
    }

    .scv2-text-link span {
        font-size: 1.2rem;
    }

.scv2-culture-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(var(--theme-rgb-text-strong), .10);
    border-radius: 15px;
    background: var(--theme-surface);
    box-shadow: var(--shadow-page-card);
    transition: transform .22s ease, box-shadow .22s ease;
}

    .scv2-culture-card:hover {
        box-shadow: 0 16px 34px rgba(var(--theme-rgb-text-strong), .08);
        transform: translateY(-5px);
    }

    .scv2-culture-card img {
        display: block;
        width: 100%;
        height: 175px;
        object-fit: cover;
        transition: transform .35s ease;
    }

    .scv2-culture-card:hover img {
        transform: scale(1.05);
    }

.scv2-culture-card__body {
    padding: 1rem;
}

.scv2-page .scv2-culture-card h3 {
    margin: 0;
    color: var(--theme-text-heading);
    font-size: 1.08rem;
    font-weight: 760;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.scv2-page .scv2-culture-card p {
    margin: .55rem 0 0;
    color: var(--theme-text-muted);
    font-size: .92rem;
    line-height: 1.6;
}

/* ==========================================================================
   8. Featured role
   ========================================================================== */

.scv2-featured-role {
    padding-top: clamp(2rem, 5vw, 4rem);
    background: var(--theme-page-bg);
}

.scv2-role-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, .3fr);
    min-height: 440px;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.8rem);
    border: 1px solid var(--theme-border-muted);
    border-radius: 22px;
    color: var(--theme-text);
    background: var(--theme-surface);
    box-shadow: var(--shadow-section-card);
}

    .scv2-role-card::before {
        position: absolute;
        z-index: 1;
        inset: 0;
        content: "";
        pointer-events: none;
        background: linear-gradient(90deg, rgba(var(--theme-rgb-surface), .99) 0%, rgba(var(--theme-rgb-surface), .94) 38%, rgba(var(--theme-rgb-surface), .56) 63%, rgba(var(--theme-rgb-surface), .08) 100%);
    }

.scv2-role-card__media {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 58%;
    overflow: hidden;
}

    .scv2-role-card__media::after {
        position: absolute;
        inset: 0;
        content: "";
        background: linear-gradient(90deg, rgba(var(--theme-rgb-surface), .95), rgba(var(--theme-rgb-surface), .5) 38%, rgba(var(--theme-rgb-surface), .05) 75%), linear-gradient(0deg, rgba(var(--theme-rgb-surface), .35), transparent 48%);
    }

    .scv2-role-card__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: saturate(.72) contrast(1.04) brightness(.92);
        -webkit-mask-image: linear-gradient(to right, transparent, rgba(var(--theme-rgb-static-dark), .25) 20%, var(--theme-text-static-dark) 57%);
        mask-image: linear-gradient(to right, transparent, rgba(var(--theme-rgb-static-dark), .25) 20%, var(--theme-text-static-dark) 57%);
    }

.scv2-role-card__content,
.scv2-role-card__highlights {
    position: relative;
    z-index: 2;
}

.scv2-role-card__content {
    width: min(100%, 570px);
}

.scv2-page .scv2-role-card .scv2-eyebrow {
    color: var(--theme-brand-strong) !important;
    -webkit-text-fill-color: var(--theme-brand-strong);
}

.scv2-page .scv2-role-card__content h2 {
    margin: 0;
    color: var(--theme-text-heading) !important;
    -webkit-text-fill-color: var(--theme-text-heading);
    font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.scv2-page .scv2-role-card p.scv2-role-card__lead {
    max-width: 545px;
    margin: 1.2rem 0 0;
    color: var(--theme-text-muted) !important;
    -webkit-text-fill-color: var(--theme-text-muted);
    font-size: 1.03rem;
    font-weight: 500;
    line-height: 1.7;
}

.scv2-role-card__list {
    display: grid;
    gap: .7rem;
    margin: 1.45rem 0 1.7rem;
    padding: 0;
    list-style: none;
}

.scv2-page .scv2-role-card__list li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--theme-text) !important;
    -webkit-text-fill-color: var(--theme-text);
    font-size: .96rem;
    font-weight: 500;
    line-height: 1.5;
}

.scv2-role-card__list li::before {
    position: absolute;
    top: .18rem;
    left: 0;
    display: grid;
    width: 1.1rem;
    height: 1.1rem;
    place-items: center;
    content: "✓";
    border-radius: 50%;
    color: var(--theme-text-strong);
    background: var(--theme-brand-soft);
    font-size: .7rem;
    font-weight: 900;
}

.scv2-role-card__highlights {
    display: grid;
    align-content: center;
    gap: .7rem;
    justify-self: end;
    width: min(100%, 210px);
}

.scv2-role-highlight {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .82rem .88rem;
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    background: var(--theme-surface);
    box-shadow: var(--shadow-page-card);
}

    .scv2-role-highlight > span {
        display: grid;
        width: 30px;
        height: 30px;
        place-items: center;
        border: 1px solid transparent;
        border-radius: 9px;
        font-size: 1rem;
    }

.scv2-role-card__highlights .scv2-role-highlight:nth-child(1) > span { color: var(--theme-icon-teal);   background: var(--theme-icon-teal-bg); }
.scv2-role-card__highlights .scv2-role-highlight:nth-child(2) > span { color: var(--theme-icon-green);  background: var(--theme-icon-green-bg); }
.scv2-role-card__highlights .scv2-role-highlight:nth-child(3) > span { color: var(--theme-icon-violet); background: var(--theme-icon-violet-bg); }

.scv2-page .scv2-role-highlight strong,
.scv2-page .scv2-role-highlight span:last-child {
    display: block;
    -webkit-text-fill-color: currentColor;
}

.scv2-page .scv2-role-highlight strong {
    color: var(--theme-text-heading) !important;
    font-size: .78rem;
    line-height: 1.15;
}

.scv2-page .scv2-role-highlight span:last-child {
    margin-top: .15rem;
    color: var(--theme-text-muted) !important;
    font-size: .7rem;
    line-height: 1.2;
}

/* ==========================================================================
   9. Application call-to-action
   ========================================================================== */

.scv2-apply {
    overflow: hidden;
    padding-top: clamp(3.6rem, 6vw, 5.25rem);
    padding-bottom: clamp(3.6rem, 6vw, 5.25rem);
    color: var(--theme-surface);
    background: linear-gradient(160deg, var(--theme-hero-bg) 0%, var(--theme-hero-bg-strong) 100%);
}

.scv2-apply__network {
    position: absolute;
    inset: 0;
    opacity: .2;
    pointer-events: none;
    background-image: radial-gradient(circle at 85% 52%, rgba(var(--theme-rgb-brand-soft), .5) 0 2px, transparent 3px), radial-gradient(circle at 91% 40%, rgba(var(--theme-rgb-brand-soft), .35) 0 2px, transparent 3px), radial-gradient(circle at 96% 62%, rgba(var(--theme-rgb-brand-soft), .35) 0 2px, transparent 3px);
}

.scv2-apply__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.65fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.scv2-page .scv2-apply .scv2-eyebrow {
    color: var(--theme-brand-soft) !important;
    -webkit-text-fill-color: var(--theme-brand-soft);
    font-size: .91rem;
}

.scv2-page .scv2-apply__intro h2 {
    margin: 0;
    color: var(--theme-text-inverse) !important;
    -webkit-text-fill-color: var(--theme-text-inverse);
    font-size: clamp(2.55rem, 3.7vw, 4rem);
    font-weight: 780;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.scv2-page .scv2-apply__intro > p:last-of-type {
    max-width: 440px;
    margin: 1rem 0 1.55rem;
    color: rgba(var(--theme-rgb-surface-soft), .90) !important;
    -webkit-text-fill-color: rgba(var(--theme-rgb-surface-soft), .90);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.7;
}

.scv2-apply__steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 1.15rem;
}

.scv2-apply__steps--two {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.scv2-apply-step {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 1.6rem;
    border: 1px solid rgba(var(--theme-rgb-surface), .18);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(var(--theme-rgb-surface), .16) 0%, rgba(var(--theme-rgb-surface), .05) 100%);
    box-shadow: 0 10px 24px rgba(var(--theme-rgb-static-dark), .14);
}

.scv2-apply-step__number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 1.15rem;
    border: 1px solid rgba(var(--theme-rgb-brand-soft), .70);
    border-radius: 50%;
    color: var(--theme-brand-soft);
    font-size: 1.08rem;
    font-weight: 800;
}

.scv2-page .scv2-apply-step h3 {
    margin: 0;
    color: var(--theme-text-inverse) !important;
    -webkit-text-fill-color: var(--theme-text-inverse);
    font-size: 1.15rem;
    font-weight: 760;
    line-height: 1.3;
}

.scv2-page .scv2-apply-step p {
    margin: .45rem 0 0;
    color: rgba(var(--theme-rgb-surface-soft), .86) !important;
    -webkit-text-fill-color: rgba(var(--theme-rgb-surface-soft), .86);
    font-size: .96rem;
    font-weight: 500;
    line-height: 1.6;
}

.scv2-apply__arrow {
    align-self: center;
    color: var(--theme-brand-soft);
    font-size: 2.15rem;
    font-weight: 400;
    text-shadow: 0 0 18px rgba(var(--theme-rgb-brand-soft), .35);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

body:has(.scv2-page) footer.footer {
    margin: 0 !important;
    padding: 1.1rem 0;
    border-top: 0 !important;
    color: rgba(var(--theme-rgb-surface-soft), .64) !important;
    background: var(--theme-hero-bg) !important;
    font-size: .88rem;
}

    body:has(.scv2-page) footer.footer a {
        color: var(--theme-brand-soft-alt);
    }

/* Keep the final dark application section and shared footer visually continuous. */
body:has(.scv2-page) main + footer.footer,
body.sc-site-public:has(.scv2-page) > .container + footer.footer {
    margin-top: 0 !important;
    border-top: 0 !important;
    background: var(--theme-hero-bg) !important;
}

/* ==========================================================================
   11. Responsive behavior
   ========================================================================== */

@media (max-width: 1199.98px) {
    .scv2-why__panel {
        grid-template-columns: 1fr;
    }

    .scv2-why__values {
        grid-template-columns: repeat(5, minmax(135px, 1fr));
        overflow-x: auto;
        padding-bottom: .35rem;
    }

    .scv2-role-card {
        min-height: 470px;
    }

    .scv2-role-card__media {
        width: 62%;
    }
}

@media (max-width: 991.98px) {
    .scv2-hero {
        min-height: 720px;
    }

    .scv2-hero__video {
        object-position: 65% center;
    }

    .scv2-hero__orb,
    .scv2-why__panel::before {
        animation: none;
    }

    .scv2-culture-card img {
        height: 210px;
    }

    .scv2-role-card {
        grid-template-columns: 1fr;
        padding-bottom: 2rem;
    }

    .scv2-role-card__media {
        width: 58%;
    }

    .scv2-role-card__highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-self: stretch;
        width: 100%;
        margin-top: 1.5rem;
    }

    .scv2-apply__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .scv2-shell {
        width: min(100%, 1240px);
    }

    .scv2-section {
        padding: 4rem 0;
    }

    .scv2-hero {
        min-height: 790px;
    }

    .scv2-hero__content {
        padding-top: 4.4rem;
    }

    .scv2-page .scv2-hero h1 {
        font-size: clamp(2.55rem, 12vw, 4.1rem);
    }

    .scv2-hero__video {
        object-position: 70% center;
        opacity: .52;
    }

    .scv2-hero__trust-bar {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .scv2-trust-item {
        border-right: 0;
        border-bottom: 1px solid rgba(var(--theme-rgb-brand-soft), .15);
    }

        .scv2-trust-item:last-child {
            border-bottom: 0;
        }

    .scv2-service-card {
        min-height: 220px;
    }

    .scv2-why__panel {
        padding: 1.65rem;
    }

    .scv2-why__values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .scv2-value {
        padding: 1rem;
        border-top: 1px solid var(--theme-border);
        border-left: 0;
    }

        .scv2-value:first-child,
        .scv2-value:nth-child(2) {
            border-top: 0;
        }

    .scv2-culture-card img {
        height: 220px;
    }

    .scv2-role-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 0;
    }

        .scv2-role-card::before {
            display: none;
        }

    .scv2-role-card__media {
        position: relative;
        width: 100%;
        height: 290px;
        order: 0;
    }

        .scv2-role-card__media::after {
            background: linear-gradient(0deg, rgba(var(--theme-rgb-surface), .95), rgba(var(--theme-rgb-surface), .20) 58%, transparent);
        }

        .scv2-role-card__media img {
            -webkit-mask-image: none;
            mask-image: none;
        }

    .scv2-role-card__content {
        width: 100%;
        padding: 0 1.5rem 1.5rem;
        margin-top: -2.5rem;
    }

    .scv2-role-card__highlights {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 1.5rem;
        margin-top: 0;
    }

    .scv2-role-highlight {
        background: var(--theme-surface);
    }

    .scv2-apply__steps,
    .scv2-apply__steps--two {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .scv2-apply__arrow {
        display: none;
    }

    .scv2-apply-step {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .scv2-action-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .scv2-button {
        width: 100%;
    }

    .scv2-why__values {
        grid-template-columns: 1fr;
    }

    .scv2-value,
    .scv2-value:first-child,
    .scv2-value:nth-child(2) {
        border-top: 1px solid var(--theme-border);
    }

        .scv2-value:first-child {
            border-top: 0;
        }
}

/* ==========================================================================
   12. Motion preferences and small ambient animation
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .scv2-page *,
    .scv2-page *::before,
    .scv2-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@keyframes scv2-float-one {
    from {
        transform: translate3d(0, 0, 0) scale(.96);
    }

    to {
        transform: translate3d(-24px, 14px, 0) scale(1.05);
    }
}

@keyframes scv2-float-two {
    from {
        transform: translate3d(0, 0, 0) scale(.95);
    }

    to {
        transform: translate3d(18px, -20px, 0) scale(1.05);
    }
}
