/* ========================================
   X-Story (About) Page Styles
   Based on Figma Design
   ======================================== */

.xstory-page {
    background: #171717;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.xstory-page .inner-wrap {
    max-width: 1740px;
    margin: 0 auto;
}

/* ========================================
   Ambient Glow (보라: intro 좌측, 빨강: corevalue 우측)
   ======================================== */
.glow-purple,
.glow-red {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Purple Glow - intro 섹션 내 "도전과 성장" 좌측 끝 */
.xstory-intro .glow-purple {
    width: 120vw;
    height: 120vw;
    max-width: 2400px;
    max-height: 2400px;
    background: radial-gradient(
        circle,
        rgba(155, 89, 182, 0.5) 0%,
        rgba(155, 89, 182, 0.35) 20%,
        rgba(155, 89, 182, 0.2) 40%,
        rgba(155, 89, 182, 0.08) 60%,
        transparent 75%
    );
    top: 0;
    left: -60vw;
    opacity: 0;
    filter: blur(100px);
}

/* Red Glow - corevalue 섹션 내 우측 끝 */
.xstory-corevalue .glow-red {
    width: 120vw;
    height: 120vw;
    max-width: 2400px;
    max-height: 2400px;
    background: radial-gradient(
        circle,
        rgba(229, 57, 53, 0.5) 0%,
        rgba(229, 57, 53, 0.35) 20%,
        rgba(229, 57, 53, 0.2) 40%,
        rgba(229, 57, 53, 0.08) 60%,
        transparent 75%
    );
    top: -40vw;
    right: -60vw;
    opacity: 0;
    filter: blur(100px);
}

.xstory-corevalue::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -450px;
	left: 0;
	width: 1920px;
	height: 788px;
	background: url('/withx/file/IMAGE/uu/251c232f215e4d7990a3d9b1c91b09d8') no-repeat;
}

/* ========================================
   Section 1: Intro
   ======================================== */
.xstory-intro {
    padding: 200px 0 160px;
    position: relative;
    overflow: visible;
}

.intro-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 120px;
}

.intro-title .title-light {
    font-size: 100px;
    font-weight: 900;
}

.intro-title .title-logo {
    height: 85px;
}

/* Story Blocks */
.story-block {
    display: flex;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 80px;
    align-items: start;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block .story-label {
    font-size: 20px;
    font-weight: 700;
    color: #ED1C2B;
    margin-bottom: 12px;
}

.story-block h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.43;
}

.story-block .story-right {
    padding-top: 160px;
    /* padding-right: 10px; */
    width: 860px;
}

.story-block .story-right p {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    word-break: keep-all;
}

/* ========================================
   Section 2: Vision & Mission
   ======================================== */
.xstory-vision {
    padding: 160px 0;
    padding-top: 360px; /* 160px + 350px (mission-card translateY) */
    background: #171717;
}

.vision-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.vision-card,
.mission-card {
    width: 540px;
    background: linear-gradient(151deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 50px;
    min-height: 640px;
    display: flex;
    flex-direction: column;
}

.mission-card {
    transform: translateY(-150px);
}

.vision-card {
	background: url('/withx/file/IMAGE/uu/8c69358e56414dc4a0ebbaf7d2445056') no-repeat center / cover;
}

.mission-card {
	background: url('/withx/file/IMAGE/uu/df961aabb2a3472c90ccbc1d1e4261b8') no-repeat center / cover;
}

.vision-card h2,
.mission-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.vision-card .card-tag,
.mission-card .card-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    width: fit-content;
}

.vision-card .card-tag img,
.mission-card .card-tag img {
    height: 24px;
    width: auto;
}

/* Core Value Header Tag - 아이콘 + 텍스트, 배경 없음 */
.corevalue-header .header-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.corevalue-header .header-tag img {
    height: 24px;
    width: auto;
}

.vision-card p,
.mission-card p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.vision-card .card-img,
.mission-card .card-img {
    margin-top: auto;
    padding-top: 40px;
}

.vision-card .card-img img,
.mission-card .card-img img {
    max-width: 300px;
    width: 100%;
}

/* ========================================
   Section 3: Core Value
   ======================================== */
.xstory-corevalue {
    padding: 160px 0;
    background: #171717;
    position: relative;
    overflow: visible;
}

.corevalue-header {
    text-align: center;
    margin-bottom: 230px;
}

.corevalue-header h2 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 24px;
}

.corevalue-header .header-tag {
    margin: 0 auto 24px;
}

.corevalue-header p {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
}

.corevalue-grid {
    display: flex;
    justify-content: center;
    gap: 94px;
}

.corevalue-item {
    text-align: center;
    width: 371px;
}

.corevalue-item .item-icon {
    margin-bottom: 30px;
}

.corevalue-item .item-icon img {
    height: 53px;
}

.corevalue-item .item-type {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 150px;
}

.corevalue-item .item-info {
	position: relative;
	margin-bottom: 150px;
}

.corevalue-item .item-info:last-of-type {
	margin-bottom: 100px;
}

.corevalue-item .item-info:nth-of-type(2)::before,
.corevalue-item .item-info:nth-of-type(2)::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #fff;
}

.corevalue-item .item-info:nth-of-type(2)::before {
	top: -75px;
}

.corevalue-item .item-info:nth-of-type(2)::after {
	bottom: -75px;
}

.corevalue-item .item-info .target,
.corevalue-item .item-info .value {
    font-size: 40px;
    font-weight: 800;
}

.corevalue-item .item-info .target-sub,
.corevalue-item .item-info .value-sub {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
}

.corevalue-item .item-desc {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 32px;
}

/* ========================================
   Section 4: Xfer Challenge
   ======================================== */
.xstory-challenge {
    padding: 200px 0;
    background: #171717;
    text-align: center;
}

.xstory-challenge h2 {
    font-size: 100px;
    font-weight: 900;
    margin-bottom: 120px;
}

.xstory-challenge .challenge-main {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 40px;
}

.xstory-challenge .challenge-sub {
    font-size: 20px;
    color: #fff;
    line-height: 1.6;
}

/* ========================================
   Section 5: X-Framework
   ======================================== */
.xstory-framework {
    padding: 160px 0;
    background: #171717;
}

.framework-header {
    margin-bottom: 160px;
}

.framework-header h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 12px;
}

.framework-header .sub-title {
    font-size: 32px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 24px;
}

.framework-header .desc {
    font-size: 28px;
    color: #fff;
    line-height: 1.6;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 50px; /* even 카드 translateY 공간 확보 */
}

.framework-card {
    background: linear-gradient(151deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 40px 26px;
    min-height: 555px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.framework-card:nth-child(even) {
    transform: translateY(50px);
}

.framework-card .card-label {
	width: 100%;
    display: inline-block;
    background: #fff;
    color: #ED1C2B;
    padding: 4px 20px;
    border-radius: 30px;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;    
}

.framework-card h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    text-align: left;
    width: 100%;
}

.framework-card > p {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    margin-bottom: auto;
}

.framework-card .card-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border: 2px solid #ED1C2B;
    border-radius: 50%;
    color: #ED1C2B;
    font-size: 50px;
    font-weight: 500;
    line-height: 0;
    text-decoration: none;
    margin-top: auto;
    padding-bottom: 9px;
    transition: all 0.3s ease;
}

.framework-card .card-more:hover {
    background: #ED1C2B;
    color: #fff;
}

/* ========================================
   Section 6: X-History
   ======================================== */
.xstory-history {
    padding: 160px 0;
    background: #171717;
}

.xstory-history h2 {
    font-size: 64px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
}

.history-timeline {
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ED1C2B 0%, rgba(237, 28, 43, 0) 100%);
    transform: translateX(-50%);
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 150px;
    position: relative;
}

/* 일반 row (우측 배치) - 좌측 비움, 우측에 내용 */
.timeline-row .timeline-left {
    text-align: right;
}

.timeline-row .timeline-right {
    text-align: left;
}

/* reverse row (좌측 배치) - 좌측에 내용, 우측에 연도 */
.timeline-row.reverse .timeline-left {
    text-align: right;
}

.timeline-row.reverse .timeline-right {
    text-align: left;
}

/* 연도 스타일 - 큰 연도 표시 */
.timeline-row .year {
    font-size: 48px;
    font-weight: 900;
    color: #ED1C2B;
    line-height: 1;
}

/* timeline-content 래퍼 */
.timeline-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* timeline-items - 월과 내용을 담는 컨테이너 */
.timeline-items {
    flex: 1;
}

/* 일반 row (우측 배치) - 큰 연도는 좌측(timeline-left), 내용은 우측(timeline-right) */
.timeline-row .timeline-left .year {
    text-align: right;
}

/* reverse row (좌측 배치) - 내용은 좌측(timeline-left), 큰 연도는 우측(timeline-right) */
.timeline-row.reverse .timeline-right .year {
    text-align: left;
}

/* timeline-row-item - 한 줄 = 하나의 row, 3컬럼 구조 */
.timeline-row-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 8px;
}

/* 일반 row (우측 배치): 연도 | 월 | 내용 */
.timeline-row .timeline-right .timeline-row-item .col-year {
    width: 70px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

.timeline-row .timeline-right .timeline-row-item .col-month {
    width: 40px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

.timeline-row .timeline-right .timeline-row-item .col-content {
    flex: 1;
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    line-height: 2;
    word-break: keep-all;
}

/* reverse row (좌측 배치): 내용 | 월 | 연도 */
.timeline-row.reverse .timeline-left .timeline-row-item {
    justify-content: flex-end;
}

.timeline-row.reverse .timeline-left .timeline-row-item .col-content {
    flex: 1;
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    line-height: 2;
    word-break: keep-all;
    text-align: right;
}

.timeline-row.reverse .timeline-left .timeline-row-item .col-month {
    width: 40px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    text-align: right;
}

.timeline-row.reverse .timeline-left .timeline-row-item .col-year {
    width: 70px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-align: right;
}

/* Partnership 항목 여백 */
.timeline-row-item.partnership {
    margin-top: 12px;
}

.timeline-row-item.partnership strong {
    color: #fff;
    font-weight: 700;
}

/* 스크롤 따라 이동하는 단일 dot */
.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.timeline-dot .dot {
    width: 20px;
    height: 20px;
    background: #ED1C2B;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 10px rgba(237, 28, 43, 0.2);
}

/* ========================================
   Section 7: Partners
   ======================================== */
.xstory-partners {
    padding: 160px 0;
    background: #171717;
    text-align: center;
}

.xstory-partners .partners-label {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.xstory-partners h2 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 24px;
}

.xstory-partners .partners-desc {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 60px;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(6, 220px);
    gap: 40px 60px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.partners-list .logo {
    width: 220px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-list .logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========================================
   Section 8: Offices
   ======================================== */
.xstory-offices {
    padding: 120px 0 160px;
    background: #171717;
}

.xstory-offices .inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.xstory-offices h2 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 0;
    flex-shrink: 0;
}

.offices-list {
    width: 1214px;
}

.office-item {
    margin-bottom: 100px;
}

.office-item .label {
    font-size: 18px;
    font-weight: 700;
    color: #F00;
    line-height: 1.78;
}

.office-item .name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.33;
    margin-bottom: 8px;
}

.office-item .company {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    line-height: 1.33;
}

.office-item .address {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    line-height: 1.33;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1400px) {
    .xstory-page .inner-wrap {
        padding: 0 40px;
    }

    .intro-title .title-light {
        font-size: 60px;
    }

    .intro-title .title-logo {
        height: 50px;
    }

    .story-block h2 {
        font-size: 32px;
    }

    .story-block .story-right p {
        font-size: 18px;
    }

    .corevalue-grid {
        gap: 40px;
    }

    .corevalue-item {
        width: auto;
    }

    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offices-list {
        padding-left: 300px;
    }
}

@media (max-width: 1024px) {
    .xstory-page .inner-wrap {
        width: 100%;
        padding: 0 40px;
    }

    /* Ambient Glow 반응형 - 태블릿 */
    .xstory-intro .glow-purple { width: 140vw; height: 140vw; left: -70vw; filter: blur(80px); }
    .xstory-corevalue .glow-red { width: 140vw; height: 140vw; right: -70vw; filter: blur(80px); }

    .story-block {
        flex-direction: column;
        gap: 40px;
    }

    .story-block .story-right {
        padding-top: 0;
        width: 100%;
    }

    .vision-grid {
        flex-direction: column;
        align-items: center;
    }

    .vision-card,
    .mission-card {
        width: 100%;
        max-width: 540px;
    }

    .mission-card {
        transform: none;
    }

    .xstory-vision {
        padding-top: 160px;
    }

    .corevalue-grid {
        flex-direction: column;
        align-items: center;
    }

    .corevalue-item .item-type {
        margin-bottom: 40px;
    }

    .corevalue-item .item-info {
        margin-bottom: 40px;
    }

    .corevalue-item .item-info:last-of-type {
        margin-bottom: 40px;
    }

    .corevalue-item .item-info:nth-of-type(2)::before {
        top: -20px;
    }

    .corevalue-item .item-info:nth-of-type(2)::after {
        bottom: -20px;
    }

    .xstory-challenge h2 {
        font-size: 48px;
    }

    .framework-header h2,
    .xstory-history h2 {
        font-size: 42px;
    }

    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .framework-card:nth-child(even) {
        transform: none;
    }

    /* History - 태블릿: 좌측 라인, 단일 방향 */
    .history-timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-dot {
        left: 20px;
        transform: none;
    }

    .timeline-row {
        display: block;
        margin-bottom: 60px;
        padding-left: 50px;
    }

    .timeline-row .timeline-left,
    .timeline-row .timeline-right,
    .timeline-row.reverse .timeline-left,
    .timeline-row.reverse .timeline-right {
        text-align: left;
        padding: 0;
        width: 100%;
    }

    /* 일반 row: 큰연도가 timeline-left에, 내용이 timeline-right에 */
    .timeline-row .timeline-left .year,
    .timeline-row.reverse .timeline-right .year {
        display: block;
        font-size: 36px;
        margin-bottom: 20px;
        text-align: left;
    }

    /* reverse row: 내용이 timeline-left에 있고 연도가 timeline-right에 있으므로 순서 변경 */
    .timeline-row.reverse {
        display: flex;
        flex-direction: column;
    }

    .timeline-row.reverse .timeline-right {
        order: -1;
    }

    /* reverse row의 timeline-left 내 col-year, col-month, col-content 방향 리셋 */
    .timeline-row.reverse .timeline-left .timeline-row-item {
        justify-content: flex-start;
        flex-direction: row;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-content {
        text-align: left;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-month {
        text-align: left;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-year {
        text-align: left;
        order: -1;
        font-size: 24px;
    }

    /* reverse row의 timeline-row-item: 연도 | 월 | 내용 순으로 */
    .timeline-row.reverse .timeline-left .timeline-row-item .col-content {
        order: 3;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-month {
        order: 2;
    }

    .offices-list {
        padding-left: 0;
        width: 100%;
    }

    .xstory-offices .inner-wrap {
        flex-direction: column;
    }

    .xstory-offices h2 {
        margin-bottom: 40px;
    }

    .partners-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 30px;
    }

    .partners-list .logo {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Ambient Glow 반응형 - 모바일 */
    .xstory-intro .glow-purple { width: 160vw; height: 160vw; left: -80vw; filter: blur(60px); }
    .xstory-corevalue .glow-red { width: 160vw; height: 160vw; right: -80vw; filter: blur(60px); }

    .xstory-page .inner-wrap {
        width: 100%;
        padding: 0 16px;
    }

    /* Section 1: Intro */
    .xstory-intro {
        padding: 60px 0 80px;
    }

    .intro-title {
        align-items: center;
        gap: 10px;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .intro-title .title-light {
        font-size: 40px;
    }

    .intro-title .title-logo {
        height: 34px;
    }

    .story-block {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 60px;
    }

    .story-block .story-label {
        font-size: 16px;
    }

    .story-block h2 {
        font-size: 20px;
    }

    .story-block .story-right {
        padding-top: 0;
        width: 100%;
    }

    .story-block .story-right p {
        font-size: 14px;
        line-height: 1.8;
        word-break: keep-all;
    }

	.story-block .story-right p br {
		display: none;
	}

    /* Section 2: Vision & Mission */
    .xstory-vision {
        padding: 60px 0;
    }

    .vision-grid {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .vision-card,
    .mission-card {
        width: 100%;
        min-height: 400px;
        padding: 30px;
        border-radius: 20px;
    }

    .mission-card {
        transform: none;
    }

    .vision-card h2,
    .mission-card h2 {
        font-size: 24px;
    }

    .vision-card .card-tag,
    .mission-card .card-tag {
        font-size: 16px;
    }

    .vision-card p,
    .mission-card p {
        font-size: 14px;
    }

    .vision-card .card-img,
    .mission-card .card-img {
        padding-top: 20px;
    }

    .vision-card .card-img img,
    .mission-card .card-img img {
        max-width: 180px;
    }

    /* Section 3: Core Value */
    .xstory-corevalue {
        padding: 60px 0;
    }

    .xstory-corevalue::after {
        bottom: -150px;
		left: -100px;
    }

    .corevalue-header {
        margin-bottom: 60px;
    }

    .corevalue-header h2 {
        font-size: 32px;
    }

    .corevalue-header .header-tag {
        font-size: 16px;
    }

    .corevalue-header p {
        font-size: 20px;
        word-break: keep-all;
    }

    .corevalue-grid {
        flex-direction: column;
        gap: 60px;
    }

    .corevalue-item {
        width: 100%;
    }

    .corevalue-item .item-type {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .corevalue-item .item-info {
        margin-bottom: 30px;
    }

    .corevalue-item .item-info:last-of-type {
        margin-bottom: 30px;
    }

    .corevalue-item .item-info:nth-of-type(2)::before {
        top: -15px;
    }

    .corevalue-item .item-info:nth-of-type(2)::after {
        bottom: -15px;
    }

    .corevalue-item .item-info .target,
    .corevalue-item .item-info .value {
        font-size: 28px;
    }

    .corevalue-item .item-info .target-sub,
    .corevalue-item .item-info .value-sub {
        font-size: 16px;
    }

    .corevalue-item .item-desc {
        font-size: 14px;
    }

    /* Section 4: Challenge */
    .xstory-challenge {
        padding: 80px 0;
    }

    .xstory-challenge h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .xstory-challenge .challenge-main {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .xstory-challenge .challenge-sub {
        font-size: 14px;
        word-break: keep-all;
    }

    /* Section 5: Framework */
    .xstory-framework {
        padding: 60px 0;
    }

    .framework-header {
        margin-bottom: 40px;
    }

    .framework-header h2 {
        font-size: 28px;
    }

    .framework-header .sub-title {
        font-size: 16px;
    }

    .framework-header .desc {
        font-size: 14px;
        word-break: keep-all;
    }

    .framework-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 0;
    }

    .framework-card {
        min-height: auto;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .framework-card:nth-child(even) {
        transform: none;
    }

    .framework-card .card-label {
        font-size: 13px;
        padding: 4px 14px;
        margin-bottom: 16px;
    }

    .framework-card h3 {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .framework-card > p {
        font-size: 14px;
        margin-bottom: 0;
    }

    .framework-card .card-more {
        position: absolute;
        right: 20px;
        bottom: 30px;
        width: 50px;
        height: 50px;
        font-size: 34px;
    }

    /* Section 6: History */
    .xstory-history {
        padding: 60px 0;
    }

    .xstory-history h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .history-timeline::before {
        left: 0;
        transform: none;
    }

    .timeline-dot {
        left: 0;
        transform: none;
    }

    .timeline-dot .dot {
        left: 0;
        transform: translateX(-50%);
    }

    /* 모든 timeline-row를 단일 컬럼, 좌측 라인 기준으로 통일 */
    .timeline-row {
    	gap: 0;
    }
    
    .timeline-row,
    .timeline-row.reverse {
        display: block;
        margin-bottom: 50px;
        padding-left: 24px;
    }

    /* 큰 연도 표시 */
    .timeline-row .timeline-left .year,
    .timeline-row.reverse .timeline-right .year {
        display: block;
        font-size: 28px;
        margin-bottom: 16px;
        text-align: left;
    }

    /* reverse: 연도(timeline-right)를 먼저 보이게 */
    .timeline-row.reverse {
        display: flex;
        flex-direction: column;
    }

    .timeline-row.reverse .timeline-right {
        order: -1;
    }

    /* reverse row 내 아이템 방향 리셋 (우→좌에서 좌→우로) */
    .timeline-row.reverse .timeline-left .timeline-row-item {
        justify-content: flex-start;
        flex-direction: row;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-year {
        order: 1;
        text-align: left;
        font-size: 14px;
        width: 36px;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-month {
        order: 2;
        text-align: left;
        font-size: 14px;
        width: 24px;
    }

    .timeline-row.reverse .timeline-left .timeline-row-item .col-content {
        order: 3;
        text-align: left;
        font-size: 14px;
    }

    /* 일반 row 아이템 폰트 */
    .timeline-row .timeline-right .timeline-row-item .col-year {
        width: 36px;
        font-size: 14px;
    }

    .timeline-row .timeline-right .timeline-row-item .col-month {
        width: 24px;
        font-size: 14px;
    }

    .timeline-row .timeline-right .timeline-row-item .col-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .timeline-row .year {
        font-size: 28px;
    }

    /* Section 7: Partners */
    .xstory-partners {
        padding: 60px 0;
    }

    .xstory-partners .partners-label {
        font-size: 14px;
    }

    .xstory-partners h2 {
        font-size: 28px;
    }

    .xstory-partners .partners-desc {
        font-size: 14px;
        word-break: keep-all;
        margin-bottom: 30px;
    }

    .partners-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 10px;
    }

    .partners-list .logo {
        width: 100%;
        height: auto;
    }

    /* Section 8: Offices */
    .xstory-offices {
        padding: 60px 0 80px;
    }

    .xstory-offices .inner-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .xstory-offices h2 {
        font-size: 32px;
        margin-bottom: 0;
    }

    .offices-list {
        width: 100%;
        padding-left: 0;
    }

    .office-item {
        margin-bottom: 40px;
    }

    .office-item .label {
        font-size: 14px;
        display: block;
        margin-bottom: 10px;
    }

    .office-item .name {
        font-size: 16px;
    }

    .office-item .company,
    .office-item .address {
        font-size: 13px;
        word-break: keep-all;
    }
}

/* Floating Action Buttons */
.xstory-page ~ .floating-actions,
.floating-actions {
    position: fixed;
    right: 50px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.xstory-page ~ .floating-actions .btn-floating,
.floating-actions .btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    background: transparent;
}

.floating-actions .btn-floating:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .floating-actions {
        right: 20px;
        bottom: 30px;
        gap: 12px;
    }

    .floating-actions .btn-floating {
        width: 50px;
        height: 50px;
    }
}
