/* ============================================
   PROJECTS ALL — Full Showcase Page
   ============================================ */

/* ----------------------------------------
   PROGRESS INDICATOR
   ---------------------------------------- */
.projects-progress {
    position: fixed;
    right: 3.5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.pp-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lxe-gold);
    opacity: 0.2;
    transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease;
    cursor: pointer;
}

.pp-dot.active {
    opacity: 1;
    height: 28px;
    border-radius: 3px;
}

/* ----------------------------------------
   HERO
   ---------------------------------------- */
.pall-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 12vw 12vh;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.pall-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%3E%3Cg%20fill='none'%20stroke='%23987B58'%3E%3Cpath%20d='M120%200H0V120'%20stroke-width='0.7'/%3E%3Cpath%20d='M30%200v120M60%200v120M90%200v120M0%2030h120M0%2060h120M0%2090h120'%20stroke-width='0.18'/%3E%3Cpath%20d='M55%2060h10M60%2055v10'%20stroke-width='0.6'/%3E%3Cpath%20d='M-5%200h10M0%20-5v10M115%200h10M120%20-5v10M-5%20120h10M0%20115v10M115%20120h10M120%20115v10'%20stroke-width='0.6'/%3E%3Ccircle%20cx='60'%20cy='60'%20r='1'%20fill='%23987B58'%20stroke='none'%20opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-repeat: repeat;
}

.pall-hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--lxe-gold);
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 3vh;
    position: relative;
    z-index: 1;
}

.pall-hero-title {
    font-size: clamp(4.5rem, 11vw, 13rem);
    line-height: 0.88;
    color: var(--lxe-gold);
    letter-spacing: -0.03em;
    font-weight: 300;
    margin-bottom: 5vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.pall-hero-title .line-wrap {
    overflow: hidden;
    display: block;
}

.pall-hero-title .line-inner {
    display: block;
    transform: translateY(110%);
}

.pall-hero-body {
    max-width: 50ch;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(24px);
    position: relative;
    z-index: 1;
}

.pall-hero-scroll {
    position: absolute;
    bottom: 8vh;
    right: 12vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    z-index: 1;
}

.pall-hero-scroll .hero-scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: var(--lxe-gold);
    position: relative;
    overflow: hidden;
}

.pall-hero-scroll .hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lxe-dark-gold);
    animation: scrollLineDown 1.8s ease-in-out infinite;
}

@keyframes scrollLineDown {
    0%   { top: -100%; }
    50%  { top: 0; }
    100% { top: 100%; }
}

.pall-hero-scroll p {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: var(--lxe-gold);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

/* ----------------------------------------
   PROJECT SECTIONS
   ---------------------------------------- */
.pall-project {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 12vh 0;
    border-bottom: 1px solid var(--glass-border);
}

.pall-project-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
    min-height: 78vh;
}

/* Ghost number */
.pall-ghost-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(16rem, 30vw, 36rem);
    font-weight: 700;
    color: var(--lxe-gold);
    opacity: 0.022;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.06em;
    user-select: none;
    will-change: transform;
}

/* ----------------------------------------
   TEXT COLUMN
   ---------------------------------------- */
.pall-col-text {
    padding: 0 7vw 0 11vw;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3.5vh;
}

.pall-reversed .pall-col-text {
    padding: 0 11vw 0 7vw;
}

.pall-meta {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pall-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.pall-tags span {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dark);
    opacity: 0.45;
    border: 1px solid rgba(26, 24, 20, 0.18);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
}

.pall-proj-title {
    font-size: clamp(3.2rem, 5.5vw, 7rem);
    color: var(--lxe-gold);
    line-height: 0.88;
    letter-spacing: -0.03em;
    font-weight: 300;
    overflow: hidden;
}

.pall-proj-title .t-line {
    display: block;
    transform: translateY(110%);
    will-change: transform;
}

.pall-prose {
    display: flex;
    flex-direction: column;
    gap: 1.4em;
}

.pall-prose p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(24px);
    max-width: 54ch;
}

/* Stats row */
.pall-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.pall-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(16px);
}

.pall-stat span {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lxe-gold);
    opacity: 0.65;
}

.pall-stat strong {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

/* CTA */
.pall-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    width: fit-content;
    opacity: 0;
    transform: translateY(14px);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.35s ease, gap 0.35s ease;
}

.pall-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--lxe-gold);
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pall-cta:hover {
    color: var(--lxe-gold);
    gap: 1.4rem;
}

.pall-cta:hover::after {
    transform: scaleX(1);
}

/* ----------------------------------------
   IMAGE COLUMN
   ---------------------------------------- */
.pall-col-image {
    position: relative;
    height: 78vh;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    transform: translateX(60px);
}

.pall-reversed .pall-col-image {
    transform: translateX(-60px);
}

.pall-img-wrap {
    position: absolute;
    inset: -12% 0;
    overflow: hidden;
}

.pall-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transform-origin: center;
    will-change: transform;
}

/* Image caption chip */
.pall-img-caption-chip {
    position: absolute;
    bottom: 4vh;
    right: 2.5vw;
    background: rgba(245, 239, 230, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(152, 123, 88, 0.25);
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
    max-width: 260px;
    opacity: 0;
    transform: translateY(12px);
}

.pall-reversed .pall-img-caption-chip {
    right: auto;
    left: 2.5vw;
}

.pall-img-caption-chip p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.7;
    font-style: italic;
}

/* Accent line left of section */
.pall-project::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--lxe-gold) 30%, var(--lxe-gold) 70%, transparent);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.pall-project.in-view::before {
    opacity: 0.25;
    transform: scaleY(1);
}

/* ----------------------------------------
   CLOSING CTA SECTION
   ---------------------------------------- */
.pall-closing {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 12vh 10vw;
    overflow: hidden;
}

.pall-closing::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20900%20640%22%20width=%22900%22%20height=%22640%22%3E%3Cg%20fill=%22none%22%20stroke=%22%23987B58%22%20stroke-linecap=%22round%22%3E%3Cpath%20stroke-width=%221.6%22%20d=%22M450%2040%20C620%2046%20780%20120%20812%20250%20C842%20372%20760%20520%20590%20570%20C430%20618%20220%20590%20130%20480%20C48%20380%2070%20220%20190%20130%20C280%2062%20360%2037%20450%2040%20Z%22/%3E%3Cpath%20stroke-width=%220.8%22%20d=%22M452%2078%20C598%2084%20736%20148%20764%20258%20C790%20362%20716%20486%20570%20530%20C428%20572%20246%20548%20168%20454%20C96%20366%20116%20232%20218%20156%20C296%2098%20372%2074%20452%2078%20Z%22/%3E%3Cpath%20stroke-width=%220.8%22%20d=%22M455%20116%20C580%20122%20692%20176%20716%20268%20C738%20354%20674%20454%20550%20490%20C424%20526%20272%20504%20206%20426%20C144%20352%20162%20244%20248%20182%20C314%20134%20380%20112%20455%20116%20Z%22/%3E%3Cpath%20stroke-width=%221.4%22%20d=%22M458%20156%20C562%20162%20648%20206%20668%20280%20C686%20348%20632%20424%20530%20452%20C424%20482%20300%20462%20246%20400%20C194%20340%20210%20256%20280%20208%20C334%20170%20390%20152%20458%20156%20Z%22/%3E%3Cpath%20stroke-width=%220.8%22%20d=%22M460%20196%20C544%20202%20606%20236%20622%20292%20C636%20344%20592%20396%20512%20418%20C424%20442%20328%20424%20286%20376%20C246%20330%20260%20268%20314%20232%20C358%20204%20404%20192%20460%20196%20Z%22/%3E%3Cpath%20stroke-width=%220.8%22%20d=%22M462%20238%20C524%20242%20566%20266%20578%20304%20C588%20340%20554%20374%20494%20388%20C426%20404%20358%20390%20328%20356%20C300%20322%20312%20280%20350%20256%20C382%20246%20416%20236%20462%20238%20Z%22/%3E%3Cpath%20stroke-width=%220.8%22%20d=%22M462%20278%20C504%20282%20528%20296%20536%20318%20C542%20340%20520%20358%20480%20366%20C434%20374%20392%20366%20374%20344%20C358%20324%20366%20300%20392%20288%20C412%20280%20434%20276%20462%20278%20Z%22/%3E%3Cpath%20stroke-width=%221.2%22%20d=%22M180%20120%20C250%2096%20330%20116%20352%20168%20C372%20216%20330%20268%20254%20278%20C182%20288%20112%20254%20104%20200%20C98%20156%20126%20138%20180%20120%20Z%22/%3E%3Cpath%20stroke-width=%220.7%22%20d=%22M196%20148%20C246%20130%20304%20144%20320%20180%20C334%20214%20302%20250%20246%20256%20C192%20262%20142%20238%20138%20200%20C134%20168%20156%20162%20196%20148%20Z%22/%3E%3Cpath%20stroke-width=%220.7%22%20d=%22M212%20176%20C244%20164%20280%20174%20290%20196%20C298%20216%20278%20238%20242%20240%20C208%20242%20178%20226%20176%20204%20C174%20188%20186%20186%20212%20176%20Z%22/%3E%3Cpath%20stroke-width=%221.2%22%20d=%22M700%20420%20C766%20406%20830%20432%20838%20482%20C846%20528%20796%20568%20726%20566%20C662%20564%20610%20528%20616%20480%20C620%20442%20650%20430%20700%20420%20Z%22/%3E%3Cpath%20stroke-width=%220.7%22%20d=%22M706%20448%20C752%20438%20796%20456%20802%20490%20C806%20520%20772%20546%20724%20544%20C680%20542%20646%20518%20650%20486%20C654%20460%20672%20454%20706%20448%20Z%22/%3E%3Cpath%20stroke-width=%220.7%22%20d=%22M712%20476%20C740%20470%20764%20482%20768%20500%20C770%20518%20750%20532%20722%20530%20C696%20528%20678%20514%20682%20496%20C684%20482%20692%20480%20712%20476%20Z%22/%3E%3Cpath%20stroke-width=%220.6%22%20opacity=%220.8%22%20d=%22M340%2096%20C300%2072%20240%2062%20190%2078%22%20stroke-dasharray=%222%206%22/%3E%3Cpath%20stroke-width=%220.6%22%20opacity=%220.8%22%20d=%22M636%20552%20C600%20578%20548%20592%20500%20588%22%20stroke-dasharray=%222%206%22/%3E%3Cg%20fill=%22%23987B58%22%20stroke=%22none%22%20opacity=%220.7%22%3E%3Ccircle%20cx=%22452%22%20cy=%22322%22%20r=%222.5%22/%3E%3Ccircle%20cx=%22232%22%20cy=%22204%22%20r=%222.2%22/%3E%3Ccircle%20cx=%22724%22%20cy=%22500%22%20r=%222.2%22/%3E%3C/g%3E%3Cg%20fill=%22%23987B58%22%20stroke=%22none%22%20font-family=%22Helvetica,%20Arial,%20sans-serif%22%20font-size=%2212%22%20letter-spacing=%222%22%20opacity=%220.6%22%3E%3Ctext%20x=%22462%22%20y=%22318%22%3E%2B128.40%3C/text%3E%3Ctext%20x=%22242%22%20y=%22200%22%3E%2B96.20%3C/text%3E%3Ctext%20x=%22734%22%20y=%22496%22%3E%2B84.60%3C/text%3E%3C/g%3E%3Cg%20fill=%22%23987B58%22%20stroke=%22none%22%20font-family=%22Helvetica,%20Arial,%20sans-serif%22%20font-size=%2210%22%20letter-spacing=%221.5%22%20opacity=%220.55%22%3E%3Ctext%20x=%22436%22%20y=%2246%22%3E120%3C/text%3E%3Ctext%20x=%22440%22%20y=%22160%22%3E115%3C/text%3E%3Ctext%20x=%22444%22%20y=%22242%22%3E110%3C/text%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

.pall-closing-inner {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
}

.pall-closing h2 {
    font-size: clamp(2.8rem, 5.5vw, 6rem);
    color: var(--lxe-gold);
    letter-spacing: -0.025em;
    margin: 2.5vh 0 6vh;
    line-height: 1.05;
    font-weight: 300;
}

.pall-closing-cta {
    display: inline-block;
    padding: 1.4rem 4.5rem;
    border: 1px solid var(--lxe-gold);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background 0.45s ease, color 0.45s ease, letter-spacing 0.45s ease, box-shadow 0.45s ease;
}

.pall-closing-cta:hover {
    background: var(--lxe-gold);
    color: #0A0A0A;
    letter-spacing: 0.35em;
    box-shadow: 0 12px 40px rgba(152, 123, 88, 0.25);
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 900px) {
    .pall-project-inner {
        grid-template-columns: 1fr;
    }

    .pall-col-image {
        height: 56vw;
        min-height: 300px;
        transform: translateY(40px) !important;
    }

    .pall-col-text {
        padding: 6vh 8vw;
    }

    .pall-reversed .pall-col-text {
        padding: 6vh 8vw;
    }

    .pall-reversed .pall-project-inner .pall-col-image {
        order: -1;
    }

    .pall-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-progress {
        display: none;
    }

    .pall-ghost-num {
        font-size: 45vw;
    }

    .pall-hero {
        padding: 0 8vw 10vh;
    }
}

@media (max-width: 600px) {
    .pall-hero-title {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .pall-proj-title {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }

    .pall-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .pall-img-caption-chip {
        display: none;
    }
}
