/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* AmSC single-page static mock (Genesis-family dark) */

/* ------------- Design tokens ------------- */
:root {
    /* Colors */
    --bg: #0a0a0a;
    --bg-2: #111111;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-2: rgba(255, 255, 255, 0.10);
    --border: rgba(255, 255, 255, 0.12);
    --text: rgba(255, 255, 255, 0.92);
    --text-2: rgba(255, 255, 255, 0.72);
    --text-3: rgba(255, 255, 255, 0.55);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
        --glass: rgba(255, 255, 255, .05);
            --glass2: rgba(255, 255, 255, .035);
            --stroke: rgba(255, 255, 255, .10);
            --stroke2: rgba(255, 255, 255, .08);
        
            --shadow: 0 16px 50px rgba(0, 0, 0, .55);
            --inset: inset 0 0 0 1px rgba(255, 255, 255, .03);

    /* Accent: toned-down red (rust) */
    --accent: #d37a66;
    --accent-2: rgba(211, 122, 102, 0.18);

    /* Typography */
    --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    /* Type scale */
    --body: 24px;
    --body-lh: 30px;

    --h1: 52px;
    --h1-lh: 58px;

    --h2: 32px;
    --h2-lh: 40px;

    --h3: 22px;
    --h3-lh: 30px;

    --eyebrow: 14px;
    --eyebrow-lh: 20px;

    --radius: 20px;
    --radius-sm: 12px;

    --container: 1120px;
    --gutter: 24px;

    /* -----------------------------------------
       Gradient link token (NEW)
       ----------------------------------------- */
    --amsc-link-grad: linear-gradient(90deg,
            rgba(211, 122, 102, 1) 0%,
            rgba(255, 120, 80, 1) 40%,
            rgba(8, 214, 229, 0.95) 100%);
}

@media (max-width: 900px) {
    :root {
        --h1: 40px;
        --h1-lh: 46px;
        --h2: 28px;
        --h2-lh: 36px;
    }
}

@media (max-width: 520px) {
    :root {
        --body: 17px;
        --body-lh: 28px;
        --h1: 34px;
        --h1-lh: 40px;
        --h2: 26px;
        --h2-lh: 34px;
    }
}

/* ------------- Base ------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--body);
    line-height: var(--body-lh);
    color: var(--text);
    background:
        radial-gradient(1000px 500px at 20% 0%, rgba(211, 122, 102, 0.10), transparent 60%),
        radial-gradient(900px 500px at 80% 10%, rgba(255, 255, 255, 0.07), transparent 55%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   Gradient text link utility (NEW)
   Usage: <a class="link-gradient" href="...">Text</a>
   ========================================= */
a.link-gradient {
    background-image: var(--amsc-link-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding-bottom: 1px;

    transition: opacity 180ms ease, border-color 180ms ease, filter 180ms ease;
}

a.link-gradient:hover {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.38);
    filter: drop-shadow(0 6px 16px rgba(8, 214, 229, 0.18)) drop-shadow(0 6px 18px rgba(211, 122, 102, 0.16));
}

/* Keep the focus state accessible even though the text is “transparent” */
a.link-gradient:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 3px;
    border-bottom-color: transparent;
    border-radius: 6px;
}

/* Fallback for browsers that don't support text clipping */
@supports not (-webkit-background-clip: text) {
    a.link-gradient {
        background: none;
        color: var(--accent);
        -webkit-text-fill-color: initial;
    }
}

/* Shared eyebrow */
.eyebrow {
    font-family: var(--font-mono);
    font-size: var(--eyebrow);
    line-height: var(--eyebrow-lh);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(18px);
    color: var(--text);
    font-weight: 600;
    line-height: 18px;
    font-size: 14px;
    transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
}

.btn.primary {
    border-color: rgba(211, 122, 102, 0.35);
    background: linear-gradient(180deg, rgba(211, 122, 102, 0.22), rgba(0, 0, 0, 0.12));
}

.btn.primary:hover {
    border-color: rgba(211, 122, 102, 0.50);
}

.btn .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(211, 122, 102, 0.14);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-2);
    font-size: 13px;
    line-height: 16px;
}

/* ------------- Header (if you ever use these classes) ------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}

/* ------------- Hero (if you ever use these classes) ------------- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/img/AbstractBackground.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) contrast(1.05);
    opacity: 0.33;
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 20% 10%, rgba(255, 255, 255, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.15), rgba(10, 10, 10, 0.86) 70%, rgba(10, 10, 10, 1));
}

.hero-inner {
    position: relative;
    padding: 96px 0 44px;
}

/* Headings */
h1 {
    margin: 10px 0 12px;
    font-size: var(--h1);
    line-height: var(--h1-lh);
    font-weight: 650;
    letter-spacing: -0.6px;
}

/* ------------- Sections (generic helpers) ------------- */
.section {
    padding: 70px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-header h2 {
    margin: 0;
    font-size: var(--h2);
    line-height: var(--h2-lh);
    font-weight: 650;
    letter-spacing: -0.3px;
}

.section-header p {
    margin: 0;
    max-width: 60ch;
    color: var(--text-2);
}

/* ------------- Kuba-style logo grid (WPBakery inner row) ------------- */
.wpb_row.inner_row.amsc-logos {
    padding: 0px;
    border-radius: 10px;
}

.wpb_row.inner_row.amsc-logos>.row_col_wrap_12_inner {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.35);
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;

    position: relative;
    overflow: hidden;
    min-height: 220px;

    display: grid;
    place-items: center;

    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-child(6n) {
    border-right: 0;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-last-child(-n+6) {
    border-bottom: 0;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column>.vc_column-inner {
    padding: 0 !important;
    width: 100%;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column .wpb_wrapper {
    width: 100%;
    display: grid;
    place-items: center;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column::before {
    content: "";
    position: absolute;
    inset: -2px;
    opacity: 0;
    transition: opacity 220ms ease;
    background:
        radial-gradient(220px 160px at 50% -11%,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.03) 45%,
            rgba(0, 0, 0, 0.0) 70%);
    pointer-events: none;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 220ms ease;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.wpb_row.inner_row.amsc-logos img.img-with-animation {
    width: clamp(100px, 16vw, 180px);
    height: auto;
    max-height: 120px;
    display: block;
    opacity: 0.55;
    filter: grayscale(100%) brightness(6.1);
    transform: translateY(0);
    transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column:hover::before,
.wpb_row.inner_row.amsc-logos .wpb_column.child_column:hover::after {
    opacity: 1;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column:hover img.img-with-animation {
    opacity: 0.95;
    filter: grayscale(20%) brightness(1.25);
    transform: translateY(0px);
}

.wpb_row.inner_row.amsc-logos .amsc-logo__caption {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    line-height: 16px;

    opacity: 0;
    transform: translateY(4px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.wpb_row.inner_row.amsc-logos .wpb_column.child_column:hover .amsc-logo__caption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 999px) {
    .wpb_row.inner_row.amsc-logos>.row_col_wrap_12_inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-child(6n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-child(3n) {
        border-right: 0;
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-last-child(-n+6) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-last-child(-n+3) {
        border-bottom: 0;
    }
}

@media (max-width: 690px) {
    .wpb_row.inner_row.amsc-logos>.row_col_wrap_12_inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-child(2n) {
        border-right: 0;
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wpb_row.inner_row.amsc-logos .wpb_column.child_column:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

#logo-1 {
    border-radius: 18px;
}

/* ===== Provide Section ===== */
.amsc-h2 {
    margin: 0;
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
}

.amsc-lede {
    margin-top: 12px;
    max-width: 72ch;
    font-size: 24px;
    line-height: 30px;
    color: rgba(255, 255, 255, .92);
}

/* Card (your Provide cards are WPBakery columns with class "amsc-card") */
.amsc-card__lights {
    background: radial-gradient(900px 500px at 20% 20%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)),
        radial-gradient(600px 380px at 80% 30%, rgba(122, 0, 223, .25), transparent 60%),
        radial-gradient(700px 420px at 45% 75%, rgba(8, 214, 229, .18), transparent 65%),
        linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .05)) !important;
}

.amsc-card {
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .45);
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.amsc-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}

.amsc-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .88);
}

.amsc-card__desc {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .55);
}

/* Step number token fix (was var(--mono)) */
.stepNum {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 12px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 6px 18px rgba(0, 0, 0, 0.4);

    margin-bottom: 10px;
}

/* -----------------------------
   Provide grid: FIXED PROPERLY
   -----------------------------
   Your markup has TWO inner rows with class .amsc-provide-grid.
   Each of those rows contains TWO columns (.vc_col-sm-6).
   Make the inner wrap a 2-col grid + real gap,
   and neutralize WPBakery row bleed and extra paddings.
*/
.wpb_row.inner_row.amsc-provide-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wpb_row.inner_row.amsc-provide-grid>.row_col_wrap_12_inner {
    margin-left: 0 !important;
    margin-right: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;

    width: 100%;
}

.wpb_row.inner_row.amsc-provide-grid>.row_col_wrap_12_inner>.wpb_column.child_column {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: block;
}

.wpb_row.inner_row.amsc-provide-grid .amsc-card>.vc_column-inner {
    padding: 0 30px !important;
    height: 100%;
}

.wpb_row.inner_row.amsc-provide-grid .amsc-card {
    height: 100%;
}

.wpb_row.inner_row.amsc-provide-grid .amsc-card>.vc_column-inner>.wpb_wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wpb_row.inner_row.amsc-provide-grid {
    margin-bottom: 22px;
}

.wpb_row.inner_row.amsc-provide-grid:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .wpb_row.inner_row.amsc-provide-grid>.row_col_wrap_12_inner {
        grid-template-columns: 1fr;
    }
}

/* Full-width 1px divider between sections */
.amsc-section-divider {
    position: relative;
    margin-bottom: 0 !important;
}

.amsc-section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* Full-width atmospheric section background */
.amsc-atmo {
    position: relative;
    z-index: 1;
}

.amsc-atmo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 520px;
    background:
        radial-gradient(1200px 600px at 70% 10%, rgba(122, 0, 223, .22), transparent 60%),
        radial-gradient(900px 500px at 85% 35%, rgba(8, 214, 229, .16), transparent 60%),
        linear-gradient(180deg, #040406 0%, #070709 30%, #0a0a0a 100%);
    pointer-events: none;
    z-index: -1;
}

/* Achieve panel (used on objectives section) */
.amsc-achieve__panel {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 12, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px;
}

.amsc-panel__title {
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.9;
    margin-bottom: 14px;
}

.amsc-outcomes {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: grid;
    gap: 14px;
}

.amsc-outcome {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 12px;
    align-items: start;
}

.amsc-outcome__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(8, 214, 229, 0.9);
    box-shadow: 0 0 0 4px rgba(8, 214, 229, 0.15);
    margin-top: 6px;
}

.amsc-outcome__text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.amsc-outcome__text span {
    display: block;
    opacity: 0.85;
    line-height: 1.45;
}

.amsc-chipRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.amsc-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    opacity: 0.95;
}

/* Achieve-specific atmosphere */
.amsc-atmo--achieve::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 520px;
    background:
        radial-gradient(1100px 520px at 65% 10%, rgba(122, 0, 223, .18), transparent 60%),
        radial-gradient(850px 480px at 85% 35%, rgba(8, 214, 229, .12), transparent 60%),
        linear-gradient(180deg, #040406 0%, #070709 30%, #06060a 100%);
    pointer-events: none;
    z-index: -1;
}

/* Partnerships Styles */
.card {
    position: relative;
    background: linear-gradient(180deg, var(--glass) 0%, rgba(255, 255, 255, .03) 100%);
    border: 1px solid var(--stroke2);
    border-radius: 18px;
    box-shadow: var(--shadow), var(--inset);
    overflow: hidden;

    display: flex;
    /* equal height */
    flex-direction: column;
    /* equal height */
    min-height: 240px;
}

/* soft inner glow edge */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 200px at 20% 10%, rgba(255, 255, 255, .08), transparent 55%),
        radial-gradient(500px 220px at 80% 0%, rgba(122, 0, 223, .10), transparent 60%);
    opacity: .55;
    pointer-events: none;
}

.cardInner {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.iconRow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.iconChip {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
    flex: 0 0 auto;
}

.card h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 17px;
}

.cardFooter {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.pill {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

a.cardLink {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: .9;
}

a.cardLink:hover {
    opacity: 1;
}

a.cardLink svg {
    width: 16px;
    height: 16px;
    opacity: .85;
}

.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
















.iconChip {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, .16),
            rgba(255, 255, 255, .03));
    display: grid;
    place-items: center;
    margin-right: 12px;
}

.amsc-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    color: rgba(255, 255, 255, .85);
}

/* ---------------------------------
   Equal Height Partnership Cards
   (Keeps 3-column layout)
---------------------------------- */

/* Put this class on the INNER ROW that contains the 3 partnership columns */
.wpb_row.inner_row.amsc-partnerships-row {
    display: block;
    /* ensure we don't override VC row behavior */
}

/* Make the inner wrapper a 3-col CSS grid (stable with VC/Salient) */
.wpb_row.inner_row.amsc-partnerships-row>.row_col_wrap_12_inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    /* kill VC "bleed" */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

/* Make columns behave like grid items */
.wpb_row.inner_row.amsc-partnerships-row>.row_col_wrap_12_inner>.wpb_column.child_column {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: block;
}

/* Make sure the VC inner wrapper doesn't add padding that breaks height */
.wpb_row.inner_row.amsc-partnerships-row .wpb_column.child_column>.vc_column-inner {
    height: 100%;
}

/* Force the card to fill the column height */
.wpb_row.inner_row.amsc-partnerships-row .card {
    height: 100%;
    display: flex;
}

/* Make inner content stretch so height is truly equal */
.wpb_row.inner_row.amsc-partnerships-row .cardInner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Optional: if you have a "read more" or footer element later, this helps pin it */
.wpb_row.inner_row.amsc-partnerships-row .cardInner .cardFooter {
    margin-top: auto;
}

/* Responsive: 1 column on mobile */
@media (max-width: 999px) {
    .wpb_row.inner_row.amsc-partnerships-row>.row_col_wrap_12_inner {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Glass "active section" nav highlight
   (Salient single-page scrolling menu)
   ========================================= */

/* Tune these if you want */
:root {
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-2: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --glass-accent: rgba(211, 122, 102, 0.35);
    /* matches --accent family */
}

/* --- Salient: active/current menu item targets --- */
body #header-outer #top nav>ul>li.current-menu-item>a,
body #header-outer #top nav>ul>li.current-menu-ancestor>a,
body #header-outer #top nav>ul>li.current_page_item>a,
body #header-outer #top nav>ul>li.current_page_ancestor>a,
body #header-outer #top nav>ul>li>a.active {
    position: relative;
    border-radius: 999px !important;

    /* glass */
    background: linear-gradient(180deg, var(--glass-bg-2), rgba(0, 0, 0, 0.08)) !important;
    border: 1px solid var(--glass-border) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);

    /* text */
    color: rgba(255, 255, 255, 0.92) !important;

    /* spacing – keeps pill from feeling cramped */
    padding-left: 14px !important;
    padding-right: 14px !important;

    box-shadow: var(--glass-shadow);
}

/* Subtle accent glow ring */
body #header-outer #top nav>ul>li.current-menu-item>a::after,
body #header-outer #top nav>ul>li.current-menu-ancestor>a::after,
body #header-outer #top nav>ul>li.current_page_item>a::after,
body #header-outer #top nav>ul>li.current_page_ancestor>a::after,
body #header-outer #top nav>ul>li>a.active::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    pointer-events: none;
    border-color: rgba(8, 214, 229, .40);
    /* 
        background: rgba(8, 214, 229, .22);
        box-shadow: 0 0 0 3px rgba(8, 214, 229, .12);
    */
    opacity: 0.9;
}

/* Keep hover consistent with the glass look */
body #header-outer #top nav>ul>li>a:hover {
    border-radius: 999px;
}

/* Optional: make non-active links slightly more “pill-y” on hover */
body #header-outer #top nav>ul>li:not(.current-menu-item):not(.current-menu-ancestor):not(.current_page_item):not(.current_page_ancestor)>a:hover {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Kill Salient default active underline highlight */
#top .sf-menu>li:not([class*="menu-item-btn"])>a .menu-title-text:before {
    display: none !important;
    content: none !important;
}

body.scrolled #header-outer {
    background: rgba(10, 10, 10, .75);
    backdrop-filter: blur(24px);
}

#header-outer #top nav>ul>li>a:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12),
        0 0 20px rgba(8, 214, 229, .12);
}
#header-outer #top nav>ul>li>a {
    opacity: 1;
    transition: opacity .2s ease;
}

#header-outer #top nav>ul>li.current-menu-item>a {
    opacity: 1;
}

/* =========================================
   Atmospheric Background – Bottom Left Rise
   WPBakery Full-Width Safe Version
   ========================================= */

/* Host positioning */
.wpb_row.amsc-atmo--rise {
    position: relative;
    z-index: 1;
}

/* Make sure the background wrapper can hold our overlay */
.wpb_row.amsc-atmo--rise>.row-bg-wrap {
    position: relative;
    overflow: visible;
    /* prevent accidental clipping */
}

/* Full-bleed gradient overlay (bottom-left -> top-right vibe) */
.wpb_row.amsc-atmo--rise>.row-bg-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    pointer-events: none;

    /* Put it above the row-bg but below content */
    z-index: 1;

    background:
        radial-gradient(1200px 700px at 10% 90%, rgba(122, 0, 223, .24), transparent 65%),
        radial-gradient(900px 520px at 35% 70%, rgba(8, 214, 229, .16), transparent 70%),
        linear-gradient(135deg, #040406 0%, #070709 40%, #0a0a0a 100%);
}

/* Ensure your column/content sits above the overlay */
.wpb_row.amsc-atmo--rise .row_col_wrap_12 {
    position: relative;
    z-index: 5;
}

/* Last resort: prevent Salient wrappers from clipping full-bleed overlays */
#ajax-content-wrap,
.container-wrap {
    overflow-x: visible;
}

/* Full-width atmospheric section background */
.amsc-atmo--rise {
    position: relative;
    z-index: 1;
}


.amsc-atmo--rise::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background:
            radial-gradient(1200px 700px at 10% 10%, rgba(122, 0, 223, .24), transparent 95%),
            radial-gradient(900px 520px at 15% 50%, rgba(8, 214, 229, .16), transparent 70%),
            linear-gradient(135deg, #040406 0%, #070709 40%, #0a0a0a 100%);
    pointer-events: none;
    z-index: -1;
}

/* =========================================================
   Support Section (Bottom-of-page) + Gravity Forms styling
   Scoped to #support so it won’t affect other forms.
========================================================= */

#support {
    scroll-margin-top: 120px;
    /* prevents sticky header overlap */
}

.amsc-support {
    max-width: 1100px;
    margin: 0 auto;
}

.amsc-support__header {
    margin-bottom: 16px;
}

.amsc-support__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
}

.amsc-support__lede {
    margin-top: 12px;
    max-width: 72ch;
    font-size: 18px;
    line-height: 26px;
    color: var(--text-2);
}

.amsc-support__card {
    padding: 20px;
}

/* ---- Gravity Forms: base layout ---- */

#support .gform_wrapper {
    margin: 0;
}

#support .gform_wrapper .gform_heading,
#support .gform_wrapper .gform_title,
#support .gform_wrapper .gform_description {
    display: none !important;
    /* since we handle heading above */
}

#support .gform_wrapper .gform_body {
    margin: 0;
}

#support .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

/* Make Subject + Message full width (common layout) */
#support .gform_wrapper .gfield--type-text,
#support .gform_wrapper .gfield--type-textarea,
#support .gform_wrapper .gfield--type-captcha {
    grid-column: 1 / -1;
}

/* Labels */
#support .gform_wrapper .gfield_label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

#support .gform_wrapper .gfield_required {
    color: var(--accent);
}

label.gform-field-label.gform-field-label--type-sub {
    color: var(--text);
    font-size: 14px;
}

/* Inputs */
#support .gform_wrapper input[type="text"],
#support .gform_wrapper input[type="email"],
#support .gform_wrapper input[type="tel"],
#support .gform_wrapper input[type="url"],
#support .gform_wrapper select,
#support .gform_wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--text);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 20px;
    box-shadow: var(--inset);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#support .gform_wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

#support .gform_wrapper input::placeholder,
#support .gform_wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

#support .gform_wrapper input:focus,
#support .gform_wrapper select:focus,
#support .gform_wrapper textarea:focus {
    outline: none;
    border-color: rgba(8, 214, 229, .1);
    box-shadow: 0 0 0 4px rgba(8, 214, 229, .08);
    background: rgba(255, 255, 255, 0.055);
}

/* Help + errors */
#support .gform_wrapper .gfield_description {
    color: var(--text-3);
    font-size: 13px;
    margin-top: 6px;
}

#support .gform_wrapper .validation_message,
#support .gform_wrapper .gfield_validation_message {
    margin-top: 8px;
    font-size: 13px;
    color: #ffd6cc;
}

#support .gform_wrapper .validation_error {
    border-radius: 14px;
    border: 1px solid rgba(211, 122, 102, 0.45);
    background: rgba(211, 122, 102, 0.12);
    color: var(--text);
    padding: 12px 14px;
    margin: 0 0 14px 0;
}

/* Submit button (CTA) */
#support .gform_wrapper .gform_footer {
    margin-top: 16px;
    padding-top: 10px;
}

#support .gform_wrapper .gform_footer input[type="submit"],
#support .gform_wrapper .gform_footer button,
#support .gform_wrapper .gform_page_footer input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(8, 214, 229, .1);
    background: linear-gradient(180deg, rgba(8, 214, 229, .3), rgba(0, 0, 0, 0.02));
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}

#support .gform_wrapper .gform_footer input[type="submit"]:hover,
#support .gform_wrapper .gform_footer button:hover {
    border-color: rgba(8, 214, 229, .4);
    background: linear-gradient(180deg, rgba(8, 214, 229, .3), rgba(0, 0, 0, 0.0));
    box-shadow: 0 0 0 6px rgba(8, 214, 229, .08);
}

/* Mobile: stack fields */
@media (max-width: 1024px) {
    #support .gform_wrapper .gform_fields {
        grid-template-columns: 1fr;
    }
}

/* Anchor offset so section headings don't hide under sticky header */
:root {
    --anchor-offset: 120px;
    /* adjust if needed */
}

@media (max-width: 1024px) {
    :root {
        --anchor-offset: 90px;
    }
}

/* If your sections have IDs like #about, #resources, #support, etc */
.vc_row[id],
.wpb_row[id],
section[id],
div[id] {
    scroll-margin-top: var(--anchor-offset);
}