/* ============================================================
   hero_landing_ritual.css — PAGE 03 Lifestyle
   From the Stone · Aesop / Muji / Chef's Table

   Atmosphere / Dining / Emotion / Memory
   section 间距用 padding，margin 为 0 · 禁止再写 :root
   ============================================================ */

.page-ritual-ls {
    --ls-ink: #1c1b19;
    --ls-text: #2f2d2a;
    --ls-mute: #7a756e;
    --ls-line: rgba(28, 27, 25, 0.12);
    --ls-paper: #fbfaf8;
    --ls-wash: #f3f1ed;
    --ls-white: #ffffff;
    --ls-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --ls-sans: "Source Sans 3", "Segoe UI", sans-serif;
    --ls-kicker-size: 0.6875rem;
    --ls-kicker-track: 0.2em;
    --ls-pad-y: var(--hlp-pad-y, clamp(56px, 7vw, 96px));
    --ls-pad-x: var(--hlp-pad-x, clamp(20px, 5vw, 48px));
    --ls-max: 72rem;
    background: var(--ls-paper);
    color: var(--ls-text);
    font-family: var(--ls-sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.page-ritual-ls .ls {
    overflow-x: hidden;
}

.page-ritual-ls img {
    display: block;
    width: 100%;
    height: auto;
}

/* 满高裁切图：必须压过上方 height:auto（Hero 用 stories-hero-kb，不在此列） */
.page-ritual-ls .ls-moment__image,
.page-ritual-ls .ls-memory__figure img,
.page-ritual-ls .ls-types__image {
    height: 100%;
    object-fit: cover;
}

.page-ritual-ls section {
    margin: 0;
}

.ls-kicker {
    margin: 0 0 1.15rem;
    font-family: var(--ls-sans);
    font-size: var(--ls-kicker-size);
    font-weight: 600;
    letter-spacing: var(--ls-kicker-track);
    text-transform: uppercase;
    color: var(--ls-mute);
    line-height: 1.4;
}


/* ------------------------------------------------------------
   Hero — 壳层；媒体 Ken Burns = _stories_hero_ken_burns（veil=ritual）
   ------------------------------------------------------------ */
.ls-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    color: var(--ls-ink);
    background: var(--ls-white);
}

/* Lifestyle 构图微调（共享层默认 center；本页略偏上 + 轻提亮） */
.page-ritual-ls .stories-hero-kb__el--image {
    object-position: center 40%;
    filter: saturate(0.92) brightness(1.06);
}

.ls-hero__copy {
    position: relative;
    z-index: 1;
    width: min(100%, 40rem);
    margin: 0 auto;
    padding: 0 var(--ls-pad-x) clamp(88px, 14vh, 128px);
    text-align: center;
}

.ls-hero__eyebrow {
    color: rgba(28, 27, 25, 0.55);
}

.ls-hero__title {
    margin: 0;
    font-family: var(--ls-serif);
    font-weight: 400;
    font-size: clamp(2.6rem, 7vw, 4.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ls-ink);
}

.ls-hero__title-line {
    display: block;
}

.ls-hero__title-line:last-child {
    font-style: italic;
}

.ls-hero__hint {
    position: absolute;
    left: 50%;
    bottom: clamp(20px, 4vh, 36px);
    z-index: 2;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    color: var(--ls-mute);
}

.ls-hero__hint-arrow {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(0) rotate(45deg);
    margin-top: 8px;
    opacity: 0.75;
}

.ls-hero__hint.is-breathe .ls-hero__hint-arrow {
    animation: lsHintBreath 2.4s ease-in-out infinite;
}

@keyframes lsHintBreath {
    0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.4; }
    50% { transform: translateY(8px) rotate(45deg); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
    .ls-hero__hint.is-breathe .ls-hero__hint-arrow {
        animation: none;
    }
}


/* ------------------------------------------------------------
   §01 Memory — 先图文 · 再数据
   ------------------------------------------------------------ */
.ls-memory {
    padding: var(--ls-pad-y) 0;
    background: var(--ls-paper);
}

.ls-memory__inner {
    width: min(100%, 88rem);
    margin: 0 auto;
    padding: 0 var(--ls-pad-x);
}

.ls-memory__stage {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.ls-memory__figure {
    margin: 0;
    overflow: hidden;
    background: var(--ls-wash);
    min-height: clamp(320px, 52vh, 640px);
}

.ls-memory__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ls-memory__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px);
}

.ls-memory__aside {
    margin: 0 0 1.35rem;
    max-width: 22ch;
    font-family: var(--ls-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.35;
    color: var(--ls-mute);
}

.ls-memory__lines {
    margin: 0 0 1.35rem;
    font-family: var(--ls-serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ls-ink);
}

.ls-memory__line {
    display: block;
}

.ls-memory__line:last-child {
    font-style: italic;
}

.ls-memory__lead {
    margin: 0;
    max-width: 30rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ls-mute);
}

.ls-memory__stats {
    list-style: none;
    margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    border-top: 1px solid var(--ls-line);
}

.ls-memory__stat {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.25rem 1.45rem;
    background: var(--ls-white);
    border: 1px solid var(--ls-line);
    border-top: 2px solid var(--ls-ink);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.ls-memory__stat.is-in {
    opacity: 1;
    transform: none;
}

.ls-memory__stat:nth-child(2).is-in { transition-delay: 0.08s; }
.ls-memory__stat:nth-child(3).is-in { transition-delay: 0.16s; }

.ls-memory__stat-value {
    margin: 0 0 0.35rem;
    font-family: var(--ls-serif);
    font-size: clamp(2rem, 3.4vw, 2.65rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ls-ink);
}

.ls-memory__stat-label {
    margin: 0 0 0.85rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ls-mute);
}

.ls-memory__stat-text {
    margin: 0;
    margin-top: auto;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--ls-mute);
}


/* ------------------------------------------------------------
   §02 Dining Moments — 沉浸式窥探横滑
   主卡 ~85% + 两侧偷窥；文案压图底
   标题 + 图区（含 dots）合计 ≤ 视口 80%，同屏可读
   ------------------------------------------------------------ */
.ls-moments {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 80vh;
    height: 80dvh;
    max-height: 80vh;
    max-height: 80dvh;
    padding: 0.75rem 0 0.85rem;
    overflow: hidden;
    background: var(--ls-wash);
    scroll-margin-top: 4.5rem;
}

.ls-moments__intro {
    flex: 0 0 auto;
    padding: 0.35rem var(--ls-pad-x) 0.55rem;
    text-align: center;
}

.ls-moments__title {
    margin: 0 auto;
    max-width: 22ch;
    font-family: var(--ls-serif);
    font-weight: 400;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ls-ink);
}

.ls-moments__viewport {
    --ls-moment-main: 85%;
    --ls-moment-side: 7.5%;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.ls-moments__stage {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 0.65rem;
    padding: 0 var(--ls-moment-side);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ls-moments__stage::-webkit-scrollbar {
    display: none;
}

.ls-moment {
    position: relative;
    flex: 0 0 var(--ls-moment-main);
    width: var(--ls-moment-main);
    max-width: var(--ls-moment-main);
    height: 100%;
    min-height: 0;
    scroll-snap-align: center;
    color: #f7f5f1;
    transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}


.ls-moment:not(.is-active) {
    opacity: 0.55;
    filter: brightness(0.82) saturate(0.88);
    transform: scale(0.965);
    transform-origin: center center;
}

.ls-moment.is-active {
    opacity: 1;
    filter: none;
    transform: none;
    z-index: 1;
}

.ls-moment__hit {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--ls-ink);
    color: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.ls-moment__media {
    position: absolute;
    inset: 0;
    display: block;
}

.ls-moment__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ls-moment__veil {
    position: absolute;
    inset: 0;
    display: block;
    background:
        linear-gradient(180deg, rgba(20, 18, 16, 0.06) 0%, rgba(20, 18, 16, 0.28) 48%, rgba(20, 18, 16, 0.72) 100%);
}

.ls-moment__copy {
    position: absolute;
    left: clamp(18px, 3vw, 36px);
    bottom: clamp(22px, 4vw, 40px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: min(28rem, 78%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.ls-moment.is-active .ls-moment__copy {
    opacity: 1;
    transform: none;
}

.ls-moment__name {
    margin: 0 0 0.55rem;
    font-size: var(--ls-kicker-size);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.72);
}

.ls-moment__emotion {
    margin: 0 0 0.85rem;
    font-family: var(--ls-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.55rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.15;
}

.ls-moment__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(247, 245, 241, 0.86);
}

.ls-moments__dots {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem var(--ls-pad-x) 0.15rem;
}

.ls-moments__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(28, 27, 25, 0.22);
    transition: background 0.25s ease, transform 0.25s ease;
}

.ls-moments__dot.is-on {
    background: var(--ls-ink);
    transform: scale(1.15);
}


/* ------------------------------------------------------------
   §03 Restaurant Types — 超大图 + 悬停说明
   ------------------------------------------------------------ */
.ls-types {
    padding: var(--ls-pad-y) var(--ls-pad-x);
    background: var(--ls-paper);
}

.ls-types__intro {
    width: min(100%, var(--ls-max));
    margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.ls-types__title {
    margin: 0;
    max-width: 16ch;
    font-family: var(--ls-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ls-ink);
}

.ls-types__grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: min(100%, 88rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.ls-types__item {
    margin: 0;
}

.ls-types__card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--ls-wash);
    cursor: pointer;
    overflow: hidden;
    text-align: left;
    min-height: clamp(420px, 72vh, 760px);
    color: #f7f5f1;
}

.ls-types__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.ls-types__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 18, 16, 0.05) 0%, rgba(20, 18, 16, 0.35) 55%, rgba(20, 18, 16, 0.7) 100%);
    transition: background 0.35s ease;
}

.ls-types__name {
    position: absolute;
    left: clamp(16px, 2vw, 28px);
    bottom: clamp(18px, 3vw, 32px);
    z-index: 2;
    font-family: var(--ls-serif);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ls-types__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(20px, 3vw, 32px);
    background: rgba(20, 18, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.ls-types__panel-text {
    display: block;
    max-width: 28rem;
    font-size: 0.975rem;
    line-height: 1.6;
    color: rgba(247, 245, 241, 0.9);
}

.ls-types__card.is-open .ls-types__image,
.ls-types__card:hover .ls-types__image {
    transform: scale(1.04);
}

.ls-types__card.is-open .ls-types__name,
.ls-types__card:hover .ls-types__name {
    opacity: 0;
    transform: translateY(-8px);
}

.ls-types__card.is-open .ls-types__panel,
.ls-types__card:hover .ls-types__panel {
    opacity: 1;
    transform: none;
}


/* ------------------------------------------------------------
   §04 Business Value — 极简数字
   ------------------------------------------------------------ */
.ls-value {
    padding: var(--ls-pad-y) var(--ls-pad-x);
    background: var(--ls-wash);
}

.ls-value__inner {
    width: min(100%, var(--ls-max));
    margin: 0 auto;
    text-align: center;
}

.ls-value__title {
    margin: 0 auto 1rem;
    max-width: 16ch;
    font-family: var(--ls-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ls-ink);
}

.ls-value__lead {
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ls-mute);
}

.ls-value__metrics {
    list-style: none;
    margin: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--ls-line);
}

.ls-value__metric {
    padding: 0.5rem 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ls-value__metric.is-in {
    opacity: 1;
    transform: none;
}

.ls-value__metric:nth-child(2).is-in { transition-delay: 0.08s; }
.ls-value__metric:nth-child(3).is-in { transition-delay: 0.16s; }

.ls-value__number {
    margin: 0 0 0.55rem;
    font-family: var(--ls-serif);
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ls-ink);
}

.ls-value__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ls-mute);
}


/* ------------------------------------------------------------
   Tablet / Mobile
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .ls-memory__stage {
        grid-template-columns: 1fr;
    }

    .ls-memory__figure {
        min-height: clamp(220px, 42vw, 360px);
    }

    .ls-memory__copy {
        padding: 1.5rem 0 0;
    }

    /* 描述下方：三格数据 grid（保持横向三列） */
    .ls-memory__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
        margin-top: 1.35rem;
        padding-top: 1.15rem;
    }

    .ls-memory__stat {
        padding: 0.95rem 0.7rem 1.05rem;
    }

    .ls-memory__stat-value {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    }

    .ls-memory__stat-label {
        margin-bottom: 0.55rem;
        letter-spacing: 0.1em;
    }

    .ls-memory__stat-text {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .ls-value__metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .ls-types__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ls-types__card {
        min-height: clamp(320px, 62vw, 480px);
    }
}

@media (max-width: 768px) {
    /*
       Hero 移动端：上图下文（避免 100vh 叠字导致「图在上、字在底、中间空白」）
       图幅约定 4:5（见 HomeService / hero_image_mobile）
    */
    .ls-hero {
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .ls-hero__media {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
        aspect-ratio: 4 / 5;
        max-height: 62vh;
        max-height: 62dvh;
        overflow: hidden;
    }

    .ls-hero__veil {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 60%, rgba(251, 250, 248, 0.35) 100%);
    }

    .ls-hero__copy {
        position: relative;
        z-index: 1;
        width: 100%;
        margin: 0;
        padding: 1.35rem var(--ls-pad-x) 2.75rem;
        text-align: center;
    }

    .ls-hero__hint {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin: -1.5rem auto 1.25rem;
        color: var(--ls-mute);
        filter: none;
    }

    /*
       Dining Moments 移动端：同桌面沉浸窥探；再收紧标题字号
       标题 + 图区（文案压图底）合计 ≤ 视口 80%
    */
    .ls-moments {
        scroll-margin-top: 3.75rem;
        padding: 0.55rem 0 0.65rem;
    }

    .ls-moments__intro {
        padding: 0.4rem var(--ls-pad-x) 0.5rem;
    }

    .ls-moments__intro .ls-kicker {
        margin-bottom: 0.3rem;
    }

    .ls-moments__title {
        font-size: clamp(1.2rem, 4.6vw, 1.45rem);
        max-width: none;
        line-height: 1.2;
    }

    .ls-moments__viewport {
        --ls-moment-main: 85%;
        --ls-moment-side: 7.5%;
    }

    .ls-moments__stage {
        gap: 0.5rem;
    }

    .ls-moment:not(.is-active) {
        opacity: 0.55;
        filter: brightness(0.85) saturate(0.9);
        transform: scale(0.97);
    }

    .ls-moment__image {
        object-position: center 40%;
    }

    .ls-moment__copy {
        left: clamp(14px, 3vw, 22px);
        bottom: clamp(14px, 3vw, 22px);
        max-width: min(22rem, 82%);
    }

    .ls-moment__name {
        margin-bottom: 0.25rem;
        font-size: 0.625rem;
    }

    .ls-moment__emotion {
        margin-bottom: 0.3rem;
        font-size: clamp(1.15rem, 4vw, 1.4rem);
        line-height: 1.2;
    }

    .ls-moment__text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .ls-moments__dots {
        gap: 0.45rem;
        padding: 0.45rem var(--ls-pad-x) 0.1rem;
    }

    .ls-types__card.is-open .ls-types__name {
        opacity: 0;
    }

    .ls-types__name {
        bottom: clamp(16px, 3vw, 24px);
    }
}

/* 极窄屏：数据三格仍横排，文案再压缩 */
@media (max-width: 420px) {
    .ls-memory__stat-text {
        font-size: 0.72rem;
    }

    .ls-hero__media {
        aspect-ratio: 3 / 4;
        max-height: 58vh;
        max-height: 58dvh;
    }

    .ls-moment__text {
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ls-memory__stat,
    .ls-value__metric {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ls-moment,
    .ls-moment:not(.is-active),
    .ls-moment.is-active,
    .ls-moment__copy {
        transition: none;
        transform: none;
    }

    .ls-types__image {
        transition: none;
    }
}
