.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--cc-header-h) + 80px) 0 clamp(60px, 8vw, 110px);
    background-color: #0d0611;
    overflow: hidden;
    isolation: isolate;
}

.home-hero > .cc-container {
    position: relative;
    z-index: 4;
}

.home-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    z-index: 1;
}

.home-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 18% 30%, rgba(13, 6, 17, 0.1), rgba(13, 6, 17, 0.86) 70%),
        linear-gradient(180deg, rgba(13, 6, 17, 0.5), rgba(13, 6, 17, 0.2) 45%, #0d0611 100%);
}

.home-hero-copy {
    max-width: 800px;
}

.hero-flag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(246, 240, 234, 0.18);
    background-color: rgba(246, 240, 234, 0.06);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cc-text-dark-muted);
    margin-bottom: 32px;
    opacity: 0;
    animation: hero-fade 0.9s ease forwards 0.15s;
}

.hero-flag em {
    display: inline-flex;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cc-gradient);
    box-shadow: 0 0 0 5px rgba(237, 86, 39, 0.18);
}

.hero-title {
    font-size: clamp(2.1rem, 3.9vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 28px;
    max-width: 20ch;
}

.hero-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.hero-word > span {
    display: inline-block;
    transform: translateY(110%);
    animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.2s + var(--w, 0) * 70ms);
}

.hero-word.is-accent > span {
    background: var(--cc-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero-copy p {
    max-width: 600px;
    font-size: 1rem;
    opacity: 0;
    animation: hero-fade 1s ease forwards 0.85s;
}

.hero-actions {
    margin-top: 42px;
    opacity: 0;
    animation: hero-fade 1s ease forwards 1s;
}

.home-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: hero-fade 1.2s ease forwards 0.6s;
}

.hero-stack {
    position: relative;
    width: min(400px, 78vw);
    height: min(400px, 78vw);
}

.hero-stack span {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.hero-stack span:nth-child(1) {
    width: 100%;
    height: 58%;
    border: 30px solid rgba(237, 86, 39, 0.34);
    animation: hero-spin 30s linear infinite;
}

.hero-stack span:nth-child(2) {
    width: 68%;
    height: 100%;
    border: 22px solid rgba(162, 4, 90, 0.42);
    animation: hero-spin 42s linear infinite reverse;
}

.hero-stack span:nth-child(3) {
    width: 44%;
    height: 26%;
    background: var(--cc-gradient);
    box-shadow: 0 0 70px rgba(206, 52, 60, 0.75);
    animation: hero-pulse 6s ease-in-out infinite;
}

.hero-stack span:nth-child(4) {
    width: 14px;
    height: 14px;
    top: 12%;
    left: 24%;
    background-color: var(--cc-cream);
    box-shadow: 0 0 22px rgba(246, 240, 234, 0.8);
    animation: hero-float 8s ease-in-out infinite;
}

.hero-stack span:nth-child(5) {
    width: 10px;
    height: 10px;
    top: 84%;
    left: 76%;
    background-color: var(--cc-orange);
    box-shadow: 0 0 22px rgba(237, 86, 39, 0.9);
    animation: hero-float 10s ease-in-out infinite reverse;
}

@keyframes hero-rise {
    to {
        transform: translateY(0);
    }
}

@keyframes hero-fade {
    to {
        opacity: 1;
    }
}

@keyframes hero-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes hero-pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.16);
    }
}

@keyframes hero-float {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 26px));
    }
}

.expertise-head {
    margin-bottom: clamp(38px, 5vw, 62px);
}

.panel-rail {
    display: flex;
    gap: 14px;
}

.panel-item {
    position: relative;
    flex: 0 0 auto;
    width: 84px;
    min-width: 0;
    height: 380px;
    border-radius: 26px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.75s cubic-bezier(0.86, 0, 0.07, 1);
}

.panel-item:nth-child(1) {
    background: linear-gradient(160deg, #ed5627, #c02f3c);
}

.panel-item:nth-child(2) {
    background: linear-gradient(160deg, #ce343c, #8c0a53);
}

.panel-item:nth-child(3) {
    background: linear-gradient(160deg, #a2045a, #55063f);
}

.panel-item:nth-child(4) {
    background: linear-gradient(160deg, #6b0f47, #3a1230);
}

.panel-item:nth-child(5) {
    background: linear-gradient(160deg, #f6f0ea, #e3d2c4);
}

.panel-item.is-active {
    width: calc(100% - 392px);
}

.panel-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    opacity: 1;
    transition: opacity 0.3s ease 0.2s;
}

.panel-face span {
    writing-mode: vertical-rl;
    transform: rotate(180deg) translateY(0);
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
    font-family: var(--cc-display);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}

.panel-item.is-active .panel-face {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.panel-item.is-active .panel-face span {
    transform: rotate(180deg) translateY(40px);
}

/* .panel-item:not(.is-active):hover .panel-face span {
    transform: rotate(180deg) translateY(-8px);
} */

.panel-item:nth-child(5) .panel-face span,
.panel-item:nth-child(5) .panel-body h3,
.panel-item:nth-child(5) .panel-body p,
.panel-item:nth-child(5) .panel-body .link-arrow span,
.panel-item:nth-child(5) .panel-body .link-arrow i {
    color: var(--cc-text-light);
}

.panel-item:nth-child(5) .panel-icon {
    background-color: rgba(21, 10, 25, 0.1);
    color: var(--cc-text-light);
}

.panel-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    min-width: 460px;
    padding: 36px 38px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

.panel-item.is-active .panel-body {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease 0.2s;
}

.panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-height: 80px;
    flex: 0 0 auto;
    border-radius: 12px;
    margin-bottom: auto;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 32px;
}

.panel-body h3,
.panel-body p,
.panel-body .link-arrow,
.panel-icon {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.panel-item.is-active .panel-icon {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.panel-body,
.panel-item.is-active .panel-body {
    padding: 56px;
}

.panel-item.is-active .panel-body h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
}

.panel-item.is-active .panel-body p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.39s;
}

.panel-item.is-active .panel-body .link-arrow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.46s;
}

.panel-body h3 {
    color: #fff;
    margin: 24px 0 12px;
    font-size: clamp(1.3rem, 1.9vw, 1.6rem);
}

.panel-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 100%;
}

.panel-body .link-arrow {
    margin-top: 18px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.65;
}

.panel-body .link-arrow span,
.panel-body .link-arrow i {
    background: none;
    color: #fff;
}

.trust-media {
    position: relative;
    padding-left: 26px;
}

.trust-media .media-frame {
    width: 100%;
    border-radius: 28px;
}

.trust-media-badge {
    position: absolute;
    left: 0;
    top: 40px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--cc-gradient);
    box-shadow: 0 24px 44px -22px rgba(162, 4, 90, 0.9);
}

.trust-copy h2 {
    margin-bottom: 26px;
}

.pledge-list {
    margin-top: 38px;
}

.pledge-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(21, 10, 25, 0.14);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cc-text-light);
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.pledge-chip i {
    font-size: 0.72rem;
    color: var(--cc-orange);
    transition: color 0.35s ease;
}

.pledge-chip:hover {
    background: var(--cc-gradient);
    border-color: transparent;
    color: #fff;
}

.pledge-chip:hover i {
    color: #fff;
}

.support-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.support-media .media-frame {
    width: 88%;
    border-radius: 28px;
}

.support-media-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 108%;
    height: 76%;
    transform: translate(-50%, -50%) rotate(-14deg);
    border: 1px solid rgba(246, 240, 234, 0.22);
    border-radius: 999px;
}

@media (max-width: 1199.98px) {
    .panel-rail {
        flex-wrap: wrap;
    }

    .panel-item,
    .panel-item.is-active {
        width: 100%;
        height: auto;
    }

    .panel-body {
        min-width: 0;
    }

    .panel-face {
        display: none;
    }

    .panel-body,
    .panel-item.is-active .panel-body {
        opacity: 1;
        visibility: visible;
        min-width: 0;
        padding: 32px 28px;
    }

    .panel-body h3,
    .panel-body p,
    .panel-body .link-arrow,
    .panel-icon {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }

    .home-hero-visual {
        margin-top: 26px;
    }

    .home-hero {
        min-height: auto;
        padding-top: calc(var(--cc-header-h) + 60px);
    }

    .home-hero-visual {
        flex: 1 1 100%;
    }

    .trust-media .media-frame {
        width: 100%;
    }

        .support-media .media-frame {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .trust-media {
        padding-bottom: 46px;
    }

    .trust-media-badge {
        width: 64px;
        height: 64px;
    }
}