.md-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.md-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.3s;
}

.ripple:hover::after {
    opacity: 1;
}

.gold-bar {
    display: block;
    width: 48px;
    height: 4px;
    background: #5d428c;
    border-radius: 2px;
}

.hero-overlay {
    background:
        linear-gradient(105deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.56) 38%,
            rgba(0, 0, 0, 0.28) 65%,
            rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.12) 36%, transparent 56%);
}

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.js .fly-up {
    opacity: 0;
    transform: translateY(52px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fly-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fly-up[data-delay="1"] {
    transition-delay: 0.14s;
}

.fly-up[data-delay="2"] {
    transition-delay: 0.28s;
}

.fly-up[data-delay="3"] {
    transition-delay: 0.44s;
}

.fly-up[data-delay="4"] {
    transition-delay: 0.56s;
}

.fly-up[data-delay="5"] {
    transition-delay: 0.68s;
}

.fly-up[data-delay="6"] {
    transition-delay: 0.8s;
}

/* Tabs */
.tab-btn.active {
    color: #fff;
    background: #FF5900;
    box-shadow: 0 8px 20px rgba(255, 89, 0, 0.28);
}

.tab-logo-wrap {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 89, 0, 0.08);
    border: 1px solid rgba(255, 89, 0, 0.12);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.tab-logo {
    max-width: 2.05rem;
    max-height: 2.05rem;
    object-fit: contain;
    display: block;
}

.tab-btn:hover .tab-logo-wrap {
    transform: scale(1.04);
    background: rgba(255, 89, 0, 0.12);
}

.tab-btn.active .tab-logo-wrap {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.86);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tabs-shell {
    position: relative;
}

.tabs-shell::before,
.tabs-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: .5rem;
    z-index: 5;
    width: 4.5rem;
    pointer-events: none;
}

.tabs-shell::before {
    left: 0;
    background: linear-gradient(90deg, #f9fafb 32%, rgba(249, 250, 251, 0));
}

.tabs-shell::after {
    right: 0;
    background: linear-gradient(270deg, #f9fafb 32%, rgba(249, 250, 251, 0));
}

.tabs-arrow {
    position: absolute;
    top: calc(50% - .25rem);
    z-index: 10;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF5900;
    background: #fff;
    border: 1px solid rgba(255, 89, 0, 0.18);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
    transform: translateY(-50%);
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.tabs-arrow:hover:not(:disabled) {
    color: #fff;
    background: #FF5900;
    border-color: #FF5900;
    box-shadow: 0 16px 34px rgba(255, 89, 0, 0.28);
}

.tabs-arrow:disabled {
    opacity: .34;
    cursor: default;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.tabs-arrow-left {
    left: 0;
}

.tabs-arrow-right {
    right: 0;
}

.prog-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.prog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.sos-gallery {
    grid-auto-flow: dense;
}

.sos-photo {
    min-height: 260px;
    isolation: isolate;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1);
}

.sos-photo img {
    transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}

.sos-photo:hover,
.sos-photo:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(17, 24, 39, .18);
}

.sos-photo:hover img,
.sos-photo:focus-within img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.sos-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .08) 38%, rgba(0, 0, 0, .72) 100%),
        linear-gradient(135deg, rgba(255, 89, 0, .18), transparent 42%);
    pointer-events: none;
}

.sos-photo:focus-within {
    outline: 3px solid rgba(255, 89, 0, .42);
    outline-offset: 4px;
}

.sos-kicker {
    color: #5D428C;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 1px 2px rgba(17, 24, 39, .08);
    backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
    .sos-photo {
        min-height: 330px;
    }
}

/* Tab nav scroll */
.tabs-scroll {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 640px) {

    .tabs-shell::before,
    .tabs-shell::after {
        width: 3.5rem;
    }

    .tabs-arrow {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Zilla Slab", serif;
    font-weight: 900;
    flex-shrink: 0;
}
