/* project.css — shared styles for standalone project pages */
/* Compose per page based on what the content needs */
/* Requires base.css to be loaded first */

/* ---- TITLE ---- */

.page-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.page-intro {
    font-size: var(--body-size);
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light);
    line-height: var(--body-lh);
}

/* ---- STAT CALLOUTS ---- */
/* Use: when the project has quantitative impact worth anchoring */

.stat-strip {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.8rem 0;
    margin-bottom: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.68rem;
    color: var(--zone-portfolio);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
    font-weight: 400;
}

/* ---- SECTION MARKERS ---- */
/* h2 styling for project pages — works with section-header from base.css */

h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.8rem;
    margin-bottom: 0.5rem;
}

/* ---- PULL QUOTES ---- */
/* Use: when a single line captures the insight */

.pull-quote {
    background: var(--quote-bg);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid var(--zone-portfolio);
}

.pull-quote cite {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--muted);
    font-style: normal;
    margin-top: 0.4rem;
}

/* ---- FLOW DIAGRAMS ---- */
/* Use: when architecture matters. Monospace ASCII or inline SVG. */

.flow-diagram {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.6;
    background: var(--bg);
    border: 1px solid var(--zone-portfolio);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    white-space: pre;
    color: var(--text);
}

/* ---- BODY TEXT ---- */

strong {
    font-weight: 600;
}

a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--light);
    transition: border-color 0.2s;
}
a:hover { border-color: var(--text); }

/* ---- LISTS ---- */

ul, ol {
    margin: 0.5rem 0 1rem 1.5rem;
    font-size: 0.85rem;
    line-height: 1.7;
}

li {
    margin-bottom: 0.3rem;
}

/* ---- CODE ---- */

code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    background: var(--bg-light);
    padding: 0.1rem 0.3rem;
}

pre {
    background: var(--bg-light);
    border: 1px solid var(--light);
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.6;
}

pre code {
    background: none;
    padding: 0;
}

/* ---- HIGHLIGHT BOX ---- */

.highlight-box {
    background: var(--bg-light);
    border: 1px solid var(--light);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 600px) {
    .stat-strip {
        gap: 1rem;
    }

    .stat-value {
        font-size: 0.8rem;
    }

    .pull-quote {
        font-size: 0.92rem;
        padding: 1rem 1.25rem;
    }

    .flow-diagram {
        font-size: 0.7rem;
        padding: 1rem;
    }
}
