/* Shared layout for project / case-study pages.

   Width standard
   --cs-content: 1128px  main content column (sections, grids, images, wide text)
   .cs-intro     760px   narrow reading column for long copy (optional)
*/

:root {
    --cs-content: 1128px;
}

/* Main content column — use on the wrapper inside a section.
   Side padding comes from the section itself (Webflow section classes already have it). */
.cs-container {
    width: 100%;
    max-width: var(--cs-content);
    margin-left: auto;
    margin-right: auto;
}

.cs-intro {
    max-width: 760px;
    margin: 56px auto 0;
    padding: 0 24px;
    font-family: 'Google Sans', 'Inter Tight', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.68);
    text-align: left;
}

/* The Webflow export sets `p { display: flex }` globally, which splits inline
   <em>/<strong> into columns — restore normal text flow here. */
.cs-intro p {
    display: block;
    margin: 0;
}

.cs-intro p + p {
    margin-top: 1.1em;
}

/* Wide variant: same width as .cs-container */
.cs-intro--wide {
    width: calc(100% - 48px);
    max-width: var(--cs-content);
    padding: 0;
}

/* First paragraph reads as the lead */
.cs-intro .cs-lead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .cs-intro {
        margin-top: 40px;
        font-size: 1rem;
    }

    .cs-intro .cs-lead {
        font-size: 1.08rem;
    }
}
