/* ===========================================
   philosophy.css — Our Philosophy 页级（方案 A）

   加载顺序：brand_landing.css（共用壳）→ 本文件
   本文件只写：Hero 高度差、phil-* 正文版式
   类名前缀 phil-；Section margin 0；不写 :root
   注释约定：只可改措辞，禁止无说明删除
=========================================== */

/* Hero 高度（相对共用壳的页级差） */
body.page-philosophy .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
    min-height: 420px;
    padding: clamp(56px, 8vw, 88px) var(--lp-spacing-lg, 24px);
}

@media (max-width: 767px) {
    body.page-philosophy .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
        min-height: 360px;
        padding: clamp(48px, 10vw, 64px) 20px;
    }
}

@media (min-width: 768px) {
    body.page-philosophy .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    body.page-philosophy .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
        min-height: 560px;
    }
}

body.page-philosophy .lp-hero--marketing .lp-hero-subtitle {
    max-width: 32rem;
}
.phil-section {
    margin: 0;
    padding: clamp(36px, 4vw, 52px) 0;
    background: #faf8f4;
}

.phil-section--paper {
    background: #fff;
}

.phil-section--stone {
    background: #f3efe7;
}

.phil-section__inner {
    max-width: var(--lp-content-max, 1200px);
    margin: 0 auto;
    padding: 0 var(--lp-spacing-lg, 24px);
}

.phil-kicker {
    display: inline-block;
    margin: 0 0 0.625rem;
    font-family: var(--lp-font);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a7f6e;
}

.phil-heading {
    margin: 0 0 0.75rem;
    font-family: var(--lp-font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--color-primary, #1a2f34);
}

.phil-lead {
    margin: 0 0 0.75rem;
    font-family: var(--lp-font);
    font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.78);
}

.phil-copy {
    margin: 0 0 0.75rem;
    font-family: var(--lp-font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.72);
}

.phil-copy:last-child {
    margin-bottom: 0;
}

.phil-section-head--center {
    max-width: 40rem;
    margin: 0 auto clamp(22px, 3vw, 32px);
    text-align: center;
}

.phil-section-head--center .phil-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Open：限宽宣言分栏 */
.phil-section--open {
    padding: clamp(28px, 3.5vw, 40px) 0;
    background: #fff;
}

.phil-open {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 2px;
    background: #faf8f4;
}

.phil-open__media {
    margin: 0;
    overflow: hidden;
    background: #ebe6dc;
    min-height: 260px;
}

.phil-open__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    max-height: 440px;
    object-fit: cover;
}

.phil-open__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.5vw, 40px);
    text-align: left;
}

.phil-open__copy .phil-heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Features：交替图文 */
.phil-split {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.phil-split--reverse .phil-split__copy {
    order: 2;
}

.phil-split--reverse .phil-split__media {
    order: 1;
}

.phil-split__media {
    margin: 0;
    overflow: hidden;
    border-radius: 2px;
    background: #ebe6dc;
}

.phil-split__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.phil-lines {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.phil-lines li {
    margin: 0;
    padding: 0.625rem 0;
    font-family: var(--lp-font);
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(26, 47, 52, 0.68);
    border-bottom: 1px solid rgba(138, 127, 110, 0.22);
}

.phil-lines li:last-child {
    border-bottom: none;
}

/* Reasons：3 点 */
.phil-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
    text-align: left;
}

.phil-reason-card__media {
    overflow: hidden;
    border-radius: 2px;
}

.phil-reason-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.phil-reason-card__body {
    padding: 16px 2px 0;
}

.phil-reason-card__body h3 {
    margin: 0 0 0.375rem;
    font-family: var(--lp-font-display);
    font-size: clamp(1.2rem, 2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-primary, #1a2f34);
}

.phil-reason-card__body p {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.72);
}

/* 移动端（phil-* 正文；Hero 按钮列布局在 brand_landing.css） */
@media (max-width: 992px) {
    .phil-open {
        grid-template-columns: 1fr;
        background: transparent;
    }

    .phil-open__media {
        min-height: 0;
        border-radius: 2px 2px 0 0;
    }

    .phil-open__media img {
        min-height: 0;
        max-height: none;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .phil-open__copy {
        justify-content: flex-start;
        padding: 20px 18px 22px;
        background: #faf8f4;
        border-radius: 0 0 2px 2px;
    }

    .phil-split,
    .phil-split--reverse .phil-split__copy,
    .phil-split--reverse .phil-split__media {
        display: flex;
        flex-direction: column;
    }

    .phil-split--reverse .phil-split__media,
    .phil-split .phil-split__media {
        order: -1;
    }

    .phil-reason-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .phil-section {
        padding: clamp(28px, 6vw, 40px) 0;
    }
}
