.section-white .container {
    padding-block: 8rem 5rem;
}

.text-description {
    display: flex;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
    padding: 0rem 0rem 3rem;
}

.text-description .text-title {
    flex: 0 0 25rem;
    margin-bottom: 0;
}

.text-description p {
    flex: 0 0 27rem;
    margin-bottom: 0;
}

.ecosystem-explorer-section .container {
    padding-block: 8rem 5rem;
}

.explorer-body {
    display: grid;
    grid-template-columns: minmax(11rem, 16rem) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.rail {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 6rem;
}

.rail-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 0.2rem;
    background: transparent;
    font-family: "Geist Mono", monospace;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: rgba(0, 36, 31, 0.45);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 36, 31, 0.18);
    transition: color 0.3s ease;
}

.rail-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: var(--primary);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rail-link .material-symbols-rounded {
    margin-left: auto;
    font-size: 1.15rem;
    color: rgba(0, 36, 31, 0.35);
    transition: color 0.3s ease, transform 0.3s ease;
}

.rail-link:hover {
    color: var(--secondary);
}

.rail-link:hover::after {
    width: 35%;
}

.rail-link:hover .material-symbols-rounded {
    color: var(--primary);
    transform: translateX(3px);
}

.rail-link.is-active {
    color: var(--primary);
}

.rail-link.is-active::after {
    width: 100%;
    height: 2px;
}

.rail-link.is-active .material-symbols-rounded {
    color: var(--primary);
    transform: translateX(3px);
}

.panels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: minmax(0, 1fr);
    background: var(--secondary);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: 28rem;
    scroll-margin-top: 6.5rem;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.panel.is-hovered {
    border-color: var(--primary-soft);
}

.panel-copy {
    min-width: 0;
    overflow-wrap: anywhere;
    position: relative;
    z-index: 2;
    margin: 1.5rem 0 1.5rem 1.5rem;
    margin-right: -2.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: calc(var(--border-radius-sm) - 0.3rem);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.25);
    color: var(--block-text);
    overflow: hidden;
    min-height: 0;
}

.panel-copy::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 60%);
    transform: rotate(8deg);
    pointer-events: none;
}

.panel-copy .num {
    color: var(--accent);
    font-family: "Geist Mono", monospace;
    font-weight: 700;
}

.panel-copy h3 {
    font-size: 2rem;
    margin: 0.6rem 0 0.8rem;
    color: var(--block-text);
}

.panel-copy>p {
    color: var(--block-text-link);
    font-size: 0.98rem;
    margin-bottom: 0;
}

.panel-copy ul {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
}

.panel-copy ul li {
    position: relative;
    padding: 0.4rem 0 0.4rem 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--block-text);
    border-top: 1px solid rgba(230, 230, 230, 0.14);
}

.panel-copy ul li::before {
    font-family: 'Material Symbols Rounded';
    content: "check_circle";
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--accent);
}

.panel-img {
    position: relative;
    z-index: 1;
    padding: 1rem;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.panel-img img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    border-radius: calc(var(--border-radius-sm) - 0.3rem);
}

@supports not (backdrop-filter: blur(1px)) {
    .panel-copy {
        background: rgba(0, 36, 31, 0.85);
    }
}

@media (max-width: 991.98px) {
    .explorer-body {
        grid-template-columns: 1fr;
    }

    .rail {
        flex-direction: row;
        overflow-x: auto;
        top: 4.5rem;
        z-index: 10;
        padding: 0.5rem 0;
        background: var(--bg);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rail::-webkit-scrollbar {
        display: none;
    }

    .rail-link {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .rail-link .material-symbols-rounded {
        display: none;
    }

    .panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        min-height: auto;
        scroll-margin-top: 9rem;
    }

    .panel-img {
        order: -1;
        padding: 1rem 1rem 0;
        min-height: 14rem;
    }

    .panel-img img {
        height: 14rem;
    }

    .panel-copy {
        margin: -2.5rem 1rem 1rem;
        padding: 1.8rem 1.5rem;
    }

    .panel-copy h3 {
        font-size: 1.5rem;
    }
}

.section-gray {
    padding: 0rem 0rem 6rem;
}

.text-description-2 {
    display: flex;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
    padding: 0rem 0rem 3rem;
}

.text-description-2 .text-title {
    flex: 0 0 15rem;
    margin-bottom: 0;
}

.text-description-2-copy {
    display: grid;
    flex: 0 1 38rem;
    gap: 1rem;
    min-width: 0;
}

.text-description-2-copy p {
    margin-bottom: 0;
}

.mural-duo {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.mural-duo-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3rem;
}

.mural-duo-logo img {
    max-width: 12rem;
    height: auto;
}

.mural-duo-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 50%;
    min-width: 0;
}

.mural-duo-media {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: var(--mural-duo-height, 35rem);
    flex: 0 0 var(--mural-duo-height, 35rem);
    min-height: 0;
}

.mural-duo-media img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.mural-duo-item-first {
    --mural-duo-height: 18rem;
}

.mural-duo-item-second {
    --mural-duo-height: 35rem;
}

@media (max-width: 62rem) {
    .mural-duo {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .mural-text {
        gap: 2rem;
        padding: 1rem 1rem 3rem 2rem;
    }

    .mural-text h1 {
        font-size: 2.25rem;
        flex: 0 1 auto;
    }

    .mural-text p {
        flex: 1 1 auto;
    }

    .mural-duo-item-first {
        --mural-duo-height: 11rem;
    }

    .mural-duo-item-second {
        --mural-duo-height: 26rem;
    }
}

@media (max-width: 48rem) {
    .text-description-2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .text-description-2-copy {
        width: 100%;
        flex-basis: auto;
    }

    .text-description-2 .text-title {
        flex-basis: auto;
    }

    .mural-duo {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        margin-top: 2rem;
    }

    .mural-duo-item {
        flex: 1 1 auto;
        width: 100%;
        gap: 1rem;
    }

    .mural-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0 0 0.5rem 0;
    }

    .mural-text h1 {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        white-space: normal;
        flex: 0 0 auto;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .mural-text p {
        flex: 0 0 auto;
        font-size: 1rem;
    }

    .mural-duo-media {
        height: auto;
        flex-basis: auto;
        aspect-ratio: 16 / 10;
    }

    .mural-duo-item-first .mural-duo-media {
        aspect-ratio: 16 / 9;
    }

    .mural-duo-item-second .mural-duo-media {
        aspect-ratio: 4 / 5;
    }
}


@media (max-width: 25rem) {
    .mural-duo {
        gap: 1.5rem;
    }

    .mural-duo-item-second .mural-duo-media {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 991.98px) {
    .explorer-body,
    .panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .rail,
    .panels {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .ecosystem-explorer-section .container {
        padding-block: 6rem 2.5rem;
    }

    .text-description {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    .text-description .text-title,
    .text-description p {
        flex: 0 1 auto;
        width: 100%;
    }

    .text-description .text-title,
    .text-description-2 .text-title {
        font-size: clamp(1.6rem, 6vw, 2.25rem);
        overflow-wrap: anywhere;
    }

    .panel-copy {
        padding: 1.5rem 1rem;
    }

    .panel-copy ul {
        margin-top: 1rem;
        text-align: left;
    }

    .section-gray {
        padding-bottom: 2.5rem;
    }

    .text-description-2 {
        padding-bottom: 1.5rem;
    }

    .mural-duo {
        margin-top: 0;
        gap: 1.5rem;
    }

    .mural-duo-logo {
        padding-bottom: 0.5rem;
    }
}
