/* Follow Dr Eason Chang — shared social section */
.social-section {
    --sf-ink: rgba(10, 35, 66, 0.92);
    --sf-muted: rgba(10, 35, 66, 0.72);
    --sf-line: rgba(10, 60, 90, 0.12);
    --sf-gold: #c5a065;
    --sf-gold2: #e6be7d;
    --sf-blue: #2d8cff;
    position: relative;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 84px 24px;
    margin: 26px auto 0;
    overflow: visible;
    isolation: auto;
}
.social-section::before,
.social-section::after {
    content: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.social-follow__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 92%);
    margin: 0 auto;
    text-align: center;
}
.social-title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3vw, 2.35rem);
    color: #0a2342;
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 18px 34px rgba(10, 35, 66, 0.16);
}
.social-follow__hero {
    position: relative;
    padding: 26px 18px 22px;
    margin: 0 auto 18px;
}
.social-follow__avatar-wrap {
    width: 116px;
    height: 116px;
    border-radius: 999px;
    margin: 0 auto 14px;
    padding: 6px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.55));
    box-shadow:
        0 26px 60px rgba(10, 35, 66, 0.16),
        0 0 0 1px rgba(255,255,255,0.75);
}
.social-follow__avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}
.social-follow__name {
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    font-size: 1.35rem;
    color: rgba(10, 35, 66, 0.96);
    margin: 0;
}
.social-follow__pronoun {
    margin: 6px 0 10px;
    font-weight: 800;
    color: rgba(10, 35, 66, 0.68);
}
.social-follow__mission-card {
    max-width: 680px;
    margin: 20px auto 16px;
    padding: 22px 24px 20px;
    text-align: left;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 252, 255, 0.92) 100%);
    border: 1px solid rgba(26, 107, 138, 0.12);
    box-shadow: 0 14px 36px rgba(10, 35, 66, 0.08);
    position: relative;
    overflow: hidden;
}
.social-follow__mission-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #c5a065 0%, #9a7332 100%);
}
.social-follow__mission-kicker {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 36, 64, 0.08);
    font-family: var(--font-serif, 'Noto Serif SC', serif);
    font-size: clamp(1.05rem, 1.9vw, 1.22rem);
    font-weight: 800;
    line-height: 1.45;
    color: #9a7332;
}
.social-follow__mission-para {
    margin: 0 0 12px;
    color: #4a5d73;
    line-height: 1.78;
    font-size: 0.94rem;
    font-weight: 400;
}
.social-follow__mission-para:last-of-type {
    margin-bottom: 0;
}
.social-follow__mission-close {
    margin-top: 20px;
    padding: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #faf8f4 0%, #f5f0e8 48%, #eef6fa 100%);
    border: 1px solid rgba(197, 160, 101, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
}
.social-follow__mission-close-grid {
    display: grid;
    grid-template-columns: minmax(120px, 148px) minmax(0, 1fr);
    align-items: stretch;
}
.social-follow__mission-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f4ec 100%);
    border-right: 1px solid rgba(197, 160, 101, 0.2);
    text-align: center;
}
.social-follow__mission-stat-chart {
    width: 100%;
    max-width: 108px;
}
.social-follow__stat-bars {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 48px;
    margin: 0 auto;
    padding: 0 4px 0 8px;
    border-bottom: 2px solid rgba(26, 58, 82, 0.35);
    border-left: 2px solid rgba(26, 58, 82, 0.35);
    border-radius: 0 0 6px 0;
    background: linear-gradient(180deg, rgba(228, 243, 250, 0.35) 0%, transparent 55%);
}
.social-follow__stat-trend {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}
.social-follow__stat-trend__glow {
    fill: none;
    stroke: rgba(212, 175, 55, 0.45);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.social-follow__stat-trend__line {
    fill: none;
    stroke: url(#sf-trend-stroke);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.social-follow__stat-trend__dot {
    fill: #fff;
    stroke: #c5a065;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}
.social-follow__stat-bar {
    flex: 1;
    max-width: 15px;
    height: var(--h);
    min-height: 7px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #8fa3ae 0%, #607d8b 52%, #4a6570 100%);
    box-shadow: 0 2px 6px rgba(10, 35, 66, 0.1);
    position: relative;
    z-index: 1;
}
.social-follow__stat-bar--gold {
    background: linear-gradient(180deg, #e6be7d 0%, #c5a065 100%);
    box-shadow: 0 3px 10px rgba(197, 160, 101, 0.28);
}
.social-follow__mission-stat-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0;
}
.social-follow__mission-stat-num {
    font-family: var(--font-serif, 'Noto Serif SC', serif);
    font-size: clamp(1.75rem, 3.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1;
    color: #9a7332;
    letter-spacing: 0;
    margin: 0;
}
.social-follow__mission-stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.15;
    color: #5f6f80;
    margin: 0;
    white-space: nowrap;
}
.social-follow__mission-outcome {
    padding: 18px 20px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.social-follow__mission-close-text {
    margin: 0;
    color: #4a5d73;
    line-height: 1.7;
    font-size: 0.9rem;
    font-weight: 500;
}
.social-follow__mission-goal {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}
.social-follow__mission-goal p {
    margin: 0;
    padding: 12px 14px 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    border-left: 3px solid #c5a065;
    font-family: var(--font-serif, 'Noto Serif SC', serif);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.45;
    color: #0a2342;
    box-shadow: 0 4px 14px rgba(10, 35, 66, 0.06);
}
.social-follow__badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.social-follow__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow:
        0 14px 34px rgba(10, 35, 66, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);
    color: rgba(10, 35, 66, 0.86);
    font-weight: 850;
    font-size: 0.92rem;
}
.social-follow__badge i { color: rgba(10, 35, 66, 0.74); }

.social-section .social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    position: relative;
    align-items: stretch;
}
.social-section .social-grid > .social-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    height: 100%;
    min-height: 100%;
}
.social-section .social-card {
    position: relative;
    padding: 26px 18px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow:
        0 22px 54px rgba(10, 35, 66, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.social-section .social-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 30px 70px rgba(10, 35, 66, 0.18),
        inset 0 1px 0 rgba(255,255,255, 0.82);
    filter: saturate(1.04);
}
.social-section .social-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 10px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.96), rgba(255,255,255,0.58)),
        linear-gradient(135deg, rgba(45, 140, 255, 0.22), rgba(230, 190, 125, 0.18));
    border: 1px solid rgba(45, 140, 255, 0.20);
    box-shadow:
        0 18px 36px rgba(10, 35, 66, 0.14),
        0 0 0 6px rgba(45, 140, 255, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.78);
}
.social-section .social-icon i {
    font-size: 30px;
    color: rgba(10, 35, 66, 0.88);
}
.social-section .social-card h3 {
    margin: 8px 0 10px;
    font-size: 1.35rem;
    color: rgba(10, 35, 66, 0.94);
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    letter-spacing: 0.02em;
}
.social-section .social-card p {
    margin: 0 0 14px;
    min-height: 3.25em;
    color: rgba(10, 35, 66, 0.74);
    line-height: 1.7;
    font-weight: 650;
    font-size: 0.95rem;
    align-self: start;
}
.social-section .social-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: center;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sf-gold) 0%, var(--sf-gold2) 100%);
    color: #0a2342;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow:
        0 10px 26px rgba(197, 160, 101, 0.38),
        inset 0 1px 0 rgba(255,255,255,0.75);
    transition: transform 0.16s ease, box-shadow 0.20s ease, filter 0.20s ease;
}
.social-section .social-card a:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 38px rgba(197, 160, 101, 0.46),
        0 0 0 6px rgba(197, 160, 101, 0.12);
    filter: saturate(1.03);
}
.social-section .social-card a:focus-visible {
    outline: 3px solid rgba(45, 140, 255, 0.30);
    outline-offset: 4px;
}
@media (max-width: 900px) {
    .social-section .social-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        justify-self: stretch;
    }

    .social-section .social-grid > .social-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .social-section .social-card p {
        width: 100%;
        min-height: 3.25em;
    }

    .social-section .social-card a {
        min-width: 7.25rem;
    }
}
@media (max-width: 768px) {
    .social-section { padding: 52px 16px; margin-top: 20px; }
    .social-follow__mission-card {
        padding: 18px 18px 16px;
    }
    .social-follow__mission-close-grid {
        grid-template-columns: 1fr;
    }
    .social-follow__mission-stat {
        flex-direction: column;
        gap: 4px;
        padding: 14px 16px;
    }
    .social-follow__mission-stat-chart {
        max-width: 120px;
    }
    .social-follow__mission-stat-label {
        text-align: center;
        text-transform: none;
        letter-spacing: 0;
        font-size: 0.82rem;
        line-height: 1.15;
        white-space: normal;
    }
}
@media (max-width: 480px) {
    .social-section { padding: 44px 12px; margin-top: 16px; }
}
