﻿@charset "utf-8";
/* 메인(AI테크랩, _Skin/1.php) — Figma 2026 소이정 홈페이지 시안. 섹션 순서대로 KV → 메시지 → AI Transition → Our Approach → AI-Ready CMS → AI Search/GEO → AI Chat → AI Core Technology → The Art of Intelligence → AI Visual → Portfolio → AI Tech FAQ (마지막 CTA 배너는 inc/footer.php) */
.main {background-color: #fff;}

/* 메인 팝업 — _Skin/popup/popup_bottom_single.php. 메디랩 메인과 같은 하단 단일 카드형(이미지 430×516 비율 + 회색 하단 바).
   공식홈페이지 관리자 [팝업 관리]에서 AI테크랩에 체크한 팝업만 그려지고, 2개 이상이면 Swiper 분수 표시가 「닫기」 왼쪽에 붙는다.
   맨 위로(99)·퀵(100) 버튼 위, 공용 모달(9999) 아래. .main-popup-bg 는 600px 이하에서 화면 가운데 카드 뒤 딤으로만 보이고 그 위로는 투명하다(반응형은 파일 하단 768·600 블록) */

.main-popup-close-wrap {display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; background-color: var(--grayBg1);}
.main-popup-close-wrap > label {display: flex; align-items: center; font-size: var(--p4); color: color-mix(in srgb, var(--black) 40%, #fff); cursor: pointer; transition: color 0.3s ease-in-out;}
.main-popup-close-wrap > label .svg {position: relative; width: 1.2em; height: 1.2em; margin: 0 0.45em 1px 0;}
.main-popup-close-wrap > label .svg svg {position: absolute; left: 0; top: 0; width: 100%; height: 100%; fill: currentColor;}
.main-popup-close-wrap > label:hover {color: var(--black);}
.main-popup-close-wrap .swiper-pagination {position: static; width: auto; max-width: max-content; margin: 0 1.5rem 0 auto; padding: 0.4em 0.7em; border-radius: 99.9rem; background-color: color-mix(in srgb, var(--black) 10%, transparent); font-size: var(--p6); font-weight: 500; line-height: 1; color: var(--black);}
.main-popup-close-wrap .swiper-pagination-total {color: color-mix(in srgb, var(--black) 60%, #fff);}
.main-popup-close {font-size: var(--p4); font-weight: 500; color: var(--black);}
.main-popup-bg {position: fixed; inset: 0; z-index: 220; display: none; background-color: color-mix(in srgb, var(--black) 70%, transparent); opacity: 0; pointer-events: none;}

/* AI테크랩 KV */
:is(.ai_kv_sect, .ai_kv_sect_b) {position: relative; height: calc(100svh + 2px); min-height: 60rem; overflow: hidden;}
:is(.ai_kv_sect, .ai_kv_sect_b) .bg_box {position: absolute; inset: 0; pointer-events: none;}
.ai_kv_sect .bg_box img, .ai_kv_sect .bg_box video {position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;}
.ai_kv_sect .bg_box .bg_video {opacity: 0;}
.ai_kv_sect .bg_box.is_playing .bg_video {opacity: 1;}
/* 가로·세로 가우시안으로 흐린 영상 프레임을 커서 주변에만 합성한다. 진입·이탈 감쇠는 스크립트에서 계산한다. */
.ai_kv_sect .bg_box .blur_canvas {position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0;}
.ai_kv_sect .bg_box.is_hover .blur_canvas {opacity: 1;}
/* 영상 종료 후 화면(.end_box) — _Skin/1.php initKvVideoOnce 가 영상이 끝나면 .is_ended 를 붙인다. 영상·포스터·호버 블러가 사라지고
   사용자 제공 배경 이미지(kv-background.jpg — 영상 마지막 프레임 배경과 같은 크기·위치라 transform 없이 겹친다) 위에
   .ai_kv_sect_b 와 같은 별(시안 치수·WebGL star_canvas, 미지원·터치는 SVG)이 나타난다.
   깜빡임 방지: 영상·포스터를 .end_box 와 동시에 흐리게 하면 중간에 두 층이 반투명으로 겹쳐 화면이 한 번 어두워진다(크로스페이드 딥).
   그래서 .end_box 만 위에서 1.2s 동안 나타나고, 아래 층은 그동안 그대로 있다가 다 덮인 뒤(1.2s 지연) 한 번에 감춘다 */
.ai_kv_sect .bg_box > img, .ai_kv_sect .bg_box .bg_video, .ai_kv_sect .bg_box .blur_canvas {transition: opacity 1.2s ease;}
.ai_kv_sect.is_ended .bg_box > img, .ai_kv_sect.is_ended .bg_box .bg_video, .ai_kv_sect.is_ended .bg_box .blur_canvas {opacity: 0; transition: opacity 0s linear 1.2s;}
.ai_kv_sect .end_box {position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;}
.ai_kv_sect.is_ended .end_box {opacity: 1;}
.ai_kv_sect .end_box .star_box {position: absolute; width: 117.827rem; height: 122.567rem; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.ai_kv_sect .end_box .star_box img {left: 0; top: 0; width: 100%; height: 100%; object-fit: contain;}
.ai_kv_sect .end_box .star_canvas {position: absolute; inset: 0; width: 100%; height: 100%; display: none;}
.ai_kv_sect.is_gl .end_box .star_canvas {display: block;}
.ai_kv_sect.is_gl .end_box .star_box {display: none;}
:is(.ai_kv_sect, .ai_kv_sect_b) .main_in {position: relative; height: 100%; z-index: 1;}
:is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box {position: relative; height: 100%; max-width: 180rem; margin: 0 auto; gap: 2rem; color: #fff;}
:is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .desc {position: absolute; left: 0; top: 15.04%; font-size: var(--h6); font-weight: 600; line-height: 1.7;}
:is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .desc p + p span {transition-delay: 0.12s;}
:is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .big_tit {position: absolute; left: 50%; bottom: 9.09%; transform: translateX(-50%); font-size: 33rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; font-family: var(--en2);}
:is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .big_tit span {transition-delay: 0.24s;}

/* 비교용 기존 KV — 영상 배경과 선택자·상태를 공유하지 않는다. */
.ai_kv_sect_b .bg_box img {position: absolute; max-width: none; display: block;}
.ai_kv_sect_b .bg_box .grad_big {width: 380.88rem; height: 319.667rem; left: calc(50% - 2.387rem); top: 88.28%; transform: translate(-50%, -50%) rotate(-3.07deg);}
.ai_kv_sect_b .bg_box .grad_small {width: 281.274rem; height: 277.558rem; left: calc(50% - 2.657rem); top: 108.9%; transform: translate(-50%, -50%);}
.ai_kv_sect_b .bg_box .star_box {position: absolute; width: 117.827rem; height: 122.567rem; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.ai_kv_sect_b .bg_box .star_box img {left: 0; top: 0; width: 100%; height: 100%;}
.ai_kv_sect_b .bg_box .star_canvas {position: absolute; inset: 0; width: 100%; height: 100%; display: none;}
.ai_kv_sect_b.is_gl .bg_box .star_canvas {display: block;}
.ai_kv_sect_b.is_gl .bg_box .star_box {display: none;}

/* 메시지 — 섹션 높이만큼 sticky 로 머무르며 _Skin/1.php GSAP 스크럽이 .line 의 blur·y·opacity 를 푼다 */
.ai_msg_sect {position: relative; height: 200lvh; background-color: #fff; margin-top: -2px;}
.ai_msg_sect .sticky_box {position: sticky; top: 0; height: 100lvh; display: flex; align-items: center; justify-content: center;}
.ai_msg_sect .txt {font-size: var(--h2); font-weight: 700; line-height: 1.6; color: var(--black); text-align: center;}
.ai_msg_sect .txt .line {display: block; will-change: transform, opacity, filter;}

/* 타이틀 + 콘텐츠 80 */
.ai_transition_sect .card_wrap,
.ai_approach_sect .approach_slider,
.ai_geo_sect .geo_list,
.ai_chat_sect .chat_visual,
.ai_chat_sect .feature_grid,
.ai_core_sect .core_tabs,
.ai_core_sect .core_panels,
.ai_visual_sect .work_list{margin-top: var(--contMt1);}

/* AI Transition — Swiper가 한 장씩 중앙 정렬한다. 중앙에 멈춘 카드만 활성화한다 */
.ai_transition_sect {position: relative; background-color: #fff; overflow: hidden;}
.ai_transition_sect .card_wrap {padding: 5rem 0; column-gap: 3rem; overflow-x: auto;}
.ai_transition_sect .card_wrap.swiper-container-initialized {overflow: visible;}
.ai_transition_sect .card_list {display: flex; column-gap: inherit;}
.ai_transition_sect .swiper-container-initialized .card_list {column-gap: 0;}
.ai_transition_sect .card {display: flex; width: 42rem; height: auto; flex-shrink: 0;}
.ai_transition_sect .card_in {position: relative; width: 100%; border-radius: 3rem; background-color: var(--grayBg1); display: grid; overflow: hidden; color: var(--black); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);}
/* 비율 박스와 콘텐츠를 같은 칸에 겹쳐 기본 1:1, 긴 문구가 있으면 필요한 만큼만 높아진다. */
.ai_transition_sect .card_in::after {content: ""; display: block; grid-area: 1 / 1; align-self: start; padding-top: 100%;}
.ai_transition_sect .card_content {grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: 4rem;}
/* 빛의 중심(--gy)은 활성 위치에 즉시 맞추고 카드 상승과 동시에 페이드한다. 레이어 자체를 이동하면 윗변이 단처럼 보인다 */
.ai_transition_sect .card_in::before {content: ""; position: absolute; inset: 0; background: radial-gradient(263.44% 100% at 50% 0%, rgba(246, 246, 246, 0.00) 0%, #F1D0AF 35%, #FF5E10 72.21%, #DB430E 100%); opacity: 0; transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1); z-index: 0;}
/* iOS Safari — 빛(::before)이 opacity 전환 중 합성 레이어로 올라가면 z-index 와 상관없이 아이콘·문구 위에 그려진다.
   카드 안을 독립 쌓임 맥락(isolation)으로 묶고 콘텐츠도 합성 레이어(translateZ)로 올려 항상 빛 위에 오게 한다 */
.ai_transition_sect .card_in {isolation: isolate;}
.ai_transition_sect .card_in > * {position: relative; z-index: 1; transform: translateZ(0);}
.ai_transition_sect .card_in .ico {display: block; width: 6rem; height: 6rem;}
.ai_transition_sect .card_in .ico svg {display: block; width: auto; height: 100%;}
.ai_transition_sect .card_in .txt_box {display: flex; flex-direction: column; gap: 1.5rem; font-weight: 600;}
.ai_transition_sect .card_in .label {font-size: var(--p3); line-height: 1; color: #A2A4AA; transition: color 0.4s ease;}
.ai_transition_sect .card_in .txt {font-size: var(--h8); line-height: 1.5; transition: color 0.4s ease;}
.ai_transition_sect .card.on .card_in {transform: translateY(-5rem);}
.ai_transition_sect .card.on .card_in::before {opacity: 1;}
.ai_transition_sect .card.on .card_in .label, .ai_transition_sect .card.on .card_in .txt {color: #fff;}
.ai_transition_sect .card_wrap.is_jump .card_in, .ai_transition_sect .card_wrap.is_jump .card_in::before, .ai_transition_sect .card_wrap.is_jump .card_in .label, .ai_transition_sect .card_wrap.is_jump .card_in .txt {transition: none;}

/* Our Approach — 중앙에서 틀었다가 다시 포갠 뒤 좌우로 펼친다. 영상은 펼침 완료 후 재생한다 */
.ai_approach_sect {position: relative; padding-top: var(--pd3); padding-bottom: var(--pd3); background-color: #fff; overflow: clip;}
.ai_approach_sect .approach_wrap {position: relative; margin: 0 auto;}
.ai_approach_sect .tit_row {display: flex; align-items: flex-end; justify-content: space-between; gap: 4rem;}
.ai_approach_sect .side_txt {font-size: var(--p1); font-weight: 500; line-height: 1.6; text-align: right;}
.ai_approach_sect .approach_slider {position: relative;}

.ai_approach_sect .card_list {display: flex; justify-content: space-between; gap: 6rem;}
.ai_approach_sect .card {position: relative; height: auto; aspect-ratio: 56 / 78;}
.ai_approach_sect .is_stacked .card:nth-child(1) {z-index: 3;}
.ai_approach_sect .is_stacked .card:nth-child(2) {z-index: 2;}
.ai_approach_sect .is_stacked .card:nth-child(3) {z-index: 1;}
.ai_approach_sect .card_box {position: relative; width: 100%; height: 100%; border-radius: 4rem; overflow: hidden; }
.ai_approach_sect .is_spreading .card_box {will-change: transform;}
.ai_approach_sect .card_box img {display: block; width: 100%; height: 100%; object-fit: cover;}
.ai_approach_sect .card_box video {display: block; width: 101%; height: 101%; object-fit: cover;}
.ai_approach_sect .card_box .card_video {position: absolute; inset: 0; opacity: 0; pointer-events: none;}
.ai_approach_sect .card_box.is_playing .card_video {opacity: 1;}
.ai_approach_sect .card_box::after {content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%); pointer-events: none;}
.ai_approach_sect .card_box .txt_box {position: absolute; z-index: 1; left: 5rem; right: 5rem; bottom: 7rem; display: flex; flex-direction: column; gap: 3rem; color: #fff;}
.ai_approach_sect .card_box .txt_box .tit {font-size: var(--h4); font-weight: 700; line-height: 1;}
.ai_approach_sect .card_box .txt_box .txt {font-size: var(--p3); font-weight: 500; line-height: 1.8;}
/* AI-Ready CMS — .cms_scroll 높이만큼 .sticky_box 가 고정되고, _Skin/1.php 가 스크롤 진행률 4구간마다 단계(.on)를 바꾼다.
   비주얼은 Figma UI 를 HTML 로 옮긴 것이라 내부 치수는 시안 px ÷ 10 rem 리터럴(일러스트 스케일)이다.
   sticky 가 동작하도록 섹션은 overflow: clip(스크롤 컨테이너를 만들지 않음)으로 자른다 */
/* 공유 배경은 opacity만 바꾼다. 래퍼에는 overflow/transform을 주지 않아 CMS sticky를 유지한다. */
.cms_geo_wrap {position: relative;}
.cms_geo_wrap .cms_geo_bg {display: none; position: absolute; inset: 0; background-color: #151515; pointer-events: none;}
.cms_geo_wrap.is_transition {background-color: #fff;}
.cms_geo_wrap.is_transition .cms_geo_bg {display: block;}
.cms_geo_wrap.is_transition .ai_cms_sect, .cms_geo_wrap.is_transition .ai_geo_sect {background-color: transparent;}
.ai_cms_sect {position: relative; padding: var(--pd3) 0; background-color: #151515; color: #fff; overflow: clip;}
.ai_cms_sect .cms_wrap {position: relative; max-width: 180rem; margin: 0 auto;}
.ai_cms_sect .v_line {position: absolute; top: calc(-1 * var(--pd3)); bottom: calc(-1 * var(--pd3)); width: 2px; background-color: rgba(213, 213, 213, 0.2);}
.ai_cms_sect .v_line.left {left: 50%;}
.ai_cms_sect .v_line.right {left: 100%;}
.ai_cms_sect .cms_scroll {position: relative; height: 400lvh; margin-top: 0;}
.ai_cms_sect .sticky_box {position: sticky; top: 0; height: 100lvh; display: flex; align-items: center;}
.ai_cms_sect .cont_row {display: flex; align-items: center; justify-content: space-between; width: 100%;}
.ai_cms_sect .txt_col {position: relative; width: 50%; align-self: stretch;}
.ai_cms_sect .indicator {position: absolute; left: 0; top: 0; width: 2px; background: linear-gradient(to bottom, transparent 0%, var(--point01) 18%, var(--point01) 100%); pointer-events: none; z-index: 1;}
/* 이전·다음 항목 인디케이터 — 멈춰 있을 때는 숨긴다. on 이 바뀌어 움직이는 동안 가운데를 떠나는 라인만 1 → 0 으로 사라진다(_Skin/1.php moveIndicators) */
.ai_cms_sect .indicator.prev, .ai_cms_sect .indicator.next {opacity: 0;}
.ai_cms_sect .txt_list {position: absolute; left: 0; right: 0; top: 0; transition: transform 0.8s cubic-bezier(0.65, 0, 0.25, 1);}
.ai_cms_sect .item {position: relative; padding-left: 10rem; opacity: 0.4; transition: opacity 0.6s ease;}
.ai_cms_sect .step_visual {display: none; aspect-ratio: 800 / 925; pointer-events: none;}
.ai_cms_sect .item + .item {margin-top: 30rem;}
.ai_cms_sect .item.on {opacity: 1;}
.ai_cms_sect .item .tit {font-size: var(--h4); font-weight: 700;}
.ai_cms_sect .item .txt {margin-top: 2.5rem; font-size: var(--p3); font-weight: 400; line-height: 1.8; padding-right: var(--inPd);}
.ai_cms_sect .item .tags {display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 6rem;}
.ai_cms_sect .item .tags li {padding: 0.4em 1.1em; border: 1px solid var(--point01); border-radius: 5rem; font-size: var(--p5); font-weight: 600; letter-spacing: -0.02em; color: var(--point01);}
/* 비주얼 — 독립 SVG object 4장. 상자는 행 폭의 44.444%(시안 800/1800)·비율 800:925.
   활성 단계(.on)만 아래에서 떠오르며 내부 SVG가 처음부터 재생된다(.is_in = 섹션 진입) */
.ai_cms_sect .visual_box {position: relative; width: 44.444%; aspect-ratio: 800 / 925; flex-shrink: 0;}
.ai_cms_sect .visual {position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; translate: 0 4rem; transition: opacity 0.6s ease, translate 0.8s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none;}
.ai_cms_sect.is_in .visual.on {opacity: 1; translate: 0 0;}
/* AI Search / GEO — 카드 3장. 목록이 화면에 들어오면 .geo_list.active(ComContObserver)로 카드가 차례로 올라오고,
   카드 비주얼은 독립 SVG object 3장(geo-visual-1~3.svg)으로, 활성 카드가 화면에 보일 때 재생한다 */
.ai_geo_sect {position: relative; padding: var(--pd3) 0 var(--pd3); background-color: #fff;}
.ai_geo_sect .geo_wrap {position: relative; max-width: 180rem; margin: 0 auto;}

.ai_geo_sect .sect_tit_box .sm_tit {white-space: pre;}
.ai_geo_sect .geo_list {display: flex; justify-content: space-between; gap: 6rem;}
.ai_geo_sect .geo_card {flex: 1; opacity: 0; transform: translateY(8rem); transition: opacity 0.7s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);}
.ai_geo_sect .geo_card:nth-child(2) {transition-delay: 0.2s;}
.ai_geo_sect .geo_card:nth-child(3) {transition-delay: 0.4s;}
.ai_geo_sect .geo_list.active .geo_card {opacity: 1; transform: none;}
.ai_geo_sect .visual_wrap {width: 100%; overflow: hidden; border-radius: 4rem;}
.ai_geo_sect .visual {display: block; width: 100%; height: auto; aspect-ratio: 560 / 750; pointer-events: none;}
/* 텍스트 */
.ai_geo_sect .txt_box {display: flex; flex-direction: column; gap: 2rem; margin-top: 4rem;}
.ai_geo_sect .txt_box .tit {font-size: var(--h4); font-weight: 700; line-height: 1;}
.ai_geo_sect .txt_box .txt {font-size: var(--p3); font-weight: 500; line-height: 1.8;}
.ai_geo_sect .txt_box .keys {display: flex; align-items: center; gap: 0 1rem; font-size: var(--p4); font-weight: 500; line-height: 1.5; color: #A2A4AA;}
.ai_geo_sect .txt_box .keys li + li {display: flex; align-items: center; gap: 1rem;}
.ai_geo_sect .txt_box .keys li + li::before {content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: #A2A4AA;}
/* AI Chat — 위쪽 채팅 화면은 Figma 프레임을 1.5x 통이미지로, 아래 4칸은 HTML. 아이콘은 Figma 모션(2초 반복)을 조각 SVG 로 재현했다 */
.ai_chat_sect {position: relative; padding-bottom: var(--pd3); background-color: #fff;}

.ai_chat_sect .chat_visual {position: relative; margin-top: var(--contMt1); aspect-ratio: 2002 / 890; border-radius: 4rem; overflow: hidden; background-color: #151515;}
.ai_chat_sect .chat_visual img {position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;}
.ai_chat_sect .chat_visual .card_video {position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none;}
.ai_chat_sect .chat_visual.is_playing .card_video {opacity: 1;}

.ai_chat_sect .feature_grid {display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 8.1rem;}
.ai_chat_sect .feature {position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; padding: 2rem 5rem 5rem;}
/* 가로 구분선 — 그리드 높이 50% 대신 두 번째 줄 칸 위쪽 행 간격 한가운데에 둔다(위·아래 줄 높이가 달라도 간격 중앙에 맞음) */
.ai_chat_sect .feature:nth-child(n+3)::before {content: ""; position: absolute; left: 0; right: 0; top: calc(-8.1rem / 2 - 0.5px); height: 1px; background-color: #D5D5D5;}
.ai_chat_sect .feature:nth-child(even)::before {left: -1px;} /* 왼쪽 세로선(border) 1px 까지 덮어 선이 끊기지 않게 */
.ai_chat_sect .feature:nth-child(even) {border-left: 1px solid #D5D5D5;}
.ai_chat_sect .feature .txt_box {display: flex; flex: 1; flex-direction: column; gap: 3rem; width: 100%;}
.ai_chat_sect .feature .tit {font-size: var(--h4); font-weight: 700; line-height: 1; transition-delay: 0.1s;}
.ai_chat_sect .feature .txt {font-size: var(--p3); font-weight: 500; line-height: 1.8; transition-delay: 0.2s;}
.ai_chat_sect .feature .tags {display: flex; flex-wrap: wrap; gap: 1.3rem; width: 100%; margin-top: 5rem;; transition-delay: 0.3s;}
.ai_chat_sect .feature .tags li {padding: 0.4em 1.1em; border: 1px solid var(--point01); border-radius: 5rem; font-size: var(--p5); font-weight: 600; letter-spacing: -0.02em; color: var(--point01);}
/* 모션은 독립 SVG 내부에서 실행한다. 장식 아이콘은 포인터·키보드 입력을 받지 않는다. */
.ai_chat_sect .ico {display: block; flex-shrink: 0; width: 14rem; height: 14rem; pointer-events: none;}

/* AI Core Technology — 둥근 회색 판. 탭(전문 콘텐츠 생성 / 실시간 지식 관리) 전환은 _Skin/1.php 스크립트가 .on·hidden·aria-selected 를 바꾼다 */
.ai_core_sect {position: relative; padding: 0 var(--mainInPd);}
.ai_core_sect .core_wrap {display: flex; flex-direction: column; align-items: center; padding: var(--pd4) 10rem; border-radius: 4rem; background-color: var(--grayBg1);}
.ai_core_sect.is_core_motion .core_wrap {opacity: 0; transform: translateY(8rem); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);}
.ai_core_sect.is_core_motion .core_wrap.is_in {opacity: 1; transform: none;}
.ai_core_sect .core_tabs {display: inline-flex; padding: 1.3rem; border-radius: 10rem; background-color: #fff;}
.ai_core_sect .core_tabs .tab {padding: 0.75em 1.5em; border-radius: 10rem; font-size: var(--p2); font-weight: 600; line-height: 1.5; color: #6F7380; transition: background-color 0.4s ease, color 0.4s ease;}
.ai_core_sect .core_tabs .tab.on {background-color: var(--black); color: #fff; font-weight: 700;}
.ai_core_sect .core_panels {width: 100%;}
.ai_core_sect .panel {display: flex; align-items: center; justify-content: space-between;}
.ai_core_sect .panel[hidden] {display: none;}
.ai_core_sect.is_core_motion .core_panels .card, .ai_core_sect.is_core_motion .core_list li {opacity: 0;}
.ai_core_sect .core_panels.is_in .panel.on .card {animation: aiCoreIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;}
.ai_core_sect .core_panels.is_in .panel.on .core_list li {animation: aiCoreListIn 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;}
.ai_core_sect .core_panels.is_in .panel.on .core_list li:nth-child(1) {animation-delay: 0s;}
.ai_core_sect .core_panels.is_in .panel.on .core_list li:nth-child(2) {animation-delay: 0.3s;}
.ai_core_sect .core_panels.is_in .panel.on .core_list li:nth-child(3) {animation-delay: 0.6s;}
.ai_core_sect.is_core_motion .core_list li::after {transform: scaleX(0);}
.ai_core_sect .core_panels.is_in .panel.on .core_list li::after {animation: aiCoreLineIn 1s cubic-bezier(0.65, 0, 0.25, 1) both; animation-delay: inherit;}
/* 카드 — 패널(시안 1800) 대비 % — 너비 865/1800, 높이는 padding-top 650/1800(padding % 는 부모 너비 기준이라 너비와 같은 비율로 커진다).
   영상·첫 프레임 포스터는 카드 영역을 채우고, HTML 텍스트는 하단 그라데이션 위에 둔다 */
.ai_core_sect .card {position: relative; flex-shrink: 0; width: 48.056%; height: 0; padding-top: 36.111%; border-radius: 4rem; overflow: hidden; background-color: #000;}
.ai_core_sect .card img, 
.ai_core_sect .card video {position: absolute; inset: 0; display: block; width: 101%; height: 101%; object-fit: cover;}
.ai_core_sect .card .card_video {opacity: 0; pointer-events: none;}
.ai_core_sect .card.is_playing .card_video {opacity: 1;}
.ai_core_sect .card::after {content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%); pointer-events: none;}
.ai_core_sect .card_txt {position: absolute; z-index: 1; left: 6.03rem; bottom: 7.05rem; display: flex; flex-direction: column; gap: 3rem; color: #fff;}
.ai_core_sect .card_txt .big {font-size: 5.5rem; font-weight: 700; line-height: 1.3;}
.ai_core_sect .card_txt .sub {font-size: var(--p1); font-weight: 500;}
/* 목록 너비도 카드와 같은 기준(시안 패널 1800 중 865) */
.ai_core_sect .core_list {display: flex; flex-direction: column; justify-content: space-between; width: 48.056%;}
.ai_core_sect .core_list li {position: relative; display: flex; flex-direction: column; gap: 2rem; padding-bottom: 3rem; padding-top: 6rem; border-bottom: 1px solid transparent;}
.ai_core_sect .core_list li:first-child {padding-top: 0;}
.ai_core_sect .core_list li::after {content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background-color: var(--black); transform-origin: 0% 50%;}
.ai_core_sect .core_list .tit {display: flex; align-items: flex-start; gap: 1rem; font-size: var(--h5); font-weight: 700; line-height: 1.4; color: #000;}
.ai_core_sect .core_list .txt {font-size: var(--p3); font-weight: 500; line-height: 1.8; color: #000;}
/* @keyframes aiCoreIn·aiTrMarquee 는 dark 푸터 FAQ·Portfolio 와 함께 쓰여 common.css 로 옮겼다 */
@keyframes aiCoreListIn {from {opacity: 0; transform: translateX(6rem);} to {opacity: 1; transform: none;}}
@keyframes aiCoreLineIn {from {transform: scaleX(0);} to {transform: scaleX(1);}}

/* The Art of Intelligence + AI Visual — .sticky_box(100lvh)가 위에 고정되고 .art_space(300lvh) 동안 _Skin/1.php GSAP 스크럽이 진행된다.
   끝 무렵(0.8 → 1) 배경 이미지가 사라지며 흰 화면·회색 문구가 되고, 그 위로 AI Visual 이 일반 스크롤로 올라온다(하단 흰 그라데이션 없음):
   ① 배경 이미지 한 장 전체에 filter blur 0 → 4rem(크로스페이드는 선명·흐린 두 장이 겹쳐 인물 윤곽만 흐려 보여 쓰지 않는다)
   ② 가운데 문구 레이어가 opacity 0·아래 100px → 시안 값(opacity 0.5)으로 올라온다
   ③ 카드 5장이 각자 속도(data-speed)로 아래에서 올라와 시안 위치를 지나 위로 빠져나간다(theresolute.ai testimonial 카드 패럴랙스, 0.85 → 1 확대).
   카드 위치는 Figma 프레임(2560×1650) 기준 % — .stage(100lvh) 안에서 */
.ai_art_sect {position: relative; padding-top: var(--pd3); background-color: #fff;}
/* .art_scroll = [.sticky_box 100lvh 고정] + [.art_space 300lvh — 스크럽 구간] + [.ai_visual_sect — 고정된 흰 화면·회색 문구 위로 일반 스크롤로 올라옴].
   배경 sticky 는 .art_scroll 아래 끝까지 유지하고, 문구는 GSAP 에서 세로 이미지 행 중간부터 위로 이동시킨다 */
.ai_art_sect .art_scroll {position: relative;}
.ai_art_sect .art_space {height: 480lvh;} /* 앞 180lvh 프레임 시퀀스 + 뒤 300lvh 블러·문구·카드(_Skin/1.php VIDEO) */
.ai_art_sect .sticky_box {position: sticky; top: 0; height: 100lvh; overflow: hidden; background-color: #1A0F0B;}
.ai_art_sect .bg {position: absolute; inset: 0; overflow: hidden;}
/* 시안 배치 그대로 — 2560 프레임 안 2898×1759, left -151, top -26.5(rem = 시안 px ÷ 10). 배경색은 블러가 가장자리에서 끌어오는 색이라 사진 위쪽과 같은 어두운 갈색(밝으면 가장자리가 회색으로 번진다) */
/* 배경 — 포스터 이미지 위에 프레임 시퀀스 캔버스(_Skin/1.php 가 첫 프레임을 그리면 .is_seq 로 보인다). 블러는 둘 다에 같이 건다 */
.ai_art_sect .bg .art_media {position: absolute; display: block; width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; will-change: filter;}
.ai_art_sect .bg .art_canvas {opacity: 0;}
.ai_art_sect.is_seq .bg .art_canvas {opacity: 1;}
.ai_art_sect .stage {position: absolute; left: 0; top: 0; width: 100%; height: 100lvh; z-index: 1;}
.ai_art_sect .main_in {position: relative; height: 100%;}
.ai_art_sect .txt_layer {position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 5rem; color: #fff; text-align: center; translate: -50% -50%; opacity: 0;}
.ai_art_sect .txt_layer .tit {font-size: 18rem; font-weight: 600; line-height: 1; white-space: nowrap; text-transform: capitalize; font-family: var(--en2);}
.ai_art_sect .txt_layer .desc {width: 81.7rem; font-size: var(--p1); font-weight: 500; line-height: 1.8;}
.ai_art_sect .art_cards {position: absolute; inset: 0; z-index: 1; pointer-events: none;}
/* 초기 배치·refresh 중에는 원래 위치의 카드가 비치지 않도록 스크롤 진입 뒤에만 표시한다. */
.ai_art_sect.is_art_motion .art_cards {visibility: hidden;}
.ai_art_sect.is_art_motion.is_art_active .art_cards {visibility: visible;}
.ai_art_sect .art_card {position: absolute; width: 42rem; height: 42rem; padding: 4rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border-radius: 3rem; overflow: hidden; background: radial-gradient(165.66rem 46.946rem at 50% -1.91rem, rgba(246, 246, 246, 0) 0%, #F1D0AF 25%, #F5B487 37%, #F89760 49%, #FC7B38 61%, #FD6C24 67%, #FF5E10 73%, #DB430E 100%), var(--grayBg1); will-change: transform;}
.ai_art_sect .art_card:nth-child(1) {left: 14.84%; top: 5.11%;}
.ai_art_sect .art_card:nth-child(2) {left: 68.75%; top: -12.83%;}
.ai_art_sect .art_card:nth-child(3) {left: 77.73%; top: 47.27%;}
.ai_art_sect .art_card:nth-child(4) {left: 6.25%; top: 60%;}
.ai_art_sect .art_card:nth-child(5) {left: 41.8%; top: 83.03%;}
.ai_art_sect .art_card .tag {display: inline-flex; align-items: center; gap: 0.9rem; padding: 1.5rem 2rem; border-radius: 4rem; background-color: #fff; color: var(--black); font-size: 1.8rem; font-weight: 500; line-height: 1;}
.ai_art_sect .art_card .tag::before {content: ""; width: 1rem; height: 1rem; border-radius: 50%; background-color: var(--point01);}
.ai_art_sect .art_card .txt {font-size: var(--h8); font-weight: 700; line-height: 1.6; color: #fff;}
/* AI Visual — 정사각형 썸네일의 3열 카드 목록 + 하단 배너. 이미지 카드와 영상 첫 프레임 포스터를 같은 크기로 표시한다.
   목록이 화면에 20% 들어오면 .work_list.active(ComContObserver)로 카드가 차례로 올라오고, 데스크톱 호버 시 주황색 정보창과 썸네일 확대를 표시한다 */
/* .ai_art_sect .art_scroll 안에 있다 — 배경 투명(뒤의 고정된 흰 화면·회색 문구가 비친다), 고정 영역 위로 올라오도록 z-index */
.ai_visual_sect {position: relative; z-index: 2; padding: var(--pd3) 0;}
.ai_visual_sect .visual_wrap {max-width: 180rem; margin: 0 auto;}

.ai_visual_sect .work_list {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8rem 3rem;}

.ai_visual_sect .work {display: flex; min-width: 0; opacity: 0; translate: 0 8rem; transition: opacity 0.7s ease, translate 1s cubic-bezier(0.22, 1, 0.36, 1);}
.ai_visual_sect .work_link {display: flex; flex-direction: column; flex: 1; min-width: 0;}
.ai_visual_sect .work_list.active .work {opacity: 1; translate: 0 0;}
.ai_visual_sect .work:nth-child(2) {transition-delay: 0.12s;}
.ai_visual_sect .work:nth-child(3) {transition-delay: 0.24s;}
.ai_visual_sect .work:nth-child(4) {transition-delay: 0.36s;}
.ai_visual_sect .work:nth-child(5) {transition-delay: 0.48s;}
.ai_visual_sect .work:nth-child(6) {transition-delay: 0.60s;}
.ai_visual_sect .thumb {position: relative; flex-shrink: 0; aspect-ratio: 1 / 1; border-radius: 3rem; overflow: hidden; background-color: var(--grayBg1);}
.ai_visual_sect .thumb img {display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);}
.ai_visual_sect .thumb .card_video {position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);}
.ai_visual_sect .thumb.is_playing .card_video {opacity: 1;}
.ai_visual_sect .txt_box {display: flex; flex-direction: column; flex: 1; margin-top: 3.5rem; gap: 1rem;}
.ai_visual_sect .txt_box .cate {font-size: var(--p3); font-weight: 600; line-height: normal;color: var(--point01);}
.ai_visual_sect .txt_box .tit {margin-top: 1rem; font-size: var(--h5); font-weight: 700; line-height: 1.4; color: var(--black);}
.ai_visual_sect .txt_box .keys {display: flex; align-items: center; margin-top: auto; gap: 0 0.8rem; font-size: var(--p4); font-weight: 500; color: #A2A4AA; flex-wrap: wrap; line-height: 1.5;}
.ai_visual_sect .txt_box .keys li + li {display: flex; align-items: center; gap: 0.8rem;}
.ai_visual_sect .txt_box .keys li + li::before {content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: #A2A4AA;}

/* 배너의 공용 레이아웃은 common.css .com_banner, 여기는 간격·등장 모션만 둔다. */
.ai_visual_sect .visual_banner {margin-top: 10rem; opacity: 0; translate: 0 6rem; transition: opacity 0.7s ease, translate 1s cubic-bezier(0.22, 1, 0.36, 1);}
.ai_visual_sect .visual_banner.active {opacity: 1; translate: 0 0;}



@media screen and (min-width: 1241px) {
    .ai_visual_sect .work_list {gap: 2rem;}
    .ai_visual_sect .work_link {position: relative; overflow: hidden; border-radius: 3rem;}
    .ai_visual_sect .work_link .txt_box {position: absolute; inset: 0; z-index: 1; display: block; margin-top: 0; padding: 8rem 5.9rem; background-color: color-mix(in srgb, var(--point01) 92%, transparent); color: #fff; opacity: 0; transition: opacity 0.5s;}
    .ai_visual_sect .work_link .txt_box .cate {color: inherit; font-weight: 500; opacity: 0.8;}
    .ai_visual_sect .work_link .txt_box .tit {font-size: var(--h4); color: inherit;}
    .ai_visual_sect .work_link .txt_box .keys {display: block; margin-top: 1em; font-size: var(--p2); font-weight: 600; color: inherit;}
    .ai_visual_sect .work_link .txt_box .keys li {display: inline;}
    .ai_visual_sect .work_link .txt_box .keys li + li::before {content: " | "; display: inline; width: auto; height: auto; border-radius: 0; background: none;}
    .ai_visual_sect .work_link .thumb img, .ai_visual_sect .work_link .thumb .card_video {transition: scale 0.5s ease-in-out;}
    .ai_visual_sect .work_link:hover .txt_box, .ai_visual_sect .work_link:focus-visible .txt_box {opacity: 1;}
    .ai_visual_sect .work_link:hover .thumb img, .ai_visual_sect .work_link:hover .thumb .card_video, .ai_visual_sect .work_link:focus-visible .thumb img, .ai_visual_sect .work_link:focus-visible .thumb .card_video {scale: 1.05;}
}

@media (prefers-reduced-motion: reduce) {
    .ai_kv_sect_b.is_gl .bg_box .star_canvas {display: none;}
    .ai_kv_sect_b.is_gl .bg_box .star_box {display: block;}
    .ai_kv_sect .bg_box .blur_canvas {display: none;}
    .ai_kv_sect.is_gl .end_box .star_canvas {display: none;}
    .ai_kv_sect.is_gl .end_box .star_box {display: block;}
    .ai_transition_sect .card_wrap {overflow-x: auto; padding-inline: var(--inPd);}
    .ai_transition_sect .card_in, .ai_transition_sect .card_in::before, .ai_transition_sect .card_in .label, .ai_transition_sect .card_in .txt {transition: none;}
    .ai_visual_sect .work, .ai_visual_sect .visual_banner {opacity: 1; translate: none; transition: none;}
    .ai_visual_sect .work_link .txt_box, .ai_visual_sect .work_link .thumb img, .ai_visual_sect .work_link .thumb .card_video {transition: none;}
    .ai_visual_sect .work_link:is(:hover, :focus-visible) .thumb img, .ai_visual_sect .work_link:is(:hover, :focus-visible) .thumb .card_video {scale: 1;}
    .ai_approach_sect .card_box {transform: none !important;}
    .ai_geo_sect .geo_card {opacity: 1; transform: none; transition: none;}
    .ai_art_sect .bg .art_media {filter: blur(4rem);}
    .ai_art_sect .bg {opacity: 0;}
    .ai_art_sect .sticky_box {background-color: #fff;}
    .ai_art_sect .txt_layer {opacity: 1; color: #F9F9F9;}
    .ai_art_sect .art_scroll .sticky_box {position: relative; height: auto; padding: var(--pd3) var(--inPd);}
    .ai_art_sect .art_scroll .stage {position: relative; height: auto;}
    .ai_art_sect .art_scroll .txt_layer {position: relative; left: auto; top: auto; width: 100%; translate: none; color: var(--black);}
    .ai_art_sect .art_scroll .art_cards {position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: var(--contMt1);}
    .ai_art_sect .art_scroll .art_card:nth-child(n) {position: relative; inset: auto; width: 100%; height: auto; min-height: 22rem; translate: none; will-change: auto;}
    .ai_art_sect .art_scroll .art_space {display: none;}
    .ai_core_sect.is_core_motion .core_wrap {opacity: 1; transform: none; transition: none;}
    .ai_core_sect.is_core_motion .core_panels .card, .ai_core_sect.is_core_motion .core_list li {opacity: 1;}
    .ai_core_sect.is_core_motion .core_list li::after {transform: none;}
    .ai_core_sect .core_panels.is_in .panel.on .card, .ai_core_sect .core_panels.is_in .panel.on .core_list li, .ai_core_sect .core_panels.is_in .panel.on .core_list li::after {animation: none;}
    .ai_cms_sect .visual, .ai_cms_sect .indicator, .ai_cms_sect .txt_list, .ai_cms_sect .item {transition: none;}
    .sect_tit_box p span {transition: none;}

}





/* ----- 메인 반응형 ----- */
@media screen and (max-width: 1640px) {
    .ai_core_sect .core_list .txt {width: 95%;}
    .ai_core_sect .core_list .txt br{display: none;}

    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .big_tit {font-size: 14vw;}
}


@media screen and (max-width: 1440px) {
    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .big_tit {bottom: 5vh;}

    .ai_approach_sect .card_list, 
    .ai_geo_sect .geo_list {gap: 5rem;}

    .ai_approach_sect .card_box .txt_box .txt br,
    .ai_cms_sect .item .txt br{display: none;}

    .ai_geo_sect .txt_box .keys {flex-wrap: wrap;}

    .ai_core_sect .core_wrap{padding: 15rem 5rem;}
    .ai_core_sect .card_txt .big {font-size: var(--h2);}
    .ai_core_sect .core_list li{gap: 2rem;}
    .ai_core_sect .core_list li{padding-top: 5rem;}

    .ai_art_sect .txt_layer .tit {font-size: min(8vw, 20lvh);}
    .ai_art_sect .art_card {width: 32rem; height: 32rem; padding: 3rem;}
    .ai_art_sect .art_card .tag {font-size: var(--p4);}
    .ai_art_sect .art_card:nth-child(3) {left: auto; right: 3%;}
    .ai_art_sect .art_card .txt br{display: none;}

}



@media screen and (max-width: 1240px) {

    /* KV 설명 두 번째 줄도 딜레이 없이(공용 규칙은 common.css 1240 블록) */
    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .desc p + p span {transition-delay: 0s;}

    /* KV — 1240 이하는 종료 화면(.end_box: 배경 이미지·별)을 쓰지 않고 영상만 둔다(화면에 보이면 재생·벗어나면 정지, _Skin/1.php initViewportVideos).
       동작 줄이기 등으로 .is_ended 가 붙어도 포스터는 남긴다 */
    .ai_kv_sect .end_box {display: none;}
    /* 호버 블러(마우스를 따라다니는 블러)도 쓰지 않는다 — 스크립트(initKvHoverBlur)도 1240 이하에서 꺼진다 */
    .ai_kv_sect .bg_box .blur_canvas {display: none;}
    .ai_kv_sect.is_ended .bg_box > img {opacity: 1;}

    .main_page .sect_tit_box {max-width: 100%;}

    .ai_approach_sect .card_list, 
    .ai_geo_sect .geo_list {gap: 4rem;}

    .ai_visual_sect .work_list {margin-top: 40px; gap: 15px;}
    .ai_visual_sect .txt_box {display: none;}
    .ai_visual_sect .visual_banner {margin-top: var(--contMt1);}


    :is(.ai_kv_sect, .ai_kv_sect_b) {min-height: 560px;}
    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .desc {top: calc(var(--hdH) + 40px); font-size: var(--p1);}

    .ai_transition_sect .card_wrap {margin-inline: calc(-1 * var(--inPd));}
    .ai_transition_sect .card {width: calc((100vw - 12rem) / 4.5); min-width: 240px;}
    .ai_transition_sect .card_in .label {font-size: var(--p5);}
    .ai_transition_sect .card_in .txt {font-size: var(--p1);}
    .ai_transition_sect .card_in .txt br {display: none;}

    .ai_approach_sect .tit_row .sect_tit_box {flex: 1; min-width: 0;}
    .ai_approach_sect .side_txt {width: auto; font-size: var(--p3);}

    .ai_cms_sect .cont_row {min-height: min(70rem, 80lvh);}
    .ai_cms_sect .visual_box {width: 46%;}
    .ai_cms_sect .item {padding-left: 5rem;}

    .ai_geo_sect .txt_box .txt br{display: none;}

    .ai_chat_sect .feature{padding: 2rem 4rem 4rem;}


    .ai_chat_sect .ico {width: 10rem; height: 10rem;}

    .ai_core_sect .panel {gap: 5rem; align-items: stretch;}
    .ai_core_sect .core_tabs{margin-top: var(--contMt2);}
    .ai_core_sect .card {width: calc((100% - 4rem) / 2); height: auto; padding-top: 0; }
    .ai_core_sect .card_txt {left: 4rem; bottom: 5rem; gap: 2.5rem;}
    .ai_core_sect .card_txt .big {font-size: var(--h3);}
    .ai_core_sect .card_txt .sub {font-size: var(--p2);}
    .ai_core_sect .core_list {width: calc((100% - 4rem) / 2);}
    .ai_core_sect .core_list .tit{font-size: var(--h8);}
    .ai_core_sect .core_list li {padding: 3rem 0; gap: 1.5rem;}

    /* Art */
    .ai_art_sect .txt_layer {width: calc(100% - var(--inPd) * 2);}
    .ai_art_sect .txt_layer .tit {font-size: min(12vw, 15rem);}
    .ai_art_sect .txt_layer .desc {width: 100%; max-width: 81.7rem; word-break: keep-all;}
    .ai_art_sect .art_card {}
    .ai_art_sect .art_card .txt {font-size: var(--p2);}
    .ai_art_sect .art_card:nth-child(1) {left: 6%; top: 5%;}
    .ai_art_sect .art_card:nth-child(2) {left: auto; right: 6%; top: -8%;}
    .ai_art_sect .art_card:nth-child(3) {left: auto; right: 3%; top: 47%;}
    .ai_art_sect .art_card:nth-child(4) {left: 3%; top: 65%;}
    .ai_art_sect .art_card:nth-child(5) {left: 50%; top: 95%; translate: -50% 0;}
    
    .ai_visual_sect .txt_box .tit{font-size: var(--h6);}

    .ai_art_sect .art_space {height: 300lvh;}

}



@media screen and (max-width: 1040px) {
    .ai_approach_sect .card_list, 
    .ai_geo_sect .geo_list {gap: 3rem;}

    .ai_transition_sect .card_in,
    .ai_approach_sect .card_box,
    .ai_geo_sect .visual_wrap,
    .ai_chat_sect .chat_visual,
    .ai_core_sect .core_wrap,
    .ai_core_sect .card,
    .ai_chat_sect .chat_visual{border-radius: var(--radius);}

    .ai_transition_sect .card { width: calc((100vw - 12rem) / 3); min-width: 0;}
    .ai_transition_sect .card_in .txt {font-size: var(--p2);}

    .ai_approach_sect .card_box .txt_box {left: 4rem; right: 4rem; bottom: 5rem;}

    .ai_geo_sect .txt_box .tit {font-size: var(--h6);}

    .ai_cms_sect .item .tags li {font-size: var(--p6);}


    .ai_chat_sect .feature:nth-child(odd){padding-left: 0;}
    .ai_chat_sect .feature:nth-child(even){padding-right: 0;}
    .ai_chat_sect .feature .tags li{font-size: var(--p6);}


    .ai_chat_sect .feature .txt br,
    .ai_core_sect .core_list .txt br {display: none;}

    .ai_core_sect .core_wrap{padding: 10rem 3rem;}
    .ai_core_sect .card_txt {left: 20px; bottom: 20px;}
    .ai_core_sect .card_txt .big{font-size: var(--h5);}
    .ai_core_sect .card_txt .sub {font-size: var(--p3);}



    .ai_faq_sect .sect_tit_box .tit p {display: inline;}
    .ai_faq_sect .faq_wrap {flex-direction: column; gap: 7rem;}
    .ai_faq_sect .faq_wrap > .sect_tit_box {width: 100%;}
    .ai_faq_sect .faq_box {width: 100%;}


    .ai_cms_sect .main_in {padding-left: 0;}
    .ai_cms_sect .visual_box {width: 55%;}
    .ai_cms_sect .v_line.left {left: 55%;}
    .ai_cms_sect .txt_col {width: 45%;}

    .ai_cms_sect .v_line.right {display: none;}
    
 

}



@media screen and (max-width: 768px) {
    .main_page .sect_tit_box .tit {font-size: var(--h3);}
    .main_page .sect_tit_box .sm_tit {font-size: var(--p3);}

    .ai_approach_sect .card_list, 
    .ai_geo_sect .geo_list {gap: 15px;}

    .ai_cms_sect .item .tags li,
    .ai_chat_sect .feature .tags li {font-size: 10px;}
    .ai_geo_sect .txt_box .keys,
    .ai_visual_sect .txt_box .keys{font-size: var(--p6);}

    .ai_approach_sect .card {aspect-ratio: 56 / 90;}
    

    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .big_tit {font-size: 18vw; bottom: 8%;}

    .ai_transition_sect .card_wrap {column-gap: 15px;}
    .ai_transition_sect .card {width: calc((100vw - 45px) / 3); min-width: 0;}
    .ai_transition_sect .card_content{padding: 20px;}

    .ai_approach_sect .card_box .txt_box {left: 15px; right: 15px; bottom: 20px; gap: 15px;}
    .ai_approach_sect .card_box .txt_box .tit {font-size: var(--h5);}

    .ai_cms_sect .item {padding-left: 20px;}

    .ai_cms_sect .visual_box {width: 60%;}
    .ai_cms_sect .v_line.left {left: 60%;}
    .ai_cms_sect .txt_col {width:40%;}




    .ai_art_sect {padding-top: var(--pd4);}

    .ai_visual_sect {padding-bottom: var(--pd4);}

    .ai_chat_sect {padding-bottom: var(--pd4);}
    .ai_chat_sect .feature {padding: 20px 15px 30px; gap: 15px;}
    .ai_chat_sect .ico {width: 60px; height: 60px;}
    .ai_chat_sect .feature .tit{font-size: var(--h6);}
    .ai_chat_sect .feature .txt_box{gap: 15px;}
    .ai_chat_sect .feature .tags{margin-top: 15px;}

    .ai_core_sect .core_wrap {padding: var(--pd4) 20px;}
    .ai_core_sect .core_tabs {display: flex; width: 100%; max-width: 480px; padding: 6px;}
    .ai_core_sect .core_tabs .tab {flex: 1; min-width: 0;}
    .ai_core_sect .card_txt {left: 15px;}
    .ai_core_sect .card_txt .big {font-size: var(--h5);}
    .ai_core_sect .card_txt .sub{font-size: var(--p3);}
    

    .ai_visual_sect .work {gap: 20px;}
    .ai_visual_sect .txt_box .tit {font-size: var(--p1);}

    .ai_art_sect .art_card {padding: 16px;}
    .ai_art_sect .art_card .tag {padding: 10px; gap: 6px; font-size: var(--p6);}
    .ai_art_sect .art_card .tag::before {width: 5px; height: 5px;}
    .ai_art_sect .art_card:nth-child(1) {left: 4%; top: 8%;}
    .ai_art_sect .art_card:nth-child(2) {right: 4%; top: 28%;}
    .ai_art_sect .art_card:nth-child(3) {right: auto; left: 4%; top: 50%;}
    .ai_art_sect .art_card:nth-child(4) {left: auto; right: 4%; top: 78%;}
    .ai_art_sect .art_card:nth-child(5) {top: 125%;}

    /* Portfolio 로고 768 이하 규칙은 서브(dark 푸터)와 같이 쓰도록 common.css 768 블록에 있다 */

    .main #footer .ft_cta_sect .sect_tit_box .tit {font-size: var(--h3); word-break: keep-all; overflow-wrap: anywhere;}

    /* 메인 팝업 — 메디랩과 같은 값 */
    .main-popup-close-wrap {padding: 15px;}
}



@media screen and (max-width: 600px) {

    /* Art 카드 — 600 이하도 768 이하의 세로 배치를 쓰고, 왼쪽 열(1·3·5번)·오른쪽 열(2·4번)로 나눠 열마다 다른 속도로 움직인다(_Skin/1.php Art).
       가운데 있던 5번도 왼쪽 열로 보낸다(카드 크기는 아래 28rem) */
    .ai_art_sect .art_card:nth-child(5) {left: 4%; translate: none;}

    .ai_cms_sect .item .tags li,
    .ai_chat_sect .feature .tags li{font-size: 9px; padding: 0.3em 0.7em;}




    :is(.ai_kv_sect, .ai_kv_sect_b) {min-height: 520px; height: calc(100svh - 45px);}
    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .desc {top: calc(var(--hdH) + 36px); font-size: var(--p2);}
    :is(.ai_kv_sect, .ai_kv_sect_b) .sect_tit_box .big_tit {font-size: 18vw; bottom: 5%;}

    .ai_msg_sect .txt {font-size: var(--h4); padding: 0 5%;}
    

    .ai_transition_sect .card {width: calc((100vw - 30px) / 1.8);}
    .ai_transition_sect .card_content { padding: 15px; aspect-ratio: 1 / 1.1;}
    .ai_transition_sect .card_in .label{font-size: var(--p6);}

    .ai_approach_sect .tit_row {flex-direction: column; align-items: flex-start; gap: 12px;}
    .ai_approach_sect .side_txt {width: 100%; text-align: left; font-size: var(--p3);}
    .ai_approach_sect .approach_slider {margin-inline: calc(-1 * var(--inPd)); overflow-x: auto; scroll-snap-type: x mandatory;}
    .ai_approach_sect .approach_slider.swiper-container-initialized {overflow: visible;}
    .ai_approach_sect .card_list {display: flex; justify-content: flex-start;}
    .ai_approach_sect .swiper-container-initialized .card_list {gap: 0; padding-inline: 0;}
    .ai_approach_sect .card {width: 65%; height: auto; flex-shrink: 0; scroll-snap-align: center; aspect-ratio: 56 / 80;}
    .ai_approach_sect .card_box .txt_box {left: 15px; right: 15px; bottom: 20px;}

    .ai_cms_sect {padding-bottom: 0;}
    .ai_cms_sect .main_in {padding-left: var(--inPd);}
    .ai_cms_sect .v_line, 
    .ai_cms_sect .visual_box, .ai_cms_sect .indicator {display: none;}
    .ai_cms_sect .cms_scroll {height: auto;}
    .ai_cms_sect .sticky_box {position: relative; height: auto; display: block;}
    .ai_cms_sect .cont_row {display: block; min-height: 0;}
    .ai_cms_sect .txt_col {width: 100%;}
    .ai_cms_sect .txt_list {position: static; transition: none;}
    .ai_cms_sect .item {padding-left: 0; opacity: 1;}
    .ai_cms_sect .item + .item {margin-top: 30px; padding-top: 15px; border-top: 1px solid rgba(213, 213, 213, 0.2);;}
    .ai_cms_sect .step_visual {display: block; width: 100%; height: auto; margin: 0 auto 5px;}
    .ai_cms_sect .item .tit{font-size: var(--h5);}
    .ai_cms_sect .item .txt{margin-top: 10px;}
    .ai_cms_sect .item .tags{margin-top: 20px;}


    .ai_art_sect .art_card {width: min(28rem, 44vw); height: min(28rem, 44vw);} /* 좁은 폰(폴드 접은 화면 등)에서 좌·우 열이 가로로 겹치지 않게 44vw 까지만 */
    

    .ai_geo_sect .geo_list{flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--inPd) * 2); margin-left: calc(var(--inPd) * -1); padding: 0 var(--inPd); 
        -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; scroll-padding-left:var(--inPd); overscroll-behavior-x:contain; scroll-behavior:smooth;}   
    .ai_geo_sect .geo_list::-webkit-scrollbar {display: none}
    .ai_geo_sect .geo_list .geo_card{width: 80%; min-width: 200px; flex: none ;scroll-snap-align:center; scroll-snap-stop:always;}
    .ai_geo_sect .txt_box {margin-top: 20px; }
    .ai_geo_sect .visual_wrap {max-width: 420px; justify-self: center;}

    .ai_chat_sect .chat_visual {border-radius: var(--radius);}
    /* AI Chat 비주얼 — 화면 양끝까지 넓힌 가로 스크롤 상자 안에서 200% 크기, 처음엔 가운데(_Skin/1.php 스크립트).
       가운데에 공용 가로 스크롤 안내(.mobile_scroll_guide, common.css·basic.js)를 띄운다 */
    .ai_chat_sect .chat_box {position: relative; margin: var(--contMt1) calc(var(--inPd) * -1) 0;}
    .ai_chat_sect .chat_scroll {display: flex; overflow-x: auto; padding: 0 var(--inPd); overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;}
    .ai_chat_sect .chat_scroll::-webkit-scrollbar {display: none;}
    .ai_chat_sect .chat_scroll .chat_visual {flex: none; width: 200%; margin-top: 0;}
    .ai_chat_sect .feature .txt_box{gap: 12px;}
    .ai_chat_sect .feature .txt{font-size: var(--p5);}
    /* .ai_chat_sect .feature:nth-child(even) {border-left: 0;}
    .ai_chat_sect .feature + .feature {border-top: 1px solid var(--line);} */
    .ai_chat_sect .feature .tags{margin-top: 10px;} /* 태그 간격·크기는 CMS 태그(.ai_cms_sect .item .tags li)와 같게 */

    .ai_core_sect .core_tabs .tab{font-size: var(--p3);}
    .ai_core_sect .core_wrap {padding-inline: 16px;}
    .ai_core_sect .panel {flex-direction: column; gap: 36px;}
    .ai_core_sect .card {width: 100%; min-height: 0; border-radius: var(--radius); padding-top: 70%;}
    .ai_core_sect .core_list {width: 100%;}
    .ai_core_sect .card_txt {left: 20px; right: 20px; bottom: 24px; gap: 16px;}
    .ai_core_sect .card_txt .big {font-size: var(--h4);}

    .ai_art_sect .txt_layer .desc br, .ai_art_sect .art_card .txt br {display: none;}

    .ai_visual_sect .work_list {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;}
    .ai_visual_sect .thumb {border-radius: 15px;}
    .ai_visual_sect .txt_box .tit {font-size: var(--p1);}
    .ai_visual_sect .txt_box .cate {font-size: var(--p4); line-height: 1.4;}

    /* 메인 팝업 — 화면 가운데 카드 + 딤(메디랩과 같은 값). 하단 고정 버튼 바(.mo_fixed_btn_box)·헤더 위로 덮는다 */
    .main-popup-bg {opacity: 1; pointer-events: auto;}
    .main-popup-close-wrap .swiper-pagination {margin-right: 2rem; font-size: var(--p5);}

}

