.about-story-page {
    --about-bg: #efe8dc;
    --about-paper: #f8f3ec;
    --about-sand: #e7dbca;
    --about-ink: #171412;
    --about-muted: #685f57;
    --about-line: rgba(23, 20, 18, 0.12);
    --about-line-strong: rgba(23, 20, 18, 0.24);
    --about-accent: #b97f4f;
    --about-dark: #131110;
    --about-dark-line: rgba(255, 243, 226, 0.16);
    --about-light: #f7efe3;
    --about-shadow: 0 24px 64px rgba(14, 12, 11, 0.14);
    color: var(--about-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 12rem),
        linear-gradient(90deg, rgba(23, 20, 18, 0.018) 1px, transparent 1px),
        linear-gradient(rgba(23, 20, 18, 0.018) 1px, transparent 1px),
        var(--about-bg);
    background-size: auto, 32px 32px, 32px 32px, auto;
    font-family: "SUIT Variable", "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    overflow-x: clip;
    position: relative;
}

.about-story-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 36%),
        radial-gradient(circle at 76% 24%, rgba(185, 127, 79, 0.08), transparent 28%),
        radial-gradient(circle at 30% 84%, rgba(23, 20, 18, 0.04), transparent 34%);
    z-index: 0;
}

/* 보험플랫폼( body.insurance-lilac-page )는 /css/improved_header.css 라일락 헤더 유지 — :not 으로 제외 */
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header {
    background: rgba(246, 239, 229, 0.92) !important;
    border-bottom: 1px solid rgba(23, 20, 18, 0.08) !important;
    box-shadow: 0 12px 30px rgba(23, 20, 18, 0.05);
}

body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .header-glass-bg {
    background: rgba(246, 239, 229, 0.94) !important;
    opacity: 1 !important;
}

body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .logo-container .logo,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .beta-badge,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .nav-btn,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .nav-btn span,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .nav-item,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .user-menu-toggle,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu .menu-text,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu i,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .login-btn {
    color: var(--about-ink) !important;
}

body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu.logged-in,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu.logged-in .menu-text,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu.logged-in i {
    color: #8b4a32 !important;
}

body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu.logged-in:hover,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu.logged-in:hover .menu-text,
body:has(.about-story-page):not(.insurance-lilac-page) .improved-header .hamburger-menu.logged-in:hover i {
    color: #6f2a1c !important;
}

.about-story-page *,
.about-story-page *::before,
.about-story-page *::after {
    box-sizing: border-box;
}

/* 본문 인라인 링크: inherit 시 배경·본문과 구분이 안 되는 경우가 있어 인지 가능한 톤 */
.about-story-page a {
    color: #2d2018;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(23, 20, 18, 0.3);
    text-underline-offset: 0.18em;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.about-story-page a:hover {
    color: var(--about-accent);
    text-decoration-color: rgba(185, 127, 79, 0.65);
}

/* 어두운 히어로/다크 섹션: 밝은 링크 */
.about-story-hero a:not(.about-story-btn),
.about-story-scene--dark a:not(.about-story-btn) {
    color: rgba(255, 246, 235, 0.96);
    text-decoration-color: rgba(255, 246, 235, 0.42);
}

.about-story-hero a:not(.about-story-btn):hover,
.about-story-scene--dark a:not(.about-story-btn):hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}

/* 버튼·패널 리스트: 밑줄 없이 (내비는 아래 .about-story-nav__inner a) */
.about-story-page .about-story-btn {
    font-weight: 800;
    text-decoration: none;
}

.about-story-page .about-story-btn:hover {
    text-decoration: none;
}

/* 본문 링크 규칙보다 우선: 히어로(어두운 배경)에서 light/ghost 글자·호버가 항상 보이게 */
.about-story-page a.about-story-btn.about-story-btn--light {
    color: var(--about-ink);
    text-decoration: none;
}

.about-story-page a.about-story-btn.about-story-btn--light:hover {
    color: var(--about-ink);
    text-decoration: none;
}

.about-story-page a.about-story-btn.about-story-btn--ghost {
    color: #fff8f0;
    text-decoration: none;
    border-color: rgba(255, 243, 226, 0.38);
    background: rgba(255, 255, 255, 0.07);
}

.about-story-page a.about-story-btn.about-story-btn--ghost:hover {
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(255, 243, 226, 0.55);
    background: rgba(255, 255, 255, 0.14);
}

.about-story-panel .about-story-links a,
.about-story-panel .about-story-links a:hover {
    color: var(--about-ink);
    text-decoration: none;
    font-weight: 700;
}

.about-story-panel .about-story-links a:hover strong {
    color: var(--about-accent);
}

.about-story-page img {
    display: block;
    max-width: 100%;
}

.about-story-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-story-label {
    margin: 0;
    color: var(--about-accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.about-story-nav {
    position: sticky;
    top: 74px;
    z-index: 24;
    background: rgba(239, 232, 220, 0.82);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(23, 20, 18, 0.05);
    border-bottom: 1px solid rgba(23, 20, 18, 0.08);
}

.about-story-nav__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 64px;
    overflow-x: auto;
    scrollbar-width: none;
}

.about-story-nav__inner::-webkit-scrollbar {
    display: none;
}

.about-story-nav__inner a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: var(--about-muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.about-story-nav__inner a:hover {
    text-decoration: underline;
    text-decoration-color: rgba(23, 20, 18, 0.28);
    color: var(--about-ink);
}

.about-story-nav__inner a span {
    color: rgba(23, 20, 18, 0.42);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.about-story-nav__inner a.is-cta {
    margin-left: auto;
    padding-left: 24px;
    border-left: 1px solid rgba(23, 20, 18, 0.12);
    color: var(--about-ink);
}

.about-story-hero {
    position: relative;
    min-height: min(980px, calc(100vh - 74px));
    padding: 70px 0 36px;
    color: #f6ece0;
    background: var(--about-dark);
    isolation: isolate;
}

.about-story-hero__media,
.about-story-hero__veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.about-story-hero__media {
    object-fit: cover;
    object-position: center;
}

.about-story-hero__veil {
    background:
        linear-gradient(90deg, rgba(10, 9, 9, 0.82) 0%, rgba(10, 9, 9, 0.74) 34%, rgba(10, 9, 9, 0.32) 68%, rgba(10, 9, 9, 0.18) 100%),
        linear-gradient(180deg, rgba(10, 9, 9, 0.18) 0%, rgba(10, 9, 9, 0.08) 40%, rgba(10, 9, 9, 0.8) 100%);
}

.about-story-hero__layout {
    min-height: calc(min(980px, calc(100vh - 74px)) - 110px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.54fr);
    gap: 48px;
    align-items: end;
    padding-top: 56px;
}

.about-story-hero__copy {
    max-width: 760px;
    padding-bottom: 54px;
}

.about-story-hero__copy h1,
.about-story-essay h2,
.about-story-ending__copy h2,
.about-story-panel__head h3,
.about-story-transition__text h3,
.about-story-growth__lead h3 {
    margin: 16px 0 0;
    letter-spacing: -0.05em;
}

.about-story-hero__copy h1,
.about-story-essay h2,
.about-story-ending__copy h2 {
    font-family: "Noto Serif KR", "Nanum Myeongjo", serif;
}

.about-story-hero__copy h1 {
    font-size: clamp(2.55rem, 3.75vw, 4.2rem);
    line-height: 1.06;
}

.about-story-hero__lead,
.about-story-hero__quote strong,
.about-story-hero__quote p {
    font-size: 1rem;
    line-height: 1.82;
}

.about-story-hero__lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(246, 236, 224, 0.88);
}

.about-story-hero__lead strong {
    color: #fff;
    font-weight: 800;
}

.about-story-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about-story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.about-story-btn:hover {
    transform: translateY(-1px);
}

.about-story-btn--light {
    background: #f5ebdd;
    color: var(--about-ink);
    border-color: rgba(23, 20, 18, 0.12);
}

.about-story-btn--ghost {
    border-color: rgba(255, 243, 226, 0.3);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.about-story-hero__quote {
    align-self: center;
    max-width: 320px;
    margin-left: auto;
    padding-left: 26px;
    border-left: 1px solid rgba(255, 243, 226, 0.22);
}

.about-story-hero__quote strong {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-weight: 600;
}

.about-story-hero__quote p:last-child {
    margin: 16px 0 0;
    color: rgba(246, 236, 224, 0.76);
}

.about-story-hero__ledger {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 30px;
}

.about-story-hero__ledger div {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 243, 226, 0.16);
}

.about-story-hero__ledger span {
    display: block;
    color: rgba(246, 236, 224, 0.58);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-story-hero__ledger strong {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 700;
}

.about-story-scene {
    padding: 112px 0;
    position: relative;
}

.about-story-scene--paper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 14rem), var(--about-paper);
}

.about-story-scene--sand {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 12rem), var(--about-sand);
}

.about-story-scene--dark {
    background:
        linear-gradient(rgba(255, 243, 226, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 243, 226, 0.03) 1px, transparent 1px),
        var(--about-dark);
    background-size: 30px 30px;
    color: var(--about-light);
}

.about-story-scene__layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 42px;
}

.about-story-scene__layout--tight {
    grid-template-columns: 180px minmax(0, 940px);
}

.about-story-rail__stick {
    position: sticky;
    top: 162px;
    display: grid;
    gap: 10px;
}

.about-story-rail__stick span {
    color: var(--about-accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.about-story-rail__stick strong {
    font-family: "Noto Serif KR", "Nanum Myeongjo", serif;
    font-size: 1.5rem;
    line-height: 1.2;
}

.about-story-rail__stick p {
    margin: 0;
    color: var(--about-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.about-story-scene--dark .about-story-rail__stick p {
    color: rgba(247, 239, 227, 0.64);
}

.about-story-essay {
    max-width: 900px;
}

.about-story-essay h2,
.about-story-ending__copy h2 {
    font-size: clamp(2rem, 2.9vw, 3.15rem);
    line-height: 1.16;
}

.about-story-essay__lead,
.about-story-fragment p,
.about-story-transition__text p,
.about-story-sequence__item p,
.about-story-note,
.about-story-fit-list p,
.about-story-panel__head p,
.about-story-panel__note,
.about-story-growth__steps span {
    color: var(--about-muted);
    font-size: 0.99rem;
    line-height: 1.84;
}

.about-story-essay__lead {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: 1.05rem;
    line-height: 1.88;
}

.about-story-essay--dark .about-story-essay__lead,
.about-story-scene--dark .about-story-note {
    color: rgba(247, 239, 227, 0.72);
}

.about-story-fragments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 54px;
}

.about-story-fragment {
    padding-top: 18px;
    border-top: 1px solid var(--about-line-strong);
}

.about-story-fragment span,
.about-story-sequence__item span {
    display: block;
    color: var(--about-accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-story-fragment h3,
.about-story-transition__text h3,
.about-story-growth__lead h3 {
    font-size: 1.42rem;
    line-height: 1.34;
}

.about-story-fragment p {
    margin: 14px 0 0;
}

.about-story-ledger {
    margin-top: 52px;
    border-top: 1px solid var(--about-dark-line);
}

.about-story-ledger__head,
.about-story-ledger__row {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(180px, 220px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px 0;
}

.about-story-ledger__head {
    color: rgba(247, 239, 227, 0.66);
    font-size: 0.88rem;
    font-weight: 700;
    border-bottom: 1px solid var(--about-dark-line);
}

.about-story-ledger__row {
    border-bottom: 1px solid var(--about-dark-line);
}

.about-story-ledger__row strong,
.about-story-ledger__row span {
    font-size: 1rem;
    line-height: 1.6;
}

.about-story-ledger__row em,
.about-story-ledger__head em {
    color: rgba(247, 239, 227, 0.72);
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.82;
}

.about-story-note {
    max-width: 820px;
    margin: 28px 0 0;
}

.about-story-transition {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.48fr);
    gap: 38px;
    align-items: end;
}

.about-story-transition__visual {
    margin: 0;
    min-height: 720px;
}

.about-story-transition__visual img {
    width: 100%;
    height: 100%;
    min-height: 720px;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--about-shadow);
}

.about-story-sequence {
    margin-top: 56px;
    border-top: 1px solid var(--about-line-strong);
}

.about-story-sequence__item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--about-line);
}

.about-story-sequence__item h3,
.about-story-links a strong,
.about-story-fit-list strong {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.5;
}

.about-story-sequence__item p {
    margin: 10px 0 0;
}

.about-story-growth {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid var(--about-line-strong);
}

.about-story-growth__steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.about-story-growth__steps li {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--about-line);
}

.about-story-growth__steps strong {
    font-size: 1rem;
    line-height: 1.56;
}

.about-story-scene--ending {
    padding-bottom: 148px;
}

.about-story-ending {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.about-story-fit-list {
    display: grid;
    gap: 22px;
    margin-top: 30px;
}

.about-story-fit-list div {
    padding-top: 16px;
    border-top: 1px solid var(--about-line);
}

.about-story-panel {
    background: rgba(255, 255, 255, 0.42);
    padding: 30px;
    border: 1px solid rgba(23, 20, 18, 0.08);
    box-shadow: 0 16px 36px rgba(23, 20, 18, 0.06);
}

.about-story-links {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.about-story-links a {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--about-line);
}

.about-story-links a span {
    color: var(--about-muted);
    font-size: 0.94rem;
    line-height: 1.72;
}

.about-story-panel__note {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--about-line);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .about-story-hero__layout,
    .about-story-transition,
    .about-story-ending {
        grid-template-columns: 1fr;
    }

    .about-story-hero__quote {
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid rgba(255, 243, 226, 0.22);
    }

    .about-story-fragments,
    .about-story-hero__ledger {
        grid-template-columns: 1fr;
    }

    .about-story-transition__visual,
    .about-story-transition__visual img {
        min-height: 560px;
    }
}

@media (max-width: 860px) {
    .about-story-shell {
        width: min(100% - 32px, 1280px);
    }

    .about-story-scene__layout,
    .about-story-scene__layout--tight,
    .about-story-ledger__head,
    .about-story-ledger__row,
    .about-story-sequence__item,
    .about-story-growth__steps li {
        grid-template-columns: 1fr;
    }

    .about-story-rail__stick {
        position: static;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--about-line);
    }

    .about-story-scene--dark .about-story-rail__stick {
        border-color: var(--about-dark-line);
    }

    .about-story-nav {
        top: 64px;
    }

    .about-story-hero {
        min-height: auto;
        padding: 46px 0 24px;
    }

    .about-story-hero__layout {
        min-height: auto;
        padding-top: 28px;
    }

    .about-story-hero__copy {
        padding-bottom: 22px;
    }

    .about-story-hero__copy h1 {
        font-size: clamp(2.15rem, 8.8vw, 3.35rem);
    }
}

@media (max-width: 640px) {
    .about-story-nav__inner {
        gap: 20px;
        min-height: 58px;
    }

    .about-story-nav__inner a {
        font-size: 0.82rem;
    }

    .about-story-scene {
        padding: 80px 0;
    }

    .about-story-essay__lead,
    .about-story-fragment p,
    .about-story-transition__text p,
    .about-story-sequence__item p,
    .about-story-note,
    .about-story-fit-list p,
    .about-story-panel__head p,
    .about-story-panel__note,
    .about-story-growth__steps span,
    .about-story-links a span {
        font-size: 0.94rem;
        line-height: 1.76;
    }

    .about-story-panel {
        padding: 24px 20px;
    }

    .about-story-transition__visual,
    .about-story-transition__visual img {
        min-height: 380px;
    }
}
