/* Projects page: views/projects/index.php and _pj-*.php; behaviour in assets/js/projects-page.js */

/* ---------- shared ---------- */
.pj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    border-radius: 15px;
    font-size: 14.5px;
    font-weight: 700;
    transition: transform .25s, background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.pj-btn-main {
    color: #fff;
    background: #EE5D38;
    box-shadow: 0 14px 30px -12px rgba(238, 93, 56, .75);
}
.pj-btn-main:hover {
    color: #fff;
    background: #FF6A43;
    transform: translateY(-2px);
}
.pj-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
}
.pj-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.pj-btn-line {
    border: 1px solid #DCE2EA;
    color: #110E2D;
    background: #fff;
}
.pj-btn-line:hover {
    border-color: #EE5D38;
    color: #EE5D38;
}
.pj-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.pj-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.pj-pill {
    padding: 3px 12px;
    border-radius: 999px;
    background: #FDEEEA;
    font-size: 12px;
    line-height: 1.8;
    color: #EE5D38;
}
.pj-year {
    padding: 3px 11px;
    border-radius: 999px;
    background: #F1F4F7;
    font-size: 12px;
    line-height: 1.8;
    color: rgba(17, 14, 45, .6);
}
.pj-sec-head {
    margin-bottom: 22px;
}
.pj-sec-head--center {
    text-align: center;
}
.pj-sec-title {
    font-size: 28px;
    line-height: 1.6;
    color: #110E2D;
}
.pj-sec-sub {
    margin-top: 2px;
    font-size: 14px;
    color: rgba(17, 14, 45, .5);
}

/* ---------- hero ---------- */
.pj-hero-wrap {
    margin-top: 40px;
}
.pj-layer {
    display: block;
    height: 20px;
    margin: 0 59px;
    border-radius: 30px 30px 0 0;
    background: #3A3466;
}
.pj-layer-2 {
    margin: 0 30px;
    background: #2B2652;
}
.pj-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 34px;
    overflow: hidden;
    padding: 40px 44px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(480px circle at 24% 40%, rgba(238, 93, 56, .2), transparent 70%),
        radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(150deg, #0E0B26, #1C1747 55%, #241E58);
    box-shadow: 0 34px 70px -34px rgba(17, 14, 45, .8);
}
[dir="ltr"] .pj-hero {
    background:
        radial-gradient(480px circle at 76% 40%, rgba(238, 93, 56, .2), transparent 70%),
        radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(210deg, #0E0B26, #1C1747 55%, #241E58);
}
.pj-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}
.pj-crumbs a {
    color: rgba(255, 255, 255, .7);
}
.pj-crumbs a:hover {
    color: #fff;
}
.pj-crumbs [aria-current] {
    color: #FF9A6B;
}
.pj-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: 13px;
}
.pj-tag-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #47DC94;
}
.pj-tag-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(71, 220, 148, .5);
    border-radius: 50%;
    animation: pjPing 2s ease-out infinite;
}
@keyframes pjPing {
    from { transform: scale(.5); opacity: 1; }
    to { transform: scale(1.5); opacity: 0; }
}
.pj-title {
    margin-top: 14px;
    font-size: 44px;
    line-height: 1.45;
}
.pj-title-a {
    display: block;
    font-size: .72em;
    color: rgba(255, 255, 255, .55);
}
.pj-title-b em {
    font-style: normal;
    color: #EE5D38;
}
.pj-desc {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 2.1;
    color: rgba(255, 255, 255, .62);
}
.pj-stats {
    display: flex;
    flex-wrap: wrap;
    row-gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.pj-stat {
    display: flex;
    flex-direction: column;
    padding: 0 22px;
    border-inline-start: 1px solid rgba(255, 255, 255, .1);
}
.pj-stat:first-child {
    padding-inline-start: 0;
    border: 0;
}
.pj-stat strong {
    font-size: 28px;
    line-height: 1.3;
}
.pj-stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}
.pj-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.pj-cats a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px 5px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    font-size: 13px;
    color: #fff;
    transition: background-color .25s, border-color .25s;
}
[dir="rtl"] .pj-cats a {
    padding: 5px 14px 5px 6px;
}
.pj-cats a:hover {
    border-color: #EE5D38;
    color: #fff;
    background: rgba(238, 93, 56, .18);
}
.pj-cats b {
    min-width: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

/* ---------- featured ---------- */
.pj-feat-wrap {
    margin-top: 34px;
}
.pj-feat {
    position: relative;
    padding: 28px 32px 34px;
    border-radius: 32px;
    background:
        linear-gradient(rgba(17, 14, 45, .035) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(17, 14, 45, .035) 1px, transparent 1px) 0 0 / 28px 28px,
        #fff;
    box-shadow: 0 24px 50px -36px rgba(17, 14, 45, .5);
}
.pj-feat-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.pj-feat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #110E2D;
    font-size: 14px;
    color: #fff;
}
.pj-feat-label svg {
    color: #FF9A6B;
}
.pj-feat-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: #F1F4F7;
}
.pj-feat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 240px;
    padding: 5px 14px 5px 6px;
    border-radius: 999px;
    font-size: 12.5px;
    color: rgba(17, 14, 45, .6);
    transition: background-color .3s, color .3s, box-shadow .3s;
}
[dir="rtl"] .pj-feat-tab {
    padding: 5px 6px 5px 14px;
}
.pj-feat-tab img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.pj-feat-tab span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pj-feat-tab.is-active {
    color: #110E2D;
    background: #fff;
    box-shadow: 0 8px 18px -12px rgba(17, 14, 45, .5);
}
.pj-feat-slide {
    display: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 44px;
    margin-top: 24px;
}
.pj-feat-slide.is-active {
    display: grid;
    animation: pjFade .6s ease;
}
@keyframes pjFade {
    from { opacity: 0; transform: translateY(12px); }
}
.pj-feat-visual {
    position: relative;
    perspective: 1400px;
}
.pj-feat-glow {
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(238, 93, 56, .35), rgba(123, 92, 255, .15) 60%, transparent);
    filter: blur(30px);
}
.pj-browser {
    --tilt: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid #E3E8EF;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 40px 70px -40px rgba(17, 14, 45, .65);
    transform: rotateX(calc(var(--tilt) * 16deg)) scale(calc(1 - var(--tilt) * .06));
    transform-origin: 50% 100%;
}
.pj-browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #EEF1F5;
    background: #F7F9FB;
}
.pj-browser-dots {
    display: flex;
    gap: 6px;
}
.pj-browser-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF6159;
}
.pj-browser-dots i:nth-child(2) { background: #FFBD2E; }
.pj-browser-dots i:nth-child(3) { background: #28C941; }
.pj-browser-url {
    flex: 1;
    overflow: hidden;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    font-family: Montserrat-Regular, sans-serif;
    font-size: 12px;
    color: rgba(17, 14, 45, .55);
    white-space: nowrap;
    text-align: center;
    text-overflow: ellipsis;
}
.pj-browser-screen {
    position: relative;
    height: 380px;
    overflow: hidden;
}
.pj-browser-screen img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    animation: pjScroll 22s ease-in-out infinite alternate;
}
.pj-browser:hover .pj-browser-screen img {
    animation-play-state: paused;
}
@keyframes pjScroll {
    0%, 8% { transform: translateY(0); }
    92%, 100% { transform: translateY(calc(-100% + 380px)); }
}
.pj-feat-card {
    position: absolute;
    bottom: -22px;
    inset-inline-start: -18px;
    z-index: 2;
    width: 104px;
    border: 4px solid #fff;
    border-radius: 18px;
    box-shadow: 0 22px 34px -18px rgba(17, 14, 45, .6);
    transform: rotate(-7deg);
}
.pj-feat-title {
    margin-top: 12px;
    font-size: 28px;
    line-height: 1.6;
    color: #110E2D;
}
.pj-feat-client {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13.5px;
    color: rgba(17, 14, 45, .55);
}
.pj-feat-client img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}
.pj-feat-client strong {
    color: #110E2D;
}
.pj-feat-text {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 2.1;
    color: rgba(17, 14, 45, .68);
}

/* ---------- gallery ---------- */
.pj-gal-wrap {
    margin-top: 56px;
    scroll-margin-top: 10px;
}
.pj-bar {
    position: sticky;
    top: 10px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid rgba(232, 237, 243, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 36px -28px rgba(17, 14, 45, .55);
}
.pj-tabs {
    display: flex;
    flex: 1;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.pj-tabs::-webkit-scrollbar {
    display: none;
}
.pj-tab {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 15px;
    font-size: 14px;
    color: rgba(17, 14, 45, .65);
    transition: background-color .25s, color .25s;
}
.pj-tab b {
    min-width: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #F1F4F7;
    font-size: 11.5px;
    line-height: 22px;
    text-align: center;
    transition: background-color .25s, color .25s;
}
.pj-tab:hover {
    color: #110E2D;
    background: #F1F4F7;
}
.pj-tab.is-active {
    color: #fff;
    background: #110E2D;
}
.pj-tab.is-active b {
    color: #fff;
    background: #EE5D38;
}
.pj-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 280px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #E8EDF3;
    border-radius: 15px;
    background: #fff;
    color: rgba(17, 14, 45, .4);
    transition: border-color .25s, box-shadow .25s;
}
.pj-search:focus-within {
    border-color: #EE5D38;
    box-shadow: 0 0 0 4px rgba(238, 93, 56, .12);
}
.pj-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 13.5px;
    color: #110E2D;
}

.pj-card-body {
    padding: 14px 8px 6px;
}
.pj-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pj-card-logo {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 16px -8px rgba(17, 14, 45, .5);
}
.pj-card-names {
    min-width: 0;
}
.pj-card-title {
    font-size: 15.5px;
    line-height: 1.7;
    color: #110E2D;
}
.pj-card-title a {
    color: inherit;
}
.pj-card-client {
    overflow: hidden;
    font-size: 12.5px;
    color: rgba(17, 14, 45, .5);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pj-card .pj-meta {
    margin-top: 12px;
}
.pj-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #E3E8EF;
}
.pj-card-go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #110E2D;
    transition: color .25s, gap .25s;
}
.pj-card-go:hover,
.pj-card:hover .pj-card-go {
    gap: 10px;
    color: #EE5D38;
}
.pj-card-site {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    max-width: 55%;
    font-family: Montserrat-Regular, sans-serif;
    font-size: 11.5px;
    color: rgba(17, 14, 45, .45);
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pj-card-site:hover {
    color: #EE5D38;
}
.pj-empty {
    padding: 50px 0;
    font-size: 15px;
    color: rgba(17, 14, 45, .5);
    text-align: center;
}
.pj-more-row {
    display: flex;
    justify-content: center;
}
.pj-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    margin-top: 6px;
    padding: 0 28px;
    border: 1px solid #DCE2EA;
    border-radius: 16px;
    background: #fff;
    font-size: 14.5px;
    font-weight: 700;
    color: #110E2D;
    transition: border-color .25s, color .25s, transform .25s;
}
.pj-more:hover {
    border-color: #EE5D38;
    color: #EE5D38;
    transform: translateY(-2px);
}
.pj-more[hidden] {
    display: none;
}

/* ---------- closing box ---------- */
.pj-cta-wrap {
    margin-top: 60px;
}
.pj-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    padding: 40px 44px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(420px circle at 85% 50%, rgba(238, 93, 56, .25), transparent 70%),
        radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(150deg, #0E0B26, #1C1747 55%, #241E58);
}
.pj-cta-title {
    font-size: 32px;
    line-height: 1.5;
}
.pj-cta-sub {
    margin-top: 8px;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, .65);
}
.pj-cta-fan {
    position: relative;
    width: 330px;
    height: 220px;
}
.pj-fan-card {
    position: absolute;
    top: 10px;
    inset-inline-start: calc(var(--k) * 70px);
    width: 132px;
    height: 170px;
    border: 3px solid #fff;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 22px 36px -18px rgba(0, 0, 0, .7);
    transform: rotate(calc((var(--k) - 1.5) * 6deg)) translateY(calc(var(--k) * 6px));
    transition: transform .4s;
}
.pj-cta:hover .pj-fan-card {
    transform: rotate(calc((var(--k) - 1.5) * 9deg)) translateY(calc(var(--k) * 4px - 6px));
}
.pj-fan-yours {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px dashed rgba(255, 154, 107, .8);
    background: rgba(238, 93, 56, .12);
    font-size: 13px;
    color: #fff;
    text-align: center;
}
.pj-fan-yours:hover {
    color: #fff;
}
.pj-fan-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EE5D38;
    animation: pjPulse 2.2s ease-in-out infinite;
}
@keyframes pjPulse {
    50% { box-shadow: 0 0 0 10px rgba(238, 93, 56, .2); }
}

/* ---------- entrance (only once the script runs) ---------- */
.pj-ready .pj-card {
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s, opacity .6s var(--d, 0s), translate .6s var(--d, 0s);
}
.pj-ready .pj-card:not(.is-in) {
    opacity: 0;
    translate: 0 26px;
}
.pj-ready .pj-tl-item .pj-tl-star {
    transition: opacity .6s, transform .6s;
}
.pj-ready .pj-tl-item:not(.is-in) .pj-tl-star {
    opacity: 0;
    transform: scale(.6);
}

/* ---------- tablet & phone ---------- */
@media (max-width: 1023px) {
    .pj-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 30px 26px;
    }
    .pj-feat-slide.is-active {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }
    .pj-cta {
        grid-template-columns: minmax(0, 1fr);
    }
    .pj-cta-fan {
        margin: 0 auto;
    }
}
@media (max-width: 639px) {
    .pj-hero-wrap {
        margin-top: 20px;
    }
    .pj-layer {
        height: 14px;
        margin: 0 30px;
    }
    .pj-layer-2 {
        margin: 0 15px;
    }
    .pj-hero {
        padding: 24px 18px;
        border-radius: 24px;
    }
    .pj-title {
        font-size: 28px;
    }
    .pj-stat {
        padding: 0 12px;
    }
    .pj-stat strong {
        font-size: 21px;
    }
    .pj-btn {
        flex: 1 1 auto;
    }
    .pj-feat {
        padding: 18px 14px 24px;
        border-radius: 24px;
    }
    .pj-feat-tabs {
        width: 100%;
    }
    .pj-feat-tab {
        flex: 1;
        min-width: 0;
    }
    .pj-browser-screen {
        height: 240px;
    }
    @keyframes pjScroll {
        0%, 8% { transform: translateY(0); }
        92%, 100% { transform: translateY(calc(-100% + 240px)); }
    }
    .pj-feat-card {
        width: 74px;
        inset-inline-start: -6px;
    }
    .pj-feat-title {
        font-size: 22px;
    }
    .pj-sec-title {
        font-size: 22px;
    }
    .pj-search {
        width: 100%;
    }
    .pj-cta {
        padding: 28px 20px;
        border-radius: 24px;
    }
    .pj-cta-title {
        font-size: 24px;
    }
    .pj-cta-fan {
        width: 280px;
        height: 200px;
    }
    .pj-fan-card {
        inset-inline-start: calc(var(--k) * 56px);
        width: 112px;
        height: 146px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pj-browser-screen img,
    .pj-stars,
    .pj-tl-comet,
    .pj-core-glow,
    .pj-fan-plus,
    .pj-tag-dot::after {
        animation: none;
    }
    .pj-ready .pj-card:not(.is-in),
    .pj-ready .pj-tl-item:not(.is-in) .pj-tl-star {
        opacity: 1;
        transform: none;
        translate: none;
    }
}

/* =====================================================================
   Dream pass: 3D ring of brand cards, aura cards, river of light, honeycomb
   ===================================================================== */

/* ---------- hero: 3D ring ---------- */
.pj-orbit {
    position: relative;
    height: 500px;
    margin: -20px 0;
    perspective: 1100px;
    perspective-origin: 50% 38%;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
.pj-orbit.is-dragging {
    cursor: grabbing;
}
.pj-stars,
.pj-stars::before,
.pj-stars::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.pj-stars {
    background:
        radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
        radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.4px 1.4px at 46% 12%, #fff, transparent),
        radial-gradient(1px 1px at 63% 88%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(1.3px 1.3px at 82% 30%, #fff, transparent),
        radial-gradient(1px 1px at 92% 66%, rgba(255, 255, 255, .8), transparent);
    animation: pjTwinkle 4s ease-in-out infinite;
    will-change: opacity;
}
.pj-stars::before {
    content: '';
    background:
        radial-gradient(1px 1px at 8% 52%, #fff, transparent),
        radial-gradient(1.4px 1.4px at 36% 40%, #FFD2C2, transparent),
        radial-gradient(1px 1px at 55% 58%, #fff, transparent),
        radial-gradient(1.2px 1.2px at 74% 8%, #CDBEFF, transparent),
        radial-gradient(1px 1px at 88% 92%, #fff, transparent);
    animation: pjTwinkle 5.5s ease-in-out infinite reverse;
}
.pj-stars::after {
    content: '';
    background:
        radial-gradient(1px 1px at 18% 90%, #fff, transparent),
        radial-gradient(1.2px 1.2px at 50% 32%, #fff, transparent),
        radial-gradient(1px 1px at 68% 44%, #FFD2C2, transparent),
        radial-gradient(1.3px 1.3px at 96% 14%, #fff, transparent);
    animation: pjTwinkle 3.2s ease-in-out 1s infinite;
}
@keyframes pjTwinkle {
    50% { opacity: .25; }
}
.pj-orbit-floor {
    position: absolute;
    bottom: 38px;
    left: 50%;
    width: 520px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(238, 93, 56, .38), rgba(155, 123, 255, .12) 60%, transparent);
    transform: translateX(-50%);
}
.pj-orbit-floor::after {
    content: '';
    position: absolute;
    inset: 22px 40px;
    border: 1px solid rgba(255, 154, 107, .35);
    border-radius: 50%;
}
.pj-ring {
    --r: 270px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(-17deg) rotateY(var(--a, 0deg));
}
.pj-ring-card {
    position: absolute;
    top: -67px;
    left: -52px;
    width: 104px;
    height: 134px;
    border-radius: 16px;
    transform: rotateY(calc(var(--k) * (360deg / var(--n)))) translateZ(var(--r));
    will-change: opacity;
}
.pj-ring-card img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8);
    pointer-events: none;
}
.pj-ring-card span {
    position: absolute;
    right: -20px;
    bottom: -38px;
    left: -20px;
    font-size: 11.5px;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity .4s;
}
.pj-ring-card.is-front span {
    opacity: .9;
}
.pj-ring-card.is-front img {
    outline: 2px solid rgba(255, 154, 107, .9);
    outline-offset: 3px;
}
.pj-core {
    position: absolute;
    top: -205px;
    left: -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 36% 30%, #FFE3D8, #FF8A5C 34%, #EE5D38 62%, #7A2A16);
    box-shadow: 0 0 50px rgba(238, 93, 56, .75), 0 0 120px rgba(155, 123, 255, .35), inset 0 -10px 24px rgba(0, 0, 0, .25);
}
.pj-core strong {
    position: relative;
    font-size: 40px;
    line-height: 1.1;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.pj-core > span:last-child {
    position: relative;
    font-size: 12.5px;
    opacity: .9;
}
.pj-core-glow {
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 154, 107, .45), transparent);
    animation: pjBreath 3.6s ease-in-out infinite;
}
@keyframes pjBreath {
    50% { transform: scale(1.18); opacity: .55; }
}

/* ---------- gallery cards (site's layered style, brand halo on hover) and the full preview ---------- */
.pj-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
    margin-top: 30px;
    columns: auto;
}
.pj-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-top: 16px;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .6s var(--d, 0s), translate .6s var(--d, 0s);
}
.pj-card.is-hidden {
    display: none;
}
/* the halo: the brand card, blurred, behind the card - painted only while hovered */
.pj-card::before {
    content: '';
    position: absolute;
    inset: 0 -14px -22px;
    z-index: -1;
    border-radius: 44px;
    background: var(--aura, none) center / cover, rgb(var(--tint));
    opacity: 0;
    transform: scale(.9);
    transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}
.pj-card:hover::before,
.pj-card:focus-within::before {
    filter: blur(46px) saturate(1.9);
    opacity: .95;
    transform: scale(1.06);
}
.pj-card:hover {
    transform: translateY(-8px);
}
/* the two strips over the card, as on every box of the site */
.pj-card-layers::before,
.pj-card-layers::after {
    content: '';
    position: absolute;
    right: 46px;
    left: 46px;
    height: 9px;
    border-radius: 14px 14px 0 0;
    background: #fff;
    box-shadow: 0 -6px 16px -10px rgba(17, 14, 45, .3);
    opacity: .55;
    transition: background-color .4s, opacity .4s;
}
.pj-card-layers::before {
    top: 0;
}
.pj-card-layers::after {
    top: 8px;
    right: 24px;
    left: 24px;
    opacity: .85;
}
.pj-card:hover .pj-card-layers::before,
.pj-card:hover .pj-card-layers::after {
    opacity: 1;
}
.pj-card-shell {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 40px -30px rgba(var(--tint), .7), 0 2px 0 rgba(17, 14, 45, .03);
    transition: box-shadow .4s, border-color .4s;
}
.pj-card:hover .pj-card-shell {
    border-color: rgba(var(--tint), .35);
    box-shadow: 0 34px 60px -30px rgba(var(--tint), .85);
}
.pj-card-media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #15113A;
    text-align: inherit;
    cursor: zoom-in;
}
.pj-frame-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    direction: ltr;
    background: #1A1545;
}
.pj-frame-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF6159;
}
.pj-frame-bar i:nth-child(2) { background: #FFBD2E; }
.pj-frame-bar i:nth-child(3) { background: #28C941; }
.pj-frame-bar em {
    flex: 1;
    overflow: hidden;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-family: Montserrat-Regular, sans-serif;
    font-size: 10.5px;
    font-style: normal;
    color: rgba(255, 255, 255, .55);
    white-space: nowrap;
    text-align: center;
    text-overflow: ellipsis;
}
.pj-frame-screen {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F1F4F7;
}
.pj-frame-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.pj-card:hover .pj-frame-screen img {
    transform: scale(1.06);
}
.pj-frame-screen::after {
    content: '';
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(14, 11, 38, .55));
    opacity: .6;
    transition: opacity .4s;
    pointer-events: none;
}
.pj-card:hover .pj-frame-screen::after {
    opacity: 1;
}
.pj-card-chips {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    display: flex;
    gap: 6px;
}
.pj-card-chips span {
    padding: 3px 11px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(17, 14, 45, .72);
    font-size: 11.5px;
    line-height: 1.8;
    color: #fff;
}
.pj-card-chips span:first-child {
    border-color: transparent;
    background: #EE5D38;
}
.pj-card-peek {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #110E2D;
    white-space: nowrap;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translate(-50%, 14px);
    transition: opacity .35s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
[dir="rtl"] .pj-card-peek {
    padding: 5px 5px 5px 16px;
}
.pj-card-peek-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    background: #EE5D38;
}
.pj-card:hover .pj-card-peek,
.pj-card-media:focus-visible .pj-card-peek {
    opacity: 1;
    transform: translate(-50%, 0);
}
.pj-card-media--app {
    border: 7px solid #15113A;
    border-radius: 26px;
}
.pj-card-media--app .pj-frame-bar {
    display: none;
}
.pj-card-media--app .pj-frame-screen {
    border-radius: 18px;
}
.pj-card-media--app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 74px;
    height: 16px;
    border-radius: 0 0 12px 12px;
    background: #15113A;
    transform: translateX(-50%);
}
.pj-card-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 10px 6px;
}
.pj-card-n {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    font-size: 44px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(var(--tint), .45);
    pointer-events: none;
    transition: -webkit-text-stroke-color .4s;
}
.pj-card:hover .pj-card-n {
    -webkit-text-stroke-color: rgba(var(--tint), .9);
}
.pj-card-body .pj-card-logo {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    margin-top: -30px;
    border: 4px solid #fff;
    border-radius: 18px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 12px 22px -12px rgba(var(--tint), .9);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.pj-card:hover .pj-card-logo {
    transform: translateY(-4px) rotate(-6deg);
}
.pj-card-body .pj-card-title {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.7;
    color: #110E2D;
}
.pj-card-body .pj-card-title a {
    color: inherit;
}
.pj-card-body .pj-card-client {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 12.5px;
    color: rgba(17, 14, 45, .5);
}
.pj-card-client svg {
    flex-shrink: 0;
    color: rgb(var(--tint));
}
.pj-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}
.pj-card-body + .pj-card-foot,
.pj-card-client + .pj-card-foot,
.pj-card-title + .pj-card-foot {
    margin-top: 18px;
}
.pj-card-foot .pj-card-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 14px;
    border-radius: 999px;
    background: #F3F5F8;
    font-size: 13px;
    font-weight: 700;
    color: #110E2D;
    transition: background-color .3s, color .3s;
}
[dir="rtl"] .pj-card-foot .pj-card-go {
    padding: 5px 14px 5px 5px;
}
.pj-card-go-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: #110E2D;
    transition: background-color .3s, transform .3s;
}
.pj-card:hover .pj-card-go {
    color: #fff;
    background: #110E2D;
}
.pj-card:hover .pj-card-go-ico {
    background: #EE5D38;
    transform: translateX(-3px);
}
[dir="ltr"] .pj-card:hover .pj-card-go-ico {
    transform: translateX(3px);
}

/* ---------- the full preview window ---------- */
.pj-qv {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pj-qv[hidden] {
    display: none;
}
.pj-qv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 5, 18, .82);
    animation: pjQvFade .3s ease;
}
.pj-qv-panel {
    --tint: 238, 93, 56;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 30px;
    width: min(1220px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    padding: 30px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(150deg, #0E0B26, #1C1747 55%, #241E58);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
    animation: pjQvIn .45s cubic-bezier(.2, .8, .2, 1);
}
@keyframes pjQvFade {
    from { opacity: 0; }
}
@keyframes pjQvIn {
    from { opacity: 0; transform: translateY(26px) scale(.97); }
}
.pj-qv-aura {
    position: absolute;
    top: -20%;
    left: -10%;
    z-index: -1;
    width: 70%;
    height: 140%;
    background: var(--aura, none) center / cover, rgb(var(--tint));
    filter: blur(80px) saturate(1.8);
    opacity: .45;
    transition: opacity .5s;
}
[dir="rtl"] .pj-qv-aura {
    right: -10%;
    left: auto;
}
.pj-qv-x {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transition: transform .25s, background-color .25s;
}
.pj-qv-x:hover {
    background: #EE5D38;
    transform: rotate(90deg);
}
.pj-qv-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding-inline-end: 22px;
}
.pj-qv-device {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: #15113A;
    box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(var(--tint), .7);
    transition: opacity .25s;
}
.pj-qv-device.is-swapping {
    opacity: .3;
}
.pj-qv-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 40px;
    padding: 0 14px;
    direction: ltr;
    background: #1A1545;
}
.pj-qv-dots {
    display: flex;
    gap: 6px;
}
.pj-qv-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF6159;
}
.pj-qv-dots i:nth-child(2) { background: #FFBD2E; }
.pj-qv-dots i:nth-child(3) { background: #28C941; }
.pj-qv-url {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 420px;
    margin: 0 auto;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-family: Montserrat-Regular, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
}
.pj-qv-url svg {
    color: #47DC94;
}
.pj-qv-url em {
    overflow: hidden;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pj-qv-screen {
    position: relative;
    height: min(66vh, 600px);
    overflow-y: auto;
    background: #F1F4F7;
    overscroll-behavior: contain;
    scrollbar-width: none;
}
.pj-qv-screen::-webkit-scrollbar {
    display: none;
}
.pj-qv-screen img {
    display: block;
    width: 100%;
    height: auto;
}
.pj-qv-device.is-app {
    width: min(100%, 360px);
    border: 10px solid #15113A;
    border-radius: 40px;
}
.pj-qv-device.is-app .pj-qv-toolbar {
    display: none;
}
.pj-qv-device.is-app .pj-qv-screen {
    border-radius: 30px;
}
.pj-qv-device.is-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 96px;
    height: 20px;
    border-radius: 0 0 14px 14px;
    background: #15113A;
    transform: translateX(-50%);
}
.pj-qv-rail {
    position: absolute;
    top: 46px;
    bottom: 70px;
    inset-inline-end: 0;
    width: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, .1);
}
.pj-qv-rail span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(#FF9A6B, #EE5D38);
    transform: scaleY(0);
    transform-origin: top;
}
.pj-qv-pad {
    width: 70%;
    height: 34px;
    margin-top: -14px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(var(--tint), .75), rgba(var(--tint), .12) 55%, transparent 72%);
}
.pj-qv-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .06);
    transition: background-color .25s, border-color .25s;
}
.pj-qv-play:hover {
    border-color: #EE5D38;
}
.pj-qv-play .pj-ico-play,
.pj-qv-play.is-on .pj-ico-pause {
    display: block;
}
.pj-qv-play .pj-ico-pause,
.pj-qv-play.is-on .pj-ico-play {
    display: none;
}
.pj-qv-loading {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 3px solid rgba(238, 93, 56, .2);
    border-top-color: #EE5D38;
    border-radius: 50%;
    animation: pjSpin .8s linear infinite;
}
.pj-qv-loading[hidden] {
    display: none;
}
@keyframes pjSpin {
    to { transform: rotate(1turn); }
}
.pj-qv-info {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 4px 2px;
    scrollbar-width: none;
}
.pj-qv-count {
    font-family: Montserrat-Bold, IranSansFaNum-Bold, sans-serif;
    font-size: 12px;
    letter-spacing: .12em;
    color: #FF9A6B;
}
.pj-qv-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}
.pj-qv-brand img {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border: 4px solid rgba(255, 255, 255, .95);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 30px -6px rgba(var(--tint), .9);
}
.pj-qv-brand img:not([src]) {
    display: none;
}
.pj-qv-title {
    font-size: 24px;
    line-height: 1.55;
    color: #fff;
}
.pj-qv-client {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}
.pj-qv-text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 2.05;
    color: rgba(255, 255, 255, .72);
}
.pj-qv-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0 0;
}
.pj-qv-facts div {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
}
.pj-qv-facts div[hidden] {
    display: none;
}
.pj-qv-facts dt {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
}
.pj-qv-facts dd {
    margin: 2px 0 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pj-qv-info .pj-actions {
    margin-top: 20px;
}
.pj-qv-info [data-pj-qv-site][hidden] {
    display: none;
}
.pj-qv-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}
.pj-qv-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    text-align: start;
    transition: border-color .25s, background-color .25s;
}
.pj-qv-step:hover {
    border-color: #EE5D38;
    background: rgba(238, 93, 56, .14);
}
.pj-qv-step img {
    flex-shrink: 0;
    width: 64px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
    object-position: top;
}
.pj-qv-step span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pj-qv-step small {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}
.pj-qv-step b {
    overflow: hidden;
    font-size: 12.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pj-qv-step--next {
    flex-direction: row-reverse;
    text-align: end;
}
html.pj-qv-open {
    overflow: hidden;
}
@media (max-width: 1023px) {
    .pj-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pj-qv {
        padding: 10px;
    }
    .pj-qv-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        padding: 18px 14px;
        border-radius: 24px;
    }
    .pj-qv-stage {
        padding-inline-end: 0;
    }
    .pj-qv-rail {
        display: none;
    }
    .pj-qv-screen {
        height: 52vh;
    }
    .pj-qv-info {
        overflow: visible;
    }
    .pj-qv-x {
        top: 8px;
        inset-inline-end: 8px;
    }
}
@media (max-width: 639px) {
    .pj-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .pj-qv-title {
        font-size: 19px;
    }
    .pj-qv-nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- timeline: river of light ---------- */
.pj-tl-wrap {
    margin-top: 60px;
}
.pj-tl-box {
    position: relative;
    overflow: hidden;
    padding: 30px 32px 26px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(620px 320px at 18% 0%, rgba(155, 123, 255, .24), transparent 70%),
        radial-gradient(520px 320px at 92% 100%, rgba(238, 93, 56, .22), transparent 70%),
        linear-gradient(160deg, #0B0920, #16123A 60%, #1F1950);
    box-shadow: 0 34px 70px -40px rgba(17, 14, 45, .9);
}
.pj-tl-box .pj-sec-title {
    color: #fff;
}
.pj-tl-box .pj-sec-sub {
    color: rgba(255, 255, 255, .55);
}
.pj-tl-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.pj-tl-nav {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}
.pj-tl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    transition: background-color .25s, border-color .25s, transform .2s;
}
.pj-tl-btn:hover {
    border-color: #EE5D38;
    background: #EE5D38;
}
.pj-tl-btn:active {
    transform: scale(.94);
}
.pj-tl {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    margin: 6px -32px 0;
    padding: 0 32px;
    cursor: grab;
    scrollbar-width: none;
}
/* soft edges painted over the strip (a mask on the scroller would repaint it on every frame) */
.pj-tl-fade {
    position: absolute;
    top: 90px;
    bottom: 40px;
    z-index: 2;
    width: 70px;
    pointer-events: none;
}
.pj-tl-fade-a {
    left: 0;
    background: linear-gradient(90deg, #110E2F, transparent);
}
.pj-tl-fade-b {
    right: 0;
    background: linear-gradient(270deg, #1A1545, transparent);
}
.pj-tl::-webkit-scrollbar {
    display: none;
}
.pj-tl.is-dragging {
    cursor: grabbing;
    user-select: none;
}
.pj-tl.is-dragging .pj-tl-star {
    pointer-events: none;
}
.pj-tl-track {
    position: relative;
    width: max-content;
    height: 430px;
}
.pj-tl-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.pj-tl-path-base {
    fill: none;
    stroke: rgba(255, 255, 255, .18);
    stroke-width: 2;
    stroke-dasharray: 2 9;
    stroke-linecap: round;
}
.pj-tl-path-glow {
    fill: none;
    stroke: url(#pjRiver);
    stroke-width: 14;
    stroke-linecap: round;
    opacity: .16;
}
.pj-tl-path-lit {
    fill: none;
    stroke: url(#pjRiver);
    stroke-width: 3;
    stroke-linecap: round;
}
.pj-tl-comet {
    fill: #fff;
    stroke: rgba(255, 154, 107, .45);
    stroke-width: 7;
}
.pj-tl-list {
    position: relative;
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0 30px;
    list-style: none;
}
.pj-tl-item {
    --y: 192px;
    position: relative;
    flex: 0 0 150px;
    height: 100%;
}
.pj-tl-item.is-down {
    --y: 280px;
}
.pj-tl-year {
    position: absolute;
    top: 8px;
    inset-inline-start: 50%;
    font-size: 44px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .28);
    white-space: nowrap;
    translate: 50% 0;
    pointer-events: none;
}
[dir="ltr"] .pj-tl-year {
    translate: -50% 0;
}
.pj-tl-year::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 22px;
    margin-top: 6px;
    background: linear-gradient(rgba(255, 255, 255, .3), transparent);
}
.pj-tl-star {
    position: absolute;
    inset: 0;
    z-index: 1;
    color: #fff;
}
.pj-tl-star:hover {
    color: #fff;
}
.pj-tl-orb {
    position: absolute;
    top: var(--y);
    left: 50%;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 0 18px rgba(155, 123, 255, .45);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .6s;
}
.pj-tl-orb img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.pj-tl-item.is-lit .pj-tl-orb {
    box-shadow: 0 0 0 6px rgba(238, 93, 56, .2), 0 0 26px rgba(238, 93, 56, .8);
}
.pj-tl-star:hover .pj-tl-orb {
    transform: scale(1.14);
}
.pj-tl-cap {
    position: absolute;
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 138px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    text-align: center;
    translate: -50% 0;
    transition: background-color .3s, border-color .3s;
}
.pj-tl-item.is-up .pj-tl-cap {
    bottom: calc(100% - var(--y) + 42px);
}
.pj-tl-item.is-down .pj-tl-cap {
    top: calc(var(--y) + 42px);
}
.pj-tl-star:hover .pj-tl-cap {
    border-color: rgba(238, 93, 56, .5);
    background: rgba(238, 93, 56, .16);
}
.pj-tl-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.7;
}
.pj-tl-cat {
    font-size: 11px;
    color: #FF9A6B;
}
.pj-tl-progress {
    position: relative;
    z-index: 1;
    height: 4px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
}
.pj-tl-progress span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #EE5D38, #FF9A6B);
    transform: scaleX(.04);
    transform-origin: left;
    transition: transform .15s;
}
[dir="rtl"] .pj-tl-progress span {
    transform-origin: right;
}

@media (max-width: 1023px) {
    .pj-orbit {
        order: -1;
        height: 380px;
        margin: -10px 0 0;
    }
    .pj-ring {
        --r: 220px;
    }
}
@media (max-width: 639px) {
    .pj-orbit {
        height: 290px;
    }
    .pj-orbit-floor {
        bottom: 24px;
        width: 300px;
        height: 90px;
    }
    .pj-ring {
        --r: 150px;
    }
    .pj-ring-card {
        top: -45px;
        left: -35px;
        width: 70px;
        height: 90px;
    }
    .pj-ring-card img {
        border-radius: 11px;
    }
    .pj-ring-card span {
        display: none;
    }
    .pj-core {
        top: -130px;
        left: -40px;
        width: 80px;
        height: 80px;
    }
    .pj-core strong {
        font-size: 28px;
    }
    .pj-core > span:last-child {
        font-size: 10.5px;
    }
    .pj-tl-box {
        padding: 22px 16px 18px;
        border-radius: 24px;
    }
    .pj-tl {
        margin: 6px -16px 0;
        padding: 0 16px;
    }
    .pj-tl-head {
        flex-direction: column;
        align-items: stretch;
    }
    .pj-tl-nav {
        display: none;
    }
    .pj-tl-item {
        flex-basis: 128px;
    }
    .pj-tl-cap {
        width: 122px;
    }
    .pj-tl-year {
        font-size: 36px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pj-stars,
    .pj-stars::before,
    .pj-stars::after,
    .pj-core-glow,
    .pj-gx-orbit,
    .pj-gx-body,
    .pj-gx-sun-glow,
    .pj-gx-shoot {
        animation: none;
    }
}

/* ---------- clients: a galaxy of brands ---------- */
.pj-cl-wrap {
    margin-top: 60px;
}
.pj-gx {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 20px;
    overflow: hidden;
    padding: 34px 40px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(560px 360px at 70% 50%, rgba(238, 93, 56, .2), transparent 70%),
        radial-gradient(520px 320px at 8% 0%, rgba(155, 123, 255, .22), transparent 70%),
        linear-gradient(160deg, #0B0920, #16123A 60%, #1F1950);
    box-shadow: 0 34px 70px -40px rgba(17, 14, 45, .9);
}
[dir="rtl"] .pj-gx {
    background:
        radial-gradient(560px 360px at 30% 50%, rgba(238, 93, 56, .2), transparent 70%),
        radial-gradient(520px 320px at 92% 0%, rgba(155, 123, 255, .22), transparent 70%),
        linear-gradient(200deg, #0B0920, #16123A 60%, #1F1950);
}
.pj-gx-copy {
    position: relative;
    z-index: 2;
}
.pj-gx .pj-sec-title {
    font-size: 32px;
    color: #fff;
}
.pj-gx .pj-sec-sub {
    color: rgba(255, 255, 255, .6);
}
.pj-gx-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.pj-gx-stats div {
    display: flex;
    flex-direction: column;
    min-width: 96px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
}
.pj-gx-stats strong {
    font-size: 26px;
    line-height: 1.3;
}
.pj-gx-stats span {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}
.pj-gx-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 22px;
    padding: 6px 16px;
    border: 1px dashed rgba(255, 154, 107, .45);
    border-radius: 999px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .7);
    transition: color .3s, border-color .3s, background-color .3s;
}
.pj-gx-name.is-on {
    border-style: solid;
    border-color: #EE5D38;
    color: #fff;
    background: rgba(238, 93, 56, .18);
}
.pj-gx-shoot {
    position: absolute;
    top: 14%;
    left: 60%;
    width: 140px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .9), transparent);
    opacity: 0;
    transform: rotate(-24deg);
    animation: pjShoot 7s ease-in 2s infinite;
    pointer-events: none;
}
.pj-gx-shoot-2 {
    top: 70%;
    left: 20%;
    animation-delay: 5.5s;
    animation-duration: 9s;
}
@keyframes pjShoot {
    0% { opacity: 0; transform: rotate(-24deg) translateX(0); }
    3% { opacity: 1; }
    12%, 100% { opacity: 0; transform: rotate(-24deg) translateX(-420px); }
}
.pj-gx-system {
    --s: 1;
    position: relative;
    height: 500px;
    perspective: 1400px;
}
.pj-gx-plane {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(62deg);
}
.pj-gx-sun {
    position: absolute;
    top: -62px;
    left: -62px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fff, #FFF1EB 55%, #FFD2C2);
    box-shadow: 0 0 40px rgba(238, 93, 56, .7), 0 0 110px rgba(238, 93, 56, .35);
    transform: rotateX(-62deg);
}
.pj-gx-sun img {
    position: relative;
    width: 74%;
    height: auto;
}
.pj-gx-sun-glow {
    position: absolute;
    inset: -46px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 154, 107, .5), rgba(238, 93, 56, .12) 60%, transparent);
    animation: pjBreath 4s ease-in-out infinite;
}
.pj-gx-orbit {
    position: absolute;
    top: calc(var(--ri) * var(--s) * -1px);
    left: calc(var(--ri) * var(--s) * -1px);
    width: calc(var(--ri) * var(--s) * 2px);
    height: calc(var(--ri) * var(--s) * 2px);
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    transform-style: preserve-3d;
    will-change: transform;
    animation: pjGxSpin var(--t) linear infinite var(--dir);
}
.pj-gx-orbit:nth-of-type(3) {
    border: 1px dashed rgba(255, 154, 107, .35);
}
@keyframes pjGxSpin {
    to { transform: rotate(360deg); }
}
.pj-gx-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotate(var(--ang)) translateX(calc(var(--ri) * var(--s) * 1px)) rotate(calc(var(--ang) * -1));
}
.pj-gx-body {
    position: absolute;
    top: -28px;
    left: -28px;
    width: 56px;
    height: 56px;
    transform-style: preserve-3d;
    animation: pjGxCounter var(--t) linear infinite var(--dir);
    will-change: transform;
}
@keyframes pjGxCounter {
    from { transform: rotateZ(0deg) rotateX(-62deg); }
    to { transform: rotateZ(-360deg) rotateX(-62deg); }
}
.pj-gx-face {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.pj-gx-face img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.pj-gx-planet:hover .pj-gx-face,
.pj-gx-planet:focus-visible .pj-gx-face {
    box-shadow: 0 0 0 5px #EE5D38;
    transform: scale(1.3);
}
.pj-gx-system:hover .pj-gx-orbit,
.pj-gx-system:hover .pj-gx-body,
.pj-gx-system:focus-within .pj-gx-orbit,
.pj-gx-system:focus-within .pj-gx-body {
    animation-play-state: paused;
}
@media (max-width: 1023px) {
    .pj-gx {
        grid-template-columns: minmax(0, 1fr);
        padding: 28px 24px;
    }
    .pj-gx-copy {
        text-align: center;
    }
    .pj-gx-stats {
        justify-content: center;
    }
}
@media (max-width: 639px) {
    .pj-gx {
        padding: 24px 16px;
        border-radius: 24px;
    }
    .pj-gx .pj-sec-title {
        font-size: 24px;
    }
    .pj-gx-stats div {
        min-width: 0;
        flex: 1;
        padding: 10px;
    }
    .pj-gx-stats strong {
        font-size: 20px;
    }
    .pj-gx-system {
        --s: .54;
        height: 300px;
    }
    .pj-gx-sun {
        top: -42px;
        left: -42px;
        width: 84px;
        height: 84px;
    }
    .pj-gx-body {
        top: -17px;
        left: -17px;
        width: 34px;
        height: 34px;
    }
    .pj-gx-face {
        padding: 3px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pj-gx-orbit,
    .pj-gx-sun-glow,
    .pj-gx-shoot {
        animation: none;
    }
    .pj-gx-body {
        animation: none;
        transform: rotateX(-62deg);
    }
}

/* sections stop their animations while they are off screen (projects-page.js) */
.pj-paused,
.pj-paused *,
.pj-paused *::before,
.pj-paused *::after {
    animation-play-state: paused !important;
}

/* the orbits are big boxes stacked over each other: only the planets take the pointer */
.pj-gx-plane,
.pj-gx-orbit,
.pj-gx-sun {
    pointer-events: none;
}
.pj-gx-planet,
.pj-gx-body,
.pj-gx-face {
    pointer-events: auto;
}
