/* ── PROJECT PAGE STYLES ── */
@import url('../styles/main.css');
@import url('../styles/additions.css');

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--grey-light);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    transition: color var(--transition-fast);
}

.page-back:hover {
    color: var(--white);
}

.page-back svg {
    transition: transform var(--transition-fast);
}

.page-back:hover svg {
    transform: translateX(-4px);
}

.page-hero {
    padding: 140px 0 80px;
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-category-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey-mid);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-category-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--grey-mid);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0;
}

.page-desc {
    font-size: 1rem;
    color: var(--grey-light);
    line-height: 1.8;
    max-width: 440px;
    flex-shrink: 0;
}

.videos-section {
    padding: 80px 0 120px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-meta {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.video-client {
    font-size: 12px;
    color: var(--grey-mid);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── REELS & SHORTS SPECIFIC ── */
.vertical-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
}

.vertical-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.reels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}

.reels-grid .video-card {
    border-radius: 16px;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .page-hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .reels-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}