:root {
    --launch-brand-color: #9C8311; /* PMS 112 C */
    --launch-brand-text: #1A1A1A;
    --launch-secondary-violet: #410099;
    --launch-secondary-red: #9C182F;
    --launch-secondary-blue: #1A428A;
}

.launch-header,
.launch-footer {
    background-color: var(--launch-brand-color) !important;
    color: var(--launch-brand-text) !important;
}

.launch-header .nav-link,
.launch-footer,
.launch-footer h4,
.launch-footer .mobile-text,
.launch-footer .text-black-50,
.launch-footer a {
    color: var(--launch-brand-text) !important;
}

.launch-footer hr {
    border-color: rgba(26, 26, 26, .28);
}

.launch-footer footer {
    background-color: rgba(0, 0, 0, .16) !important;
    color: var(--launch-brand-text) !important;
}

/* Branded Parent and Student destinations */
.launch-card-row {
    margin: 5rem 0 4rem !important;
}

.launch-card-link,
.launch-card-link:hover,
.launch-card-link:focus {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
}

.launch-card {
    position: relative;
    min-height: 360px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(21, 27, 34, .18);
    isolation: isolate;
    transition: transform .22s ease, box-shadow .22s ease;
}

.launch-card-link:hover .launch-card,
.launch-card-link:focus .launch-card {
    box-shadow: 0 24px 52px rgba(21, 27, 34, .27);
    transform: translateY(-6px);
}

.launch-card-student {
    --card-accent: #9C8311;
    background: #CF0A2C;
}

.launch-card-parent {
    --card-accent: var(--launch-secondary-blue);
    background: #001F5B;
}

.launch-card::before {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .16) 62%, rgba(0, 0, 0, .32) 100%);
    content: "";
}

.launch-card::after {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    height: 7px;
    background: var(--card-accent);
    content: "";
}

.launch-card-image {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    filter: grayscale(1) contrast(1.1);
}

.launch-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 360px;
    padding: 3rem;
    flex-direction: column;
    align-items: flex-start;
}

.launch-card-label {
    padding: .4rem .8rem;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #FFFFFF;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.launch-card h2 {
    margin: 1.35rem 0 .75rem;
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

.launch-card p {
    max-width: 30rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1.05rem;
    line-height: 1.65;
}

.launch-card-action {
    display: inline-flex;
    margin-top: auto;
    padding: .8rem 1.1rem;
    border-radius: 8px;
    background: #FFFFFF;
    color: #111111;
    font-weight: 700;
    gap: .65rem;
    align-items: center;
}

.launch-card-action .fa { color: var(--card-accent); }

@media (max-width: 767.98px) {
    .launch-card-row { margin: 4rem 0 2rem !important; }
    .launch-card,
    .launch-card-content { min-height: 320px; }
    .launch-card-content { padding: 2rem; }
}

.launch-skyline {
    position: relative;
    width: 100%;
    max-width: 1440px;
    aspect-ratio: 1440 / 331;
    margin: 1.5rem auto 0;
    background: transparent url("/lib/img/TomballSkylineGold.svg") center bottom / contain no-repeat;
}

.launch-skyline::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--launch-brand-color);
    content: "";
}
