:root {
    --desktop-gap: 80px; /* 데스크탑 좌/우/하단 여백 */
    --topbar-h: 72px;
    --top-pad: 14px;
    --white: #fff;
    --ink: #111;
    --overlay: rgba(0,0,0,.18);
    --title_h1: #313131;
    --title_head: clamp(34px, 4.2vw, 48px);
    --svs_yellow: #FBBA00;
    --svs_blue: #212469;
    --about-cols: 1; /*콘텐츠 분할 정의*/
    --about-gap: 32px;
    --footer-h: 46px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, sans-serif;
    background: #fff;
    color: var(--ink);
    overflow: hidden; /* ✅ body 스크롤 제거 유지 */
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: #fff;
}

/* =========================================================
   [ADD] Topbar over landing media
   - Landing에서는 Topbar 배경을 투명 처리하여 영상/이미지가 Topbar 아래까지 보이도록 합니다.
========================================================= */
body.on-landing .topbar{
    background: transparent;
}
body.on-landing .menu-btn span{
    background: #111; /* [CHANGED] 초기 랜딩: 검정색 */
}
/* [CHANGED] 초기 랜딩: 로고 색상 유지(필터 제거) */
body.on-landing .brand img{
    filter: none;
}


.topbar__inner {
    width: 100%;
    padding-left: var(--desktop-gap);
    padding-right: var(--desktop-gap);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 900;
    letter-spacing: .2px;
}

/* Hamburger */
.menu-btn {
    position: relative;
    width: 32px;
    height: 24px;
    background: none;
    border: 0;
    cursor: pointer;
}

    .menu-btn span {
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform-origin: center;
        transition: transform .3s ease, opacity .2s ease;
    }
/* 기본 햄버거 상태 */
        .menu-btn span:nth-child(1) {
            transform: translateY(-8px);
        }

        .menu-btn span:nth-child(2) {
            transform: translateY(0);
        }

        .menu-btn span:nth-child(3) {
            transform: translateY(8px);
        }
/* Stage */
/* [CHANGED] Stage now covers full viewport so landing media can extend behind the fixed topbar */
.stage {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100%;
    background: #fff;
}

/* Pixdine-style transition layer */
.transition-layer {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 90;
    transition: opacity .55s cubic-bezier(.2,.8,.2,1);
}

    .transition-layer.is-active {
        opacity: 1;
        pointer-events: auto;
    }

/* Views */
.view {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

    .view.is-active {
        opacity: 1;
        pointer-events: auto;
    }

/* =========================================================
   ✅ ADDED: Pixdine-style Landing Expand + Embedded View
========================================================= */
body.landing-expanded .view--landing{
    overflow: auto;              /* landing 내부에서 스크롤 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body.landing-expanded .view--landing::-webkit-scrollbar{ display:none; }

/* 랜딩 확장 시 여백 제거(레퍼런스: 하단으로 자연스럽게 이어짐) */
body.landing-expanded .main-wrap{
    padding-left: 0;             /* ✅ CHANGED */
    padding-right: 0;            /* ✅ CHANGED */
    padding-bottom: 0;           /* ✅ CHANGED */
}

/* Project container (landing 하단에 붙는 영역) */
.landing-project{
    display: none;
    background: #fff;
}
body.landing-expanded .landing-project{
    display: block;              /* ✅ ADDED */
}

/* Close bar */
.landing-project__top{
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    padding: 14px var(--desktop-gap);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Mount 영역(실제 view가 여기로 이동됨) */
.landing-project__mount{
    padding: 0;                  /* 필요 시 페이지별 shell에서 자체 패딩 사용 */
}

/* view를 landing 안으로 "붙일" 때 레이아웃을 static으로 전환 */
.view.is-embedded{
    position: static !important; /* ✅ ADDED */
    inset: auto !important;
    height: auto !important;
    width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
}

/* ===== Landing wrapper ===== */
/* [CHANGED] Landing media is full-bleed; spacing is handled via the white frame mask + absolute copy positions */
.main-wrap {
    height: 100%;
    padding: 0;
}

.main-content {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #3f6fbf;
    transition: background-color .55s ease;
}

/* Background media */
.media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.media__imageLayer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .65s ease;
    transform: scale(1.02);
}

    .media__imageLayer.is-active {
        opacity: 1;
    }

.media__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .65s ease;
    display: none;
}

    .media__video.is-active {
        opacity: 1;
    }

.media__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--overlay), rgba(0,0,0,.06));
}

/* =========================================================
   [ADD] White frame mask (initially covers full-bleed media, then reveals to full screen)
   - 영상/이미지는 항상 전체화면(Topbar 아래까지)으로 깔려 있고,
     흰색 프레임이 "가리고 있다가" 확장 시 부드럽게 사라지도록 구현합니다.
========================================================= */
.media__frame{
    position: absolute;
    inset: 0;
    z-index: 2; /* media 위, copy/CTA 아래 */
    pointer-events: none;
}
.media__frame::before{
    content: "";
    position: absolute;
    inset: clamp(16px, 3.2vw, 64px);          /* 기본 프레임 두께 */
    border-radius: 0px;
    box-shadow: 0 0 0 9999px #fff;           /* 바깥을 흰색으로 덮어서 '프레임'처럼 보이게 */
    transition: inset .7s ease, border-radius .7s ease, box-shadow .7s ease;
    will-change: inset, border-radius, box-shadow;
}

/* [ADD] VIEW PROJECT(landing-expanded) 시 프레임이 풀스크린으로 열리며 사라짐 */
body.landing-expanded .media__frame::before{
    inset: 0;
    border-radius: 0;
    box-shadow: 0 0 0 0 #fff;
}


/* Left section line + number */
.section-line {
    position: absolute;
    left: 0;
    top: 15%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    width: 260px;
    z-index: 3;
    pointer-events: none;
}

    .section-line .line {
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.35);
    }

    .section-line .num {
        margin-left: 12px;
        font-size: 12px;
        letter-spacing: 2px;
        font-weight: 800;
        color: rgba(255,255,255,.92);
    }

/* Copy */
.copy {
    position: absolute;
    left: 144px;
    top: 490px;
    z-index: 3;
    max-width: 60%;
    color: #fff;
}

.copy__no {
    font-weight: 900;
    letter-spacing: .6px;
    font-size: 14px;
    opacity: .95;
    margin-bottom: 10px;
}

.copy__titleWrap, .copy__descWrap {
    overflow: hidden;
}

.copy__title {
    font-size: 64px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.2px;
}

.copy__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    opacity: .92;
    white-space: pre-line;
}

/* CTA */
.cta {
    position: absolute;
    left: 144px;
    bottom: 58px;
    z-index: 3;
    display: flex;               /* ✅ CHANGED */
    gap: 10px;                   /* ✅ CHANGED */
    align-items: center;         /* ✅ CHANGED */
}

/* ✅ ADDED: VIEW PROJECT 버튼 */
.cta__btn {
    display: inline-block;
    min-width: 140px;
    padding: 10px 14px;
    background: #fff;
    background-color: rgba(255,255,255,0.45);
    border: 0px solid rgba(0,0,0,.45);
    font-size: 12px;
    cursor: pointer;

    /* ✅ ADDED: 슬라이더 전환 시 1초 후 아래→위로 등장 애니메이션 */
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
    will-change: opacity, transform;
}

/* ✅ ADDED: CTA revealed state */
.cta__btn.is-revealed{
    opacity: 1;
    transform: translateY(0);
}

/* ✅ CHANGED: 기존 CTA 링크를 클래스 기반으로 */
.cta__link {
    display: inline-block;
    min-width: 140px;
    padding: 10px 14px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

/* Right slider nav */
.slider-nav {
    position: absolute;
    right: 94px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    user-select: none;
}

/* [ADD][v7] 기본 랜딩 상태에서 슬라이더 네비는 항상 활성 */
.slider-nav{
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

    .slider-nav .dot {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(255,255,255,.75);
        border-radius: 999px;
        background: rgba(255,255,255,.35);
    }

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.nav-item {
    width: 2px;
    height: 34px;
    background: rgba(255,255,255,.35);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* [ADD][v7] Slider tooltip (hover) */
.nav-item[data-label]{position: relative;}
.nav-item[data-label]:hover::after{
    content: attr(data-label);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
}

    .nav-item .fill {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 0%;
        background: rgba(255,255,255,.92);
        transition: height .12s linear;
    }

    .nav-item.active {
        background: rgba(255,255,255,.45);
    }

/* ===== News / Generic pages share ===== */
.news-shell,
.page-shell {
    height: 100%;
    padding-left: var(--desktop-gap);
    padding-right: var(--desktop-gap);
    padding-top: calc(var(--topbar-h) + 18px);  /* [CHANGED] topbar overlay compensation */
    padding-bottom: 24px;
    background: #fff;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .news-shell::-webkit-scrollbar,
    .page-shell::-webkit-scrollbar {
        display: none;
    }

.news-top,
.page-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 0;
    background: #fff;
    padding: 6px 0 14px;
    z-index: 2;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.back-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.14);
    background: #fff;
    color: #111;
    font-weight: 900;
    cursor: pointer;
}

/* News hero */
.news-hero {
    padding: 22px 0 18px;
}

.news-hero__title {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.6px;
    font-weight: 900;
    color: rgba(0,0,0,.78);
}

.news-hero__desc {
    margin: 12px 0 0;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0,0,0,.55);
}

/* Generic page hero (placeholders용) */
.page-hero {
    padding: 22px 0 18px;
}

.page-hero__title {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.6px;
    font-weight: 900;
    color: rgba(0,0,0,.78);
}

.page-hero__desc {
    margin: 12px 0 0;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0,0,0,.55);
}

.page-body {
    padding: 12px 0 40px;
}

.page-placeholder {
    border: 1px dashed rgba(0,0,0,.18);
    padding: 22px;
    color: rgba(0,0,0,.55);
    font-weight: 700;
}

/* ✅ Company/About 전용 스타일 추가 */
.about-head {
    padding: 22px 0 12px;
}

.about-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0,0,0,.45);
    font-weight: 900;
    margin-bottom: 12px;
}
.about-pannel {
    width: 100%;
    background-color: #0B2A5B;
    padding: 50px;
    background-image: url("../img/about-value-org-ap.png");
    background-repeat: no-repeat;
    background-position: calc(100% - 40px) calc(100% - 30px);
    background-size:120px auto;
}

.about-hero {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.6px;
    font-weight: 700;
    color: rgba(255,255,255,1);
}

.about-sub {
    margin: 12px 0 0;
    max-width: 840px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,1);
}


.about-cols-1 {
    --about-cols: 1;
}

.about-cols-2 {
    --about-cols: 2;
}

.about-cols-3 {
    --about-cols: 3;
}

.about-cols-4 {
    --about-cols: 4;
}

.about-cols-5 {
    --about-cols: 5;
}

.about-cols-6 {
    --about-cols: 6;
}

.about-cols-7 {
    --about-cols: 7;
}

.about-cols-8 {
    --about-cols: 8;
}
.about-title {
    margin: 0 0 10px;
    font-size: var(--title_head);
   
    color: #313131;
    font-weight: 900;
}

.about-text {
   
    max-width: 1024px;
    font-size: 14px;
    line-height: 1.85;
    color: rgba(0,0,0,.72);
}

.about-bullets {
    margin: 10px 0 0;
    padding-left: 18px;
    max-width: 860px;
    color: rgba(0,0,0,.70);
    line-height: 1.85;
    font-size: 14px;
}

    .about-bullets li {
        margin: 2px 0;
    }

.sub-section--final {
    padding: 28px 0 40px;
}

.about-final {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.5px;
    font-weight: 900;
    color: rgba(0,0,0,.78);
}
.about-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}
/* ✅ Company/solution 전용 스타일 추가 */


.sol-pannel {
    width: 100%;
    background-color: #313131;
    padding: 50px;
    background-image: url("../img/sol-bg1.png");
    background-repeat: no-repeat;
    background-position: calc(100% + 80px) calc(100% + 80px);
    background-size: 450px auto;
}
.sol-hero {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.6px;
    font-weight: 700;
    color: rgba(255,255,255,1);
}
.sol-sub {
    margin: 12px 0 0;
    max-width: 840px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,1);
}
.sol-tb {
    margin: 12px 0 0;
    max-width: 100%;
    font-weight: 700;
    padding:15px;
    font-size: clamp(16px, 3.4vw, 24px);
    line-height: 1.7;
    text-align:center;
    background-color:#eee;
    color: rgba(0,0,0,1);
}
.sol-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}
.sol-tn{
    font-size:18px;
    color:#888;
}
.sol-stitle {
    font-size: 30px;
    color: #313131;
}
/* ===== Solution media (BECS video) ===== */
.solution-media {
    width: 100%;
    height: 300px;
    margin: 18px 0 22px;
    background: #000;
    overflow: hidden;
    position: relative;
}

.solution-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 비율 유지 + 꽉 채움 */
    display: block;
}
/*R&D엘리먼트*/
.rd-pannel {
    width: 100%;
    background-color: #111827;
    padding: 50px;
    background-image: url("../img/rd-bg1.png");
    background-repeat: no-repeat;
    background-position: calc(100% + 50px) calc(100% + 80px);
    background-size: 450px auto;
}

.rd-hero {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.6px;
    font-weight: 700;
    color: rgba(255,255,255,1);
}

.rd-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    font-size: 14px;
    table-layout: fixed;
}

    .rd-table th, .rd-table td {
        border: 1px solid #d9d9d9;
        padding: 10px 12px;
        vertical-align: top;
        word-break: break-word;
    }

    .rd-table thead th {
        background: #2f6fde; /* 헤더 블루 */
        color: #fff;
        text-align: center;
        font-weight: 700;
    }

    .rd-table td.group {
        text-align: center;
        font-weight: 700;
        width: 70px;
        vertical-align: middle;
        background: #fafafa;
    }

    .rd-table colgroup col:nth-child(1) {
        width: 80px;
    }

    .rd-table colgroup col:nth-child(2) {
        width: 150px;
    }

    .rd-table colgroup col:nth-child(3) {
        width: 110px;
    }

    .rd-table colgroup col:nth-child(4) {
        width: 360px;
    }

    .rd-table colgroup col:nth-child(5) {
        width: auto;
    }

.cert-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    font-size: 14px;
    table-layout: fixed;
}

    .cert-table th,
    .cert-table td {
        border: 1px solid #d9d9d9;
        padding: 10px 12px;
        vertical-align: middle;
        word-break: break-word;
    }

    .cert-table thead th {
        background: #1f2a63; /* 헤더 네이비 */
        color: #ffffff;
        text-align: center;
        font-weight: 700;
    }

    .cert-table tbody td:first-child {
        background: #f5f7fa;
        font-weight: 600;
    }

    .cert-table colgroup col:nth-child(1) {
        width: 35%;
    }

    .cert-table colgroup col:nth-child(2) {
        width: 35%;
    }

    .cert-table colgroup col:nth-child(3) {
        width: 30%;
    }

/*공통 엘리먼트 제어*/
.head_title{
    padding:3px;
    background-color:#313131;
    color:white;
    width:130px;
    text-align:center;
}
.sub-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 3.2vw, 24px);
    font-weight: 900;
    color: #515151;
}
.brand {
    cursor: pointer;
    user-select: none;
}
.sub-section {
    padding: 18px 0 6px;
    padding-left: 160px;
    padding-right: 160px;
    display: grid;
    grid-template-columns: repeat(var(--about-cols), minmax(0, 1fr));
    gap: var(--about-gap);
}
.sub_hash{
    font-size:0.9rem;
}
a {
    color: #0B2A5B; /* 메인 컬러 */
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

    a:hover {
        color: #163B73; /* hover 톤 */
    }

    a:active {
        opacity: .7;
    }

    table{
        width:100%;
        border:solid 1px #ddd;
    }
    .cols-item{
        padding:10px;
       
    }
.card-pannel {

    border: solid 1px #e1e1e1;
    border-radius: 6px;
    padding: 10px;
    height: 380px;
}
/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 26px;
    padding: 12px 0 40px;
}

.news-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card__thumb {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 0;
    overflow: hidden;
    background: rgba(0,0,0,.04);
}

    .news-card__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transform: scale(1.01);
        transition: transform .35s cubic-bezier(.2,.8,.2,1);
    }

.news-card:hover .news-card__thumb img {
    transform: scale(1.06);
}

.news-card__title {
    margin: 0;
    font-weight: 900;
    font-size: 15px;
    line-height: 1.35;
    color: rgba(0,0,0,.78);
}

.news-card__summary {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(0,0,0,.55);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__meta {
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: .3px;
    color: rgba(0,0,0,.40);
}

    .news-card__meta .tag {
        display: inline-block;
        padding: 2px 0;
    }

/* responsive */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

    .modal.is-open {
        display: block;
    }

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

.modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(920px, 92vw);
    max-height: min(86vh, 860px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 24px 80px rgba(0,0,0,.18);
    overflow: hidden;
}

.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.modal__date {
    font-size: 12px;
    letter-spacing: .6px;
    color: rgba(0,0,0,.55);
}

.modal__close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: rgba(0,0,0,.72);
    font-size: 18px;
}

.modal__body {
    padding: 16px;
    overflow: auto;
    max-height: calc(min(86vh, 860px) - 70px);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .modal__body::-webkit-scrollbar {
        display: none;
    }

.modal__mediaWrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,.04);
    overflow: hidden;
}

.modal__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal__title {
    margin: 14px 0 6px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
    color: rgba(0,0,0,.82);
}

.modal__summary {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0,0,0,.58);
}

.modal__content {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(0,0,0,.70);
    white-space: pre-wrap;
}

/* Hamburger overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

    .menu-overlay.is-open {
        display: block;
    }

.menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.30);
    opacity: 0;
    transition: opacity .35s ease;
}

.menu-overlay.is-open .menu-backdrop {
    opacity: 1;
}

.menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: rgba(255,255,255,.96);
    color: #111;
    backdrop-filter: blur(10px);
    transform: translateX(105%);
    transition: transform .38s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    padding: 18px 18px 22px;
    box-shadow: -24px 0 60px rgba(0,0,0,.18);
}

.menu-overlay.is-open .menu-panel {
    transform: translateX(0);
}

.menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 2px 14px;
    border-bottom: 1px solid rgba(0,0,0,.10);
}

.menu-brand {
    font-weight: 900;
    letter-spacing: .3px;
}

.menu-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: rgba(0,0,0,.78);
    font-size: 18px;
    cursor: pointer;
}

.menu-nav {
    padding: 18px 2px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-link {
    text-decoration: none;
    color: rgba(0,0,0,.88);
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 16px;
    padding: 10px 8px;
    border-radius: 8px;
}

    .menu-link:hover {
        background: rgba(0,0,0,.05);
    }

.menu-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.10);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-meta .meta-title {
    font-size: 12px;
    opacity: .65;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-meta .meta-text {
    margin-top: 6px;
    font-size: 14px;
    opacity: .92;
}

.menu-cta {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 900;
}

/* Mobile */
@media (max-width: 768px) {
    .topbar__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-wrap {
        padding: 0;
    }

    .copy {
        left: 18px;
        top: 84px;
        max-width: 80%;
    }

    .copy__title {
        font-size: 26px;
    }

    .cta {
        left: 18px;
    }

    .slider-nav {
        right: 10px;
    }

    .news-shell, .page-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .menu-panel {
        width: min(360px, 92vw);
    }
    .sub-section {
        padding: 0px;
        --about-cols: 1 !important;
        gap: 18px;
    }
    /* ✅ ADDED: landing project top padding (mobile) */
    .landing-project__top{ padding-left: 16px; padding-right: 16px; }

    /* [ADD] 모바일 랜딩: 프레임 마스크 제거 → 완전 풀스크린 */
    .media__frame::before{
        inset: 0 !important;
        box-shadow: 0 0 0 0 #fff !important;
        border-radius: 0 !important;
    }
}

.site-footer {
    /* [CHANGED] Footer는 fixed가 아니라 콘텐츠 하단에 자연스럽게 배치 */
    position: relative;
    width: 100%;
    padding: 54px 0 46px;
    display: none; /* [CHANGED] 랜딩에서는 숨김 */
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 12px;
    letter-spacing: .2px;
    color: rgba(0,0,0,.55);
}

/* [ADD] 컨텐츠(Project) 진입 후에만 Footer 표시 */
body.project-revealed .site-footer {
    display: flex;
}

/* ✅ Footer가 겹치지 않도록(스크롤 컨테이너 하단 여백) */
.news-shell,
.page-shell {
    padding-bottom: 24px; /* [CHANGED] footer fixed 제거 */
}

/* =========================================================
   [ADD] Expanded Header (Logo + Hamburger → X)
========================================================= */
body.landing-expanded .topbar{
    background: transparent; /* [ADD] 랜딩 확장 시 상단도 함께 확장되는 느낌 */
}
body.landing-expanded .brand img{
    filter: brightness(0) invert(1); /* [ADD] 확장 후: 로고 흰색 */
}
body.landing-expanded .menu-btn span{
    transition: transform .25s ease, opacity .18s ease, background-color .25s ease;
    background: #fff; /* [CHANGED] 확장 후: 흰색 */
}
    body.landing-expanded .menu-btn span:nth-child(1),
    body.menu-open .menu-btn span:nth-child(1) {
        transform: rotate(45deg);
    }

    body.landing-expanded .menu-btn span:nth-child(2),
    body.menu-open .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    body.landing-expanded .menu-btn span:nth-child(3),
    body.menu-open .menu-btn span:nth-child(3) {
        transform: rotate(-45deg);
    }
/* =========================================================
   [ADD] Slider Controls Hidden/Disabled on Expanded
========================================================= */
/* =========================
   [CHANGED][v7] Slider nav visibility
   - 기본 랜딩(초기)에서는 항상 활성화
   - 확장/콘텐츠 상태에서만 숨김
========================= */
body.landing-expanded .slider-nav,
body.project-revealed .slider-nav{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
body.landing-expanded .cta{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Close bar(기존 Close 버튼) 숨김: 햄버거(X)로 닫기 제어 */
body.landing-expanded .landing-project__top{
    display:none; /* [ADD] */
}

/* =========================================================
   [ADD] Scroll Down Arrow Button + Bounce
========================================================= */
.scroll-down-btn{
    display:none !important; /* [CHANGED] 하단 보기 버튼 제거 */
    position:absolute;
    left:50%;
    bottom:38px;
    transform:translateX(-50%);
    width:56px;
    height:56px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.45);
    background:rgba(0,0,0,.10);
    color:#fff;
    display:grid;
    place-items:center;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease, background .25s ease;
    z-index: 4;
}
.scroll-down-btn:hover{
    background:rgba(0,0,0,.22);
    transform:translateX(-50%) translateY(-2px);
}
.scroll-down-btn__icon{
    font-size:26px;
    line-height:1;
}

/* [ADD] Scroll arrow bounce animation */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

body.landing-expanded .scroll-down-btn__icon{
    animation: scrollBounce 1.2s ease-in-out infinite;
}


/* [ADD] 확장 상태에서만 표시(컨텐츠 reveal 전) */
body.landing-expanded:not(.project-revealed) .scroll-down-btn{
    display:none !important; /* [CHANGED] 하단 보기 버튼 제거 */
    opacity:1;
    pointer-events:auto;
    animation: sevasaBounce 1.6s infinite;
}

/* [ADD] 컨텐츠가 열리면 화살표 숨김 */
body.project-revealed .scroll-down-btn{
    display:none !important; /* [CHANGED] 하단 보기 버튼 제거 */
    opacity:0;
    pointer-events:none;
    animation:none;
}

@keyframes sevasaBounce{
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-8px); }
}

/* =========================================================
   [ADD] Scroll Up Button (콘텐츠 진입 후 항상 표시)
========================================================= */
.scroll-up-btn{
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(0,0,0,.22);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
    z-index: 120;
}
.scroll-up-btn:hover{
    background: rgba(0,0,0,.34);
    transform: translateY(-2px);
}
.scroll-up-btn__icon{
    font-size: 22px;
    line-height: 1;
}

/* [ADD] 컨텐츠가 열리면 항상 표시 */
body.project-revealed .scroll-up-btn{
    opacity: 1;
    pointer-events: auto;
}


/* [ADD] 컨텐츠 진입 후(=project-revealed) 메뉴 아이콘/로고는 흰색 유지 */
body.project-revealed .menu-btn span{ background:#fff; }
body.project-revealed .brand img{ filter: brightness(0) invert(1); }


/* =========================================================
   [ADD][v5] Hide header when content is revealed
========================================================= */
body.project-revealed header{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .3s ease;
}


/* ===== Partners Marquee ===== */
.partners-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
    background: transparent;
}

    /* 양끝 페이드(선택) */
    .partners-marquee::before,
    .partners-marquee::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
        pointer-events: none;
        z-index: 2;
    }

    .partners-marquee::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
    }

    .partners-marquee::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
    }

/* 트랙: 2개의 이미지(=200% 폭 느낌)를 한 줄로 */
.partners-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: partners-marquee-scroll 28s linear infinite;
}

/* 이미지가 줄바꿈/축소로 깨지지 않도록 */
.partners-marquee__img {
    display: block;
    height: 472px; /* 원하는 높이 */
    width: auto;
    flex: 0 0 auto;
    margin-right: 40px; /* 이미지 사이 간격(취향) */
    user-select: none;
    pointer-events: none;
}

/* 핵심: 트랙을 절반(-50%)만 이동하면 딱 이어짐 */
@keyframes partners-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* 모션 최소화 설정(접근성) */
@media (prefers-reduced-motion: reduce) {
    .partners-marquee__track {
        animation: none;
        transform: translateX(0);
    }
}
/* YouTube responsive wrapper */
.yt-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

    .yt-wrap iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }