/* Audience-specific introduction pages ("For designers" and "For farmers").
   They reuse the intro layout, with extra styling for the hero and feature
   previews that are not part of the main introduction page. */

.audience-page .page-section {
    min-height: 80vh;
    padding: 2rem 0;
}

.audience-page .page-section > .row {
    margin-left: 0;
    margin-right: 0;
}

.audience-page .blur-background {
    display: block;
    border-radius: 8px;
}

.audience-hero {
    min-height: 85vh !important;
}

.audience-hero-copy {
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.audience-eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
}

.audience-page h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
}

.audience-lead {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.55;
}

.audience-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
    padding: 0;
    list-style: none;
}

.audience-points li {
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.95rem;
}

.audience-benefit {
    margin-top: 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid #fff;
    font-weight: 600;
}

.text-lg-end .audience-benefit {
    padding-right: 0.75rem;
    padding-left: 0;
    border-right: 3px solid #fff;
    border-left: 0;
}

.audience-page #map {
    width: 100%;
    height: 60vh;
}

.audience-map-wrap {
    position: relative;
    width: 100%;
}

.audience-page .gif-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
}

.audience-page #card-slider {
    width: 100%;
    max-width: 700px;
}

.audience-page .harvest-card,
.audience-chart-card {
    width: 100%;
}

.audience-chart {
    height: 40vh;
    min-height: 280px;
}

.audience-chart--finance {
    height: 52vh;
    min-height: 380px;
}

.audience-profit-map {
    width: 100%;
    height: 45vh;
    min-height: 340px;
    border-radius: 0.5rem;
    z-index: 1;
}

.audience-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.audience-kpi {
    padding: 0.85rem 1rem;
    color: #1f2d1f;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.audience-kpi--costs {
    border-top: 3px solid #E76F51;
}

.audience-kpi--result {
    border-top: 3px solid #3A987A;
}

.audience-kpi-label {
    margin-bottom: 0.2rem;
    color: #5c6f5e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.audience-kpi-value {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.2;
}

.audience-kpi-note {
    margin-top: 0.2rem;
    color: #5c6f5e;
    font-size: 0.72rem;
}

.audience-profit-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin-bottom: 0.6rem;
    color: #31513a;
    font-size: 0.8rem;
}

.audience-profit-summary strong {
    color: #1f2d1f;
}

.profit-legend {
    min-width: 180px;
    padding: 0.5rem 0.6rem;
    background: #fff;
    border-radius: 0.4rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    color: #222;
    font-size: 0.75rem;
}

.profit-legend__bar {
    height: 0.65rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #D64524 0%, #E9C46A 50%, #2E7D5B 100%);
    border-radius: 0.3rem;
}

/* Static preview of a saved consortium matrix. */
.consortium-preview {
    width: 100%;
    padding: 1rem;
    color: #1f2d1f;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.consortium-preview-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.consortium-label {
    display: block;
    color: #4b6b4f;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.consortium-hint {
    padding: 0.25rem 0.65rem;
    color: #3f5c44;
    background: #eef4ea;
    border-radius: 999px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.consortium-table {
    font-size: 0.85rem;
}

.consortium-table thead th {
    color: #31513a;
    background: #eef4ea;
    font-weight: 600;
}

.consortium-table td,
.consortium-table th {
    vertical-align: middle;
}

.consortium-table .stratum-cell {
    width: 18%;
    color: #31513a;
    background: #f7f9f5;
}

.consortium-plant {
    display: inline-block;
    margin: 0.12rem;
    padding: 0.18rem 0.45rem;
    color: #2d4a33;
    background: #e5efe0;
    border-radius: 4px;
    font-size: 0.78rem;
    line-height: 1.25;
}

.consortium-caption {
    margin-top: 0.75rem;
    color: #5c6f5e;
    font-size: 0.78rem;
}

@media only screen and (max-width: 767px) {
    .audience-page .page-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .audience-page #map {
        height: 50vh;
    }

    .audience-chart {
        height: 50vh;
    }

    .audience-profit-map {
        height: 55vh;
    }

    .audience-kpi-row {
        grid-template-columns: 1fr;
    }

    .audience-benefit,
    .text-lg-end .audience-benefit {
        padding-right: 0;
        padding-left: 0.75rem;
        border-right: 0;
        border-left: 3px solid #fff;
    }
}
