/**
 * About page — modern layout, smooth motion (scoped to .about-page).
 * Cursor stays default; no custom pointer.
 */

html.about-smooth-scroll {
    scroll-behavior: smooth;
}

.about-page {
    --about-plum: #6b2c91;
    --about-red: #dc2626;
    --about-ink: #0f172a;
}

/* Hero */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6rem) 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 35%, #faf5ff 70%, #fff1f2 100%);
    background-size: 200% 200%;
    animation: aboutGradientShift 14s ease-in-out infinite;
}

@keyframes aboutGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero {
        animation: none;
        background-size: 100% 100%;
    }
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107, 44, 145, 0.12), transparent 55%),
                radial-gradient(ellipse 60% 50% at 100% 50%, rgba(220, 38, 38, 0.08), transparent 50%);
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--about-plum);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(107, 44, 145, 0.2);
    box-shadow: 0 4px 20px rgba(107, 44, 145, 0.08);
    animation: aboutBreathe 5s ease-in-out infinite;
}

@keyframes aboutBreathe {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(107, 44, 145, 0.08); }
    50% { transform: scale(1.02); box-shadow: 0 8px 28px rgba(107, 44, 145, 0.14); }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero-badge {
        animation: none;
    }
}

.about-hero-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--about-ink);
    margin: 1.25rem 0 1rem;
}

.about-hero-title span {
    background: linear-gradient(135deg, var(--about-plum) 0%, #9333ea 45%, var(--about-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-hero-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    line-height: 1.65;
    color: #475569;
    max-width: 40rem;
    margin: 0 auto;
}

.about-hero-glow {
    margin-top: 2rem;
    height: 4px;
    max-width: 12rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, var(--about-plum), var(--about-red), transparent);
    opacity: 0.85;
    animation: aboutGlowPulse 4s ease-in-out infinite;
}

@keyframes aboutGlowPulse {
    0%, 100% { opacity: 0.55; transform: scaleX(0.92); }
    50% { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero-glow { animation: none; opacity: 0.85; }
}

/* Reveal on scroll */
.about-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .about-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Stat strip */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 56rem;
    margin: -2rem auto 0;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .about-stats {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }
}

.about-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.45s ease;
}

.about-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(107, 44, 145, 0.12);
}

.about-stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--about-plum), var(--about-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: aboutStatBreathe 6s ease-in-out infinite;
}

@keyframes aboutStatBreathe {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .about-stat-num { animation: none; }
}

.about-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Cards grid mission / vision */
.about-section {
    padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.about-section-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.about-grid-2 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.about-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(107, 44, 145, 0.1);
    border-color: rgba(107, 44, 145, 0.25);
}

.about-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--about-ink);
    margin-bottom: 0.75rem;
}

.about-card p,
.about-prose p {
    color: #475569;
    line-height: 1.7;
}

/* Values */
.about-values-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    color: var(--about-ink);
    margin-bottom: 2rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.about-value-pill {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #334155;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.about-value-pill:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(107, 44, 145, 0.14);
    background: linear-gradient(135deg, rgba(107, 44, 145, 0.08), rgba(220, 38, 38, 0.06));
}

/* Objectives list */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
    line-height: 1.7;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--about-plum), var(--about-red));
}

/* Work model cards */
.about-work-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 900px) {
    .about-work-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.about-work-card {
    position: relative;
    border-radius: 1.1rem;
    padding: 1.3rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.88));
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease;
}

.about-work-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.about-work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 38px rgba(107, 44, 145, 0.14);
    border-color: rgba(107, 44, 145, 0.35);
}

.about-work-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.about-work-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
}

/* Timeline */
.about-timeline {
    position: relative;
    margin: 0 auto;
    max-width: 50rem;
    list-style: none;
    padding: 0 0 0 1.2rem;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0.37rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(107, 44, 145, 0.8), rgba(220, 38, 38, 0.7));
}

.about-timeline li {
    position: relative;
    padding: 0.15rem 0 1rem 1.2rem;
}

.about-timeline p {
    margin: 0;
    background: #fff;
    border-radius: 0.85rem;
    border: 1px solid #e2e8f0;
    padding: 0.9rem 1rem;
    color: #334155;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-timeline li:hover p {
    transform: translateX(6px);
    box-shadow: 0 14px 26px rgba(107, 44, 145, 0.1);
}

.about-timeline-dot {
    position: absolute;
    left: -0.12rem;
    top: 0.98rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--about-plum), var(--about-red));
    box-shadow: 0 0 0 4px rgba(107, 44, 145, 0.14);
    animation: aboutDotPulse 3s ease-in-out infinite;
}

@keyframes aboutDotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .about-timeline-dot {
        animation: none;
    }
}

/* CTA band */
.about-cta {
    background: linear-gradient(135deg, #6b2c91 0%, #4c1d95 40%, #b91c1c 100%);
    padding: clamp(3rem, 6vw, 4.5rem) 1rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.12), transparent 45%);
    pointer-events: none;
}

.about-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
}

.about-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.about-cta p {
    opacity: 0.92;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Buttons */
.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.875rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease, filter 0.35s ease;
}

.about-btn-primary {
    background: white;
    color: var(--about-plum);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.about-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    filter: brightness(1.02);
}

.about-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.about-btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.about-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* CMS prose */
.about-prose {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-prose h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2rem 0 0.75rem;
    color: var(--about-ink);
}

.about-prose h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: #1e293b;
}

.about-prose ul {
    padding-left: 1.25rem;
    color: #475569;
}

.about-prose a {
    color: var(--about-plum);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-prose a:hover {
    color: var(--about-red);
}
