/* =========================================================
   METRICS PAGE
========================================================= */

.metrics-section {
    width: 100%;
    background: #F7F7F7;
    padding: 120px 0 100px;
    color: #23004C;
}


/* =========================================================
   CONTAINER
========================================================= */

.metrics-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding-bottom: 65px;

    border-bottom: 1px solid rgba(35, 0, 76, 0.12);
}


.metrics-eyebrow,
.metric-label,
.kpi-label,
.metrics-period-label,
.social-performance-card > span,
.social-data-card span,
.highlight-content > span,
.study-content > span {
    display: block;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.7px;
    text-transform: uppercase;

    color: #7A00E6;
}


.metrics-header-copy h1 {
    margin: 14px 0 20px;

    font-family: "Sanofi Serif", Georgia, serif;
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 300;

    line-height: .94;
    letter-spacing: -3px;

    color: #23004C;
}


.metrics-header-copy h1 span {
    color: #7A00E6;
}


.metrics-header-copy p {
    max-width: 540px;

    margin: 0;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;

    line-height: 1.65;

    color: rgba(35, 0, 76, .65);
}


.metrics-header-side {
    width: 230px;

    padding: 22px;

    border-left: 1px solid rgba(35, 0, 76, .12);
}


.metrics-header-side strong {
    display: block;

    margin: 8px 0;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
}


.metrics-header-side span:last-child {
    font-size: 12px;
    color: rgba(35, 0, 76, .55);
}


/* =========================================================
   KPI GRID
========================================================= */

.metrics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-bottom: 1px solid rgba(35, 0, 76, .12);
}


.metric-kpi {
    padding: 30px 28px;

    border-right: 1px solid rgba(35, 0, 76, .10);
}


.metric-kpi:first-child {
    padding-left: 0;
}


.metric-kpi:last-child {
    border-right: 0;
}


.metric-kpi strong {
    display: block;

    margin: 9px 0 3px;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;

    color: #23004C;
}


.kpi-note {
    font-size: 11px;
    color: rgba(35, 0, 76, .52);
}


/* =========================================================
   METRIC BLOCK
========================================================= */

.metric-block {
    padding: 100px 0;

    border-bottom: 1px solid rgba(35, 0, 76, .10);
}


.metric-block-heading {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    margin-bottom: 45px;
}


.metric-number {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #23004C;
    color: #ffffff;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
}


.metric-block-heading h2 {
    margin: 10px 0 0;

    font-family: "Sanofi Serif", Georgia, serif;
    font-size: clamp(40px, 4.5vw, 62px);
    font-weight: 300;

    line-height: .98;
    letter-spacing: -2px;
}


.metric-block-heading h2 em {
    color: #7A00E6;
    font-style: normal;
}


/* =========================================================
   ATTENDANCE
========================================================= */

.attendance-layout {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 16px;
}


.large-card,
.metric-info-card {
    background: #ffffff;

    border: 1px solid rgba(35, 0, 76, .08);
}


.large-card {
    padding: 30px;
}


.card-heading {
    display: flex;
    justify-content: space-between;
}


.card-heading span,
.attendance-card span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #7A00E6;
}


.card-heading h3 {
    margin: 7px 0 0;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 20px;
}


.metric-menu {
    width: 34px;
    height: 34px;

    border: 1px solid rgba(35, 0, 76, .12);
    border-radius: 50%;

    background: transparent;
    color: #23004C;

    cursor: pointer;
}


.attendance-total {
    margin-top: 25px;
}


.attendance-total strong {
    font-size: 42px;
    font-weight: 700;
}


.attendance-total span {
    display: block;
    margin-top: -4px;

    font-size: 11px;
    color: rgba(35, 0, 76, .5);
}


/* Attendance bars */

.attendance-chart {
    height: 220px;

    display: flex;
    align-items: flex-end;
    justify-content: space-around;

    gap: 25px;

    margin-top: 20px;
}


.attendance-bar {
    height: 100%;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    position: relative;
}


.attendance-bar .bar-value {
    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;
}


.bar-fill {
    width: 100%;
    max-width: 65px;

    background: linear-gradient(
        180deg,
        #7A00E6,
        #23004C
    );

    transition: height .8s ease;
}


.attendance-bar span {
    margin-top: 9px;

    font-size: 8px;
    letter-spacing: 1px;
}


/* =========================================================
   INFO CARDS
========================================================= */

.metric-info-card {
    padding: 28px;

    display: flex;
    flex-direction: column;
}


.info-card-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    background: #F1E9FA;
    color: #7A00E6;

    border-radius: 50%;
}


.metric-info-card > span {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #7A00E6;
}


.metric-info-card strong {
    margin-top: 8px;

    font-size: 40px;
}


.metric-info-card p {
    margin: 10px 0 20px;

    font-size: 12px;
    line-height: 1.55;

    color: rgba(35, 0, 76, .58);
}


.metric-info-card a {
    margin-top: auto;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
    color: #23004C;
}


.metric-info-card a i {
    margin-left: 7px;
    color: #7A00E6;
}


/* =========================================================
   CXQ
========================================================= */

.cxq-overall {
    margin-left: auto;

    text-align: right;
}


.cxq-overall > span {
    display: block;

    font-size: 9px;
    letter-spacing: 1.3px;
    font-weight: 700;
}


.cxq-overall strong {
    display: block;

    margin-top: 5px;

    font-size: 42px;
}


.cxq-overall strong span {
    font-size: 18px;
    font-weight: 400;
}


.rating-stars {
    color: #7A00E6;
    letter-spacing: 2px;
    font-size: 12px;
}


.cxq-card {
    background: #ffffff;

    border: 1px solid rgba(35, 0, 76, .08);
}


.cxq-card-header {
    padding: 25px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid rgba(35, 0, 76, .08);
}


.cxq-card-header > div:first-child span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #7A00E6;
}


.cxq-card-header h3 {
    margin: 6px 0 0;
    font-size: 18px;
}


.cxq-scale {
    display: flex;
    gap: 27px;

    font-size: 9px;
    color: rgba(35, 0, 76, .4);
}


.cxq-list {
    padding: 5px 30px 15px;
}


.cxq-row {
    min-height: 55px;

    display: grid;

    grid-template-columns: 35px 1.8fr 2fr 45px;

    align-items: center;

    gap: 15px;

    border-bottom: 1px solid rgba(35, 0, 76, .06);
}


.cxq-row:last-child {
    border-bottom: 0;
}


.cxq-question {
    font-size: 10px;
    font-weight: 700;
    color: #7A00E6;
}


.cxq-row p {
    margin: 0;

    font-size: 12px;
    color: rgba(35, 0, 76, .7);
}


.cxq-track {
    height: 5px;

    background: #EEEAF2;

    overflow: hidden;
}


.cxq-track div {
    height: 100%;

    background: linear-gradient(
        90deg,
        #D1C4E9,
        #7A00E6
    );
}


.cxq-row > strong {
    text-align: right;

    font-size: 13px;
}


/* =========================================================
   SOCIAL PERFORMANCE
========================================================= */

.social-performance-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


.social-performance-card {
    padding: 30px;

    background: #23004C;

    color: #ffffff;

    position: relative;
    overflow: hidden;
}


.social-performance-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -100px;

    border-radius: 50%;

    background: #7A00E6;

    opacity: .45;
}


.social-performance-card > span {
    color: #D1C4E9;
}


.social-performance-card strong {
    display: block;

    margin-top: 18px;

    font-size: 42px;
}


.social-performance-card p {
    margin: 4px 0 25px;

    font-size: 11px;

    color: rgba(255,255,255,.58);
}


.performance-line {
    height: 3px;

    background: rgba(255,255,255,.12);

    margin-bottom: 15px;
}


.performance-line span {
    display: block;

    height: 100%;
    width: 74%;

    background: #7A00E6;
}


.performance-footer {
    display: flex;
    justify-content: space-between;
}


.performance-footer small {
    font-size: 8px;
    letter-spacing: 1px;
    color: rgba(255,255,255,.45);
}


.performance-footer b {
    font-size: 11px;
    color: #ffffff;
}


/* =========================================================
   SOCIAL DATA
========================================================= */

.social-data-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr 1fr;

    gap: 16px;

    margin-top: 16px;
}


.social-data-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid rgba(35, 0, 76, .08);
}


.data-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}


.data-card-title span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #7A00E6;
}


.data-card-title i {
    color: #7A00E6;
}


/* Hashtags */

.hashtag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.hashtag-list span {
    padding: 9px 12px;

    background: #F2ECF8;

    font-size: 11px;
    font-weight: 700;

    color: #23004C;
}


/* Content breakdown */

.breakdown-row {
    display: flex;
    justify-content: space-between;

    padding: 11px 0;

    border-bottom: 1px solid rgba(35, 0, 76, .07);

    font-size: 11px;
}


.breakdown-row strong {
    color: #7A00E6;
}


/* Sources */

.source-list > div {
    display: flex;
    justify-content: space-between;

    padding: 12px 0;

    border-bottom: 1px solid rgba(35, 0, 76, .07);
}


.source-list span {
    font-size: 11px;
    color: rgba(35, 0, 76, .65);
}


.source-list strong {
    font-size: 12px;
}


/* =========================================================
   KEY HIGHLIGHT
========================================================= */

.social-highlight {
    margin-top: 16px;

    padding: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(122,0,230,.35),
            transparent 35%
        ),
        #EEE8F4;
}


.highlight-content {
    max-width: 650px;
}


.highlight-content h3 {
    margin: 10px 0;

    font-family: "Sanofi Serif", Georgia, serif;

    font-size: 32px;
    font-weight: 300;

    line-height: 1.1;
}


.highlight-content p {
    max-width: 570px;

    margin: 0;

    font-size: 12px;
    line-height: 1.6;

    color: rgba(35,0,76,.58);
}


.highlight-stat {
    min-width: 170px;

    padding-left: 35px;

    border-left: 1px solid rgba(35,0,76,.15);
}


.highlight-stat strong {
    display: block;

    font-size: 46px;
}


.highlight-stat span {
    display: block;

    margin-top: 3px;

    font-size: 8px;
    letter-spacing: 1.2px;
    font-weight: 700;

    color: #7A00E6;
}


/* =========================================================
   NIRSE-GAL STUDY
========================================================= */

.study-metric-card {
    margin-top: 16px;

    display: grid;

    grid-template-columns: 180px 1fr 390px;

    align-items: center;

    background: #ffffff;

    border: 1px solid rgba(35,0,76,.08);
}


.study-number {
    height: 100%;

    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #7A00E6;

    color: #ffffff;

    font-family: "Sanofi Sans", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;

    letter-spacing: -.5px;
}


.study-content {
    padding: 30px;
}


.study-content h3 {
    margin: 8px 0;

    font-family: "Sanofi Serif", Georgia, serif;

    font-size: 30px;
    font-weight: 300;
}


.study-content p {
    max-width: 480px;

    margin: 0;

    font-size: 12px;
    line-height: 1.6;

    color: rgba(35,0,76,.58);
}


.study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-right: 30px;

    border-left: 1px solid rgba(35,0,76,.09);
}


.study-metrics div {
    padding: 20px;

    border-right: 1px solid rgba(35,0,76,.09);
}


.study-metrics div:last-child {
    border-right: 0;
}


.study-metrics strong {
    display: block;

    font-size: 25px;
}


.study-metrics span {
    display: block;

    margin-top: 4px;

    font-size: 8px;
    letter-spacing: .8px;

    color: rgba(35,0,76,.5);
}


/* =========================================================
   SECTION 04
========================================================= */

.metrics-coming-soon {
    padding: 90px 0;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


.metrics-coming-soon > div {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.metrics-coming-soon > div > span {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #D1C4E9;

    font-size: 10px;
    font-weight: 700;
}


.metrics-coming-soon h2 {
    margin: 0;

    font-family: "Sanofi Serif", Georgia, serif;

    font-size: 45px;
    font-weight: 300;

    line-height: .98;
}


.metrics-coming-soon h2 em {
    color: #7A00E6;
    font-style: normal;
}


.metrics-coming-soon p {
    max-width: 300px;

    font-size: 12px;
    line-height: 1.6;

    color: rgba(35,0,76,.55);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .metrics-header {
        display: block;
    }

    .metrics-header-side {
        margin-top: 35px;
    }

    .attendance-layout {
        grid-template-columns: 1fr 1fr;
    }

    .large-card {
        grid-column: span 2;
    }

    .social-data-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hashtags-card {
        grid-column: span 2;
    }

    .study-metric-card {
        grid-template-columns: 150px 1fr;
    }

    .study-metrics {
        grid-column: span 2;
        margin: 0;
        border-left: 0;
        border-top: 1px solid rgba(35,0,76,.09);
    }

}


@media (max-width: 700px) {

    .metrics-section {
        padding-top: 90px;
    }

    .metrics-container {
        width: min(100% - 32px, 1200px);
    }

    .metrics-header-copy h1 {
        font-size: 56px;
    }

    .metrics-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .metric-kpi {
        border-bottom: 1px solid rgba(35,0,76,.10);
    }

    .metric-kpi:nth-child(2) {
        border-right: 0;
    }

    .metric-block {
        padding: 70px 0;
    }

    .metric-block-heading {
        gap: 15px;
    }

    .metric-block-heading h2 {
        font-size: 42px;
    }

    .attendance-layout,
    .social-performance-grid,
    .social-data-grid {
        grid-template-columns: 1fr;
    }

    .large-card,
    .hashtags-card {
        grid-column: auto;
    }

    .cxq-card {
        overflow-x: auto;
    }

    .cxq-card-header {
        min-width: 700px;
    }

    .cxq-list {
        min-width: 700px;
    }

    .cxq-overall {
        display: none;
    }

    .social-highlight {
        display: block;
    }

    .highlight-stat {
        margin-top: 30px;
        padding: 20px 0 0;

        border-left: 0;
        border-top: 1px solid rgba(35,0,76,.15);
    }

    .study-metric-card {
        grid-template-columns: 1fr;
    }

    .study-number {
        min-height: 90px;
    }

    .study-metrics {
        grid-column: auto;
    }

    .metrics-coming-soon {
        display: block;
    }

    .metrics-coming-soon p {
        margin-top: 30px;
    }

}


@media (max-width: 480px) {

    .metrics-kpi-grid {
        grid-template-columns: 1fr;
    }

    .metric-kpi,
    .metric-kpi:first-child {
        padding-left: 0;
        border-right: 0;
    }

    .attendance-chart {
        gap: 10px;
    }

    .large-card {
        padding: 20px;
    }

    .study-metrics {
        grid-template-columns: 1fr;
    }

    .study-metrics div {
        border-right: 0;
        border-bottom: 1px solid rgba(35,0,76,.08);
    }

}