/* About page visual tuning layer.
   Rollback: remove this stylesheet link from about.html. */

html,
body {
    overflow-x: hidden;
}

.hero-expertise {
    padding: clamp(96px, 10vw, 124px) 20px clamp(44px, 5vw, 64px);
}

.hero-expertise h1 {
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.08;
    margin-bottom: 14px;
}

.hero-expertise p {
    max-width: 640px;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
    color: #7b7b82;
}

.section-expertise {
    max-width: 1040px;
    padding: clamp(44px, 6vw, 64px) 20px;
}

.section-title-expertise {
    margin-bottom: 36px;
}

.section-title-expertise h2 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.22;
}

.section-title-expertise p {
    font-size: clamp(15px, 1.4vw, 17px);
}

.timeline-period {
    margin-bottom: 48px;
}

.period-header {
    margin-bottom: 24px;
    padding: 14px 20px;
    border-radius: 10px;
}

.period-header h3 {
    font-size: 1.08rem;
    line-height: 1.35;
}

.timeline {
    padding: 12px 0 10px 18px;
}

.timeline-item {
    margin-bottom: 14px;
}

.timeline-content {
    padding: 15px 20px;
    border-radius: 12px;
}

.timeline-year {
    font-size: 20px;
    margin-bottom: 5px;
}

.timeline-content h3 {
    line-height: 1.35;
    margin-bottom: 5px;
}

.timeline-content p {
    line-height: 1.5;
}

.timeline-item.featured {
    border-radius: 14px;
}

.certifications-section,
.research-section,
.science-section,
.team-section {
    padding-top: 54px;
    padding-bottom: 54px;
}

.cert-grid,
.team-grid {
    gap: 16px;
}

.cert-card,
.institute-card,
.team-card {
    border-radius: 12px;
}

.cert-card {
    padding: 22px 20px;
}

.cert-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.cert-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.cert-card p {
    font-size: 13px;
    line-height: 1.45;
}

.research-content {
    max-width: 780px;
}

.research-section h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.25;
}

.research-section > div > div:first-child {
    margin-bottom: 24px;
}

.research-section > div > div:first-child p {
    font-size: 1rem;
}

.research-table-wrapper {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 12px;
}

.research-table-wrapper th {
    padding: 14px 18px;
    font-size: 1rem;
}

.research-table-wrapper td {
    padding: 12px 18px;
    font-size: 0.98rem;
}

.research-table-wrapper td:last-child {
    font-size: 1.12rem;
}

.research-note {
    margin-top: 18px;
    font-size: 0.88rem;
}

.about-catalog-section {
    padding: 54px 20px;
}

.about-catalog-content {
    max-width: 860px;
}

.about-catalog-section h2 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.22;
}

.about-catalog-section > div > p {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.62;
    text-align: left;
    margin-bottom: 34px;
}

.pm-card {
    padding: 30px 32px;
    margin-bottom: 22px;
    border-radius: 16px;
}

.pm-card h3 {
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.25;
    margin-bottom: 12px;
}

.pm-card > p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.pm-tech-grid {
    gap: 14px;
    margin-top: 20px;
}

.pm-tech-item {
    min-height: 0;
    padding: 16px;
    border-radius: 12px;
}

.pm-tech-item .pm-tech-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.pm-tech-item h4 {
    font-size: 16px;
}

.pm-tech-item p {
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.pm-stats-grid {
    gap: 16px;
}

.pm-stats-number {
    font-size: clamp(26px, 2.6vw, 34px);
}

.pm-stats-label {
    font-size: 14px;
    line-height: 1.35;
}

.institute-grid {
    gap: 16px;
    margin-top: 28px;
}

.institute-card {
    padding: 22px;
}

.institute-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.institute-card p {
    font-size: 13px;
    line-height: 1.45;
}

.team-card {
    padding: 20px;
}

.team-avatar {
    width: 64px;
    height: 64px;
    font-size: 26px;
    margin-bottom: 12px;
}

.team-card .bio {
    font-size: 12.5px;
    line-height: 1.45;
}

.cta-section {
    padding: 56px 20px;
}

.cta-section h2 {
    font-size: clamp(28px, 3vw, 34px);
}

.cta-section p {
    font-size: 17px;
    margin-bottom: 24px;
}

footer {
    padding-top: 42px;
    padding-bottom: 42px;
}

@media (max-width: 900px) {
    .cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pm-tech-grid,
    .pm-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-expertise {
        padding: 92px 16px 34px !important;
    }

    .hero-expertise h1 {
        font-size: 26px !important;
        line-height: 1.15;
    }

    .hero-expertise p {
        max-width: 330px;
        font-size: 14px !important;
        line-height: 1.5;
    }

    .section-expertise {
        padding: 38px 14px !important;
    }

    .section-title-expertise {
        margin-bottom: 28px;
    }

    .section-title-expertise h2 {
        font-size: 22px !important;
        line-height: 1.24;
    }

    .section-title-expertise p {
        font-size: 14px !important;
        line-height: 1.45;
    }

    .period-header {
        gap: 8px;
        margin-bottom: 18px;
        padding: 12px 14px;
    }

    .period-header h3 {
        font-size: 15px;
        line-height: 1.35;
    }

    .timeline-period {
        margin-bottom: 34px;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 20px !important;
        margin-bottom: 10px;
    }

    .timeline-dot {
        left: 0 !important;
        top: 20px;
    }

    .timeline-content {
        width: 100%;
        max-width: none;
        margin-left: 14px;
        padding: 12px 13px !important;
        border-radius: 12px;
    }

    .timeline-year {
        font-size: 17px !important;
        margin-bottom: 4px;
    }

    .timeline-content h3 {
        font-size: 14px !important;
        line-height: 1.35;
        margin-bottom: 4px;
        overflow-wrap: anywhere;
    }

    .timeline-content p {
        font-size: 13px !important;
        line-height: 1.48;
    }

    .timeline-item.featured {
        margin: 10px 0 14px;
        border-radius: 14px;
    }

    .timeline-item.featured .timeline-content {
        padding: 14px !important;
    }

    .certifications-section,
    .research-section,
    .science-section,
    .team-section {
        padding: 34px 14px !important;
    }

    .cert-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .cert-card {
        padding: 14px 12px !important;
    }

    .cert-icon {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }

    .cert-card h3 {
        font-size: 13px !important;
    }

    .cert-card p {
        font-size: 11.5px !important;
        line-height: 1.4;
    }

    .research-section h2 {
        font-size: 22px;
    }

    .research-section > div > div:first-child {
        margin-bottom: 18px;
    }

    .research-section > div > div:first-child p {
        font-size: 13px;
    }

    .research-table-wrapper th,
    .research-table-wrapper td {
        padding: 10px 12px !important;
    }

    .research-note {
        margin-top: 14px;
        font-size: 12px;
    }

    .about-catalog-section {
        padding: 34px 14px !important;
    }

    .about-catalog-section h2 {
        font-size: 20px !important;
        line-height: 1.28;
        margin-bottom: 10px;
    }

    .about-catalog-section > div > p {
        font-size: 14px !important;
        line-height: 1.58;
        text-align: left;
        margin-bottom: 20px;
    }

    .pm-card {
        padding: 18px 14px !important;
        margin-bottom: 14px;
        border-radius: 14px;
    }

    .pm-card h3 {
        font-size: 18px !important;
        margin-bottom: 10px;
    }

    .pm-card > p {
        font-size: 13.5px !important;
        line-height: 1.58;
        text-align: left;
    }

    .pm-tech-grid {
        gap: 12px !important;
    }

    .pm-tech-item {
        padding: 12px !important;
    }

    .pm-tech-item h4 {
        font-size: 14px !important;
    }

    .pm-tech-item p {
        font-size: 12.5px !important;
    }

    .pm-stats-grid {
        gap: 12px !important;
    }

    .pm-stats-item {
        padding: 6px 0;
    }

    .pm-stats-number {
        font-size: 28px !important;
    }

    .pm-stats-label {
        font-size: 13px !important;
    }

    .team-grid {
        gap: 12px !important;
    }

    .institute-grid {
        gap: 12px !important;
        margin-top: 20px;
    }

    .institute-card,
    .team-card {
        padding: 16px !important;
    }

    .team-avatar {
        width: 56px !important;
        height: 56px !important;
        font-size: 22px !important;
    }

    .cta-section {
        padding: 36px 16px !important;
    }

    .cta-section h2 {
        font-size: 24px !important;
    }

    .cta-section p {
        font-size: 14px !important;
        margin-bottom: 18px;
    }

    footer {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .back-to-top {
        right: 18px;
        bottom: 84px;
        width: 44px;
        height: 44px;
    }
}
