/* ═══════════════════════════════════════
   价值观页 · page-about-values
   ═══════════════════════════════════════ */

html.lenis,
html.lenis body {
    height: auto;
}

html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
    overflow: hidden;
}

html.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.page-about-values {
    --val-surface: #f7fbfb;
    --val-line: #e8ecef;
    --val-muted: #64748b;
    --val-subtle: #f8fafb;
}

.page-about-values .val-main {
    overflow: visible;
}

/* ── Hero ── */

.val-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(20rem, 48vh, 28rem);
    padding: calc(var(--header-height) + 3rem) 1rem 3.5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--val-surface) 0%, #fff 78%);
    text-align: center;
}

.val-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 214, 187, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 214, 187, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.val-hero__glow {
    position: absolute;
    width: min(72vw, 620px);
    height: min(72vw, 620px);
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 68%);
    opacity: 0.12;
    filter: blur(52px);
    pointer-events: none;
    will-change: transform;
}

.val-hero__inner {
    position: relative;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
}

.val-hero__label {
    margin: 0 0 1rem;
    font-size: 0.6875rem;
    letter-spacing: 0.32em;
    color: var(--primary-color);
    font-weight: 600;
}

.val-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

.val-hero__title em {
    font-style: normal;
    color: var(--primary-color);
}

.val-hero__rule {
    width: 3rem;
    height: 2px;
    margin: 0 auto 1.25rem;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform-origin: center;
}

.val-hero__desc {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--val-muted);
}

/* ── Section ── */

.val-section {
    padding: clamp(3rem, 6vw, 4.5rem) 1rem;
}

.val-section--manifesto {
    background: var(--val-subtle);
}

.val-section--core {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--val-subtle) 100%);
}

.val-core__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 214, 187, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 214, 187, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
    pointer-events: none;
}

.val-core__glow {
    position: absolute;
    width: min(56vw, 480px);
    height: min(56vw, 480px);
    top: 8%;
    right: -8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 214, 187, 0.14) 0%, transparent 68%);
    filter: blur(40px);
    pointer-events: none;
}

.val-core__intro {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 76rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    align-items: end;
}

.val-core__intro-copy {
    max-width: 28rem;
}

.val-core__label {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    font-weight: 600;
    color: var(--primary-color);
}

.val-core__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.875rem, 4.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--text-color);
}

.val-core__rule {
    width: 2.5rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.val-core__desc {
    margin: 0;
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--val-muted);
}

.val-mosaic-wrap {
    position: relative;
    isolation: isolate;
    max-width: 76rem;
    margin: 0 auto;
}

.val-mosaic {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

.val-mosaic__spotlight {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 1.125rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform-origin: left top;
    background: linear-gradient(155deg, #fff 0%, rgba(17, 214, 187, 0.11) 100%);
    border: 1px solid rgba(17, 214, 187, 0.42);
    box-shadow: none;
    overflow: hidden;
    will-change: transform, width, height;
}

.val-mosaic__spotlight-glow {
    position: absolute;
    width: 18rem;
    height: 18rem;
    top: -5rem;
    right: -3rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 214, 187, 0.32) 0%, transparent 68%);
    pointer-events: none;
}

.val-mosaic__spotlight-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 38%,
        rgba(255, 255, 255, 0.65) 50%,
        transparent 62%
    );
    transform: translateX(-130%);
    pointer-events: none;
}

.val-mosaic-wrap.is-interacting .val-mosaic__spotlight {
    visibility: visible;
}

.val-mosaic-wrap.is-interacting .val-tile {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(232, 236, 239, 0.85);
    box-shadow: none;
}

.val-mosaic-wrap.is-interacting .val-tile.is-active {
    background: transparent;
    border-color: transparent;
}

.val-tile {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 11.5rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    border: 1px solid var(--val-line);
    border-radius: 1.125rem;
    background: linear-gradient(145deg, #fff 0%, rgba(247, 251, 251, 0.88) 100%);
    overflow: hidden;
    will-change: transform;
    cursor: default;
}

.val-tile--lead {
    min-height: 14rem;
    border-color: rgba(17, 214, 187, 0.24);
    background: linear-gradient(135deg, #fff 0%, rgba(17, 214, 187, 0.07) 52%, rgba(247, 251, 251, 0.92) 100%);
}

.val-mosaic-wrap.is-interacting .val-tile--lead {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(232, 236, 239, 0.85);
}

.val-tile.is-active .val-tile__icon {
    opacity: 1;
    filter: saturate(1);
}

.val-tile.is-dim {
    opacity: 0.72;
}

.val-tile__ghost {
    position: absolute;
    right: -0.1em;
    bottom: -0.15em;
    font-size: clamp(4.5rem, 14vw, 7.5rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: rgba(17, 214, 187, 0.07);
    pointer-events: none;
    user-select: none;
    transition: color 0.35s ease, transform 0.35s ease;
}

.val-tile--lead .val-tile__ghost {
    font-size: clamp(5.5rem, 18vw, 10rem);
    color: rgba(17, 214, 187, 0.09);
}

.val-tile__mark {
    position: absolute;
    top: 0.625rem;
    right: 0.75rem;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(17, 214, 187, 0.08);
    pointer-events: none;
    user-select: none;
}

.val-tile__icon {
    position: relative;
    z-index: 1;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.875rem;
    object-fit: contain;
    opacity: 0.88;
    filter: saturate(0.82);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.val-tile__content {
    position: relative;
    z-index: 1;
}

.val-tile__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.val-tile--lead .val-tile__title {
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}

.val-tile__desc {
    margin: 0;
    max-width: 34rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--val-muted);
}

.val-tile--lead .val-tile__desc {
    font-size: 0.9375rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .val-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .val-tile--lead {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .val-core__intro {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .val-core__desc {
        justify-self: end;
        text-align: right;
    }

    .val-mosaic {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-rows: minmax(9.5rem, auto);
        gap: 1rem;
    }

    .val-tile:nth-child(1) {
        grid-column: 1 / 8;
        grid-row: 1 / 3;
    }

    .val-tile:nth-child(2) {
        grid-column: 8 / 13;
        grid-row: 1 / 2;
    }

    .val-tile:nth-child(3) {
        grid-column: 8 / 13;
        grid-row: 2 / 3;
    }

    .val-tile:nth-child(4) {
        grid-column: 1 / 5;
        grid-row: 3 / 4;
    }

    .val-tile:nth-child(5) {
        grid-column: 5 / 9;
        grid-row: 3 / 4;
    }

    .val-tile:nth-child(6) {
        grid-column: 9 / 13;
        grid-row: 3 / 4;
    }

    .val-tile--lead {
        grid-column: 1 / 8;
    }
}

.val-section__head {
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.val-section__label {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    font-weight: 600;
    color: var(--primary-color);
}

.val-section__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.val-section__rule {
    width: 2.5rem;
    height: 2px;
    margin: 0 auto 0.875rem;
    border-radius: 2px;
    background: var(--primary-color);
    transform-origin: center;
}

.val-section__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--val-muted);
}

/* ── Manifesto ── */

.val-section--manifesto {
    position: relative;
    overflow: hidden;
    padding-top: clamp(3.5rem, 7vw, 5rem);
    padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.val-manifesto__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 12% 42%, rgba(17, 214, 187, 0.1), transparent 68%),
        radial-gradient(ellipse 45% 40% at 88% 18%, rgba(17, 214, 187, 0.07), transparent 62%),
        linear-gradient(180deg, var(--val-subtle) 0%, #fff 100%);
    pointer-events: none;
}

.val-manifesto__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 214, 187, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 214, 187, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 15%, transparent 78%);
    pointer-events: none;
}

.val-manifesto {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
}

.val-manifesto__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: stretch;
}

.val-manifesto__lead {
    position: relative;
    z-index: 1;
}

.val-manifesto__label {
    margin: 0 0 0.875rem;
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    font-weight: 600;
    color: var(--primary-color);
}

.val-manifesto__headline {
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.val-manifesto__headline-em {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--primary-color);
}

.val-manifesto__headline-sub {
    font-size: clamp(1.375rem, 3.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.val-manifesto__rule {
    width: 3.5rem;
    height: 2px;
    margin: 0 0 1.25rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.val-manifesto__contrast {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.val-manifesto__contrast-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--val-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.8125rem;
    color: var(--val-muted);
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.val-manifesto__contrast-item.is-active {
    border-color: rgba(17, 214, 187, 0.45);
    background: rgba(17, 214, 187, 0.08);
    color: var(--text-color);
}

.val-manifesto__contrast-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.val-manifesto__contrast-item.is-active .val-manifesto__contrast-key {
    background: var(--primary-color);
    color: #fff;
}

.val-manifesto__panel {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    padding-left: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--val-line);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 1.25rem 1.25rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 251, 251, 0.9) 55%, rgba(17, 214, 187, 0.05) 100%);
    overflow: hidden;
}

.val-manifesto__panel-glow {
    position: absolute;
    width: 16rem;
    height: 16rem;
    top: -5rem;
    right: -3rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 214, 187, 0.16) 0%, transparent 68%);
    pointer-events: none;
}

.val-manifesto__watermark {
    position: absolute;
    top: -0.75rem;
    right: -0.25rem;
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(17, 214, 187, 0.06);
    pointer-events: none;
    user-select: none;
}

.val-manifesto__quote {
    position: relative;
    z-index: 1;
    margin: 0 0 1.125rem;
    font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.val-manifesto__quote-mark {
    margin-right: 0.125rem;
    color: rgba(17, 214, 187, 0.55);
    font-weight: 800;
}

.val-manifesto__body {
    position: relative;
    z-index: 1;
    margin: 0 0 1.375rem;
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--val-muted);
}

.val-manifesto__tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.val-manifesto__tags span {
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(17, 214, 187, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary-dark);
}

@media (min-width: 768px) {
    .val-manifesto__stage {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: clamp(2rem, 4vw, 3rem);
        align-items: center;
    }

    .val-manifesto__headline-sub br {
        display: none;
    }
}

/* ── Leave philosophy ── */

.val-section--leave {
    position: relative;
    overflow: visible;
    background: #fff;
}

.val-leave__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 15% 20%, rgba(17, 214, 187, 0.08), transparent 68%),
        linear-gradient(180deg, var(--val-subtle) 0%, #fff 100%);
    pointer-events: none;
}

.val-leave__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 214, 187, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 214, 187, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 12%, transparent 78%);
    pointer-events: none;
}

.val-leave__intro {
    position: relative;
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.val-leave__label {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    font-weight: 600;
    color: var(--primary-color);
}

.val-leave__title {
    margin: 0 0 0.875rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

.val-leave__rule {
    width: 2.5rem;
    height: 2px;
    margin: 0 0 1rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.val-leave__lead {
    margin: 0 0 0.5rem;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.val-leave__desc {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--val-muted);
}

.val-leave-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 2.75rem);
    max-width: 36rem;
    margin: 0 auto;
}

.val-leave-head {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.val-leave-nav__rail {
    position: relative;
    display: grid;
    grid-template-columns: 3px 1fr;
    gap: 0 1rem;
    align-items: stretch;
    width: 100%;
}

.val-leave-nav__track {
    position: relative;
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
    border-radius: 3px;
    background: rgba(17, 214, 187, 0.12);
    overflow: hidden;
}

.val-leave-nav__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), rgba(17, 214, 187, 0.45));
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
}

.val-leave-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.val-leave-nav__item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.625rem;
    align-items: center;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    transition: background 0.35s ease;
}

.val-leave-nav__item.is-active {
    background: rgba(17, 214, 187, 0.08);
}

.val-leave-nav__item:not(.is-active) .val-leave-nav__num,
.val-leave-nav__item:not(.is-active) .val-leave-nav__label {
    color: var(--val-muted);
    opacity: 0.55;
}

.val-leave-nav__item:not(.is-active) .val-leave-nav__dot {
    background: rgba(17, 214, 187, 0.16);
}

.val-leave-nav__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(17, 214, 187, 0.28);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.val-leave-nav__item.is-active .val-leave-nav__dot {
    background: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(17, 214, 187, 0.14);
}

.val-leave-nav__num {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary-color);
}

.val-leave-nav__label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.val-leave-story {
    position: relative;
    width: 100%;
    padding-top: clamp(0.5rem, 2vw, 1rem);
    border-top: 1px solid var(--val-line);
}

.val-leave-chapter {
    position: relative;
    min-height: clamp(13rem, 42vh, 18rem);
    display: flex;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
    border-bottom: 1px solid var(--val-line);
    opacity: 0.34;
    transition: opacity 0.45s ease;
}

.val-leave-chapter:last-child {
    border-bottom: none;
}

.val-leave-chapter.is-active {
    opacity: 1;
}

.val-leave-chapter__mark {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(17, 214, 187, 0.05);
    pointer-events: none;
    user-select: none;
    transition: color 0.45s ease;
}

.val-leave-chapter.is-active .val-leave-chapter__mark {
    color: rgba(17, 214, 187, 0.09);
}

.val-leave-chapter__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
    width: 100%;
}

.val-leave-chapter__index {
    margin: 0;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: rgba(17, 214, 187, 0.16);
    transition: color 0.45s ease;
}

.val-leave-chapter.is-active .val-leave-chapter__index {
    color: var(--primary-color);
}

.val-leave-chapter__body {
    padding-top: 0.35rem;
    border-left: 2px solid transparent;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    transition: border-color 0.45s ease;
}

.val-leave-chapter.is-active .val-leave-chapter__body {
    border-left-color: rgba(17, 214, 187, 0.45);
}

.val-leave-chapter__title {
    margin: 0 0 0.625rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.val-leave-chapter__desc {
    margin: 0;
    max-width: 32rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--val-muted);
}

@media (min-width: 992px) {
    .val-leave-stage {
        display: grid;
        grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
        gap: clamp(2.5rem, 5vw, 4.5rem);
        max-width: 76rem;
        margin: 0 auto;
        align-items: start;
    }

    .val-leave-head {
        z-index: 2;
        align-self: start;
    }

    .val-leave__title {
        white-space: nowrap;
        font-size: clamp(1.625rem, 2.2vw, 2rem);
    }

    .val-leave__lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .val-leave-story {
        border-top: none;
        padding-top: 0;
        min-width: 0;
    }

    .val-leave-chapter {
        min-height: clamp(16rem, 56vh, 22rem);
    }

    .val-leave-nav__item {
        cursor: pointer;
    }
}

@media (max-width: 991px) {
    .val-leave__intro {
        text-align: center;
    }

    .val-leave__rule {
        margin-left: auto;
        margin-right: auto;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    }

    .val-leave-nav__rail {
        max-width: 20rem;
        margin-left: auto;
        margin-right: auto;
    }

    .val-leave-chapter {
        opacity: 1;
        min-height: auto;
    }
}

/* ── CTA ── */

.val-cta {
    padding: clamp(3rem, 6vw, 4.5rem) 1rem clamp(4rem, 8vw, 5rem);
    background: var(--val-subtle);
}

.val-cta__card {
    position: relative;
    max-width: 76rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--val-line);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 251, 0.92) 55%, rgba(17, 214, 187, 0.06) 100%);
    overflow: hidden;
}

.val-cta__glow {
    position: absolute;
    width: min(24rem, 45vw);
    height: min(24rem, 45vw);
    top: -35%;
    right: -6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 214, 187, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.val-cta__mark {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(17, 214, 187, 0.07);
    pointer-events: none;
    user-select: none;
}

.val-cta__stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: center;
}

.val-cta__label {
    margin: 0 0 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--primary-color);
}

.val-cta__title {
    margin: 0 0 0.875rem;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-color);
}

.val-cta__title-br {
    display: none;
}

.val-cta__rule {
    width: 2.5rem;
    height: 2px;
    margin: 0 0 1.125rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.val-cta__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.val-cta__tags span {
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(17, 214, 187, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary-dark);
}

.val-cta__panel {
    padding-left: 0;
}

.val-cta__desc {
    margin: 0 0 1.5rem;
    max-width: 28rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--val-muted);
}

.val-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.val-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.5rem;
    min-height: 2.75rem;
    padding: 0 1.5rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.val-cta__btn--primary {
    color: #fff;
    background: var(--primary-color);
    border: 1px solid transparent;
}

.val-cta__btn--ghost {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 214, 187, 0.35);
}

@media (min-width: 768px) {
    .val-cta__stage {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(2rem, 4vw, 3rem);
    }

    .val-cta__panel {
        padding-left: clamp(1.5rem, 3vw, 2.5rem);
        border-left: 1px solid var(--val-line);
    }

    .val-cta__desc {
        max-width: none;
    }
}

@media (min-width: 992px) {
    .val-cta__title {
        white-space: nowrap;
    }
}

@media (hover: hover) and (pointer: fine) {
    .val-cta__btn--primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(17, 214, 187, 0.28);
    }

    .val-cta__btn--ghost:hover {
        transform: translateY(-2px);
        border-color: rgba(17, 214, 187, 0.55);
        background: rgba(17, 214, 187, 0.06);
    }
}

@media (max-width: 767px) {
    .val-cta__title-br {
        display: inline;
    }

    .val-cta__rule {
        margin-left: auto;
        margin-right: auto;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    }

    .val-cta__lead {
        text-align: center;
    }

    .val-cta__tags {
        justify-content: center;
    }

    .val-cta__panel {
        text-align: center;
    }

    .val-cta__actions {
        justify-content: center;
    }
}

/* ── Responsive ── */

@media (prefers-reduced-motion: reduce) {
    .val-tile,
    .val-tile__ghost,
    .val-tile__icon,
    .val-leave-chapter,
    .val-leave-nav__item,
    .val-leave-nav__dot,
    .val-leave-chapter__index,
    .val-leave-chapter__body,
    .val-leave-chapter__mark,
    .val-cta__btn {
        transition: none;
    }

    .val-leave-nav__fill {
        transform: scaleY(1);
    }

    .val-leave-chapter {
        opacity: 1;
    }
}
