﻿/* =========================================
   MOTION — Page-scoped styles
   /work/motion/
========================================= */

/* =========================================
   PAGE HERO
========================================= */
.motion-hero {
    padding: 48px 0 32px;
}

.motion-hero .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =========================================
   VIDEO GRID
========================================= */
.motion-section {
    padding: 0 0 64px;
}

.motion-grid {
    width: var(--container);
    margin: 0 auto;
    padding: 0 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

/* =========================================
   VIDEO CARD
========================================= */
.video-card {
    background: var(--card-bg);
    border-radius: var(--tile-radius);
    overflow: hidden;
    box-shadow: var(--tile-shadow);
    transition: transform 220ms ease, box-shadow 220ms ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

/* =========================================
   EMBED WRAPPER — forces 16:9 ratio
========================================= */
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================
   VIDEO META (title + client)
========================================= */
.video-meta {
    padding: 16px 20px 18px;
    background: var(--card-caption-bg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
}

.video-client {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

/* =========================================
   GALLERY NOTE
========================================= */
.motion-note {
    width: var(--container);
    margin: 0 auto 0;
    padding: 32px 12px 0;
}

.motion-note p {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.7;
}

/* =========================================
   CTA
========================================= */
.motion-cta {
    padding: 48px 0 0;
}

.motion-cta .container {
    display: grid;
    place-items: center;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
    .motion-grid {
        gap: 24px;
    }
}

@media (max-width: 720px) {
    .motion-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .motion-hero {
        padding: 32px 0 20px;
    }
}
