/* Polymath — Layer 2 identity (modal content) */

.polymath__intro {
    border-left: 3px solid var(--color-primary, #7cb1ff);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.polymath__intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
}

.polymath__pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.polymath__pillar {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.polymath__pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pillar-accent, var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.polymath__pillar:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
}

.polymath__pillar:hover::after {
    transform: scaleX(1);
}

.polymath__pillar[data-pillar="technology"] { --pillar-accent: #3b82f6; }
.polymath__pillar[data-pillar="business"] { --pillar-accent: #10b981; }
.polymath__pillar[data-pillar="creativity"] { --pillar-accent: #ec4899; }

.polymath__pillar-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--pillar-accent, var(--color-primary));
}

.polymath__pillar h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.polymath__pillar p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.5;
}

.polymath__summary {
    margin: 1.25rem 0 0;
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
}

.polymath__quote {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.polymath__quote blockquote {
    margin: 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.polymath__quote cite {
    display: block;
    margin-top: 0.75rem;
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: normal;
}

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

@media (prefers-reduced-motion: reduce) {
    .polymath__pillar:hover { transform: none; }
    .polymath__pillar::after { transition: none; }
}
