.project-detail-body {
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: 'General Sans', sans-serif;
    min-height: 100vh;
}

.move-left-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.project-back-nav:hover {
    color: #ff6421;
}

.project-detail-main {
    max-width: 1520px;
    margin: 0 auto;
    padding: 30px 35px 0;
    width: 100%;
}

.project-redesign-container {
    display: grid;
    grid-template-columns: 295px 1fr;
    gap: 35px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.project-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 24px;
    align-self: start;
}

.project-back-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    width: fit-content;
}

.project-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.45);
}

.breadcrumb-item {
    color: rgb(255, 255, 255);
    font-weight: 500;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.project-sidebar-title {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 500;
    line-height: 1.15;
    color: #ffffff;
    margin: 2px 0 0;
}

.project-sidebar-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.project-sidebar-cta {
    margin-top: 2px;
    margin-bottom: 2px;
}

.project-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0a0a0a;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.project-visit-btn:hover {
    background: #ff6421;
    color: #ffffff;
    box-shadow: none;
}

.project-sidebar-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-group {
    display: grid;
    grid-template-columns: 85px 1fr;
    align-items: baseline;
    gap: 12px;
}

.meta-group:has(.meta-pills) {
    align-items: start;
}

.meta-group:has(.meta-pills) .meta-label {
    padding-top: 5px;
}

.meta-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.meta-value {
    font-size: 16px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    line-height: 1.4;
}

.meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.meta-pill-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.project-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.project-gallery-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.project-gallery-img-wrapper {
    width: 100%;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.project-gallery-card:hover .project-gallery-img-wrapper {
    border-color: rgba(255, 255, 255, 0.25);
}

.project-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    user-select: none;
}

.image-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(8, 8, 8, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.image-zoom-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.image-zoom-floating {
    position: fixed;
    z-index: 9999;
    object-fit: contain;
    cursor: default;
    pointer-events: auto;
    transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: top, left, width, height;
}

.next-case-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 10px;
    position: relative;
}

.next-case-eyebrow {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: rgb(255, 255, 255);
    margin-bottom: 12px;
}

.next-case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.next-case-title {
    font-size: clamp(48px, 6vw, 92px);
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 24px;
    transition: opacity 0.45s ease;
    will-change: opacity;
    pointer-events: none;
}

.next-case-card:has(.next-case-preview-window:hover) .next-case-title {
    opacity: 0.15;
}

.next-case-pocket {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 135px;
    margin: 0 auto;
}

.next-case-preview-window {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 135px;
    border-radius: 0;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: height;
    display: block;
    cursor: pointer;
    text-decoration: none;
    z-index: 5;
}

.next-case-preview-window:hover {
    height: 220px;
}

.next-case-preview-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
}

.next-case-cursor-badge,
.gallery-cursor-badge {
    position: fixed;
    top: 0;
    left: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #ff6421;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1000;
}

.next-case-cursor-badge.visible,
.gallery-cursor-badge.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.next-case-cursor-text,
.gallery-cursor-text {
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    will-change: transform;
    pointer-events: none;
}

.next-case-divider {
    width: 100%;
    max-width: 1250px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 35px;
}

.next-case-bottom-nav {
    margin-top: 0;
}

.next-case-all-work-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 100px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'General Sans', sans-serif;
    font-size: 17.5px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: border-color 0.35s ease;
    z-index: 1;
}

.next-case-all-work-btn .radial-hover-overlay {
    position: absolute;
    inset: 0;
    background-color: #ff6421;
    border-radius: 100px;
    clip-path: circle(0% at var(--clip-x, 50%) var(--clip-y, 50%));
    -webkit-clip-path: circle(0% at var(--clip-x, 50%) var(--clip-y, 50%));
    transition: clip-path 1s cubic-bezier(0.25, 1, 0.5, 1), -webkit-clip-path 1s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: 0;
}

.next-case-all-work-btn.is-hovered .radial-hover-overlay {
    clip-path: circle(160% at var(--clip-x, 50%) var(--clip-y, 50%));
    -webkit-clip-path: circle(160% at var(--clip-x, 50%) var(--clip-y, 50%));
}

.next-case-all-work-btn:hover {
    border-color: #ff6421;
}

.next-case-all-work-btn .next-case-all-work-btn-inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
}

.next-case-all-work-btn sup {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    vertical-align: super;
    line-height: 1;
    transform: translateY(-4px);
    display: inline-block;
    margin-left: 3px;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .project-redesign-container {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .project-sidebar-column {
        position: static !important;
        top: auto !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .project-detail-main {
        padding: 20px 20px 0;
    }

    .project-back-nav {
        font-size: 16px;
    }

    .project-redesign-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .project-sidebar-column {
        position: static !important;
        top: auto !important;
        width: 100%;
    }

    .project-gallery-column {
        width: 100%;
        gap: 10px;
    }

    .project-gallery-img-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .project-gallery-img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .next-case-title {
        font-size: clamp(44px, 11vw, 58px);
        margin-bottom: 16px;
        opacity: 1 !important;
        pointer-events: none;
    }

    .next-case-eyebrow {
        font-size: 16.5px;
        letter-spacing: -0.2px;
    }

    .next-case-pocket {
        position: relative;
        height: 180px;
        width: 100%;
        max-width: 100%;
    }

    .next-case-preview-window {
        position: relative;
        height: 180px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .next-case-preview-window:hover {
        height: 180px;
    }

    .next-case-preview-img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        object-position: top center;
    }

    .next-case-cursor-badge {
        display: none !important;
    }
}
