/* POCO — amarillo y negro: panel en diagonal con las series F, X y C, rayas de velocidad y título que entra de golpe */

.cv--poco {
    --cv-bg: #ffe100;
    --cv-ink: #111111;
    --cv-muted: #3d3400;
    --cv-accent: #111111;
    --cv-font-display: 'Archivo Black', system-ui, sans-serif;
    --cv-font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
    --cv-font-kicker: 'Archivo Black', system-ui, sans-serif;
    --cv-font-cta: 'Archivo Black', system-ui, sans-serif;
    --cv-cta-bg: #111;
    --cv-cta-ink: #ffe100;
    --cv-cta-radius: 0;
    --cv-cta-case: uppercase;
    --cv-cta-tracking: 0.06em;
    --cv-cta-shadow-hover: 6px 6px 0 rgba(0, 0, 0, 0.25);
    background: #ffe100;
}

/* —— Fondo —— */
.cv-pc-ghost {
    left: -2vw;
    bottom: -6vh;
    font-family: 'Archivo Black', sans-serif;
    font-size: 34vh;
    line-height: 0.8;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.07);
    translate: calc(var(--p) * -12vw) 0;
}

/* —— Panel —— */
.cv--poco .cv__art-in {
    width: 100%;
    justify-items: end;
    padding-right: clamp(0px, 2vw, 30px);
}

.cv-pc-panel {
    position: relative;
    display: grid;
    align-content: center;
    gap: clamp(8px, 1.6vh, 16px);
    width: min(38vw, 560px);
    height: min(62vh, 540px);
    padding: clamp(20px, 3vw, 44px) clamp(28px, 4vw, 64px);
    overflow: hidden;
    background: #111;
    transform: skewX(-10deg);
    translate: calc(var(--p) * 22vw) 0;
    box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.12);
    animation: cv-pc-panel 0.9s var(--cv-ease) 0.1s both;
}

@keyframes cv-pc-panel {
    from {
        transform: skewX(-10deg) translateX(110%);
    }
}

.cv-pc-streaks {
    position: absolute;
    inset: 0;
}

.cv-pc-streaks i {
    position: absolute;
    left: 0;
    top: calc(8% + var(--i) * 13%);
    width: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffe100);
    opacity: 0.55;
    animation: cv-pc-streak calc(0.9s + var(--i) * 0.13s) linear infinite;
    animation-delay: calc(var(--i) * -0.31s);
}

.cv-pc-streaks i:nth-child(odd) { width: 26%; }
.cv-pc-streaks i:nth-child(3n) { width: 12%; height: 3px; }

@keyframes cv-pc-streak {
    from { transform: translateX(400%); }
    to { transform: translateX(-120%); }
}

.cv-pc-tile {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 18px;
    transform: skewX(10deg);
    animation: cv-pc-tile 0.8s var(--cv-spring) both;
    animation-delay: calc(0.55s + var(--i) * 0.14s);
}

@keyframes cv-pc-tile {
    from {
        opacity: 0;
        transform: skewX(10deg) translateX(60%);
    }
}

.cv-pc-tile b {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(3.4rem, 11vh, 7rem);
    font-weight: 400;
    line-height: 0.95;
    color: #ffe100;
}

.cv-pc-tile em {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-style: normal;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}

.cv-pc-chev {
    position: absolute;
    right: 10%;
    bottom: 8%;
    display: flex;
    gap: 4px;
    transform: skewX(10deg);
}

.cv-pc-chev i {
    width: 18px;
    height: 26px;
    background: #ffe100;
    clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
    animation: cv-pc-chev 1.2s steps(1, end) infinite;
}

.cv-pc-chev i:nth-child(2) { animation-delay: 0.2s; }
.cv-pc-chev i:nth-child(3) { animation-delay: 0.4s; }

@keyframes cv-pc-chev {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* —— Texto —— */
.cv--poco .cv__kicker {
    font-size: clamp(0.72rem, 0.9vw, 0.86rem);
    font-weight: 400;
    letter-spacing: 0.24em;
    color: var(--cv-ink);
}

.cv--poco .cv__title {
    font-size: clamp(4.6rem, min(11.5vw, 22vh), 10.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.86;
}

.cv--poco .cv-ch {
    animation: cv-pc-slam 0.7s var(--cv-spring) both;
    animation-delay: calc((var(--d) + var(--i) * var(--step)) * 1ms);
}

@keyframes cv-pc-slam {
    from {
        opacity: 0;
        transform: translate3d(-0.5em, 0, 0) skewX(-24deg);
    }
}

.cv--poco .cv__lead {
    max-width: 22ch;
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    font-weight: 400;
    line-height: 1.22;
}

.cv--poco .cv__meta {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    color: var(--cv-ink);
    opacity: 0.75;
}

.cv--poco .cv__cta {
    font-weight: 400;
}

.cv--poco .cv__stats strong {
    color: #000;
}

@media (max-width: 900px) {
    .cv--poco .cv__art-in {
        justify-items: center;
    }

    .cv-pc-panel {
        width: min(86vw, 380px);
        height: auto;
        grid-auto-flow: column;
        justify-content: space-around;
        padding: 14px 24px;
    }

    .cv-pc-tile {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .cv-pc-tile b {
        font-size: 2.8rem;
    }

    .cv-pc-tile em {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .cv-pc-chev {
        display: none;
    }

    .cv-pc-ghost {
        font-size: 22vh;
    }

    .cv--poco .cv__title {
        font-size: clamp(4.2rem, 26vw, 6.4rem);
    }
}
