/* ===== PROJECT PAGE SHARED STYLES ===== */

.project-hero {
    max-width: 860px;
    margin: 0 auto;
    padding: 8rem 2rem 3rem;
}

.back-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover { color: var(--accent); }

.project-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.meta-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.meta-item span { color: var(--accent); }

.project-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.key-results {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}

.key-results h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.result-item .number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm);
    line-height: 1.2;
}

.result-item .label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* CONTENT SECTIONS */
.project-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.content-section p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: none;
    margin-bottom: 1rem;
}

.content-section li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
}

.content-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* IMAGE PLACEHOLDERS */
.image-placeholder {
    width: 100%;
    background: linear-gradient(135deg, var(--tag-bg), var(--bg));
    border: 1px dashed var(--border-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 1.5rem 0;
}

.image-placeholder.hero-img { height: 360px; }
.image-placeholder.inline-img { height: 280px; }
.image-placeholder.small-img { height: 200px; }

.image-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* REAL IMAGES & VIDEO */
.project-hero > img,
.project-hero > video,
.content-section > img,
.content-section > video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 1.5rem;
    display: block;
}

.image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.image-row img,
.image-row video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* NEXT PROJECT NAVIGATION */
.next-project {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    text-align: center;
}

.next-project a {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.next-project a:hover { border-color: var(--accent-dim); transform: translateY(-2px); }

.next-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.next-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .project-hero { padding: 6rem 1.25rem 2rem; }
    .project-content { padding: 0 1.25rem 3rem; }
    .image-row { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr 1fr; }
}
