/* About page — layout, visual polish & rhythm */

body.page-about {
    --about-gap: 24px;
    --about-radius: 18px;
    --about-glow: rgba(51, 184, 184, 0.35);
}

body.page-about .section {
    padding: 88px 24px;
    position: relative;
}

body.page-about .section--band {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-about .section--band::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 153, 153, 0.08), transparent 65%);
}

body.page-about .section-desc {
    margin-bottom: 0;
}

/* —— Hero —— */
body.page-about .page-hero {
    padding: 152px 24px 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-about .page-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0, 153, 153, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 40% at 85% 60%, rgba(155, 230, 255, 0.08), transparent 50%),
        radial-gradient(ellipse 40% 35% at 10% 70%, rgba(51, 184, 184, 0.1), transparent 45%);
}

body.page-about .page-hero .section-container {
    position: relative;
    z-index: 1;
}

body.page-about .page-hero .section-label {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(51, 184, 184, 0.1);
    border: 1px solid rgba(51, 184, 184, 0.22);
    margin-bottom: 20px;
}

body.page-about .page-hero h1 {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

body.page-about .page-hero h1 .gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 42%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.page-about .page-hero-desc {
    margin-bottom: 0;
    font-size: 17px;
    max-width: 640px;
    color: var(--muted);
    line-height: 1.75;
}

/* Hero stats */
body.page-about .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    margin-top: 52px;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

body.page-about .stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 0;
    padding: 28px 18px 24px;
    border-radius: var(--about-radius);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.page-about .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.85;
}

body.page-about .stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(120% 80% at 50% 0%, rgba(51, 184, 184, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.page-about .stat-card:hover {
    border-color: rgba(51, 184, 184, 0.35);
    box-shadow: 0 20px 40px rgba(0, 153, 153, 0.18);
}

body.page-about .stat-card:hover::after {
    opacity: 1;
}

body.page-about .stat-number {
    font-size: clamp(34px, 4.5vw, 44px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff 30%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

body.page-about .stat-number span {
    -webkit-text-fill-color: var(--primary-light);
    background: none;
}

body.page-about .stat-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

/* Section headers */
body.page-about .section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
    position: relative;
    z-index: 1;
}

body.page-about .section-header .section-label {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.page-about .section-header .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--accent));
    opacity: 0.85;
}

body.page-about .section-header .section-desc {
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
}

/* Story */
body.page-about .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

body.page-about .story-content {
    padding-left: 20px;
    border-left: 2px solid transparent;
    border-image: linear-gradient(180deg, var(--primary-light), rgba(51, 184, 184, 0.15)) 1;
}

body.page-about .story-content .section-label {
    margin-bottom: 12px;
}

body.page-about .story-content .section-title {
    margin-bottom: 16px;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.15;
}

body.page-about .story-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--muted);
}

body.page-about .story-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

body.page-about .story-certs span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-light);
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(51, 184, 184, 0.1);
    border: 1px solid rgba(51, 184, 184, 0.22);
}

body.page-about .story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

body.page-about .story-image-wrap {
    position: relative;
}

body.page-about .story-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 460px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--about-radius);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(51, 184, 184, 0.08) inset;
    background: var(--bg-3);
    position: relative;
}

body.page-about .story-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 17, 29, 0.45) 100%);
    border-radius: inherit;
}

body.page-about .story-image::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--about-radius) + 1px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(51, 184, 184, 0.5), transparent 40%, rgba(155, 230, 255, 0.25));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

body.page-about .story-image.story-media {
    display: block;
    padding: 0;
}

body.page-about .story-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-about .story-image:hover .story-video {
    transform: scale(1.03);
}

/* Logo watermark */
body.page-about .story-watermark {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border-radius: 12px;
    background: rgba(7, 17, 29, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    user-select: none;
}

body.page-about .story-watermark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.95;
}

body.page-about .story-watermark-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
}

body.page-about .story-watermark-brand span {
    color: var(--primary-light);
}

/* Values */
body.page-about .values-grid {
    align-items: stretch;
    gap: 20px;
    position: relative;
    z-index: 1;
}

body.page-about .value-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 30px 26px 28px;
    border-radius: var(--about-radius);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.page-about .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

body.page-about .value-card:hover::before {
    opacity: 1;
}

body.page-about .value-card:nth-child(3n + 2)::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

body.page-about .value-card:nth-child(3n)::before {
    background: linear-gradient(90deg, #2e7f8f, var(--primary-light));
}

body.page-about .value-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(0, 153, 153, 0.22), rgba(51, 184, 184, 0.06));
    border: 1px solid rgba(51, 184, 184, 0.28);
    box-shadow: 0 8px 24px rgba(0, 153, 153, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-about .value-icon .icons {
    filter: drop-shadow(0 0 8px rgba(51, 184, 184, 0.35));
}

body.page-about .value-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--white);
}

body.page-about .value-card p {
    font-size: 14px;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 0;
    color: var(--muted);
}

body.page-about .value-card:hover {
    border-color: rgba(51, 184, 184, 0.32);
    box-shadow: 0 22px 44px rgba(0, 153, 153, 0.14);
}

/* Timeline */
body.page-about .timeline-container {
    max-width: 920px;
    padding: 20px 0 12px;
    position: relative;
    z-index: 1;
}

body.page-about .timeline-container::before {
    width: 3px;
    background: linear-gradient(180deg, var(--primary-light), rgba(51, 184, 184, 0.2) 85%, transparent);
    opacity: 0.5;
    box-shadow: 0 0 20px var(--about-glow);
}

body.page-about .timeline-item {
    margin-bottom: 44px;
    padding-right: 40px;
}

body.page-about .timeline-item:nth-child(even) {
    padding-left: 40px;
}

body.page-about .timeline-item::after {
    width: 18px;
    height: 18px;
    border-width: 3px;
    background: var(--bg-2);
    box-shadow: 0 0 0 4px rgba(51, 184, 184, 0.15), 0 0 16px rgba(51, 184, 184, 0.35);
}

body.page-about .timeline-item:last-child::after {
    background: var(--primary-dark);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(51, 184, 184, 0.25), 0 0 24px rgba(155, 230, 255, 0.4);
}

body.page-about .timeline-year {
    display: inline-block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(0, 122, 122, 0.5), rgba(51, 184, 184, 0.25));
    border: 1px solid rgba(51, 184, 184, 0.35);
}

body.page-about .timeline-item:last-child .timeline-year {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: rgba(155, 230, 255, 0.4);
}

body.page-about .timeline-content {
    padding: 22px 26px;
    border-radius: var(--about-radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

body.page-about .timeline-content:hover {
    border-color: rgba(51, 184, 184, 0.35);
    background: rgba(51, 184, 184, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 153, 153, 0.12);
}

body.page-about .timeline-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--white);
}

body.page-about .timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--muted);
}

/* CTA */
body.page-about .about-cta {
    padding: 56px 44px;
    text-align: center;
    border-radius: var(--about-radius);
    position: relative;
    overflow: hidden;
}

body.page-about .about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 70% at 50% 0%, rgba(0, 153, 153, 0.18), transparent 60%),
        radial-gradient(ellipse 40% 50% at 100% 100%, rgba(155, 230, 255, 0.08), transparent 50%);
}

body.page-about .about-cta > * {
    position: relative;
    z-index: 1;
}

body.page-about .about-cta .section-title {
    margin-bottom: 12px;
    font-size: clamp(26px, 4vw, 36px);
}

body.page-about .about-cta .section-desc {
    margin: 0 auto 28px;
    max-width: 520px;
}

body.page-about .about-cta .btn-primary {
    font-size: 16px;
    padding: 16px 36px;
}

@media (max-width: 1024px) {
    body.page-about .story-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    body.page-about .story-content {
        padding-left: 0;
        border-left: none;
    }

    body.page-about .story-image {
        order: -1;
        max-height: 380px;
    }

    body.page-about .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-about .timeline-item,
    body.page-about .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 40px !important;
        padding-right: 0 !important;
    }

    body.page-about .timeline-container::before {
        left: 14px;
        transform: none;
    }

    body.page-about .timeline-item::after,
    body.page-about .timeline-item:nth-child(even)::after {
        left: 6px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    body.page-about .section {
        padding: 64px 20px;
    }

    body.page-about .page-hero {
        padding: 128px 20px 64px;
    }

    body.page-about .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin-top: 36px;
        gap: 12px;
    }

    body.page-about .stat-card {
        padding: 20px 14px 18px;
    }

    body.page-about .section-header {
        margin-bottom: 36px;
    }

    body.page-about .section-header .section-title::after {
        margin-top: 14px;
        width: 40px;
    }

    body.page-about .story-grid {
        gap: 28px;
    }

    body.page-about .story-image {
        max-height: 260px;
    }

    body.page-about .story-watermark {
        right: 10px;
        bottom: 10px;
        padding: 6px 10px 6px 8px;
        gap: 8px;
    }

    body.page-about .story-watermark img {
        width: 28px;
        height: 28px;
    }

    body.page-about .story-watermark-brand {
        font-size: 11px;
    }

    body.page-about .story-actions .btn-primary,
    body.page-about .story-actions .btn-outline {
        flex: 1 1 auto;
        justify-content: center;
        min-width: min(100%, 200px);
    }

    body.page-about .values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.page-about .value-card {
        padding: 22px 20px;
    }

    body.page-about .timeline-item {
        margin-bottom: 22px;
        padding-left: 36px !important;
    }

    body.page-about .timeline-content {
        padding: 16px 18px;
    }

    body.page-about .about-cta {
        padding: 36px 22px;
    }
}
