/* About page */
.about-page {
    padding-top: 0;
    padding-bottom: 0;
    background: var(--color-surface);
}

.header .menu__list a.menu__link--current {
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* Hero（背景图由 picture/img 加载，与 media-kit hero 一致） */
.about-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

.about-hero__bg-wrapper {
    position: relative;
    z-index: 0;
}

.about-hero__bg-wrapper picture {
    display: block;
}

.about-hero__img {
    display: block;
    width: 100%;
    min-height: 420px;
    height: auto;
    object-fit: cover;
    object-position: center;
    background-color: var(--color-surface-accent);
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
}

.about-hero__content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    padding: 4rem 0;
    box-sizing: border-box;
}

.about-hero__content-inner {
    width: 100%;
}

.about-hero__title {
    font-size: var(--font-size-64);
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-hero__intro {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.about-hero__subtitle {
    font-size: var(--font-size-18);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.about-hero__subtitle--lead {
    font-weight: 500;
}

/* Intro */
.about-intro {
    background: var(--color-surface);
    padding: 3rem var(--container-padding);
}

.about-intro__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro__text {
    font-size: var(--font-size-16);
    color: var(--color-surface-dark);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* Content blocks: image + text */
.about-content {
    background: var(--color-surface-accent);
    padding: 3rem 0 4rem;
}

.about-content__inner {
    max-width: 1165px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.about-content__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-content__row:last-child {
    margin-bottom: 0;
}

.about-content__row--reverse .about-content__img {
    order: 2;
}

.about-content__row--reverse .about-content__text {
    order: 1;
}

.about-content__img {
    background: var(--color-surface);
    padding: 8px;
    overflow: hidden;
}

.about-content__img img {
    display: block;
    width: 100%;
    height: auto;
}

.about-content__text {
    font-size: var(--font-size-16);
    color: var(--color-surface-dark);
    opacity: 0.85;
    line-height: 1.7;
}

.about-content__text p {
    margin: 0;
}

/* Our DNA（与首页 dna 一致布局与样式） */
.about-dna {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem var(--container-padding);
    background: var(--color-surface);
}

.about-dna__title {
    font-size: var(--font-size-32);
    font-weight: 400;
    color: var(--color-surface-dark);
    margin: 0;
}

.about-dna__right {
    display: flex;
    gap: 2rem;
}

.about-dna__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-dna__img-wrapper {
    border-radius: 1rem;
    overflow: hidden;
}

.about-dna__img-wrapper picture {
    display: contents;
}

.about-dna__img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.about-dna__card-title {
    font-size: var(--font-size-24);
    font-weight: 400;
    color: var(--color-surface-dark);
    margin: 0 0 1rem;
}

.about-dna__tagline {
    flex-basis: 100%;
    width: 100%;
    margin-top: 2.5rem;
    margin-bottom: 0;
    text-align: center;
    font-size: var(--font-size-20);
    font-weight: 400;
    color: var(--color-surface-dark);
    opacity: 0.9;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-content__row,
    .about-content__row--reverse {
        grid-template-columns: 1fr;
    }

    .about-content__row--reverse .about-content__img,
    .about-content__row--reverse .about-content__text {
        order: unset;
    }
}

/* about-hero 移动端：上图下文，文案区浅色底、左对齐（与稿一致） */
@media (max-width: 768px) {
    .about-hero {
        display: flex;
        flex-direction: column;
    }

    .about-hero__overlay {
        display: none;
    }

    .about-hero__bg-wrapper {
        position: relative;
        width: 100%;
        flex: 0 0 auto;
        min-height: clamp(240px, 58vh, 72vh);
        max-height: 72vh;
        overflow: hidden;
    }

    .about-hero__img {
        min-height: clamp(240px, 58vh, 72vh);
        max-height: 72vh;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .about-hero__content {
        position: relative;
        inset: auto;
        z-index: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        display: block;
        align-items: stretch;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        text-align: left;
        background: var(--color-surface);
    }

    .about-hero__content-inner {
        padding: 2rem var(--container-padding) 2.75rem;
        box-sizing: border-box;
    }

    .about-hero__title {
        font-size: var(--font-size-24);
        font-weight: 600;
        color: var(--color-surface-dark);
        text-shadow: none;
        margin: 0 0 1rem;
    }

    .about-hero__intro {
        gap: 0.5rem;
    }

    .about-hero__subtitle {
        font-size: var(--font-size-16);
        font-weight: 400;
        color: var(--color-surface-dark);
        text-shadow: none;
        opacity: 0.92;
        line-height: 1.5;
    }

    .about-hero__subtitle--lead {
        font-weight: 500;
    }

    /* Our DNA：与首页 .home-dna（index.css）一致 — 约 1.5 卡宽、横滑/拖动 */
    .about-dna {
        --about-dna-m-gap: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 3rem 20px;
    }

    .about-dna__title {
        font-size: var(--font-size-24);
    }

    .about-dna__right {
        container-type: inline-size;
        container-name: about-dna-m;
        flex-wrap: nowrap;
        gap: var(--about-dna-m-gap);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        touch-action: pan-x;
        box-sizing: border-box;
    }

    .about-dna__right::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .about-dna__right::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: var(--radius-full);
    }

    .about-dna__right.is-dragging {
        cursor: grabbing;
        user-select: none;
    }

    .about-dna__right.is-dragging .about-dna__img-wrapper img {
        pointer-events: none;
    }

    .about-dna__right .about-dna__card {
        flex: 0 0 calc((100cqi - var(--about-dna-m-gap)) / 1.5);
        min-width: 0;
        box-sizing: border-box;
    }

    .about-dna__img-wrapper {
        border-radius: 9px;
        aspect-ratio: 3 / 4;
        cursor: pointer;
    }

    .about-dna__img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .about-dna__right .about-dna__card-title {
        font-size: var(--font-size-14);
        margin-bottom: 0;
    }
}

@media (max-width: 560px) {
    .about-dna__tagline {
        font-size: var(--font-size-16);
    }
}
