@media all and (max-width: 1252px) {

}



@media (min-width: 1920px){


}

@media (max-width: 1200px) {
    *, *:after, *:before {
        font-size: 3vw;
        line-height: 1;
    }
    :root {
        overflow-x: hidden;
    }
    .footer-item.footer-address, .footer-item.footer-email {
        display: none;
    }

    a.logo {
        font-size: 3.6vw;
        top: 0;
        position: relative;
    }

    #mobileMenu a.logo {
        color: #fff;
    }

    .home .screensaver img {
        width: 100vw;
    }

    .home .intro-ui {
        position: fixed;
        left: unset;
        right: unset;
        top: 0;
        display: grid;
        align-items: center;
        z-index: 10;
        height: auto;
        width: 100%;
        transform: unset;
    }

    .m-menu-list a,
    .m-menu-list button.contact-toggle {
      opacity: .3;
      transition: opacity .25s;
    }

    .m-menu-list a.is-active {
      opacity: 1;
    }

      /* 메뉴(Studio, Works, Press, Contact)는 모바일에서 숨김 */
      .header .nav a,
      .header .nav button.contact-toggle {
        display: none;
      }

      .filters.hint {
        opacity: 1 !important;
        pointer-events: auto !important;
      }
      /* 모바일에서는 전체 필터 자체를 숨긴다. */
      .filters {
        display: none !important;
      }

    a.press-item.pcver {
        display: none !important;
    }  

      /* 모바일 MENU 버튼만 보이게 */
    .mobile-only {
        display: inline-block !important;
    }

    .pcver {
        display: none;
    }

    .works .frame {
        padding: 10vw 3vw 3vw 3vw;
        min-height: 100vh;
    }

        .works .card .thumb {
            background: #eee;
            aspect-ratio: unset;
            object-fit: cover;
            width: 100%;
            height: 65vh;
            object-position: top;
        }
/* ───────── 공통 스타일 (모바일 메뉴 오버레이) ───────── */
    .home button.menu-toggle {
        display: inline-block;
        color: #fff;
    }

    button.menu-toggle {
        display: inline-block;
        color: #000000;
        border: none;
        background: none;
    } 

    button.contact-toggle {
        display: none !important;
    }

    .m-menu {
        position: fixed;
        inset: 0;
        z-index: 999999;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity 0.25s ease;
    }

    .m-menu.is-open {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      display: flex;
    }

    .m-menu-dim {
        position: absolute;
        inset: 0;
        background: #ededed;
        opacity: 95%;
    }

    .m-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        padding: 3vw;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        mix-blend-mode: exclusion;
        width: 100%;
        justify-content: space-between;
    }

    .m-menu-list {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 3vw;
        text-align: right;
        align-items: flex-end;
    }

    .m-menu.is-open button.contact-toggle {
        display: inline-block !important;
    }

    .m-menu-list a,
    .m-menu-list button {
      background: none;
      border: none;
      padding: 0;
      font: inherit;
      color: #fff;
      cursor: pointer;
    }

    .m-menu-close {
        position: absolute;
        right: 3vw;
        bottom: 3vw;
        background: none;
        border: none;
        font: inherit;
        color: #fff;
        cursor: pointer;
        mix-blend-mode: difference;
    }

    .intro-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 3vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 900;
    }

      .intro-header .logo {
        display: inline-block;
      }

  .intro-header .nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* 모바일에서는 STUDIO/WORKS/PRESS 링크 숨기고 CONTACT + MENU만 노출 */
  .intro-header .nav a {
    display: none;
  }

  .intro-header .nav .contact-toggle,
  .intro-header .nav .menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
  }

  /* 슬로건: 최상단 중앙 */
    .slogan {
        position: fixed;
        top: 3vw;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

  /* 프로젝트 타이틀: 화면 하단 */
    .project-title {
        position: fixed;
        left: 50%;
        right: unset;
        bottom: 3vw;
        text-align: left;
        transform: translateX(-50%);
    }

    /* 메인 배경/컨텐츠가 헤더와 겹치지 않게 만약 필요하면 패딩 추가 */
    .intro-ui {
        padding-top: 56px; /* 헤더 높이만큼 */
      }

    .studio-apply {
        display: inline-block;
        position: relative;
        width: auto;
        height: auto;
        color: #B4B4B4;
        text-transform: uppercase;
        margin-top: 12vw;
        line-height: 1.2;
    }

    .studio-block {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
    }

    .studio-inner {
        display: flex;
        /* grid-template-columns: 4fr 3fr; */
        gap: 0;
        flex-direction: column;
        padding: 24vw 3vw 24vw 3vw;
    }

    .studio-left {
        padding: 0;
    }

    .studio-right {
        display: flex;
        flex-direction: column;
        padding: 24vw 0 0 0;
        width: auto;
        height: auto;
        gap: 12vw;
    }

    .studio-intro.studio-intro-kr p {
        line-height: 1.4;
        font-weight: 600;
        word-break: keep-all;
    }
    .studio-intro.studio-intro-kr {
        margin-bottom: 3vw;
        padding-right: 1vw;
    }

    .studio-item {
        margin-bottom: 1vw;
    }


    .studio-block-title {
        padding-right: 12vw;
    }

    .studio .footer {
        display: flex;
        position: relative;
        left: 0vw;
        bottom: 0vw;
        padding: 3vw;
    }


    .works .header .header-left, .studio .header .header-left, .press .header .header-left, .article .header .header-left {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }


    .header, .works .header, .project .header {
        position: fixed;
        left: 0;
        right: unset;
        top: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        padding: 3vw;
        justify-content: space-between;
        width: 100%;
        height: 9vw;
    }

    #press-index {
        padding: 24vw 3vw 24vw 3vw;
        min-height: 100vh;
    }

    .press-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 0;
        width: 100%;
    }

    a.press-item {
        /* grid-template-columns: 12vw 24vw 36vw; */
        display: flex !important;
        margin-bottom: 3vw;
        flex-direction: row;
        gap: 0;
        justify-content: flex-start;
    }

    .press-date, .press-set {
        display: inline-block;
        position: relative;
        width: 50%;
    }

    .press-set {
        display: flex;
        position: relative;
        width: 50%;
        flex-direction: column;
        gap: 1vw;
    }

    footer.footer {
        padding: 3vw;
    }

    .article-slide-wrapper {
        padding: 0;
    }

    .article-pagination {
        position: absolute;
        bottom: 3vw;
        right: unset;
        font-size: 3vw;
        z-index: 20;
        left: 50%;
        transform: translateX(-50%);
    }

    .article-slide img {
        max-height: 100vh;
        max-width: 94vw;
        object-fit: contain;
        height: 100%;
    }

    .article-title {
        position: absolute;
        top: 3vw;
        right: unset;
        font-size: 3vw;
        color: #000;
        z-index: 20;
        left: 24vw;
    }

    .article-slide-wrapper, 
    .article-slide {
      touch-action: pan-y;
      user-select: none;
    }


    .article .m-menu {
        z-index: 999999999;
    }

    #article-cursor {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    #article-viewer {
        height: calc(var(--vh, 1vh) * 100);
    }

    .article-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: calc(100% - 6vw);
        max-height: 100%;
        object-fit: contain;
    }

    .works .card .meta .desc {
        font-size: 3vw;
        line-height: 1.1;
        color: #000;
    }

.works .card .meta .type {
    font-size: 3vw;
    color: #B4B4B4;
    text-transform: uppercase;
    line-height: 1;
}

.works .card .meta .title {
    font-size: 3vw;
    text-transform: uppercase;
    line-height: 1.2;
}

    .works .grid--small .card .thumb {
        background: #eee;
        aspect-ratio: unset;
        object-fit: cover;
        width: 100%;
        height: 25vh;
        object-position: center;
    }

.works .card .meta {
    margin-top: 3vw;
}

.meta-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
    margin-bottom: 3vw;
}

    .grid--small .meta-box {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: auto;
        margin-bottom: 4vw;
        flex-direction: column;
        gap: 2vw;
    }

    .works .filter-toggle.mobile-only {
        display: inline-block !important;
        border: none;
        background: transparent;
        left: 24vw;
        position: absolute;
        top: 3vw;
        color: #000;
    }

.works .footer {
    padding: 3vw;
    color: #000;
    text-align: left;
}

.view-toggle.desktop-only {
    display: none;
}

grid-template-columns: 1fr;
.m-filter-list [data-type] { color:#b4b4b4; }
.m-filter-list [data-type].is-active { color:#000; }
/* ───────── 모바일 WORKS 필터 오버레이 ───────── */
.m-filter {
  position: fixed;
  inset: 0;
  z-index: 1200;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* 열렸을 때 */
.m-filter.is-open {
    opacity: 1;
    pointer-events: auto;
    display: block !important;
    padding: 3vw;
}

    .m-filter a.logo {
        font-size: 3.6vw;
        top: 0;
        position: relative;
        /* left: 3vw; */
        /* top: 3vw; */
    }

    .home .panel-video {
        width: 100%;
        height: 100vh;
        transform: unset;
        align-items: center;
        /* background-size: cover; */
        object-fit: cover;
    }

/* 딤 */
    .m-filter-dim {
        position: absolute;
        inset: 0;
        /* background: rgba(0, 0, 0, 0.08); */
        background: #ededed;
        opacity: 95%;
    }

/* 패널 전체 */
    .m-filter-panel {
        position: absolute;
        inset: 0;
        padding: 3vw;
        display: flex;
        flex-direction: row;
        width: 100vw;
        gap: 12vw;
    }

/* 필터 리스트 / 사이즈 영역 */
    .m-filter-list {
        display: flex;
        flex-direction: column;
        gap: 1.5vw;
        padding-left: 21vw;
    }

    .m-filter-size {
        display: flex;
        flex-direction: column;
        gap: 1.5vw;
        padding-left: 0;
    }

/* 공통 버튼 스타일 */
.m-filter-panel button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;

  color: #b4b4b4;      /* 기본은 옅은 회색 */
}

/* 선택된 필터 */
.m-filter-panel button.is-active {
  color: #000;
}

/* SIZE 버튼은 살짝 위쪽 여백 */
.m-filter-size {
  margin-top: 0;
}

/* APPLY / CLOSE는 아래 좌/우 */
    .m-filter-apply, .m-filter-close {
        position: absolute;
        bottom: 3vw;
        font: inherit;
    }

    .m-filter-panel .m-filter-apply, .m-filter-panel .m-filter-close {
        color: #000;
    }

.m-filter-apply {
  left: 25%;
}

.m-filter-close {
  right: 3vw;
}

/* SIZE 버튼 상태 */
.m-filter-size button {
  color: #b4b4b4;
}

.m-filter-size button.is-active {
  color: #000;
}

/* 모바일에서 LARGE(1단) / SMALL(2단) */
  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18vw;
  }

.works .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18vw;
}

  .grid.grid--small {
    grid-template-columns: 1fr 1fr; /* SMALL = 2단 */
  }

    .grid--small .desc {
        display: none;
    }

    .contact-panel {
        height: 100vh;
        align-items: flex-start;
        background: transparent;
    }

    .contact-value-desktop {
        display: none;
    }

    .contact-value-mobile {
        display: inline; /* 필요하면 block으로 */
    }

    .contact-dim {
        display: none;
    }

.contact-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
        background: #ededed;
        opacity: 0;
}

    .is-contact-open .intro-header .logo {
        display: inline-block;
        color: #000;
    }

    .is-contact-open.home .viewport-pad {
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 9999999;
        mix-blend-mode: unset;
        /* color: #000; */
    }

    .is-contact-open.home .slogan {
        text-align: center;
        white-space: nowrap;
        color: #000;
        opacity: 0;
    }

    .home.is-contact-open button.menu-toggle,
    .project.is-contact-open button.menu-toggle {
        display: inline-block;
        color: #000000;
    }

    .project.is-contact-open .header-right {
        display: flex;
    }

    .project.is-contact-open .project-header-title {
        display: none;
    }

    .project.is-contact-open header.header {
        display: flex;
        width: 100%;
    }

.is-contact-open .contact-overlay {
    position: fixed;
    inset: 0;
    pointer-events: auto;
    z-index: 9;
    background: #ededed;
    opacity: 95%;
    padding: 3vw;
}

.works.is-contact-open .filter-toggle.mobile-only {
    display: none!important;
}

    .is-contact-open header.header {
        display: inline-block;
        width: 100%;
        background: transparent;
    }

.works.is-contact-open .header-right {
    width: auto;
    top: 3vw;
    position: absolute;
    right: 3vw;
}

iframe.block-media-iframe {
    width: 100%;
    display: block;
    height: 26vh;
}

    #contactOverlay a.logo {
        font-size: 3.6vw;
        /* top: -2px; */
        position: relative;
        z-index: 99;
        /* top: 3vw; */
        /* left: 3vw; */
        color: #000;
    }

  #contactOverlay,
  .contact-overlay,
  .m-menu,
  .m-filter {
    height: 100dvh;     /* ✅ 실제 보이는 viewport 높이 기준 */
    max-height: 100dvh;
  }
  
    .contact-close {
        position: absolute;
        top: unset;
        right: 3vw;
        bottom: 3vw;
        border: none;
        background: none;
        font-size: 3vw;
        cursor: pointer;
        z-index: 99999;
    }
    
    .is-contact-open .header .header-left {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
.contact-line {
    font-size: 3vw;
    line-height: 1;
    display: flex;
    flex-direction: column;
}


.contact-overlay.is-open .contact-inner {
    opacity: 1;
    transform: translateY(0);
    padding: 24vw 3vw 3vw 3vw;
}

.contact-label {
    color: #B4B4B4;
    text-transform: uppercase;
    line-height: 1.5;
}

.contact-value {
    color: #000;
    line-height: 1.5;
    word-break: keep-all;
}


/* =====================================================
   PROJECT DETAIL – MOBILE
===================================================== */


    .project-header-title {
        font-weight: 500;
        left: 24vw;
        position: absolute;
    }

    .header-right {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .project-page {
        padding: 0;
    }

    /* HERO */
    .project-hero {
        height: auto;
        padding: 0;
        min-height: unset;
    }

    .project-hero-media img {
        max-width: unset;
        max-height: unset;
        height: 75vh;
    }

    .project-intro-en p {
        font-size: 3vw;
        line-height: 1.3;
        word-break: keep-all;
        font-weight: 500;
    }

    .project-intro-kr {
        margin-bottom: 3vw;
    }
    .project-intro-kr p {
        font-size: 3vw;
        line-height: 1.5;
        word-break: keep-all;
        font-weight: 500;
    }

    .project-hero-inner {
        display: grid;
        grid-template-columns: 6fr 5fr;
        gap: 10vw;
        padding: 0 3vw;
    }

    .project-credit-row {
        margin-bottom: 1vw;
    }

    .project-text {
        display: inline-block;
        position: relative;
        width: 100%;
        margin: auto;
        height: auto;
        padding: 0 3vw;
    }

    .project-text-kr p {
        line-height: 1.5;
        margin-bottom: 3vw;
        word-break: keep-all;
        font-weight: 400;
    }

    .project-text-en p {
        line-height: 1.3;
        font-weight: 400;
    }

    .block-image10 {
        width: 100%;
        padding: 0 3vw;
    }
.block-image10.is-portrait {
    width: 100%;
}
    .project-image-text--image-left .project-image-text-media,
    .project-image-text--image-right .project-image-text-media {
        padding: 0 3vw;
    }

    .project-image-text--image-left .project-image-text-copy,
    .project-image-text--image-right .project-image-text-copy {
        padding: 0 3vw;
    }
/* TOP */
.project-top {
  grid-template-columns: repeat(6, minmax(0,1fr));
  column-gap: 8px;
  margin-bottom: 40px;
}

/* 인트로 / 크레딧 풀폭 */
.project-intro,
.project-credits {
  grid-column: 1 / -1;
}

.project-credit-item {
  gap: 8px;
}

/* BODY */
.project-body {
  gap: 48px;
}

.project-header-title {
    font-weight: 500;
    left: 24vw;
    position: absolute;
}

/* ===== 10 COL IMAGE ===== */
  .block-image10-slider {
    margin: 8vw 0;
  }

  .block-image10-slider .project-slide.is-portrait .project-slide-media {
/*    width: 80%;*/
  }

  /* 모바일에서는 커서 안 보이게 (이미 @media (hover:none)에서 막혀있긴 함) */
  .project-cursor {
    display: none !important;
  }

  /* image + text 블록: 모바일에서는 항상 이미지 → 텍스트 순서 */
  .project-image-text-inner {
    display: flex;          /* 혹시 grid/inline-block이어도 모바일에선 flex로 정리 */
    flex-direction: column;
  }

  .project-image-text-media {
    order: 1;
    margin-bottom: 16px;    /* 필요하면 간격 조절 */
  }

  .project-image-text-copy {
    order: 2;
  }

/* ===== STRIP SLIDER ===== */
.block-strip-slide img,
.block-strip-slide video {
  height: 48vh;
}


/* ===== IMAGE + TEXT ===== */
.block-imageWithText {
  grid-template-columns: repeat(6, minmax(0,1fr));
}

.block-imageWithText--image-left .iwt-image,
.block-imageWithText--image-right .iwt-image,
.block-imageWithText--image-left .iwt-text,
.block-imageWithText--image-right .iwt-text {
  grid-column: 1 / -1;
}

.iwt-image {
  margin-bottom: 12px;
}


/* =====================================================
   BLOCK 1-2 — 10 COL SLIDER
/* ============================== */
    .block-image10-slider {
        height: 70vh;
        margin: 0;
        padding: 0 3vw;
    }

    .block-image10-slider .project-slider-track {
        width: 100%;
    }

    .project-slider-pagination {
        position: absolute;
        bottom: -5vw;
        left: 3vw;
        transform: unset;
        letter-spacing: 0;
        display: flex;
        gap: 2px;
        font-size: 3vw;
    }

    .block-image10-slider .is-landscape .project-slide-media {
        max-width: unset;
        max-height: unset;
        width: 100%;
        height: auto;
    }

/* =====================================================
   BLOCK 2 — STRIP SLIDER
===================================================== */
  /* 스트립 슬라이더도 모바일에서는 image10slider처럼 한 장씩 보이도록 */
  .block-strip-slider .strip-track {
    position: relative;
    overflow: hidden;
  }

  .block-strip-slider .strip-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .block-strip-slider .strip-item.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .block-strip-slider .strip-media {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* 1 / N 페이지네이션: 중앙정렬 */
  .block-strip-slider .project-slider-pagination {
    margin-top: 12px;
    text-align: center;
    font-size: 10px;
  }

  /* 모바일에서는 PC용 strip 숨기고 */
  .block-strip-slider {
    display: none;
  }

  /* 모바일용 슬라이더만 보이게 */
  .block-strip-slider-mobile {
    display: block;
  }

}