/* ==========================================================================
   BEYOND ME — CASE STUDY PAGE STYLES
   Depends on vault.css for variables and base typography.
   ========================================================================== */

/* --- HERO (navy background) --- */
.cs-hero {
    background-color: var(--text-navy);
    padding: 80px 20px;
}

.cs-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cs-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cs-eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--beyond-gold);
}

.cs-eyebrow span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--beyond-gold);
    font-weight: 700;
}

.cs-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 24px;
}

.cs-hero-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin: 0 auto 40px;
}

/* Circular portrait */
.cs-portrait {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--beyond-gold);
    object-fit: cover;
    display: block;
    margin: 0 auto 32px;
}

/* Meta strip — 4 labeled items */
.cs-meta-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cs-meta-item {
    text-align: center;
}

.cs-meta-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--beyond-gold);
    font-weight: 700;
    margin-bottom: 6px;
}

.cs-meta-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

/* --- CONTENT SECTIONS --- */
.cs-section {
    padding: 80px 20px;
}

.cs-section--alt {
    background: #f9f9f9;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cs-section-inner {
    max-width: 760px;
    margin: 0 auto;
}

.cs-section-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--beyond-gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.cs-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 20px;
}

.cs-section p:last-child {
    margin-bottom: 0;
}

/* --- PROCESS GRID (4-up cards) --- */
.cs-process-section {
    padding: 80px 20px;
}

.cs-process-intro {
    max-width: 760px;
    margin: 0 auto 48px;
}

.cs-process-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cs-process-card {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 32px 24px;
}

.cs-process-number {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--beyond-gold);
    font-weight: 700;
    margin-bottom: 16px;
}

.cs-process-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-navy);
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.cs-process-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* --- READER SHOWCASE (screenshot gallery) --- */
.cs-reader-showcase {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.cs-reader-hero-img {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.cs-reader-hero-img img {
    width: 100%;
    display: block;
}

.cs-reader-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cs-reader-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.cs-reader-card img {
    width: 100%;
    display: block;
}

.cs-reader-caption {
    background: var(--text-navy);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    padding: 14px 20px;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

@media (max-width: 700px) {
    .cs-reader-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PULL QUOTE --- */
.cs-pull-quote {
    border-left: 3px solid var(--beyond-gold);
    padding: 4px 0 4px 28px;
    margin: 40px 0;
}

.cs-pull-quote blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    color: var(--text-navy);
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 12px;
}

.cs-pull-quote cite {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-style: normal;
}

/* --- CLIENT TESTIMONIAL (real customer words) --- */
.cs-testimonial {
    background: #fff;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--beyond-gold);
    padding: 48px;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.cs-testimonial::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 28px;
    font-size: 5rem;
    color: var(--beyond-gold);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.2;
    pointer-events: none;
}

.cs-testimonial-body {
    margin: 0 0 28px;
    padding: 0;
    border: none;
}

.cs-testimonial-body p {
    color: var(--text-navy);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0 0 18px;
    font-weight: 400;
}

.cs-testimonial-body p:last-child {
    margin-bottom: 0;
}

.cs-testimonial-recommendation {
    background: #f9f9f9;
    border-left: 2px solid var(--beyond-gold);
    padding: 20px 24px;
    margin: 28px 0;
}

.cs-testimonial-rec-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--beyond-gold);
    font-weight: 800;
    margin-bottom: 10px;
}

.cs-testimonial-recommendation p {
    color: var(--text-navy);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
    font-weight: 500;
}

.cs-testimonial-cite {
    display: block;
    margin-top: 24px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: normal;
    letter-spacing: 0.5px;
    text-align: right;
}

.cs-testimonial-cite strong {
    color: var(--text-navy);
    font-weight: 700;
    font-size: 0.92rem;
}

/* --- FULL TESTIMONIAL BLOCK (older pattern, kept for compatibility) --- */
.cs-testimonial-block {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 48px;
}

.cs-testimonial-block p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 0 20px;
}

.cs-testimonial-block p:last-of-type {
    margin-bottom: 0;
}

.cs-testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.cs-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-navy);
    color: var(--beyond-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-attribution-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-navy);
    margin-bottom: 3px;
}

.cs-attribution-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- DELIVERABLES LIST --- */
.cs-deliverables {
    margin-top: 24px;
}

.cs-deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.cs-deliverable-item:first-child {
    padding-top: 0;
}

.cs-deliverable-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cs-deliverable-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--text-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beyond-gold);
}

.cs-deliverable-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-navy);
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.cs-deliverable-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* --- CTA BAR (navy background) --- */
.cs-cta-bar {
    background: var(--text-navy);
    padding: 80px 20px;
    text-align: center;
}

.cs-cta-bar h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin: 0 0 16px;
}

.cs-cta-bar p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0 0 36px;
    line-height: 1.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .cs-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cs-process-grid {
        grid-template-columns: 1fr;
    }

    .cs-meta-strip {
        gap: 28px;
    }

    .cs-testimonial-block {
        padding: 28px 20px;
    }

    .cs-testimonial {
        padding: 36px 24px;
    }
    .cs-testimonial::before {
        font-size: 3.5rem;
        top: 4px;
        left: 14px;
    }
    .cs-testimonial-body p { font-size: 0.98rem; }
    .cs-testimonial-recommendation { padding: 18px 20px; }
    .cs-testimonial-cite { text-align: left; }

    .cs-hero {
        padding: 60px 20px;
    }

    .cs-section,
    .cs-process-section {
        padding: 60px 20px;
    }

    .cs-cta-bar {
        padding: 60px 20px;
    }
}
