@charset "UTF-8";

video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

video::-webkit-media-controls {
    display: none !important;
}

/* ==========================================================================
   Section: Intro Hero (Figma node 313:1061)
   ========================================================================== */
.fullpage_wrap > .section_intro {
    display: block;
    align-items: initial;
    justify-content: initial;
    min-height: 0;
    background: var(--color-brand-white);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.hero_wrap {
    position: relative;
    width: 100%;
    height: 56.25vw;
    max-height: 100vh;
    overflow: hidden;
    background: #000;
    /* 금고 문 인터랙션 진행값 — js/main.js initVaultDoor() 가 갱신 */
    --open: 0;
    --reveal: 0;
    --zoom: 0;
    --door-fade: 0;
}

/* --------------------------------------------------------------------------
   Vault door interaction — 스크롤 스크럽 금고 문 시퀀스
   (--open 프레임 idx / --reveal 블러·딤 / --zoom 줌인 / --door-fade 문 소멸)
   -------------------------------------------------------------------------- */
/* Swiper — 처음부터 보임. 배경 이미지의 마스크로 비쳐 보이다가
   문·배경이 사라지면(--door-fade) 전체 노출. 끝에서 1.08→1 미세 정착 */
.hero_wrap .hero_swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(calc(1.08 - var(--door-fade, 0) * 0.08));
    transform-origin: center;
    will-change: transform;
}
/* 컨트롤러는 문 인터랙션 완료(.is-revealed) 후 노출 */
.hero_wrap .hero_controls {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero_wrap.is-revealed .hero_controls {
    opacity: 1;
}

/* 금고 문 박스 — hero 풀블리드(100%), --door-fade 로 소멸 */
.hero_door {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: calc(1 - var(--door-fade, 0));
    will-change: opacity;
    /* 금고 축소 비율  */
    --vault: 0.8;
}
/* 줌인 스테이지 
   transform-origin = 금고 개구부 중심(측정값 52%/50%) */
.hero_door_stage {
    position: absolute;
    inset: 0;
    /* 줌 기준점 = 금고 개구부. JS resizeCanvas() 가 16:9 박스 기준 px 로 갱신 */
    transform-origin: var(--hole-cx, 52%) var(--hole-cy, 50%);
    transform: scale(calc(1 + var(--zoom, 0) * 4.2));
    will-change: transform;
}
/* 배경 그리드 — CSS repeating-linear-gradient 로 생성(반복 타일 → 어떤 화면 비율도
   잘림/왜곡 없이 채움). base #262626 + 1px 어두운 라인(#1e1e1e). */
.hero_door_bg {
    position: absolute;
    inset: 0;
    background-color: #262626;
    background-image:
        repeating-linear-gradient(0deg, #1e1e1e 0 1px, transparent 1px 4.9vw),
        repeating-linear-gradient(90deg, #1e1e1e 0 1px, transparent 1px 7.7vw);
}
/* 가운데 원형 마스크(radial-gradient)는 첫 문 프레임이 그려진 뒤(.is-door-ready)에만
   활성 — 로딩 중 마스크로 swiper 가 먼저 비치는 것 방지(닫힌 문이 마스크를 가림).
   마스크 크기는 --vault 와 연동돼 금고 개구부에 맞춰짐. */
.hero_door.is-door-ready .hero_door_bg {
    -webkit-mask-image: radial-gradient(
        circle at var(--hole-cx, 52%) var(--hole-cy, 50%),
        transparent calc(var(--hole-r0, 22vw) * var(--vault, 1)),
        #000 calc(var(--hole-r1, 24vw) * var(--vault, 1))
    );
    mask-image: radial-gradient(
        circle at var(--hole-cx, 52%) var(--hole-cy, 50%),
        transparent calc(var(--hole-r0, 22vw) * var(--vault, 1)),
        #000 calc(var(--hole-r1, 24vw) * var(--vault, 1))
    );
}
/* 캔버스 위치·크기(left/top/width/height)는 JS resizeCanvas() 가 인라인 지정 —
   데스크탑은 16:9 박스(잘림 0), 모바일은 정사각 박스. CSS 는 --vault 축소만.
   개구부 중심(52%/50%) 기준으로 축소 → 마스크와 정렬 유지. */
.hero_door_canvas {
    position: absolute;
    display: block;
    transform: scale(var(--vault, 1));
    transform-origin: 52% 50%;
}
.hero_wrap .hero_slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* Slide image */
.hero_media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero_media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}
.hero_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
    transform-origin: center;
    transition: transform 1600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.swiper-slide-active .hero_media img {
    transform: scale(1);
}

.hero_text {
    position: absolute;
    left: clamp(24px, 3.125vw, 60px);
    bottom: calc(clamp(40px, 4.3229vw, 83px) + clamp(40px, 2.0833vw, 40px) + clamp(32px, 3.125vw, 60px));
    z-index: 3;
    color: var(--color-brand-white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero_title,
.hero_desc {
    margin: 0;
}
.hero_title > span,
.hero_desc > span {
    display: block;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition:
        opacity 0.9s ease,
        transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform, opacity;
}
.hero_title > span {
    transition-delay: 0.35s;
}
.hero_desc > span {
    transition-delay: 0.5s;
}
.hero_wrap.is-revealed .swiper-slide-active .hero_title > span,
.hero_wrap.is-revealed .swiper-slide-active .hero_desc > span {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
/* 역재생 시작 — 글자·컨트롤을 빠르게 fade-out (정방향 staggered reveal 과 별개).
   js/main.js update() 가 RECLOSE_HOLD 동안 .is-reclosing 부여. */
.hero_wrap.is-reclosing .hero_title > span,
.hero_wrap.is-reclosing .hero_desc > span {
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.hero_wrap.is-reclosing .hero_controls {
    transition-duration: 0.35s;
}
.hero_title {
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: var(--font-80);
    line-height: 1;
    letter-spacing: -0.4px;
}
.hero_desc {
    font-family: var(--font-pretendard);
    font-weight: var(--fw-medium);
    font-size: var(--font-22);
    line-height: 1.6;
    letter-spacing: -0.88px;
}

/* Shared controls (progress + nav + play) */
.hero_controls {
    position: absolute;
    left: clamp(24px, 3.125vw, 60px);
    bottom: clamp(40px, 4.3229vw, 83px);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Progress: "1 ━ 3" */
.hero_progress {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
    font-family: var(--font-pretendard);
    font-weight: var(--fw-semibold);
    font-size: var(--font-20);
    line-height: 1.6;
    letter-spacing: -0.4px;
}
.hero_idx {
    width: 20px;
    text-align: center;
}
.hero_progress_bar {
    position: relative;
    width: 136px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}
.hero_progress_fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    height: 100%;
    background: var(--color-white);
    transform-origin: left center;
}

/* Nav arrows */
.hero_nav {
    display: inline-flex;
    align-items: center;
}
.hero_nav_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.hero_nav_btn:hover {
    opacity: 0.7;
}
.hero_nav_btn img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
.hero_nav_btn.hero_next img {
    transform: scaleX(-1);
}

/* Play / Pause toggle */
.hero_play {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    border-radius: 9999px;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.hero_play:hover {
    background: rgba(255, 255, 255, 0.7);
}
.hero_play_pause,
.hero_play_play {
    display: none;
    align-items: center;
    justify-content: center;
}
.hero_play.is-playing .hero_play_pause {
    display: inline-flex;
    gap: 4px;
}
.hero_play:not(.is-playing) .hero_play_play {
    display: inline-block;
}
.hero_play_pause i {
    width: 3px;
    height: 13px;
    background: var(--color-white);
    display: block;
}
.hero_play_play {
    width: 12px;
    height: 14px;
    margin-left: 2px;
    background: var(--color-white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ==========================================================================
   Section: Philosophy (Figma node 313:1085)
   ========================================================================== */
.section_security {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-brand-white);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    overflow: hidden;
}

.philosophy_inner {
    position: relative;
    width: 100%;
    max-width: var(--container-max);
    padding: 0 clamp(16px, 2.8646vw, 55px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 4vw, 80px);
}

.philosophy_content {
    flex: 0 0 auto;
    width: clamp(280px, 31.25vw, 600px);
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4.1667vw, 80px);
}
.philosophy_title {
    margin: 0;
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: var(--font-80);
    line-height: 1;
    letter-spacing: -0.4px;
    color: var(--color-brand-sand);
}
.philosophy_desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--color-gray-700);
    font-family: var(--font-pretendard);
    font-weight: var(--fw-regular);
    font-size: var(--font-20);
    line-height: 1.6;
    letter-spacing: -0.8px;
}
.philosophy_desc p {
    margin: 0;
}

.philosophy_images {
    position: relative;
    flex: 0 0 auto;
    width: clamp(380px, 35.8333vw, 688px);
    aspect-ratio: 688 / 634;
}
.philosophy_img {
    position: absolute;
    overflow: hidden;
    background: var(--color-brand-white);
}
/* 작은 입구 이미지: 좌하단 (디자인 비율: 268/688=38.95%, 350/634=55.21%) */
.philosophy_img-1 {
    bottom: 0;
    left: 0;
    width: 38.95%;
    height: 55.21%;
}
/* 큰 금고문 이미지: 우상단 (디자인 비율: 400/688=58.14%, 524/634=82.65%) */
.philosophy_img-2 {
    top: 0;
    right: 0;
    width: 58.14%;
    height: 82.65%;
}
.philosophy_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Section: Vault Care (Figma node 313:1129) — horizontal slider
   ========================================================================== */
.section_space {
    display: block;
    align-items: initial;
    justify-content: initial;
    background: var(--color-brand-white);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    overflow: hidden;
}

.vault_inner {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Header: title (left) + description (right) */
.vault_header {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--container-max);
    padding: clamp(80px, 11.1111vh, 120px) clamp(24px, 2.8646vw, 55px) 0;
}
.vault_title {
    margin: 0;
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: var(--font-80);
    line-height: 1;
    letter-spacing: -0.4px;
    color: var(--color-brand-sand);
}
.vault_desc {
    margin: 0;
    flex: 0 0 auto;
    color: var(--color-gray-700);
    font-family: var(--font-pretendard);
    font-weight: var(--fw-regular);
    font-size: var(--font-20);
    line-height: 1.6;
    letter-spacing: -0.4px;
}

/* Swiper (horizontal peek) */
.vault_swiper {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(24px, 4.1667vw, 80px);
    padding-left: clamp(16px, 2.8646vw, 55px);
    overflow: visible;
    width: 100%;
}
.vault_swiper .swiper-wrapper {
    align-items: stretch;
    height: 100%;
}
.vault_slide {
    width: clamp(320px, 57.0312vw, 1095px);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.vault_media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-gray-800);
}
.vault_media img,
.vault_media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vault_caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: clamp(280px, 28.1771vw, 541px);
    padding: 25px 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    color: var(--color-brand-white);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.vault_caption_title {
    margin: 0;
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: var(--font-24);
    line-height: 1.45;
    color: var(--color-brand-white);
}
.vault_caption_desc {
    margin: 0;
    font-family: var(--font-pretendard);
    font-weight: var(--fw-regular);
    font-size: var(--font-18);
    line-height: 1.6;
    letter-spacing: -0.72px;
    color: var(--color-bg-soft);
}

/* Vault Care 캡션 — AOS 대신 swiper 연동 fade-right.
   섹션 노출(.vault_swiper.is-shown — IO 토글) + 뷰포트에 들어온 슬라이드(.swiper-slide-visible,
   watchSlidesProgress)의 제목·본문이 fade-right. peek 슬라이더라 활성 + 옆에 보이는 슬라이드까지
   포함되며, 슬라이드가 뷰포트에 새로 들어올 때마다 그 캡션이 재생된다. */
.vault_caption_title,
.vault_caption_desc {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
    transition:
        opacity 1.1s ease,
        transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}
.vault_swiper.is-shown .swiper-slide-visible .vault_caption_title,
.vault_swiper.is-shown .swiper-slide-visible .vault_caption_desc {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.vault_swiper.is-shown .swiper-slide-visible .vault_caption_title {
    transition-delay: 0.15s;
}
.vault_swiper.is-shown .swiper-slide-visible .vault_caption_desc {
    transition-delay: 0.3s;
}

/* Navigation arrows (bottom-right) — 슬라이더 아래 별도 영역 */
.vault_nav {
    flex: 0 0 auto;
    align-self: flex-end;
    display: flex;
    gap: 8px;
    padding: clamp(16px, 2vh, 24px) clamp(20px, 2.5vw, 48px) clamp(24px, 4vh, 40px) 0;
    z-index: 2;
}
.vault_nav_btn {
    width: 48px;
    height: 48px;
    background: var(--color-brand-sand);
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}
.vault_nav_btn:hover {
    opacity: 0.85;
}
.vault_nav_btn::before {
    content: "";
    width: 10px;
    height: 14px;
    background: var(--color-white);
    clip-path: polygon(100% 0, 30% 50%, 100% 100%, 70% 100%, 0 50%, 70% 0);
}
.vault_next::before {
    transform: scaleX(-1);
}
.vault_nav_btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

/* ==========================================================================
   Section: Main Video — Vault Care 다음 풀스크린 영상
   ========================================================================== */
.fullpage_wrap > .section_main_video {
    display: block;
    align-items: initial;
    justify-content: initial;
    min-height: 0;
    height: 100vh;
    height: 100lvh;
    padding: 0;
    background: #000;
    overflow: hidden;
}
.main_video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Section: Heritage History (Figma 313:1113 / 313:1119 / 313:1121)
   3 phases stacked, played as a timeline when section enters viewport
   ========================================================================== */
.section_heritage {
    position: relative;
    display: block;
    align-items: initial;
    justify-content: initial;
    background: var(--color-gray-900);
    color: var(--color-bg-soft);
    font-family: inherit;
    font-size: inherit;
    overflow: hidden;
}

.section_heritage .hist_phase {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

/* ----- Phase 1: 1932 + clock dial ---------------------------------------- */
/* 섹션 자체가 검은 배경 — phase_1은 투명. p2 의 인테리어 배경이 fade-in 될 때
   p1 의 year 텍스트는 z-index 로 위에 떠 있으면서 그 자리에서 그대로 확대됨 */
.hist_phase_1 {
    background: transparent;
    z-index: 2;
}
.hist_phase_2 {
    z-index: 1;
}
.hist_phase_3 {
    z-index: 3;
    perspective: 2400px;
}
.hist_phase_1 .hist_dial {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(360px, 31.25vw, 600px);
    height: clamp(360px, 31.25vw, 600px);
    background-image: url("../img/main/heritage-dial.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    /* xPercent/yPercent로 GSAP가 중앙 정렬 + scale/rotate 동시 제어 */
}
/* 흰색 활성화 마커: 12시 방향, dial 위에 떠 있음 (Figma 313:1118) */
.hist_dial_marker {
    position: absolute;
    top: -27px;
    left: 50%;
    width: 4px;
    height: 17px;
    background: #ffffff;
    transform: translateX(-50%);
}
.hist_phase_1 .hist_year {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-weight: var(--fw-regular);
    font-size: clamp(120px, 10.4167vw, 200px);
    line-height: 1;
    font-family: var(--font-marcellus);
    color: var(--color-bg-soft);
    white-space: nowrap;
}

.hist_phase_1 .hist_year > span {
    display: inline-block;
    width: 0.67em;
    text-align: center;
    font-family: var(--font-marcellus);
    margin: 0 -0.02em;
}

/* ----- Phase 2: 2026 huge text + interior bg ----------------------------- */
.hist_phase_2 .hist_bg {
    position: absolute;
    inset: 0;
}
.hist_phase_2 .hist_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hist_phase_2 .hist_bg_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}
.hist_phase_2 .hist_year {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: clamp(280px, 51.4583vw, 988px);
    line-height: 1;
    letter-spacing: -4.94px;
    color: var(--color-bg-soft);
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* ----- Phase 3: Heritage card ------------------------------------------- */
.hist_phase_3 .hist_bg {
    position: absolute;
    inset: 0;
}
.hist_phase_3 .hist_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 평행사변형 패널 — 카드 left edge 옆(외부)에 위치, SVG path 모양 */
.hist_phase_3 .hist_side {
    position: absolute;
    right: 100%;
    top: 50%;
    width: 225px;
    height: 855px;
    background: linear-gradient(180deg, #e6dfc9 0%, #847f6d 100%);
    clip-path: polygon(0% 0%, 100% 11.7%, 100% 88.3%, 0% 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 11.7%, 100% 88.3%, 0% 100%);
    z-index: 1;
    transform-origin: right center;
    will-change: transform;
}
.hist_phase_3 .hist_card {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 52px 40px;
    width: 604px;
    height: 655px;
    /* width: clamp(360px, 31.4583vw, 604px);
    height: clamp(420px, 60.6481vh, 655px); */
    background: var(--color-brand-white);
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    z-index: 2;
}
.hist_cover {
    position: absolute;
    inset: 0;
    margin: 0;
    background: linear-gradient(180deg, #e6dfc9 0%, #847f6d 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1;
    transform-origin: left center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}
.hist_card_inner {
    position: absolute;
    top: 50%;
    left: clamp(20px, 2.0833vw, 40px);
    width: calc(100% - clamp(40px, 4.1667vw, 80px));
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2.0833vw, 40px);
    transform: translateY(-50%);
    z-index: 2;
}
.hist_card_title {
    margin: 0;
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: var(--font-80);
    line-height: 1;
    letter-spacing: -0.4px;
    color: var(--color-brand-sand);
}
.hist_card_img {
    width: clamp(280px, 19.7917vw, 380px);
    aspect-ratio: 380 / 216;
    overflow: hidden;
    background: var(--color-gray-800);
}
.hist_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hist_card_desc {
    margin: 0;
    font-family: var(--font-pretendard);
    font-weight: var(--fw-regular);
    font-size: var(--font-18);
    line-height: 1.6;
    letter-spacing: -0.36px;
    color: var(--color-gray-700);
}

/* Tablet/Mobile */
@media screen and (max-width: 1024px) {
    .hero_text {
        bottom: calc(40px + 40px + 32px);
    }
    .hero_controls {
        bottom: 40px;
        gap: 16px;
    }

    .philosophy_inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px;
        gap: 48px;
    }
    .philosophy_content {
        width: 100%;
        max-width: 600px;
        gap: 32px;
    }
    .philosophy_images {
        width: 100%;
        max-width: 540px;
        align-self: center;
    }

    .vault_header {
        flex-direction: column;
        gap: 40px;
        padding-top: 80px;
    }
    .vault_desc {
        width: 100%;
    }
    .vault_slide {
        width: 80vw;
        height: auto;
        aspect-ratio: 1095 / 709;
    }
}
@media screen and (max-width: 768px) {
    /* 인트로 = 금고 문 스크롤존(480vh) + sticky 스테이지 (스냅 미적용 모바일) */
    /* overflow:visible 필수 — default.css 의 `section{overflow:hidden}` 이
       .section_intro 을 스크롤 컨테이너로 만들어 .hero_wrap 의 sticky 를 깨뜨림 */
    .fullpage_wrap > .section_intro {
        height: 480lvh;
        overflow: visible;
    }
    .hero_wrap {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100lvh;
    }
    /* 모바일 — 금고 문 캔버스는 정사각 박스 (16:9 를 세로 화면에 풀블리드하면 잘림).
       금고 원형이 보존되도록 좌우 투명 여백만 cover-crop. 중앙 정렬.
       --vault: 금고 축소 비율 — 이 값만 바꾸면 문 캔버스와 배경 마스크가 함께 조정됨. */
    .hero_door {
        inset: auto;
        left: 0;
        top: 50%;
        width: 100%;
        aspect-ratio: 1 / 1;
        transform: translateY(-50%);
        --vault: 0.88;
    }
    /* 모바일 배경 — CSS 그리드(세로 화면용으로 더 큰 셀). 풀뷰포트 커버 + 세로 중앙. */
    .hero_door_bg {
        inset: auto;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 100lvh;
        transform: translate(-50%, -50%);
        background-image:
            repeating-linear-gradient(0deg, #171717 0 1px, transparent 1px 22.4vw),
            repeating-linear-gradient(90deg, #171717 0 1px, transparent 1px 34.7vw);
    }
    /* 마스크는 첫 문 프레임이 그려진 뒤(.is-door-ready)에만 활성 — 모바일 개구부(~75vw)에 맞춤 */
    .hero_door.is-door-ready .hero_door_bg {
        -webkit-mask-image: radial-gradient(
            circle at 52% 50%,
            transparent calc(39vw * var(--vault, 1)),
            #000 calc(43vw * var(--vault, 1))
        );
        mask-image: radial-gradient(
            circle at 52% 50%,
            transparent calc(39vw * var(--vault, 1)),
            #000 calc(43vw * var(--vault, 1))
        );
    }
    /* 모바일 캔버스는 베이스 .hero_door_canvas 규칙(--vault 축소)을 그대로 사용 —
       위치·크기는 JS 가 정사각 .hero_door 기준으로 인라인 지정. */
    /* 모바일 — 줌인 폭 축소 */
    .hero_door_stage {
        transform: scale(calc(1 + var(--zoom, 0) * 3.2));
    }
    .hero_media img {
        transition: none;
        transform: scale(1);
    }
    .hero_controls {
        left: 20px;
        display: none;
    }
    .hero_text {
        top: 50%;
        left: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        align-items: center;
        text-align: center;
        width: max-content;
        gap: 12px;
        max-width: calc(100% - 32px);
    }
    .hero_progress_bar {
        width: 90px;
    }
    .hero_desc {
        letter-spacing: -0.4px;
        font-size: 1.8rem;
    }

    .philosophy_inner {
        padding: 60px 16px;
        gap: 85px;
    }

    .philosophy_desc {
        gap: 16px;
    }

    .philosophy_images {
        width: 300px;
        max-width: 100%;
        align-self: flex-end;
    }

    .vault_inner {
        height: auto;
    }
    .vault_header {
        padding: 60px 16px 0;
        gap: 40px;
    }
    .vault_desc {
        letter-spacing: -0.64px;
    }

    .vault_slide {
        width: 320px;
        max-width: calc(100vw - 32px);
        height: auto;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        background: var(--color-gray-900);
    }
    .vault_media {
        position: relative;
        inset: auto;
        height: 206px;
        flex: 0 0 auto;
    }
    .vault_caption {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 24px 18px;
        gap: 20px;
        background: var(--color-gray-900);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .vault_caption_desc {
        font-size: 1.5rem;
        letter-spacing: -0.6px;
    }

    .vault_nav {
        align-self: flex-start;
        padding: 23px 0 60px 16px;
        gap: 6px;
    }
    .vault_nav_btn {
        width: 40px;
        height: 40px;
    }

    .global_footer .gf_label {
        font-size: 1.5rem;
    }
    /* common.css의 `.fullpage_wrap > section { min-height: auto }`(0,1,1)보다 specific (0,2,0) */
    .fullpage_wrap > .section_heritage {
        min-height: 100vh;
        min-height: 100lvh;
    }
}

/* ==========================================================================
   Section: Enter the Vaults (Figma node 454:584)
   ========================================================================== */
.fullpage_wrap > .section_enter_vault {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-gray-800);
    color: var(--color-brand-ivory);
    overflow: hidden;
    padding: clamp(60px, 6.25vw, 120px) 0 clamp(60px, 5.2083vw, 100px);
}

.evault_inner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 모바일 전용 안내 텍스트 */
.evault_hint {
    display: none;
}

.evault_header {
    padding: 0 clamp(20px, 2.8646vw, 55px);
    margin: 0 0 clamp(28px, 3.125vw, 60px);
}
.evault_title {
    margin: 0;
    font-family: var(--font-marcellus);
    font-weight: var(--fw-regular);
    font-size: var(--font-80);
    line-height: 1;
    letter-spacing: -0.4px;
    color: var(--color-brand-ivory);
}

/* Swiper */
.evault_swiper {
    width: 100%;
    padding-left: clamp(20px, 2.8646vw, 55px);
    overflow: visible;
}
.evault_swiper .swiper-wrapper {
    align-items: stretch;
}
.evault_slide {
    width: clamp(280px, 54.6875vw, 1050px);
    height: auto;
    flex-shrink: 0;
}

.evault_slide_btn {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1050 / 614;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--color-gray-900);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}
.evault_slide_btn:focus-visible {
    outline: none;
}

.evault_slide_media {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}
.evault_slide_media::after {
}
.evault_slide_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

/* 호버 시 [입장하기] 노출 + 미디어 줌 (Figma 주석: 호버시 입장하기 버튼 추가) */
.evault_slide_cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: inline-flex;
    width: 120px;
    height: 120px;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pretendard);
    font-weight: var(--fw-medium);
    font-size: var(--font-16);
    line-height: 1.6;
    letter-spacing: -0.64px;
    color: var(--color-brand-white);
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    white-space: nowrap;
}

.evault_slide_btn:hover .evault_slide_media img,
.evault_slide_btn:focus-visible .evault_slide_media img {
    transform: scale(1.04);
}
.evault_slide_btn:hover .evault_slide_media::after,
.evault_slide_btn:focus-visible .evault_slide_media::after {
    opacity: 1;
}
.evault_slide_btn:hover .evault_slide_cta,
.evault_slide_btn:focus-visible .evault_slide_cta {
    opacity: 1;
}

/* Pagination — Figma 사각 dots: active 10x10 sand / inactive 5x5 ivory */
.evault_pagination {
    position: relative;
    margin: clamp(28px, 3.5417vw, 68px) auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    bottom: auto;
}
/* Bullet 박스는 10x10 고정 — 안쪽 ::before 만 크기 변경해 레이아웃 흔들림 방지 */
.evault_pagination .swiper-pagination-bullet {
    position: relative;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1;
}
.evault_pagination .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--color-brand-ivory);
    transform: translate(-50%, -50%);
    transition:
        width 0.3s ease,
        height 0.3s ease,
        background-color 0.3s ease;
}
.evault_pagination .swiper-pagination-bullet-active::before {
    width: 10px;
    height: 10px;
    background: var(--color-brand-sand);
}

@media screen and (max-width: 1024px) {
    .evault_slide {
        width: clamp(260px, 64vw, 760px);
    }
    .evault_slide_cta {
        padding: 12px 26px;
    }
}

@media screen and (max-width: 768px) {
    .fullpage_wrap > .section_enter_vault {
        padding: 60px 16px;
    }
    .evault_inner {
        align-items: center;
    }
    .evault_header {
        padding: 0;
        margin-bottom: 50px;
        width: 100%;
        text-align: center;
    }
    .evault_title {
        line-height: 1;
        letter-spacing: -0.22px;
    }
    .evault_swiper {
        padding-left: 0;
        width: 100%;
    }
    .evault_slide {
        width: 100%;
        max-width: none;
    }
    .evault_slide_btn {
        aspect-ratio: 343 / 420;
    }
    .evault_slide_cta {
        display: none;
    }
    .evault_slide_btn {
        aspect-ratio: 343 / 420;
    }
    .evault_hint {
        display: block;
        margin: 50px 0;
        font-family: var(--font-pretendard);
        font-weight: var(--fw-medium);
        font-size: 1.6rem;
        line-height: 1.6;
        letter-spacing: -0.64px;
        color: var(--color-brand-white);
        text-align: center;
    }
    .evault_pagination {
        margin: 0;
        gap: 12px;
    }
    .evault_pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    .evault_pagination .swiper-pagination-bullet::before {
        width: 4px;
        height: 4px;
    }
    .evault_pagination .swiper-pagination-bullet-active::before {
        width: 8px;
        height: 8px;
    }
}

/* ==========================================================================
   Enter the Vaults — 360° Panorama view
   슬라이더 / 360° 공간이 같은 fp_section 의 두 상태. 슬라이드 클릭 시 .is-open
   추가되며 슬라이더 위에 절대 위치로 panorama view 가 등장. 닫기 버튼/ESC 없이
   스크롤로 다음 섹션 이동, 섹션이 viewport 를 떠나면 상태 자동 리셋.
   ========================================================================== */
.evault_pano_view {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.5s ease,
        visibility 0s linear 0.5s,
        pointer-events 0s linear 0.8s;
}
.evault_pano_view.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.5s ease,
        visibility 0s linear 0s,
        pointer-events 0s linear 0s;
}

.section_enter_vault.is-pano-active .evault_pagination {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0s linear 0.3s;
}

.section_enter_vault.is-pano-active .evault_inner {
    display: none;
}

.evault_pano_close {
    position: absolute;
    right: 48px;
    bottom: 30px;
    z-index: 3;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--color-primary);
    background-color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.4s ease 0.1s;
}

.evault_pano_view.is-interacted .evault_pano_close:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.evault_pano_view::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
}
.evault_pano_view.is-interacted::before {
    opacity: 0;
}

@keyframes panoHintMouseMove {
    0%,
    100% {
        transform: translate(0, -14px);
    }
    33% {
        transform: translate(-16px, 9px);
    }
    66% {
        transform: translate(16px, 9px);
    }
}
.pano_hint_icon_wrap .pano_hint_icon:first-child {
    animation: panoHintMouseMove 2.4s ease-in-out infinite;
}
.evault_pano_view.is-interacted .pano_hint_icon_wrap .pano_hint_icon:first-child {
    animation: none;
}

.evault_pano_view .pano_indicator {
    opacity: 0;
    pointer-events: none;
    transition:
        width 0.25s ease-out 0.25s,
        opacity 0.4s ease 0.1s;
}
.evault_pano_view.is-interacted .evault_pano_close,
.evault_pano_view.is-interacted .pano_indicator {
    opacity: 1;
    pointer-events: auto;
}

/* 360 panorama 영역 */

.pano_wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    max-height: 100vh;
    overflow: hidden;
    background: #0a0a0a;
    touch-action: none;
    cursor: grab;
}
.pano_wrap.is-dragging {
    cursor: grabbing;
}

.pano_canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

/* 중앙 안내 카드 */
.pano_hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 32px;
    width: 240px;
    aspect-ratio: 1 / 1;
    border-radius: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    user-select: none;
    z-index: 3;
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.pano_hint.is-hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
}

.pano_hint_icon_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.pano_hint_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    color: #fff;
}

.pano_hint_text {
    margin: 0;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.6;
    letter-spacing: -0.04em;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.pano_scenes_data {
    display: none;
}

/* 하단 인디케이터  */
.pano_indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) translateZ(0);
    width: 170px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    user-select: none;
    transition: width 0.25s ease-out 0.25s;
    will-change: width;
}
.pano_indicator.is-open {
    width: 340px;
    transition: width 0.25s ease-out 0s;
}

.pano_indicator_list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    background: #171717;
    border-bottom: 1px solid rgba(166, 154, 132, 0.2);
    padding: 12px 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition:
        clip-path 0.28s ease-out 0s,
        opacity 0.18s ease-out 0s,
        visibility 0s linear 0.28s;
    contain: paint;
    will-change: clip-path, opacity;
}
.pano_indicator.is-open .pano_indicator_list {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transition:
        clip-path 0.28s ease-out 0.28s,
        opacity 0.18s ease-out 0.28s,
        visibility 0s linear 0s;
}
.pano_indicator_list::-webkit-scrollbar {
    width: 8px;
}
.pano_indicator_list::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
}
.pano_indicator_list {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

.pano_indicator_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px 0 0;
    margin: 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: #fff;
}
.pano_indicator_thumb {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    overflow: hidden;
    background: #0a0a0a;
}
.pano_indicator_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pano_indicator_label {
    flex: 1 0 0;
    min-width: 0;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.3px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pano_indicator_item.is-active .pano_indicator_label,
.pano_indicator_item:hover .pano_indicator_label {
    color: #a69a84;
}

.pano_indicator_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: #171717;
    padding: 7px 8px;
}

.pano_indicator_btn {
    width: 48px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(166, 154, 132, 0.2);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.pano_indicator_btn:hover,
.pano_indicator_btn.is-active {
    background: #a69a84;
}
.pano_indicator_btn img {
    width: 24px;
    height: 24px;
    display: block;
}
.pano_indicator_btn.pano_next img {
    transform: rotate(180deg);
}

.pano_indicator_toggle {
    flex-direction: column;
    gap: 5px;
    position: relative;
}
.pano_indicator_toggle span {
    display: block;
    width: 14px;
    height: 1px;
    background: #fdfcf9;
    transition: transform 0.22s ease-out;
    transform-origin: center;
}
.pano_indicator.is-open .pano_indicator_toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
}
.pano_indicator.is-open .pano_indicator_toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
    .section_enter_vault.is-pano-active {
        height: 100vh;
        /* height: 100svh; */
        height: 100dvh;
        min-height: 0;
    }
    .pano_wrap {
        height: 100vh;
        /* height: 100svh; */
        height: 100dvh;
        max-height: none;
    }
    .evault_pano_close {
        /* bottom: 26px; */
        bottom: 70px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
    .pano_hint {
        display: none;
    }

    .pano_indicator {
        width: 170px;
        /* bottom: 24px; */
        bottom: 68px;
    }
    .pano_indicator.is-open {
        width: min(340px, calc(100vw - 32px));
    }
    .pano_indicator_label {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   카카오톡 인앱 브라우저 — 모바일 인트로 vh 고정
     동적 상/하단 바 토글로 lvh 가 변하며 sticky 스테이지·스크롤존이 흔들림.
     인앱일 때만 --vh(JS 고정값) 기반으로 치환 — 인터랙션 도중 높이 변화 차단.
     일반 모바일 브라우저는 기존 lvh 동작 유지.
   ========================================================================== */
@media screen and (max-width: 768px) {
    body.kakao-webview .fullpage_wrap > .section_intro {
        height: calc(var(--vh, 1vh) * 480);
    }
    body.kakao-webview .hero_wrap {
        height: calc(var(--vh, 1vh) * 100);
    }
    body.kakao-webview .hero_door_bg {
        height: calc(var(--vh, 1vh) * 100);
    }
    /* 같은 이유로 panorama view 도 인앱에선 고정 */
    body.kakao-webview .section_enter_vault.is-pano-active,
    body.kakao-webview .pano_wrap {
        height: calc(var(--vh, 1vh) * 100);
    }
    body.kakao-webview .fullpage_wrap > .section_main_video {
        height: calc(var(--vh, 1vh) * 100);
    }

    /* 카카오 인앱: 박스(--vh*100)가 visualViewport 보다 +130px 크게 고정 →
       indicator/close 를 visualViewport 기준으로 끌어올려 viewport 안에 유지.
       js/common.js 의 updatePanoVisual 이 --pano-visual-h 를 실시간 갱신 →
       탭바 토글 시 indicator 가 viewport bottom 기준 항상 동일 위치를 유지. */
    body.kakao-webview .pano_indicator {
        bottom: calc(var(--vh, 1vh) * 100 - var(--pano-visual-h, 100vh) + 68px);
    }
    body.kakao-webview .evault_pano_close {
        bottom: calc(var(--vh, 1vh) * 100 - var(--pano-visual-h, 100vh) + 70px);
    }
}
