/* ═══════════════════════════════════════════
   Isabella Tedesco Portfolio — project.css
   Shared styles for all project detail pages
   ═══════════════════════════════════════════ */

   .project-page {
    padding: 100px 80px 100px 64px;
    min-height: 100vh;
}

/* ── Header ── */
.project-header {
    margin-bottom: 80px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border);
}

.project-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--muted);
}

/* Project title: Cormorant Garamond Bold Italic, 36px */
.project-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 28px;
}

.project-title em {
    color: var(--accent);
}

/* Tagline: Fira Sans 18px */
.project-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Meta row ── */
.project-meta {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.meta-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
}

/* ── Hero image ── */
.project-hero-img {
    width: 100%;
    height: 540px;
    object-fit: contain;
    display: block;
    margin-bottom: 80px;
    background: var(--cream);
}

/* ── Body layout ── */
.project-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

/* Prose: Fira Sans 18px */
.project-prose p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: #5a5450;
    line-height: 1.9;
    margin-bottom: 28px;
}

.project-prose p:last-child { margin-bottom: 0; }

.project-prose em {
    font-style: italic;
    color: var(--ink);
}

/* Section headings inside prose: Cormorant Garamond Bold Italic, ~20px */
.project-prose h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    color: var(--accent);
    margin-top: 48px;
    margin-bottom: 16px;
}

.project-sidebar {
    border-top: 1px solid var(--border);
}

/* ── Image grid ── */
.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 80px;
}

.project-images img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    display: block;
    background: var(--cream);
}

.project-images .img-full {
    grid-column: 1 / -1;
    height: 420px;
}

/* ── Callout block ── */
.callout {
    background: var(--cream);
    border-left: 3px solid var(--accent);
    padding: 28px 36px;
    margin: 40px 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    color: var(--ink);
    line-height: 1.6;
}

/* ── Hero video — embedded (iframe) ── */
.project-hero-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 80px;
    background: #000;
}

.project-hero-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ── Local video (.mov / .mp4) ── */
.project-video-local {
    width: 100%;
    margin-bottom: 80px;
    background: #000;
}

.project-video-local video {
    width: 100%;
    display: block;
    max-height: 620px;
    object-fit: contain;
}

/* ── Photo gallery ── */
.project-gallery {
    margin-bottom: 80px;
}

.gallery-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--muted);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-grid img {
    width: auto;
    height: 260px;
    object-fit: contain;
    display: block;
    background: var(--cream);
}

.gallery-grid .img-full {
    width: 100%;
    height: 420px;
}

/* ── Project nav (prev / next) ── */
.project-nav {
    border-top: 1px solid var(--border);
    padding-top: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-nav a {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-nav a:hover { color: var(--ink); }

.project-nav .next { flex-direction: row-reverse; }

.project-nav span { font-size: 1rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .project-page {
        padding: 60px 32px;
    }

    .project-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-images {
        grid-template-columns: 1fr;
    }

    .project-images .img-full {
        grid-column: 1;
    }

    .gallery-grid img {
        height: 180px;
    }

    .gallery-grid .img-full {
        width: 100%;
        height: 280px;
    }
}