@charset "utf-8";

/* ===== Pretendard 자체호스팅 (CDN 의존·FOUT 깜빡임 제거) =====
   variable woff2 단일 파일(전 웨이트). 배포본은 _assemble-deploy.mjs가 콘텐츠 글자만 서브셋(2MB→~456KB).
   font-display:swap = 로드된 폰트는 항상 적용(결정적). 헤더/히어로는 .fonts-loaded 게이트로 가렸다가
   '폰트 실제 로드 완료' 시점에 노출 → 폴백으로 보였다 바뀌는 깜빡임 없음. <head>에서 preload. */
@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/PretendardVariable.woff2') format('woff2-variations');
}
/* Barlow Condensed 자체호스팅 (Latin 전용 — 영문 라벨·숫자 액센트). Google Fonts CDN 제거. */
@font-face { font-family:'Barlow Condensed'; font-weight:600; font-style:normal; font-display:swap; src:url('/fonts/BarlowCondensed-600.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:700; font-style:normal; font-display:swap; src:url('/fonts/BarlowCondensed-700.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:800; font-style:normal; font-display:swap; src:url('/fonts/BarlowCondensed-800.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-weight:900; font-style:normal; font-display:swap; src:url('/fonts/BarlowCondensed-900.woff2') format('woff2'); }
/* 한자(三正·천지인) 전용 명조체 — 필요한 6글자(( ) 三正天地人)만 서브셋, 1.6KB 자체호스팅. font-display:swap */
@font-face { font-family:'Noto Serif KR'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/NotoSerifKR-hanja.woff2') format('woff2'); unicode-range:U+28-29, U+4E09, U+4EBA, U+5730, U+5929, U+6B63; }

/* 1. 헤더를 처음에 완전히 숨김 — FontFace.load() 완료 전 시스템폰트 노출 차단 */
.header {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity var(--dur) ease;
}

/* 2. 폰트 로드 완료(fonts-loaded) 확인 후 헤더 노출 */
.fonts-loaded .header {
    opacity: 1 !important;
    visibility: visible !important;
}

.hanja { font-family:'Noto Serif KR', serif; font-weight: 700; }  /* 한자(三正·천지인): 명조체 700 — 티스토리 원본과 동일. 6글자만 서브셋(1.6KB) 자체호스팅, font-display:swap */

/* ==========================================================
   CSS 변수 — 브랜드 컬러 · 간격 통일 관리
   ========================================================== */
:root {
    /* ===== 삼정 디자인 토큰 — 단일 출처(SSOT) =====
       모든 색·간격·반경·그림자·모션의 기준값. _unify.css와 detail.css는 이 값을 따른다.
       원칙: navy(#052f67) 주력 · blue(#00a8ff) 최소 포인트 · Pretendard 전면. */
    /* 브랜드 색 */
    --navy:          #052f67;   /* 주력 — 제목·활성·밑줄·아이콘 */
    --navy-deep:     #03224c;   /* 진한 navy — 강조 배경 */
    --blue:          #00a8ff;   /* 포인트(최소) — 액센트만 */
    --ink:           #14181f;   /* 본문 기본 텍스트 */
    --ink-soft:      #444;      /* 중간 텍스트 (AAA) */
    --ink-dim:       #5a6473;   /* 보조 텍스트 (AA ≥4.5:1) */
    --line:          #dde3ec;   /* 테두리·구분선 */
    --bg-soft:       #f4f7fb;   /* 카드·섹션 배경 */
    --bg-deep:       #eef2f8;   /* 스켈레톤·hover 배경 */
    --white:         #fff;
    --dark:          #0b111e;
    /* 레이아웃 */
    --section-pad:   120px;
    --section-pad-sm: 60px;
    --inner-max:     1440px;
    --inner-pad:     40px;
    /* 모서리 반경 — 버튼 4 · 카드/박스 8 */
    --r-sm:          4px;
    --r-md:          8px;
    --r-pill:        999px;
    /* 그림자 */
    --shadow-sm:     0 6px 18px rgba(5,18,40,.06);
    --shadow-md:     0 12px 30px rgba(5,18,40,.08);
    /* 모션 — 통일 easing / 지속시간 (모션 기준판 확정 2026-06-24) */
    --ease:          cubic-bezier(.25,.8,.25,1);   /* 기본 */
    --ease-out:      cubic-bezier(.16,1,.3,1);     /* 등장·줌(부드러운 감속) */
    --ease-inout:    cubic-bezier(.76,0,.24,1);    /* 밑줄·대칭 */
    --dur-fast:      .18s;   /* 색·아이콘 미세 */
    --dur:           .3s;    /* 기본 호버 (0.4→0.3) */
    --dur-slow:      .6s;    /* 이미지 줌·큰 이동 */
    --dur-reveal:    .9s;    /* 스크롤 등장 */
    /* 카드 패밀리 — 호버 떠오름/그림자 2단 (2026-06-24) */
    --lift-card:      -6px;   /* 조밀·이미지 카드 */
    --lift-card-lg:   -10px;  /* 큰 섹션 카드 */
    --shadow-card:    0 12px 30px rgba(5,47,103,.10);
    --shadow-card-lg: 0 22px 44px rgba(5,47,103,.10);
    /* ===== 하위호환 별칭(기존 코드가 쓰는 이름 — 같은 값) ===== */
    --brand-navy:    #052f67;
    --brand-blue:    #00a8ff;
    --brand-dark:    #0b111e;
    --gray-line:     #dde3ec;
    --gray-bg:       #f4f7fb;
    --gray-bg-deep:  #eef2f8;
    --gray-text-sub: #5a6473;   /* AA ≥4.5:1 (구 #777=4.48:1 경계값 → 상향) */
    --gray-text-dim: #444;
}

/* ==========================================================
   접근성: 본문 바로가기 (스킵 링크) + 스크린리더 전용 텍스트
   ※ prefers-reduced-motion 블록은 제거 — OS '동작 효과 줄이기'가 켜져도
      애니메이션을 그대로 재생(사용자 요청: 티스토리 시절처럼 항상 부드럽게).
   ========================================================== */
.skip-link { position: fixed; top: -120px; left: 16px; z-index: 100000; background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 0 0 8px 8px; font-weight: 700; font-size: 15px; transition: top .2s ease; }
.skip-link:focus { top: 0; }
/* 스크린리더 전용(시각 숨김) — 페이지 대표 h1 등 */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==========================================================
   1. 기본 초기화
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: #fff;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}


a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; border: none; outline: none; }   /* select 추가: 정렬 드롭다운 Pretendard 통일 (2026-06-24) */
button { background: none; cursor: pointer; }

/* ── 키보드 포커스 표시 — 마우스 클릭 시에는 표시 안 됨 ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}

.inner { max-width: var(--inner-max); margin: auto; padding: 0 var(--inner-pad); position: relative; z-index: 1; }

.pc-br { display: block; }
.m-br  { display: none; }
.pc-indent { display: inline; }

/* (티스토리 에디터·소셜 UI 숨김 규칙 제거: 정적 배포 마크업 0건 매칭 죽은코드, audit CSS-05) */

/* ==========================================================
   3. 공통 섹션 & 타이포그래피
   ========================================================== */
section { padding: var(--section-pad) 0; }

.bg-gray { background: linear-gradient(180deg, #fcfcfd 0%, #f0f4f8 100%); }
.section-projects.bg-gray { background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%); }

.design-grid-bg { position: relative; overflow: hidden; }
.design-grid-bg::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 150px 150px; pointer-events: none; z-index: 0;
}
.design-grid-bg::after {
    content: ''; position: absolute; top: 0; left: 5%; right: 5%; bottom: 0;
    border-left: 1px solid rgba(0,0,0,0.03); border-right: 1px solid rgba(0,0,0,0.03);
    pointer-events: none; z-index: 0;
}

.section-title { text-align: center; margin-bottom: 80px; position: relative; z-index: 1; }

.eng-title {
    font-size: 58px;
    font-weight: 800;
    color: var(--ink);
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}
.section-title p { font-size: 20px; color: #444; font-weight: 500; }

.animated-title .eng-title { display: inline-block; position: relative; padding-bottom: 15px; margin-bottom: 20px; }
.animated-title .eng-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--brand-navy);
    transition: width var(--dur-reveal) var(--ease-inout) var(--dur);
}
.animated-title[data-aos].aos-animate .eng-title::after { width: 80px; }

/* ==========================================================
   4. 스크롤 인터랙션
   ========================================================== */
#scrollProgressBar {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: var(--brand-blue);
    z-index: 99999999; transition: width 0.1s ease-out;
}
@media (min-width: 769px) {
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { 
        background: linear-gradient(to bottom, 
            transparent 0px, transparent 8px,
            #ccc 8px, #ccc 9px, 
            transparent 9px, transparent 10px,
            #ccc 10px, #ccc 11px,
            transparent 11px, transparent 12px,
            #f1f1f4 12px, #f1f1f4 calc(100% - 12px),
            transparent calc(100% - 12px), transparent calc(100% - 11px),
            #ccc calc(100% - 11px), #ccc calc(100% - 10px),
            transparent calc(100% - 10px), transparent calc(100% - 9px),
            #ccc calc(100% - 9px), #ccc calc(100% - 8px),
            transparent calc(100% - 8px), transparent 100%
        );
    }
    ::-webkit-scrollbar-thumb { background: #666; border-radius: 5px; }
    ::-webkit-scrollbar-thumb:hover { background: #555; }
    ::-webkit-scrollbar-button:vertical:start:decrement {
        display: block;
        height: 12px;
        background: linear-gradient(135deg, transparent 50%, #999 50%),
                    linear-gradient(225deg, transparent 50%, #999 50%);
        background-size: 50% 100%;
        background-position: left, right;
        background-repeat: no-repeat;
    }
    ::-webkit-scrollbar-button:vertical:end:increment {
        display: block;
        height: 12px;
        background: linear-gradient(45deg, transparent 50%, #999 50%),
                    linear-gradient(315deg, transparent 50%, #999 50%);
        background-size: 50% 100%;
        background-position: left, right;
        background-repeat: no-repeat;
    }
}

.img-lazy { 
    opacity: 0; 
    transform: translateY(30px); 
    filter: blur(5px);
    transition: opacity var(--dur-reveal) var(--ease), 
                transform var(--dur-reveal) var(--ease),
                filter var(--dur-slow) var(--ease); 
}
.img-lazy.loaded { 
    opacity: 1; 
    transform: translateY(0);
    filter: blur(0);
}


/* ==========================================================
   5. 헤더
   ========================================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 108px;
    background: #ffffff; z-index: 10000;
    transition: height var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header.scrolled {
    height: 80px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 10px 15px -3px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex; align-items: center;
    height: 100%; max-width: var(--inner-max); margin: auto; padding: 0 var(--inner-pad);
}



/* 로고 */
.logo a { display: flex; align-items: center; color: var(--brand-navy); transition: opacity var(--dur); }

.logo-icon {
    overflow: hidden;
    width: 0;
    margin-right: 0;
}
.logo-icon img,
.logo-img {
    height: 58px; width: auto; display: block; position: relative; top: 0;
    transition: height var(--dur) var(--ease);
}

.logo-text-wrap { display: flex; flex-direction: column; justify-content: center; margin-left: 0; }

.logo-text { font-size: 26px; font-weight: 800; letter-spacing: -1px; line-height: 1.1;
    transition: font-size var(--dur) var(--ease); }
.logo-ju { font-size: 0.78em; }
.ko-ju { font-size: 0.78em; }
.logo-eng  { font-size: 12.8px; font-weight: 600; color: #444; letter-spacing: 0.3px; margin-top: 2px;
    transition: opacity var(--dur), max-height var(--dur), visibility var(--dur); max-height: 20px; overflow: hidden; visibility: visible; }

/* SAMJUNG 워드마크 — 기본 숨김, 스크롤 시 등장 */
.logo-samjung {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--brand-navy);
    letter-spacing: 4px;
    padding-left: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: opacity var(--dur) ease, max-height var(--dur) ease, visibility var(--dur);
    white-space: nowrap;
}

/* 스크롤 시: 한글명 숨김 + 영문명 숨김 + SAMJUNG 등장 */
.header.scrolled .logo-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    margin: 0;
}
.header.scrolled .logo-eng {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    visibility: hidden;
}
.header.scrolled .logo-img {
    height: 0;
}
.header.scrolled .logo-samjung {
    opacity: 1;
    max-height: 40px;
    visibility: visible;
}

/* GNB */
.gnb ul { display: flex; gap: 50px; }
.gnb > ul > li { position: relative; height: 108px; display: flex; align-items: center; transition: height var(--dur); }
.header.scrolled .gnb > ul > li { height: 80px; }
.gnb > ul > li > a { font-size: 18px; color: var(--ink); position: relative; padding: 10px 0; transition: color var(--dur), transform var(--dur); }
.gnb > ul > li > a:hover { transform: translateY(-1px); }
.gnb > ul > li > a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--brand-navy); transition: width var(--dur) var(--ease-inout); }
.gnb > ul > li > a:hover::after { width: 100%; }

/* 2. 로고 부분 깜빡임 및 위치 틀어짐 방지 */
.header .inner h1 a, 
.header .inner .logo a { /* 본인 스킨의 로고 클래스에 맞게 적용됨 */
    font-family: 'Pretendard Variable', sans-serif !important;
    font-display: block !important;
    /* 폰트가 바뀔 때 글자 폭 차이로 인한 흔들림 방지 */
    letter-spacing: -0.03em; 
    transition: opacity var(--dur) var(--ease);
}

/* ==========================================================
   6. GNB 현재 페이지 활성화
   ========================================================== */
.gnb > ul > li > a.gnb-active {
    color: var(--brand-navy);
    font-weight: 800;
}
.gnb > ul > li > a.gnb-active::after {
    width: 100% !important;
    background: var(--brand-navy);
    height: 3px;
}
.m-gnb > ul > li > a.gnb-active {
    color: var(--brand-navy);
    font-weight: 900;
}

/* 헤더 유틸 */
.header-util { display: flex; align-items: center; gap: 20px; }
.header-search { display: flex; align-items: center; border-bottom: 2px solid #111; padding-bottom: 5px; margin-right: 15px; }
.header-search input { width: 130px; background: transparent; font-size: 15px; font-weight: 500; transition: width var(--dur) var(--ease-out); }
.header-search input:focus { width: 180px; }
.header-search button { display: flex; align-items: center; color: var(--ink); padding-left: 5px; transition: transform 0.2s ease-out; }
.header-search button:hover { transform: scale(1.1); }

/* 모바일 햄버거 — 三 스타일 (오른쪽 정렬, 왼쪽 길이 차등) */
.mobile-menu-toggle { display: none; width: 28px; height: 22px; position: relative; z-index: 10001; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.mobile-menu-toggle .bar { display: block; height: 2.5px; background-color: var(--ink); border-radius: 1px; transition: all var(--dur) var(--ease); transform-origin: right center; }
.mobile-menu-toggle .bar-1 { width: 90%; }
.mobile-menu-toggle .bar-2 { width: 70%; }
.mobile-menu-toggle .bar-3 { width: 100%; }
.mobile-menu-toggle.active .bar-1 { width: 100%; transform: translateY(9.75px) rotate(-45deg); }
.mobile-menu-toggle.active .bar-2 { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active .bar-3 { width: 100%; transform: translateY(-9.75px) rotate(45deg); }

/* 모바일 오버레이 */
.mobile-dim { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 9999; opacity: 0; visibility: hidden; transition: all var(--dur); }
.mobile-dim.active { opacity: 1; visibility: visible; }
.mobile-overlay {
    position: fixed; top: 0; right: 0; width: 63%; max-width: 310px; height: 100vh;
    background: #fff; z-index: 10000; padding: 55px 24px 35px;
    transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
    box-shadow: -20px 0 40px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
}
.mobile-overlay.active { transform: translateX(0); }

.mobile-close-btn {
    position: absolute; top: 18px; right: 20px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #f5f5f5; border-radius: 50%;
    cursor: pointer; transition: background 0.2s;
    border: none;
}
.mobile-close-btn:hover { background: #e8eef6; }
.mobile-close-btn svg { width: 18px; height: 18px; stroke:#333;color:#333; }

.mobile-search-box { margin-bottom: 30px; border-bottom: 2px solid #111; padding-bottom: 8px; }
.mobile-search-box s_search { display: flex; flex-direction: row; flex-wrap: nowrap; width: 100%; align-items: baseline; gap: 8px; }
.mobile-search-box input { flex: 1; min-width: 0; background: transparent; font-size: 15px; font-weight: 500; }
.mobile-search-box button { color: var(--ink); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-gnb > ul > li { border-bottom: 1px solid #eee; }
.m-gnb > ul > li > a { display: block; font-size: 20px; font-weight: 800; color: var(--ink); padding: 20px 0; }

/* ==========================================================
   7. 히어로 슬라이더
   ========================================================== */
.hero-slider-wrap { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; margin-bottom: 0; }
/* Swiper FOUC 방지: JS 초기화 전 슬라이드 텍스트 노출 차단 */
.heroSwiper:not(.swiper-initialized) .swiper-slide { visibility: hidden; }
.heroSwiper:not(.swiper-initialized) .swiper-wrapper { height: 100vh; min-height: 600px; overflow: hidden; }
.swiper-full { width: 100%; height: 100%; }
.slide-bg { width: 100%; height: 100%; background-size: cover; position: relative; }

.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5,47,103,0.25) 0%,
        rgba(5,47,103,0.35) 40%,
        rgba(0,0,0,0.55) 100%
    );
    z-index: 1; pointer-events: none;
}

.slide-content { position: absolute; top: 42%; left: 10%; transform: translateY(-50%); color: #fff; z-index: 5; max-width: 80%; }

/* 클립 마스크 래퍼 */
.slide-title-wrap { overflow: hidden; margin-bottom: 20px; }
.slide-sub-wrap   { overflow: hidden; display: flex; align-items: center; gap: 14px; }

.slide-title {
    font-size: clamp(28px, 5vw, 60px); font-weight: 900; line-height: 1.3;
    word-break: keep-all;
    letter-spacing: -0.5px;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.01s,
                transform var(--dur-reveal) var(--ease-out);
}
.slide-sub {
    font-size: clamp(14px, 2vw, 20px); font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3); letter-spacing: 2px;
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.01s,
                transform var(--dur-reveal) var(--ease-out);
}
.slide-sub-line {
    display: block; flex-shrink: 0;
    width: 0; height: 1px;
    background: rgba(255,255,255,0.7);
    transition: width var(--dur-slow) var(--ease-out);
}
.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.01s,
                transform var(--dur-reveal) var(--ease-out) var(--dur-slow);
}
.swiper-slide-active .slide-sub {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.01s,
                transform var(--dur-reveal) var(--ease-out) var(--dur-reveal);
}
.swiper-slide-active .slide-sub-line {
    width: 32px;
    transition: width var(--dur-slow) var(--ease-out) var(--dur-reveal);
}
html:not(.fonts-loaded) .slide-title,
html:not(.fonts-loaded) .slide-sub { opacity: 0 !important; transform: translateY(110%) !important; }

.swiper-pagination-hero { bottom: 40px; }
.swiper-pagination-bullet { background: #fff; opacity: 0.6; width: 10px; height: 10px; border-radius: 0; transition: all var(--dur) var(--ease); }
.swiper-pagination-bullet-active { opacity: 1; background: var(--brand-blue); width: 35px; box-shadow: 0 2px 10px rgba(0,168,255,0.5); }

/* ── 히어로 슬라이드 카운터 (모바일 전용) ── */
.hero-slide-counter {
    display: none;
    position: absolute;
    bottom: 48px; right: 20px;
    z-index: 11;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px; font-weight: 400;
    color: rgba(255,255,255,0.38);
    letter-spacing: 2px;
    text-shadow: none;
    pointer-events: none;
    line-height: 1;
}
.hero-slide-counter .counter-cur {
    font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.38);
}



/* 스크롤 인디케이터 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 44px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    z-index: 10; cursor: pointer;
    opacity: 0;
    transition: opacity var(--dur-slow) ease, transform var(--dur-slow) var(--ease);
}
.hero-scroll-indicator.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.hero-scroll-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700;
    color: #fff; letter-spacing: 5px; text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-scroll-line {
    width: 2px; height: 56px;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0));
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
    animation: heroScrollLine var(--dur-reveal) var(--ease-inout) var(--dur-reveal) infinite;
    transform-origin: top;
}

@keyframes heroScrollLine {
    0%   { transform: scaleY(0); opacity: 1; transform-origin: top; }
    50%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
    51%  { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}
.hero-scroll-indicator.hidden {
    opacity: 0; transition: opacity var(--dur-slow) ease; pointer-events: none;
}

/* 히어로 화살표 */
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px;
    background: transparent; backdrop-filter: none;
    border: none; box-shadow: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    transition: all var(--dur) var(--ease);
}
.hero-nav:hover { background: rgba(0,168,255,0.25); transform: translateY(-50%) scale(1.08); }
.hero-nav:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.hero-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: none; }
.hero-prev { left: 40px; }
.hero-next { right: 40px; }

/* ==========================================================
   8. SAMJUNG PRINCIPLE 섹션
   ========================================================== */
.section-stats { padding: 80px 0 120px; border-top: 5px solid var(--brand-navy); position: relative; overflow: hidden; }

.stats-bg-section {
    background: url('/images/B-2.webp') no-repeat center center / cover;
}
@media (min-width: 769px) {
    .stats-bg-section { background-attachment: fixed; }
}

.stats-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 47, 103, 0.85); z-index: 1; }
.stats-inner { position: relative; z-index: 2; }

.principle-hero { text-align: center; max-width: 900px; margin: 0 auto 90px; }

.principle-label-wrap { display: inline-block; position: relative; margin-bottom: 24px; }
.vision-label-wrap    { display: inline-block; position: relative; margin-bottom: 24px; }

.principle-label {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: #fff; letter-spacing: 3px; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3); padding: 6px 16px;
}

.principle-title { font-size: 44px; font-weight: 900; line-height: 1.2; color: #fff; margin-bottom: 24px; }
.principle-line { width: 0; height: 2px; background: var(--brand-blue); margin: 0 auto 22px; transition: width var(--dur-reveal) var(--ease-inout) var(--dur); }
.principle-hero.aos-animate .principle-line,
[data-aos].aos-animate .principle-line { width: 60px; }
.principle-sub { font-size: 15px; color: rgba(255,255,255,0.75); letter-spacing: 1px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; text-align: center; }

.stat-item {
    position: relative; padding: 60px 30px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(7, 18, 36, 0.92); border: 1px solid rgba(0, 168, 255, 0.3);
    backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform var(--dur-slow) var(--ease-out), background var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out);
}
.stat-item:hover { background: rgba(10, 25, 50, 1); border-color: var(--brand-blue); transform: translateY(-10px); }
.stat-item:last-child::after { display: none; }

.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; color: var(--brand-blue); text-shadow: 0 0 15px rgba(0,168,255,0.3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; }
.stat-main-text { font-size: 22px; font-weight: 700; color: #ffffff; margin-bottom: 15px; letter-spacing: -0.5px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.stat-divider { width: 30px; height: 2px; background: var(--brand-blue); opacity: 0.8; margin-bottom: 15px; }
.stat-sub-text { font-size: 16px; color: #cbd5e0; line-height: 1.7; font-weight: 300; }

/* ==========================================================
   9. 엔지니어링 프로세스
   ========================================================== */
.process-combined-grid { display: flex; flex-direction: column; gap: 50px; margin-top: 60px; }
.process-row { display: flex; justify-content: center; align-items: center; gap: 20px; }

.process-card { flex: 1; max-width: 380px; background: #fff; border: 1px solid var(--line); position: relative; transition: all var(--dur-slow) var(--ease-out); }
.process-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-navy); transition: width var(--dur-slow) var(--ease-inout); }
.process-card:hover { transform: translateY(var(--lift-card-lg)); box-shadow: var(--shadow-card-lg); border-color: transparent; }
.process-card:hover::after { width: 100%; }

.step-badge { position: absolute; top: 16px; left: 16px; background: var(--brand-navy); color: #fff; padding: 4px 14px; font-size: 11px; font-weight: 800; letter-spacing: 1px; border-radius: 100px; box-shadow: 0 4px 12px rgba(5,47,103,0.25); z-index: 10; }

.process-card .img-box { position: relative; width: 100%; height: 260px; overflow: hidden; background: #f8f9fa; }
.process-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-reveal) var(--ease-out) 0.1s; }
.process-card .img-box::after { content: ''; position: absolute; inset: 0; background: rgba(5,47,103,0); transition: background var(--dur-slow); z-index: 1; pointer-events: none; }
.process-card:hover .img-box img { transform: scale(1.08); }
.process-card:hover .img-box::after { background: rgba(5,47,103,0.08); }

.img-eng-title { position: absolute; bottom: 0; left: 0; background: rgba(5,47,103,0.95); color: #fff; padding: 10px 20px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; z-index: 10; transition: all var(--dur) var(--ease-out); }
.process-card:hover .img-eng-title { background: var(--brand-blue); padding-left: 28px; padding-right: 28px; }

.process-card .txt-box { padding: 45px 35px; text-align: left; }
.process-card .txt-box h4 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 15px; }   /* feature 카드 800→700 (2026-06-24) */
.process-card .txt-box p { font-size: 15px; color: #666; line-height: 1.6; word-break: keep-all; }

.process-arrow { display: flex; align-items: center; justify-content: center; width: 40px; }
.process-arrow svg { width: 32px; height: 32px; stroke:var(--brand-navy);color:var(--brand-navy); opacity: 0.5; }
.process-arrow.arrow-flow-down svg { opacity: 0.9; }

/* ==========================================================
   10. Featured Projects
   ========================================================== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    position: relative; z-index: 1;
}

.p-text-block {
    grid-column: 1 / 3; grid-row: 1 / 2;
    background: var(--brand-navy); color: #fff; padding: 40px 50px;
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: 0 20px 40px rgba(5,47,103,0.25);
}
.p-text-block .eng-word { font-size: 14px; font-weight: 800; letter-spacing: 2px; color: var(--brand-blue); margin-bottom: 10px; }
.p-text-block h3 { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 15px; letter-spacing: -1px; }
.p-text-block p { font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 25px; word-break: keep-all; }

.btn-more {
    display: inline-block; color: #fff;
    border-bottom: 2px solid rgba(0,168,255,0.5); padding-bottom: 4px;
    font-weight: 600; font-size: 15px; align-self: flex-start;   /* 보조 버튼 700→600 (2026-06-24) */
    transition: border-color var(--dur) var(--ease-inout), color var(--dur), transform var(--dur);
}
.btn-more:hover { 
    color: var(--brand-blue); 
    border-bottom-color: var(--brand-blue);
    transform: translateY(-2px);
}

.p-item { position: relative; overflow: hidden; background: #000; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.p-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform var(--dur-reveal) var(--ease-out); opacity: 0.85; }
.p-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg,rgba(5,18,40,0) 32%,rgba(5,18,40,.52) 74%,rgba(5,18,40,.9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; opacity: 0; transition: opacity var(--dur) var(--ease); }   /* 검은 레이어를 다양형 앨범 스크림과 100% 동일하게(범위 32%부터·농도 .52/.9·속도 0.3s) (2026-06-26) */
.p-overlay span { color: var(--brand-blue); font-size: 13px; font-weight: 800; border: 1px solid var(--brand-blue); padding: 6px 12px; align-self: flex-start; margin-bottom: 15px; transform: translateY(20px); transition: transform var(--dur) 0.1s var(--ease); }
.p-title { color: #fff; font-size: clamp(16px, 1.5vw, 22px); font-weight: 500; transform: translateY(20px); transition: transform var(--dur) 0.2s var(--ease); }   /* Featured 제목 800→500 (카드 통일, 2026-06-24) */
.p-item:hover img { transform: scale(1.1); opacity: 0.58; }
.p-item:hover .p-overlay { opacity: 1; }
.p-item:hover .p-overlay span, .p-item:hover .p-title { transform: translateY(0); }

.p-item.i-large  { grid-column: 3 / 5; grid-row: 1 / 3; }
.p-item.i-normal:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
.p-item.i-normal:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
.p-item.i-wide:nth-child(5)   { grid-column: 1 / 3; grid-row: 3 / 4; }
.p-item.i-wide:nth-child(6)   { grid-column: 3 / 5; grid-row: 3 / 4; }

.p-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-blue); transition: width var(--dur-slow) var(--ease-inout); z-index: 30; }
.p-item:hover::after { width: 100%; }

/* PC 전용 — p-swipe-row grid 배치 */
.p-swipe-row { display: contents; }
.p-swipe-row .p-item.i-large               { grid-column: 3 / 5; grid-row: 1 / 3; }
.p-swipe-row .p-item.i-normal:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
.p-swipe-row .p-item.i-normal:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.p-swipe-row .p-item.i-wide:nth-child(4)   { grid-column: 1 / 3; grid-row: 3 / 4; }
.p-swipe-row .p-item.i-wide:nth-child(5)   { grid-column: 3 / 5; grid-row: 3 / 4; }

/* ==========================================================
   11. Latest Insights
   ========================================================== */
.section-latest-news { padding: 120px 0; }
.news-card { display: block; cursor: pointer; position: relative; padding-bottom: 8px; }
.news-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-blue); transition: width var(--dur-slow) var(--ease-inout); z-index: 30; }
.news-card:hover::after { width: 100%; }
.news-img-box { position: relative; display: block; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #000; margin-bottom: 25px; }
.news-img-box img { position: relative; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; z-index: 1; display: block; transition: transform var(--dur-slow) var(--ease); }
.news-img-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,47,103,0.75); opacity: 0; transition: opacity var(--dur) var(--ease); z-index: 10; pointer-events: none; }
.news-img-box::after { content: 'VIEW DETAIL'; position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; opacity: 0; transition: all var(--dur) var(--ease); z-index: 20; pointer-events: none; }
.news-card:hover .news-img-box::before { opacity: 1; }
.news-card:hover .news-img-box::after { opacity: 1; }
.news-card:hover .news-img-box img { transform: scale(1.06); }
.news-card .news-title { font-size: 22px; font-weight: 500; color: var(--ink); line-height: 1.4; word-break: keep-all; transition: color var(--dur); }   /* Latest 제목 800→500 (카드 통일, 2026-06-24) */
.news-card:hover .news-title { color: var(--brand-navy); }

/* ==========================================================
   12. 비전 CTA
   ========================================================== */
.section-vision-cta { position: relative; padding: 180px 0; text-align: center; overflow: hidden; }
.vision-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/images/B-1.webp'); background-size: cover; background-position: center; z-index: 0; }
@media (min-width: 769px) {
    .vision-bg { background-attachment: fixed; }
}
.vision-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(5,47,103,0.9) 0%, rgba(0,0,0,0.75) 100%); z-index: 1; }
.vision-content { position: relative; z-index: 2; color: #fff; }
.vision-label {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: #fff; letter-spacing: 3px; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3); padding: 6px 16px;
}

.vision-title { font-size: 44px; font-weight: 900; line-height: 1.3; margin-bottom: 25px; letter-spacing: -1.5px; word-break: keep-all; text-shadow: 0 10px 30px rgba(0,0,0,0.5); display: inline-block; position: relative; padding-bottom: 20px; }
.vision-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--brand-blue);
    transition: width var(--dur-reveal) var(--ease-inout) var(--dur);
}
.vision-title-wrap[data-aos].aos-animate .vision-title::after { width: 80px; }
.vision-desc { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 50px; font-weight: 400; }
.vision-btn-wrap { margin-top: 30px; }

.btn-vision-cta { display: inline-block; background: var(--brand-blue); color: #fff; font-size: 18px; font-weight: 800; padding: 20px 50px; transition: all var(--dur) var(--ease-out); border: 2px solid transparent; }
.btn-vision-cta:hover { background: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,168,255,0.25); border-color: rgba(255,255,255,0.7); }

/* ==========================================================
   13. 서브페이지 공통
   ========================================================== */
#sub-content { padding: 0 0 150px; min-height: 80vh; background-color: #f8f9fa; position: relative; }
#sub-content::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px); background-size: 150px 150px; pointer-events: none; z-index: 0; }

.subpage-hero { position: relative; width: 100%; height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; z-index: 1; padding: 0 20px; }
.subpage-hero .hero-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,15,40,0.65); z-index: 1; }
.subpage-hero .hero-text-box { position: relative; z-index: 2; color: #fff; margin-top: 50px; }
/* ── 페이지 히어로 영상화 (2026-07-09) ──────────────────────────────
   .subpage-hero 배경이미지(webp) 위에 <video>를 덮어 재생. 로드 전·실패·
   reduced-motion 시 기존 webp가 그대로 폴백 노출. 영상 주입은 app.js가 담당. */
.subpage-hero { overflow: hidden; }
.subpage-hero > video.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;   /* 초점: 기존 이미지와 동일한 중앙 기준(페이지별 위아래 조정은 인라인 style로) */
  z-index: 0;                 /* 배경(첫 프레임 poster) 위 · 오버레이(z1)/텍스트(z2) 아래 */
  opacity: 1;                 /* 처음부터 노출(페이드 없음). 배경=영상 첫 프레임이라 사진→영상 점프 없음 */
  pointer-events: none; background: transparent; border: 0;
}
@media print { .subpage-hero > video.hero-video { display: none !important; } }
.subpage-hero .eng-title-sm {
    display: block; font-size: 15px; font-weight: 700; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 0 18px rgba(0,0,0,0.4);
    letter-spacing: 4px; margin-bottom: 15px; text-transform: uppercase;
    opacity: 0; transform: translateY(12px);
    animation: heroSeqIn var(--dur-slow) var(--ease) 0.15s forwards;
}
.subpage-hero h2 {
    font-size: 48px; font-weight: 900; letter-spacing: -2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 2px 14px rgba(0,0,0,0.55), 0 0 42px rgba(0,0,0,0.45); word-break: keep-all; line-height: 1.2;
    opacity: 0; transform: translateY(18px);
    animation: heroSeqIn var(--dur-slow) var(--ease) var(--dur) forwards;
}
@keyframes heroSeqIn {
    to { opacity: 1; transform: translateY(0); }
}

.page-nav-divider { position: static; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-line); box-shadow: 0 10px 20px rgba(0,0,0,0); margin-bottom: 50px; }
.header.scrolled ~ #wrap .page-nav-divider { top: 80px; }
.page-nav-divider.is-stuck { box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-bottom-color: transparent; }
.nav-inner-flex { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; height: 72px; position: relative; }

/* 프로젝트 탭 바 */
.project-tabs-divider {
    background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--gray-line);
    position: static; margin-bottom: 50px;
    backdrop-filter: blur(10px);
}
.project-tabs-divider::before, .project-tabs-divider::after { display: none; }
.project-tabs-divider .nav-inner-flex { padding: 0 40px; height: 72px; position: relative; z-index: 1; }
.project-tabs-divider .project-tabs-grid li a.tab-btn {
    background: transparent; border: none; border-bottom: 3px solid transparent;
    color: var(--gray-text-sub); box-shadow: none;
}
.project-tabs-divider .project-tabs-grid li a.tab-btn:hover {
    color: var(--ink); border-bottom-color: #ccc; background: transparent;
    transform: none; box-shadow: none;
}
.project-tabs-divider .project-tabs-grid li a.tab-btn.active {
    color: var(--ink); background: transparent; border-color: var(--brand-navy);
    box-shadow: none; font-weight: 800;
}
.project-tabs-divider .project-tabs-grid li a.tab-btn.active::before { display: none; }
.project-tabs-divider.is-stuck { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.support-tabs { display: flex; width: 100%; max-width: 1200px; margin: 0 auto; gap: 10px; justify-content: center; align-items: center; }
.support-tabs.align-left { justify-content: flex-start; max-width: 100%; }
.support-tabs .tab-btn, .support-tabs li a.tab-btn { flex: 1; display: flex; justify-content: center; align-items: center; font-size: 18px; font-weight: 700; padding: 0; height: 52px; color: var(--gray-text-sub); border-bottom: 3px solid transparent; transition: color var(--dur), border-color var(--dur); background: transparent; text-align: center; white-space: nowrap; position: relative; }
/* 고객지원 탭 구분선 */
.support-tabs .tab-btn + .tab-btn::before { content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: var(--gray-line); }
.support-tabs.align-left .tab-btn { flex: none; padding: 0 10px; margin: 0 30px; height: 52px; }
.support-tabs .tab-btn:hover { color: var(--ink); border-bottom-color: #ccc; }
.support-tabs .tab-btn.active { color: var(--ink); border-bottom-color: var(--brand-navy); }
/* 고객지원 탭만 — 짧은 밑줄 */
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn {
    border-bottom-color: transparent !important;
}
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: transparent; 
    transition: width var(--dur) var(--ease), background var(--dur);
}
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn:hover::after {
    width: 35%; background: #ccc;
}
.support-tabs:not(.align-left):not(.project-tabs-grid) > .tab-btn.active::after {
    width: 38%; background: var(--brand-navy);
}

.project-tabs-grid {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: 0; width: 100%; max-width: 1200px; margin-bottom: 0; padding: 0;
}
.project-tabs-grid li { flex: 0 0 auto; }
.project-tabs-grid li a.tab-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 18px; height: 52px; min-width: auto;
    font-size: 16px; font-weight: 700; letter-spacing: 0;
    color: var(--gray-text-sub); background: transparent; border: none; border-radius: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap; transition: all var(--dur) var(--ease);
    box-shadow: none; flex: none; margin: 0 6px;
}
.project-tabs-grid li a.tab-btn:hover {
    color: var(--ink); border-bottom-color: #ccc; background: transparent;
    box-shadow: none; transform: none;
}
.project-tabs-grid li a.tab-btn.active {
    color: var(--ink); background: transparent; border-color: var(--brand-navy);
    box-shadow: none; font-weight: 800;
}
.project-tabs-grid li a.tab-btn.active::before { display: none; }
.project-tabs-grid li:first-child a.tab-btn { font-weight: 800; letter-spacing: 0.5px; }
/* 프로젝트 탭: 전체보기 뒤 구분선 */
.project-tabs-grid li:first-child {
    position: relative; margin-right: 12px; padding-right: 18px;
}
.project-tabs-grid li:first-child::after {
    content: ''; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); width: 1px; height: 20px;
    background: var(--gray-line);
}
@media (max-width: 768px) {
    .project-tabs-grid li:first-child::after { display: none; }
    .project-tabs-grid li:first-child { margin-right: 0; padding-right: 0; }
}


/* ==========================================================
   14. 갤러리 & 지원 패널
   ========================================================== */
.default-list-title { display: none; }
.is-search-result-page .default-list-title { display: block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; margin-bottom: 40px; }
.is-search-result-page .default-list-title span { font-size: 16px; font-weight: 600; color: var(--gray-text-sub); margin-left: 6px; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px); position: relative; z-index: 1;
}

.gallery-empty {
    grid-column: 1 / -1; text-align: center; padding: 80px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.gallery-empty-icon { opacity: 0.5; margin-bottom: 6px; }
.gallery-empty-title { font-size: 18px; font-weight: 800; color: #444; letter-spacing: -0.3px; }
.gallery-empty-desc { font-size: 15px; color: var(--gray-text-sub); line-height: 1.6; }
.gallery-empty-btn {
    margin-top: 10px; display: inline-flex; align-items: center;
    padding: 10px 24px; font-size: 14px; font-weight: 700;
    color: var(--brand-navy); border: 1.5px solid var(--brand-navy); border-radius: 100px;
    transition: all var(--dur) var(--ease-out);
}
.gallery-empty-btn:hover { background: var(--brand-navy); color: #fff; transform: translateY(-2px); }


.support-panel { display: none; animation: fadeUp var(--dur-slow); }
.support-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.support-panel-inner { padding: 20px 0; }
.panel-sub-title { font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 10px; letter-spacing: -1px; }
.panel-sub-desc { font-size: 18px; color: var(--gray-text-dim); margin-bottom: 30px; border-bottom: 1px dashed #ddd; padding-bottom: 25px; }

.faq-list { border-top: 3px solid #111; }
.consult-border-top,
.location-border-top { border-top: 3px solid #111; margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid #eee; display: flex; flex-direction: column; }
.faq-q { padding: 35px 20px 20px; font-size: 20px; font-weight: 800; color: var(--ink); text-align: left; line-height: 1.4; display: flex; align-items: flex-start; cursor: default; }
.faq-q::before { content: 'Q.'; color: var(--brand-blue); font-size: 24px; margin-right: 15px; font-weight: 900; line-height: 1; }
.faq-a { padding: 0 20px 40px 52px; font-size: 17px; line-height: 1.8; color: var(--gray-text-dim); text-align: left; display: block; }

/* ==========================================================
   15. 하단 문의 & 지도 & 폼
   ========================================================== */
.pre-footer-section { padding: 100px 0; background: #fff; border-top: 1px solid #eee; }
.pre-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.pf-title { font-size: 32px; font-weight: 900; color: var(--ink); margin-bottom: 10px; letter-spacing: -1px; }
.pf-desc { font-size: 16px; color: #666; margin-bottom: 40px; }
.dc-card-wrap { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.dc-card { display: flex; align-items: center; gap: 20px; border: 1px solid var(--gray-line); padding: 30px; background: #fdfdfd; transition: all var(--dur) var(--ease-out); }
.dc-card:hover { border-color: var(--brand-navy); box-shadow: var(--shadow-card); transform: translateY(var(--lift-card)); background: #fff; }
.dc-icon { width: 60px; height: 60px; min-width: 60px; background: var(--brand-navy); display: flex; justify-content: center; align-items: center; color: #fff; }
.dc-icon svg { width: 26px; height: 26px; }
.dc-text span { display: block; font-size: 14px; color: #666; margin-bottom: 5px; font-weight: 600; }
.dc-text strong { display: block; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.messenger-buttons { display: flex; gap: 20px; }
.messenger-buttons a { flex: 1; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 20px; font-size: 18px; font-weight: 800; transition: transform var(--dur) ease-out, box-shadow var(--dur); }
.btn-kakao { background: #FEE500; color: #391B1B; }
.btn-kakao:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(254,229,0,0.3); }
.btn-naver { background: #03C75A; color: #fff; }
.btn-naver:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(3,199,90,0.3); }
/* 고객지원 상담탭 채널 래퍼 — mail-form-card(max-width:900px)와 폭 통일 */
.consult-channel-wrap { max-width: 900px; margin: 0 auto; }
/* panel-messengers: 카카오·네이버 가로 2열, 콤팩트 */
.panel-messengers { display: flex; flex-direction: row; gap: 16px; margin-top: 16px; }
.panel-messengers a { flex: 1; justify-content: center; padding: 16px 20px; font-size: 16px; font-weight: 800; gap: 10px; }
.pre-footer-map { height: 100%; min-height: 300px; position: relative; border: 1px solid var(--gray-line); }
.support-panel .panel-map-wrap { height: 600px; position: relative; border: 1px solid var(--gray-line); max-width: 90%; margin: 0 auto; }
.pre-footer-section .panel-map-wrap { height: 450px; position: relative; border: 1px solid var(--gray-line); }
.map-wrap { height: 100%; width: 100%; position: relative; }
.map-address-box { position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,0.97); padding: 20px 25px; border-left: 5px solid var(--brand-navy); box-shadow: 0 10px 25px rgba(0,0,0,0.15); max-width: 350px; z-index: 10; }
@media (max-width: 768px) { .map-address-box { backdrop-filter: blur(5px); background: rgba(255,255,255,0.92); } }
.map-address-box strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.map-address-box p { font-size: 14px; color: #444; font-weight: 500; line-height: 1.4; }

.consult-form-container { margin-top: 50px; }
.mail-form-card { background: #ffffff; border: 1px solid var(--line); padding: 40px; box-shadow: 0 12px 30px rgba(0,0,0,0.06); border-radius: 8px; max-width: 900px; margin: 0 auto; }
.form-header { margin-bottom: 30px; border-bottom: 1px solid #f5f5f5; padding-bottom: 20px; text-align: left; }
.form-label { color: var(--brand-blue); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.form-header h4 { font-size: 24px; font-weight: 800; margin: 10px 0; color: var(--ink); }
.form-header p { font-size: 15px; color: #666; }
.form-row-group { display: flex; gap: 20px; }
.input-field { flex: 1; margin-bottom: 20px; text-align: left; position: relative; }
.input-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #333; }
.input-field input, .input-field textarea { width: 100%; padding: 15px; border: 1px solid var(--gray-line); background: #fafafa; font-size: 15px; border-radius: 4px; color: #333; font-family: inherit; outline: none; }
.input-field input:focus, .input-field textarea:focus { border-color: var(--brand-blue); background: #fff; }
.input-field textarea { height: 130px; resize: none; }
.file-guide { background: #f0f7ff; padding: 15px; margin-bottom: 25px; border-left: 4px solid var(--brand-blue); text-align: left; }
.file-guide p { font-size: 13px; color: var(--gray-text-dim); margin-bottom: 4px; }
.file-guide a { color: var(--brand-blue); font-weight: 700; text-decoration: underline; }
.btn-mail-submit { width: 100%; background: var(--brand-navy); color: #fff; padding: 20px; font-size: 18px; font-weight: 700; cursor: pointer; transition: all var(--dur) var(--ease-out); border-radius: 4px; font-family: inherit; }
.btn-mail-submit:hover { background: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,168,255,0.25); }
.direct-contact-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

/* ==========================================================
   16. 회사소개 / 사업분야
   ========================================================== */
.article-wrap, .static-page { padding: 60px 0; }


.premium-page-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 0 80px; }

.ceo-content-flex { display: flex; gap: 80px; align-items: center; }
.ceo-image { flex: 1; display: flex; align-items: center; justify-content: center; }
.ceo-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; box-shadow: 25px 25px 0px #f4f6f9; }
.ceo-logo-box {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 0; background: transparent; align-self: flex-start; margin-top: 140px;
}
.ceo-logo-box img { aspect-ratio: auto !important; object-fit: contain !important; box-shadow: none !important; max-height: 340px; width: 100%; }

.ceo-text { flex: 1; font-size: 17px; color: #444; line-height: 1.85; word-spacing: 0; letter-spacing: 0; text-align: left; }
.ceo-text p { margin-bottom: 28px; word-break: keep-all; word-spacing: normal; text-indent: 0; }
.ceo-text p.ceo-p-indent { text-indent: 1em; }

.ceo-quote {
    font-size: 20px; font-weight: 700; color: var(--brand-navy); line-height: 1.8;
    letter-spacing: -0.5px; margin-bottom: 36px !important; word-break: keep-all; text-indent: 0;
}
.ceo-quote::before {
    content: ''; display: block; width: 0; height: 2px;
    background: var(--brand-blue); margin-bottom: 18px;
    animation: lineDrawIn var(--dur-reveal) var(--ease-inout) var(--dur-slow) forwards;
}
@keyframes lineDrawIn { to { width: 80px; } }
.ceo-signature {
    text-align: right; margin-top: 55px; padding-top: 40px;
    border-top: 1px solid #e0e6ef; position: relative;
}
.ceo-signature::before {
    content: ''; position: absolute; top: -1px; right: 0; width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
}
.ceo-signature > span { display: block; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; margin-bottom: 10px; }
.ceo-sig-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; margin-top: 4px; }
.ceo-sig-title { font-size: 18px !important; color: #444 !important; font-weight: 600 !important; margin-bottom: 0 !important; display: inline !important; letter-spacing: 0.5px; }
.ceo-signature strong { font-size: 38px; font-weight: 900; color: var(--brand-navy); letter-spacing: 6px; margin-right: -6px; }

/* 사업분야 카드 그리드 */
.biz-premium-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px; padding: 20px 0 60px; }
.biz-p-card { background: #fff; border: 1px solid var(--line); transition: all var(--dur-slow) var(--ease-out); position: relative; width: 100%; }
.biz-premium-grid > .biz-p-card:nth-child(1) { grid-column: 1 / 3; }
.biz-premium-grid > .biz-p-card:nth-child(2) { grid-column: 3 / 5; }
.biz-premium-grid > .biz-p-card:nth-child(3) { grid-column: 5 / 7; }
.biz-premium-grid > .biz-p-card:nth-child(4) { grid-column: 2 / 4; }
.biz-premium-grid > .biz-p-card:nth-child(5) { grid-column: 4 / 6; }
.biz-p-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--brand-navy); transition: width var(--dur-slow) var(--ease-inout); }
.biz-p-card:hover { transform: translateY(var(--lift-card-lg)); box-shadow: var(--shadow-card-lg); border-color: transparent; }
.biz-p-card:hover::after { width: 100%; }
.biz-p-card .img-box { height: 260px; overflow: hidden; background: #f8f9fa; }
.biz-p-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-reveal) var(--ease-out); }
.biz-p-card:hover .img-box img { transform: scale(1.08); }
.biz-p-card .txt-box { padding: 45px 35px; }
.biz-p-card .num { display: inline-block; font-size: 14px; font-weight: 900; color: var(--brand-blue); letter-spacing: 1px; margin-bottom: 15px; }
.biz-p-card h4 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 15px; letter-spacing: -1px; word-break: keep-all; }   /* 대표 카드 26/800→22/700 (2026-06-24) */
.biz-p-card p { font-size: 16px; color: #666; line-height: 1.6; word-break: keep-all; }

/* ==========================================================
   17. 푸터
   ========================================================== */
.footer { background: var(--brand-dark); color: #b0bac9; padding: 54px 0 42px; border-top: 1px solid #222; }
.ft-row {
    display: flex; align-items: flex-start; gap: 48px;
}
.ft-info { margin-left: auto; }
.ft-brand { flex-shrink: 0; }
.ft-brand .ko-name { font-size: 36.5px; font-weight: 800; color: #fff; line-height: 1.2; display: block; letter-spacing: -0.5px; }
.ft-brand .en-slogan { font-size: 13.3px; color: #aaa; font-weight: 400; margin-top: 6px; display: block; letter-spacing: 0.3px; }
.ko-ju { font-size: 0.78em; }
.ft-info { flex: 1; }
.ft-info p { font-size: 15px; margin-bottom: 5px; color: #aaa; line-height: 1.6; font-weight: 300; }
.ft-corp { color: #aaa; font-weight: 300; }
.ft-lbl { color: #aaa; font-weight: 500; margin-right: 3px; }
.ft-sep { color: #aaa; margin: 0 8px; }
.ft-copy { font-size: 12px; color: #aaa; margin-top: 2px; }
.cf-email-link { transition: color var(--dur); }
.cf-email-link:hover { color: var(--brand-blue); }

/* 네이버 N 아이콘 + Workspace */
.ft-sns { flex-shrink: 0; display: flex; align-items: flex-end; align-self: flex-end; gap: 20px; }
.ft-naver-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--dur) var(--ease);
}
.ft-naver-btn:hover {
    background: rgba(3,199,90,0.15); border-color: #03C75A;
    transform: translateY(-2px); box-shadow: 0 6px 16px rgba(3,199,90,0.2);
}

/* Workspace 드롭다운 */
.ft-workspace-dropdown { position: relative; }
.ft-workspace-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 20px; font-size: 14px; font-weight: 700;
    color: #c8d1dc; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 0;
    cursor: pointer; transition: all var(--dur) var(--ease);
    letter-spacing: 0.5px; min-width: 140px; justify-content: center;
}
.ft-workspace-btn:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.ft-workspace-btn svg {
    transition: transform var(--dur);
}
.ft-workspace-btn.active svg {
    transform: rotate(180deg);
}
.ft-workspace-menu {
    position: absolute; bottom: 100%; right: 0; margin-bottom: 0;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0; min-width: 140px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all var(--dur) var(--ease);
    z-index: 100;
}
.ft-workspace-menu.active {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.ft-workspace-menu a {
    display: block; padding: 14px 18px;
    color: #ccc; font-size: 14px; font-weight: 600;
    transition: all 0.2s;
    border-radius: 0; margin: 0;
}
.ft-workspace-menu a:hover {
    background: rgba(255,255,255,0.08); color: #fff;
}

.cf-email-link { color: inherit; }
.cf-email-link:hover { color: var(--brand-blue); }

/* ── 하단 우측 공지 카드 (PC 전용) ── */
.site-notice-card {
    position: fixed;
    bottom: 100px; right: 40px;
    width: 256px;
    background: #fff;
    border: 1px solid rgba(5,47,103,0.14);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(5,47,103,0.10);
    z-index: 9998;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur) var(--ease-out),
                opacity var(--dur) var(--ease-out);
}
.site-notice-card.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.site-notice-card.is-hiding {
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
}
.snc-top-line {
    height: 2px;
    background: linear-gradient(90deg, #052f67 0%, rgba(5,47,103,0.15) 100%);   /* 블루 → 네이비 (2026-06-26) */
}
.snc-body {
    padding: 14px 16px 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}
.snc-dot {
    width: 6px; height: 6px;
    background: #052f67;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}
.snc-texts { flex: 1; }
.snc-label {
    font-size: 10px; font-weight: 800;
    color: #052f67;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}
.snc-text {
    font-size: 12.5px; font-weight: 400;
    color: #444;
    line-height: 1.65;
    word-break: keep-all;
}
.snc-close {
    position: absolute; top: 12px; right: 12px;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-bg);
    border: none; border-radius: 50%;
    cursor: pointer;
    color: #999;
    transition: background 0.2s, color 0.2s;
    padding: 0; flex-shrink: 0;
}
.snc-close:hover { background: var(--gray-bg-deep); color: #333; }
.snc-close svg { display: block; }

/* 모바일: 완전 숨김 */
@media (max-width: 768px) {
    .site-notice-card { display: none !important; }
}

.scroll-top-btn { position: fixed; bottom: 30px; right: 40px; width: 52px; height: 52px; background: #fff; color: var(--brand-navy); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--dur) var(--ease); z-index: 9999; cursor: pointer; border: 1.5px solid var(--gray-line); border-radius: 50%; box-shadow: 0 4px 18px rgba(5,47,103,0.12); }
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(5,47,103,0.25); }
.scroll-top-btn svg{ width:24px; height:24px; }

/* ==========================================================
   18-1. 반응형 — 769px~900px (태블릿 중간 구간)
   ========================================================== */
@media (min-width: 769px) and (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .p-text-block { grid-column: 1 / 3; grid-row: 1 / 2; }
    .p-swipe-row .p-item.i-large               { grid-column: 1 / 3; grid-row: 2 / 4; }
    .p-swipe-row .p-item.i-normal:nth-child(2) { grid-column: 1 / 2; grid-row: 4 / 5; }
    .p-swipe-row .p-item.i-normal:nth-child(3) { grid-column: 2 / 3; grid-row: 4 / 5; }
    .p-swipe-row .p-item.i-wide:nth-child(4)   { grid-column: 1 / 3; grid-row: 5 / 6; }
    .p-swipe-row .p-item.i-wide:nth-child(5)   { grid-column: 1 / 3; grid-row: 6 / 7; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================
   18. 반응형 — 1024px 이하
   ========================================================== */
@media (max-width: 1024px) {
    .process-combined-grid { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding-bottom: 25px; -webkit-overflow-scrolling: touch; }
    .process-combined-grid::-webkit-scrollbar { display: none; }
    .process-row { display: contents; }
    .process-card { flex: 0 0 85%; max-width: none; scroll-snap-align: center; }
    .process-arrow { display: none; }
}

/* ==========================================================
   19. 반응형 — 900px 이하
   ========================================================== */
@media (max-width: 900px) {
    .gnb, .header-search { display: none; }
    .mobile-menu-toggle { display: flex; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
    .stats-grid::-webkit-scrollbar { display: none; }
    .stats-grid .stat-item { flex: 0 0 85%; max-width: none; scroll-snap-align: center; }

    .news-card { flex: 0 0 82%; scroll-snap-align: center; }
    /* 조감도 높이 고정 → 제목 길이와 무관하게 이미지 일치, 제목만 1~2줄 차이 */
    .news-img-box { aspect-ratio: auto; height: 190px; margin-bottom: 14px; }
    .news-card .news-title { font-size: 17px; line-height: 1.35; }
    .news-img-box { aspect-ratio: 16/10; margin-bottom: 15px; }

    .principle-title { font-size: 32px; }
    .principle-hero { margin-bottom: 50px; }

    .ft-row { flex-wrap: wrap; gap: 24px; }
    .ft-brand { width: 100%; }
    .pre-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .project-tabs-grid li { flex: 0 0 auto; }
    .project-tabs-grid li:first-child { flex: 0 0 auto; min-width: auto; }
}

/* ==========================================================
   20. 반응형 — 768px 이하 (모바일)
   ========================================================== */
@media (max-width: 768px) {
    .pc-br { display: none; }
    .m-br  { display: block; }
    .pc-indent { display: none; }
    .header         { height: 80px; }
    .header.scrolled { height: 65px; }
    .gnb > ul > li  { height: 80px; }

    .logo-icon img,
    .logo-img { height: 50px; top: 0; }

    section { padding: var(--section-pad-sm) 0; }
    .slide-content { top: 38%; left: 6%; max-width: 88%; }
    .slide-title { font-size: clamp(22px, 6.5vw, 36px); line-height: 1.35; margin-bottom: 12px; }
    .slide-sub { font-size: clamp(12px, 3.5vw, 16px); letter-spacing: 1px; }
    .hero-slide-counter { display: block; }
    .section-stats { padding: 60px 0; }
    .section-latest-news { padding: 60px 0; }
    .section-vision-cta { padding: 120px 0; }
    .vision-title { font-size: 28px; letter-spacing: -1px; }
    .vision-desc  { font-size: 15px; margin-bottom: 32px; }

        .vision-bg { background-attachment: scroll; }
    .stats-bg-section { background-attachment: scroll; }

    .eng-title { font-size: 32px; margin-bottom: 15px; letter-spacing: 2px; }
    .principle-title { font-size: 28px; line-height: 1.3; margin-bottom: 15px; letter-spacing: -1px; }
    .principle-label { font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; }
    .principle-hero { margin-bottom: 40px; }
    .principle-line { margin: 0 auto 15px; }
    .principle-sub { font-size: 13px; line-height: 1.5; padding: 0 10px; }

    .stat-item { padding: 40px 20px; }
    .stat-num { font-size: 22px; }
    .stat-main-text { font-size: 20px; }
    .stat-sub-text { font-size: 15px; }

    /* Featured Projects 모바일 */
    .section-projects .project-grid {
        display: flex; flex-direction: column; gap: 0;
    }
    .p-text-block {
        width: 100%; min-height: 160px; margin-bottom: 0;
        grid-column: unset; grid-row: unset;
    }
    .p-swipe-row {
        display: flex; flex-direction: row; overflow-x: auto;
        scroll-snap-type: x mandatory; gap: 12px; padding: 15px 0 25px;
        -webkit-overflow-scrolling: touch; width: 100%;
    }
    .p-swipe-row::-webkit-scrollbar { display: none; }
    .p-swipe-row .p-item {
        display: block; flex: 0 0 82%; height: 260px;
        scroll-snap-align: center; grid-column: unset; grid-row: unset;
    }

    .article-wrap, .static-page { padding: 40px 15px; }
    .pre-footer-section .panel-map-wrap, .support-panel .panel-map-wrap { height: 280px; max-width: 100%; }
    .map-address-box { left: 15px; bottom: 15px; padding: 15px; width: calc(100% - 30px); max-width: none; }
    .messenger-buttons { flex-direction: row; gap: 10px; }
    .messenger-buttons a { font-size: 14px; padding: 14px 10px; }
    .pre-footer-grid { gap: 20px; }
    .dc-card { padding: 15px; gap: 12px; flex-wrap: nowrap; }
    .dc-icon { width: 48px; height: 48px; min-width: 48px; }
    .dc-icon svg { width: 20px; height: 20px; }
    .dc-text strong { font-size: 17px; }
    .dc-text span { font-size: 13px; }
    .mail-form-card { padding: 30px 20px; }
    .form-row-group { flex-direction: column; gap: 0; }

    .hero-nav { width: 40px; height: 40px; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }

    .ft-brand .ko-name { font-size: 31.5px; }
    .ft-brand .en-slogan { font-size: 11.5px; }
    .ft-row { flex-direction: column; gap: 24px; }
    .ft-brand { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #333; }
    .ft-info { margin-left: 0; }
    .ft-info p { font-size: 13px; }
    .ft-copy { font-size: 11px; }
    .ft-sep-email { display: none; }
    .ft-email-wrap { display: block; margin-top: 2px; }
    .ft-sns { margin-top: 8px; align-self: flex-start; }
    .inner { padding: 0 18px; }
    .header-inner { padding: 0 18px; }
    .logo-text { font-size: 21px; }
    .logo-eng  { font-size: 10.8px; font-weight: 600; letter-spacing: 0; } /* 모바일 영문 상호 축소 — 한글 상호보다 길게 나오는 현상 방지 */
    .logo-samjung { font-size: 21px; padding-left: 8px; }

    .scroll-top-btn {
        width: 52px !important; height: 52px !important;
        right: 18px !important; bottom: 22px !important;
    }
    .scroll-top-btn svg { width: 24px !important; height: 24px !important; }

    .news-card:active .news-img-box::after { opacity: 1; }
    .news-card:active .news-img-box::before { opacity: 1; }
    .news-card .news-title { font-size: 18px; line-height: 1.4; }


    /* 갤러리 카드 제목 축소 — 더 많은 글자 표시 */
    /* iOS 서브페이지 히어로 */
    .subpage-hero { height: 340px; }
    .subpage-hero h2 { font-size: 36px; }
}

/* ==========================================================
   21. 모바일 카테고리 드롭다운
   ========================================================== */
.mob-cat-trigger { display: none; }

@media (max-width: 768px) {
    /* 21. 모바일 카테고리 드롭다운 */
    .mob-cat-trigger {
        display: inline-flex;
        align-items: center; gap: 8px;
        padding: 10px 16px; margin: 9px 15px;
        background: #fff;
        border: 1.5px solid var(--brand-navy);
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 3px 12px rgba(5,47,103,0.12);
        transition: all var(--dur) var(--ease); width: auto;
    }
    .mob-cat-trigger:hover, .mob-cat-trigger.open {
        background: var(--brand-navy);
        box-shadow: 0 5px 18px rgba(5,47,103,0.22);
    }
    .mob-cat-trigger:hover .trigger-current,
    .mob-cat-trigger.open  .trigger-current { color: #fff; }
    .mob-cat-trigger:hover .mob-cat-filter-icon,
    .mob-cat-trigger.open  .mob-cat-filter-icon { stroke:rgba(255,255,255,0.9);color:rgba(255,255,255,0.9); }
    .mob-cat-trigger:hover .mob-cat-arrow svg,
    .mob-cat-trigger.open  .mob-cat-arrow svg { stroke:rgba(255,255,255,0.85);color:rgba(255,255,255,0.85); }
    .mob-cat-filter-icon {
        stroke:var(--brand-navy);color:var(--brand-navy); transition: color var(--dur);
        flex-shrink: 0;
    }
    .mob-cat-trigger .trigger-current { font-size: 14px; font-weight: 700; color: var(--ink); transition: color var(--dur); }
    .mob-cat-arrow {
        width: 14px; height: 14px; display: flex; align-items: center; justify-content: center;
        transition: transform var(--dur) var(--ease); color: var(--gray-text-sub);
    }
    .mob-cat-trigger.open .mob-cat-arrow { transform: rotate(180deg); }

    .project-tabs-divider .nav-inner-flex {
        flex-direction: column; align-items: flex-start;
        padding: 0; position: relative; height: auto; min-height: 56px;
    }
    /* 드롭다운 패널 — 1열, 콤팩트 폭, 불투명 */
    .project-tabs-divider .project-tabs-grid {
        display: none;
        position: absolute; top: 100%; left: 15px; z-index: 9999;
        flex-direction: column; flex-wrap: nowrap;
        width: auto; min-width: 140px; max-width: 200px;
        background: #fff;
        border: 1px solid #e0e8f4; border-radius: 10px;
        box-shadow: 0 8px 24px rgba(5,47,103,0.12);
        padding: 6px; gap: 2px;
        margin-bottom: 0; overflow: visible;
    }
    .project-tabs-divider .project-tabs-grid.mob-open {
        display: flex; animation: dropFadeIn 0.18s var(--ease);
    }
    @keyframes dropFadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .project-tabs-divider .project-tabs-grid li { flex: none; width: 100%; }
    /* 드롭다운 내 탭 버튼 — 왼쪽 가로선 스타일 */
    /* 모바일 드롭다운 active 왼쪽 가로선 */
    .project-tabs-grid li a.tab-btn.active {
        background: transparent; color: var(--brand-navy);
        border-radius: 0; border: none; box-shadow: none;
        border-left: 3px solid var(--brand-navy);
        justify-content: flex-start; padding-left: 14px;
        font-weight: 800;
    }
    .project-tabs-grid li a.tab-btn.active::before { display: none; }
    .project-tabs-grid li a.tab-btn {
        width: 100%; font-size: 13.5px; font-weight: 700;
        padding: 9px 14px; border-radius: 0;
        justify-content: flex-start; text-align: left;
        border: none; box-shadow: none;
        background: transparent; color: #333;
        white-space: nowrap; position: relative;
        border-left: 3px solid transparent;
        transition: all var(--dur) var(--ease);
    }
    .project-tabs-grid li a.tab-btn:hover {
        background: transparent; color: #333;
        transform: none; box-shadow: none; border: none;
        border-left: 3px solid #ccc;
    }

}

/* ==========================================================
   22. 회사소개 페이지 전용
   ========================================================== */
.about-page-wrap { padding-bottom: 0; }
.about-section { padding: 80px 0; }
.about-section.about-ceo { padding: 60px 0 100px; background: #fff; }
.about-section.about-values { background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%); }

.about-label {
    display: inline-block; font-size: 12px; font-weight: 800;
    color: var(--brand-blue); letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 18px; padding: 5px 14px;
    border: 1px solid rgba(0,168,255,0.3); background: rgba(0,168,255,0.06);
}
.about-section-header { text-align: center; margin-bottom: 70px; }
.about-section-title { font-size: 42px; font-weight: 900; color: var(--ink); letter-spacing: -1.5px; line-height: 1.25; margin-bottom: 20px; word-break: keep-all; }
.about-section-desc { font-size: 18px; color: var(--gray-text-dim); line-height: 1.7; word-break: keep-all; }

.ceo-header { text-align: center; margin-bottom: 70px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card {
    background: #fff; border: 1px solid var(--line); padding: 50px 40px;
    position: relative; transition: all var(--dur) var(--ease-out); overflow: hidden;
}
.value-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-navy));
    transition: height var(--dur) var(--ease-out);
}
.value-card:hover { transform: translateY(var(--lift-card-lg)); box-shadow: var(--shadow-card-lg); border-color: transparent; }
.value-card:hover::before { height: 100%; }
.value-icon { margin-bottom: 20px; }
.value-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 64px; font-weight: 900; color: rgba(5,47,103,0.06);
    line-height: 1; position: absolute; top: 30px; right: 30px; letter-spacing: -2px;
}
.value-title { font-size: 22px; font-weight: 900; color: var(--ink); margin-bottom: 18px; letter-spacing: -0.5px; word-break: keep-all; }
.value-desc { font-size: 16px; color: var(--gray-text-dim); line-height: 1.75; word-break: keep-all; }

/* ==========================================================
   23. 사업분야 페이지 전용
   ========================================================== */
.biz-page-wrap { padding-bottom: 0; }

.biz-intro {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #0a4a9e 100%);
    padding: 100px 40px; text-align: center; position: relative; overflow: hidden;
}
.biz-intro::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,168,255,0.4) 20%, rgba(0,168,255,0.9) 50%, rgba(0,168,255,0.4) 80%, transparent 100%);
}
.biz-intro::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}
.biz-intro-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }

.biz-intro-label-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 28px; }
.biz-intro-line { flex: 1; max-width: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,168,255,0.6)); }
.biz-intro-label-row .biz-intro-line:last-child { background: linear-gradient(90deg, rgba(0,168,255,0.6), transparent); }
.biz-intro-label-text { font-size: 11px; font-weight: 700; color: rgba(0,168,255,0.9); letter-spacing: 4px; text-transform: uppercase; }
.biz-intro-title { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.3; letter-spacing: -1.5px; margin: 0 0 20px; word-break: keep-all; }
.biz-intro-desc { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.75; word-break: keep-all; margin-bottom: 0; }

.biz-cards-section { padding: 80px 0; background: #fff; }
.biz-detail-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; display: flex; flex-direction: column; gap: 8px; }
.biz-detail-list li { font-size: 14px; color: var(--gray-text-dim); padding-left: 18px; position: relative; line-height: 1.5; }
.biz-detail-list li::before { content: '→'; position: absolute; left: 0; color: var(--brand-blue); font-weight: 700; font-size: 13px; }

.biz-flow-section { padding: 80px 0; background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%); }
.biz-flow-grid { display: flex; align-items: stretch; gap: 0; margin-top: 60px; }
.biz-flow-step {
    flex: 1; text-align: center; padding: 40px 25px;
    background: #fff; border: 1px solid var(--line); position: relative;
    transition: transform var(--dur) var(--ease), 
                box-shadow var(--dur) var(--ease), 
                border-color var(--dur); 
    min-height: 260px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.biz-flow-step:hover { transform: translateY(var(--lift-card-lg)); box-shadow: var(--shadow-card-lg); border-color: var(--brand-blue); }
.flow-num { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--brand-blue); letter-spacing: 1px; margin-bottom: 15px; }
.flow-icon { margin-bottom: 15px; display: flex; justify-content: center; }
.biz-flow-step h5 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.3px; }
.biz-flow-step p { font-size: 13px; color: #666; line-height: 1.65; word-break: keep-all; }
.biz-flow-arrow { display: flex; align-items: center; justify-content: center; font-size: 22px; color: #c0cfe0; padding: 40px 5px 0; font-weight: 300; flex-shrink: 0; width: 30px; }

.biz-cta-section { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%); padding: 100px 40px; text-align: center; position: relative; overflow: hidden; }
.biz-cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, rgba(0,168,255,0.15) 0%, transparent 70%); pointer-events: none; }
.biz-cta-inner { position: relative; z-index: 1; }
.biz-cta-label { display: block; font-size: 12px; font-weight: 800; color: var(--brand-blue); letter-spacing: 4px; margin-bottom: 20px; }
.biz-cta-title { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -1.5px; margin-bottom: 20px; }
.biz-cta-desc { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.7; word-break: keep-all; }

/* ==========================================================
   24. 회사소개·사업분야 반응형 (768px 이하)
   ========================================================== */
@media (max-width: 768px) {
    .about-section { padding: 60px 0; }
    .about-section-title { font-size: 28px; }
    .about-section-desc { font-size: 16px; }
    .values-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; }
    .values-grid::-webkit-scrollbar { display: none; }
    .value-card { flex: 0 0 78%; scroll-snap-align: center; padding: 35px 25px; }
    .value-title { font-size: 22px; }

    .biz-intro { padding: 60px 20px 50px; }
    .biz-intro-title { font-size: 26px; }
    .biz-intro-desc { font-size: 15px; }

    .biz-flow-grid { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; align-items: stretch; }
    .biz-flow-grid::-webkit-scrollbar { display: none; }
    .biz-flow-step { flex: 0 0 72%; scroll-snap-align: center; padding: 30px 20px; min-height: 260px; }
    .biz-flow-arrow { display: none; }

    .biz-cards-section { padding: 60px 0; }
    .biz-premium-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; }
    .biz-premium-grid::-webkit-scrollbar { display: none; }
    .biz-p-card { flex: 0 0 80%; scroll-snap-align: center; }
    .biz-p-card .txt-box { padding: 30px 20px; }

    .biz-cta-section { padding: 60px 20px; }
    .biz-cta-title { font-size: 26px; }
    .biz-cta-desc { font-size: 15px; }

    .ceo-content-flex { flex-direction: column; gap: 40px; align-items: center; }
    .ceo-logo-box { flex: 0 0 auto; width: 100%; max-width: 280px; }
    .ceo-logo-box img { max-height: 300px; }
    .ceo-image { min-width: 100%; }
    .ceo-image img { box-shadow: 15px 15px 0px #f4f6f9; }
    .about-section.about-ceo { padding: 50px 20px 70px; }
    .premium-page-wrap { padding: 30px 20px 60px; }
    .ceo-text { font-size: 16px; line-height: 1.9; }
    .ceo-text p { margin-bottom: 20px; text-indent: 0; word-break: break-word; }
    .ceo-quote { font-size: 17px; margin-bottom: 24px !important; }
    .ceo-signature { padding-top: 30px; margin-top: 40px; padding-right: 4px; }
    .ceo-signature > span { font-size: 17px; }
    .ceo-sig-title { font-size: 15px !important; }
    .ceo-signature strong { font-size: 30px; letter-spacing: 4px; }
}

/* ==========================================================
   25. 히어로 슬라이더 화살표 (768px)
   ========================================================== */
@media (max-width: 768px) {
    .hero-nav { width: 40px; height: 40px; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .hero-scroll-indicator { display: none; }
}

/* ==========================================================
   26. 토스트 알림
   ========================================================== */
#samjung-toast {
    position: fixed; bottom: 40px; left: 50%;
    transform: translateX(-50%) translateY(30px);
    min-width: 320px; max-width: 520px;
    padding: 18px 28px; font-size: 15px; font-weight: 600; line-height: 1.6;
    border-radius: 4px; z-index: 999999; opacity: 0; pointer-events: none;
    transition: all var(--dur) var(--ease-out);
    text-align: center; word-break: keep-all; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
#samjung-toast.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
#samjung-toast.toast-success { background: var(--brand-navy); color: #fff; border-left: 4px solid var(--brand-blue); }
#samjung-toast.toast-error { background: #1a0a0a; color: #fff; border-left: 4px solid #ff4d4d; }

/* ==========================================================
   27. 실적 모자이크 무한 마키
   ========================================================== */
/* 라이트 섹션(다른 회사소개 섹션과 톤 통일): 앞 about-strengths(#eef2f8)에서 흰색으로 자연스럽게 흐름. 검은 섹션 폐기. */
.about-section.about-marquee { padding: 80px 0 0; background: linear-gradient(180deg, #eef2f8 0%, #ffffff 240px, #ffffff 100%); overflow: hidden; }
.about-marquee .about-section-header { padding-bottom: 60px; }
.about-marquee .about-section-title { color: var(--ink); }
.about-marquee .about-section-desc { color: var(--gray-text-dim); }


/* ==========================================================
   28. 숫자 카드 & 강점 리스트
   ========================================================== */
.about-section.about-numbers { background: #fff; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border: 1px solid #eaeff6; }
.number-card { padding: 50px 40px; background: #fff; position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur); text-align: center; }
.number-card:hover { background: #f8fafd; }
.number-card + .number-card { border-left: 1px solid #eaeff6; }
.nc-top { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 20px; }
.nc-num { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; color: var(--brand-navy); line-height: 1; letter-spacing: 0; }
.nc-unit { font-size: 22px; font-weight: 700; color: var(--brand-blue); }
.nc-divider { width: 30px; height: 2px; background: var(--brand-blue); margin: 0 auto 16px; }
.nc-label { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.3px; }
.nc-desc { font-size: 14px; color: #666; line-height: 1.65; word-break: keep-all; }

@media (max-width: 768px) {
    .numbers-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; border: none; -webkit-overflow-scrolling: touch; }
    .numbers-grid::-webkit-scrollbar { display: none; }
    .number-card { flex: 0 0 72%; scroll-snap-align: center; padding: 35px 25px; border: 1px solid #eaeff6; border-left: 1px solid #eaeff6 !important; }
    .number-card + .number-card { border-left: 1px solid #eaeff6; }
    .nc-num { font-size: 36px; }
}

/* 강점 리스트 */
.about-section.about-strengths { background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%); }
.strength-list { display: flex; flex-direction: column; gap: 0; }
.strength-item { display: flex; gap: 60px; align-items: flex-start; padding: 50px 0; border-bottom: 1px solid #dce6f0; transition: background var(--dur); }
.strength-item:last-child { border-bottom: none; }
.strength-item:hover { background: rgba(5,47,103,0.02); }
.si-left { flex-shrink: 0; width: 120px; text-align: center; padding-top: 8px; }
.si-num { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 48px; font-weight: 900; color: var(--brand-navy); opacity: 0.35; line-height: 1; margin-bottom: 16px; letter-spacing: -1px; }
.si-bar-wrap { width: 100%; height: 3px; background: #dce6f0; border-radius: 2px; overflow: hidden; }
.si-bar { height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue)); border-radius: 2px; transition: width var(--dur-reveal) var(--ease-out) var(--dur); }
.si-right { flex: 1; }
.si-right h5 { font-size: 24px; font-weight: 900; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.5px; }
.si-right p { font-size: 16px; color: var(--gray-text-dim); line-height: 1.8; word-break: keep-all; margin-bottom: 18px; }
.si-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.si-tags span { font-size: 13px; font-weight: 700; color: var(--brand-navy); border: 1px solid rgba(5,47,103,0.25); padding: 5px 12px; background: rgba(5,47,103,0.04); letter-spacing: 0.3px; transition: all 0.2s; }
.si-tags span:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }

@media (max-width: 768px) {
    .strength-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 10px 15px 25px; -webkit-overflow-scrolling: touch; }
    .strength-list::-webkit-scrollbar { display: none; }
    .strength-item { flex: 0 0 82%; flex-direction: column; scroll-snap-align: center; gap: 20px; padding: 30px 25px; border-bottom: none; border: 1px solid #dce6f0; background: #fff; }
    .si-left { width: 100%; display: flex; align-items: center; gap: 20px; }
    .si-num { margin-bottom: 0; font-size: 36px; }
    .si-bar-wrap { flex: 1; }
    .si-right h5 { font-size: 20px; }
    .si-right p { font-size: 15px; }
}

/* ==========================================================
   29. 위치안내 — 지도 아래 주소박스
   ========================================================== */
.location-info-box { border: 1px solid var(--line); border-top: none; background: #fafbfd; padding: 0; overflow: hidden; max-width: 90%; margin: 32px auto 0; }
.loc-row { display: flex; align-items: center; gap: 16px; padding: 14px 24px; border-bottom: 1px solid #e8eef6; min-height: 64px; }
.loc-row:last-child { border-bottom: none; }
.loc-icon { width: 36px; height: 36px; min-width: 36px; background: var(--brand-navy); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.loc-text { display: flex; flex-direction: row; align-items: center; gap: 12px; flex: 1; }
.loc-label { font-size: 14px; font-weight: 700; color: var(--brand-blue); letter-spacing: 1px; text-transform: uppercase; flex-shrink: 0; min-width: 72px; }
.loc-text strong { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.loc-sub { font-size: 13px; color: #444; font-weight: 600; }
.loc-strong-pc { font-size: 15px; font-weight: 800; color: var(--ink); }
.loc-sub-pc { margin-left: 8px; }
.loc-text-mo { display: none; }
.loc-company-pc { font-size: 15px; font-weight: 800; color: var(--ink); }
.loc-company-mo { display: none; }

@media (max-width: 768px) {
    .loc-row { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
    .loc-icon { width: 32px; height: 32px; min-width: 32px; }
    .loc-text { flex-wrap: wrap; gap: 4px; width: 100%; }
    .loc-text strong { font-size: 13px; }
    .loc-sub { font-size: 11px; }
    .loc-strong-pc { display: none; }
    .loc-sub-pc { display: none; }
    .loc-text-mo { display: flex; flex-direction: column; gap: 3px; width: 100%; margin-top: 4px; }
    .loc-text-mo strong { font-size: 13px; font-weight: 800; color: var(--ink); }
    .loc-company-pc { display: none; }
    .loc-company-mo { display: inline; font-size: 13px; font-weight: 800; color: var(--ink); }
    .loc-text-mo .loc-sub { font-size: 11px; margin-left: 0; }
    .location-info-box { max-width: 100%; }
}

/* ==========================================================
   30. 회사소개 인트로 박스
   ========================================================== */
.about-intro-section { margin-bottom: 0; padding: 0; }
.about-intro-bg {
    position: relative;
    background: linear-gradient(135deg, #06152b 0%, #0a2448 45%, #071e3d 100%);
    padding: 100px 60px; overflow: hidden; text-align: center;
}
.about-intro-bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px; pointer-events: none;
}
.about-intro-bg::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(180,150,80,0.4) 20%, rgba(220,190,110,0.9) 50%, rgba(180,150,80,0.4) 80%, transparent 100%);
}
.about-intro-watermark {
    position: absolute; right: -20px; bottom: -60px; font-size: 280px; font-weight: 700; font-family:'Noto Serif KR', serif;
    color: rgba(255,255,255,0.025); line-height: 1; letter-spacing: -10px;
    pointer-events: none; user-select: none;  /* 워터마크 三正: 명조체(서브셋) 적용 */
}
.about-intro-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.about-intro-label-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 28px; }
.about-intro-line { flex: 1; max-width: 80px; height: 1px; background: linear-gradient(90deg, transparent, rgba(180,150,80,0.7)); }
.about-intro-label-row .about-intro-line:last-child { background: linear-gradient(90deg, rgba(180,150,80,0.7), transparent); }
.about-intro-label { font-size: 11px; font-weight: 700; color: rgba(180,150,80,0.9); letter-spacing: 4px; text-transform: uppercase; }
.about-intro-title { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.3; letter-spacing: -1.5px; margin-bottom: 20px; word-break: keep-all; }
.about-intro-desc { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 0; word-break: keep-all; }

@media (max-width: 768px) {
    .about-intro-bg { padding: 60px 24px; }
    .about-intro-title { font-size: 28px; }
    .about-intro-desc { font-size: 15px; }
    .about-intro-watermark { font-size: 160px; right: -10px; bottom: -30px; }
}

/* ==========================================================
   31. 폼 유효성 검사 스타일
   ========================================================== */
.input-field.field-error input,
.input-field.field-error textarea {
    border-color: #e03131 !important; background: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(224,49,49,0.1);
    animation: shake var(--dur) var(--ease-inout);
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}
.error-msg { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #e03131; letter-spacing: -0.2px; }
.error-msg::before { content: '⚠ '; font-size: 11px; }

/* 이메일 dc-card strong 폰트 통일 */
#email-dc-card .dc-text strong,
#email-dc-card .dc-text strong .cf-email-reveal {
    font-size: 20px; font-weight: 800; color: var(--ink); word-break: break-all; line-height: 1.2;
}

/* ==========================================================
   32. 프로젝트 게시물 내부 네비게이션
   ========================================================== */
html.is-sub-page .article-wrap { padding-top: 52px; }


/* ==========================================================
   33. 게시물 공유·출력 버튼
   ========================================================== */

/* ==========================================================
   34. 인쇄·PDF 최적화
   ========================================================== */
@media print {
    /* 일반 페이지(홈·서브) 여백 */
    @page { size: A4 portrait; margin: 18mm 14mm; }
    *, *::before, *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        animation: none !important; transition: none !important; box-shadow: none !important;
    }
    body { background: #fff !important; color: var(--ink) !important; font-size: 10pt !important; line-height: 1.6 !important; opacity: 1 !important; }
    .header, .mobile-menu-toggle, .mobile-overlay, .mobile-dim,
    .hero-slider-wrap, .hero-nav, .hero-scroll-indicator,
    .section-stats, .section-vision-cta, .section-projects,
    .section-latest-news,
    .pre-footer-section, .footer,
    #scrollProgressBar, #scrollToTop,
    .messenger-buttons,
    .btn-mail-submit, .support-tabs, .page-nav-divider, .tab-btn,
    #samjung-toast, .swiper-pagination, .process-arrow,
    .gallery-item .overlay, .biz-cta-section,
    .biz-flow-section, .map-wrap, .panel-map-wrap,
    [data-aos] { display: none !important; }

    /* 일반 페이지 인쇄 헤더·푸터 */
    body::before {
        content: '(주)삼정엔지니어링\00A0\00B7\00A0Tel. 041-555-8900\00A0\00B7\00A0충청남도 천안시 서북구 검은들3길 34, 403호';
        display: block; font-size: 8.5pt; color: var(--gray-text-dim);
        border-bottom: 2px solid var(--brand-navy); padding-bottom: 7px; margin-bottom: 18px; letter-spacing: 0.2px;
    }
    body::after {
        content: 'www.samjungeng.co.kr';
        display: block; font-size: 8.5pt; color: #999;
        text-align: right; border-top: 1px solid #ddd; padding-top: 7px; margin-top: 18px;
    }

    #sub-content { background: #fff !important; padding: 0 !important; min-height: auto !important; }
    #sub-content::before { display: none !important; }
    .subpage-hero { height: auto !important; background-image: none !important; background: var(--brand-navy) !important; padding: 16px 20px !important; margin-bottom: 20px; }
    .subpage-hero .hero-overlay-dark { display: none !important; }
    .subpage-hero h2 { color: #fff !important; font-size: 18pt !important; opacity: 1 !important; transform: none !important; }
    .subpage-hero .eng-title-sm { color: #aad4ff !important; opacity: 1 !important; transform: none !important; }

    .about-intro-bg { background: var(--brand-navy) !important; padding: 20px 30px !important; }
    .about-intro-title { color: #fff !important; font-size: 18pt !important; }
    .about-intro-desc  { color: rgba(255,255,255,0.8) !important; font-size: 10pt !important; }
    .about-intro-watermark { display: none !important; }

    .ceo-content-flex { flex-direction: row !important; gap: 24px !important; align-items: flex-start !important; }
    .ceo-image { max-width: 160px !important; min-width: 160px !important; }
    .ceo-image img { max-height: 200px !important; object-fit: cover !important; }
    .ceo-quote { font-size: 11pt !important; }
    .ceo-text p { font-size: 9.5pt !important; margin-bottom: 10px !important; }
    .premium-page-wrap { padding: 16px 0 !important; }

    .values-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; overflow: visible !important; }
    .value-card { border: 1px solid #ddd !important; padding: 14px !important; page-break-inside: avoid; flex: none !important; }
    .value-title { font-size: 11pt !important; }
    .value-desc  { font-size: 9pt !important; }
    .value-num   { display: none !important; }

    .numbers-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; overflow: visible !important; border: 1px solid #ddd !important; }
    .number-card { border: none !important; border-right: 1px solid #ddd !important; padding: 14px !important; page-break-inside: avoid; flex: none !important; }
    .nc-num { font-size: 20pt !important; }
    .nc-label { font-size: 9pt !important; }
    .nc-desc  { font-size: 8.5pt !important; }

    .biz-intro { padding: 16px 20px !important; }
    .biz-intro-title { font-size: 16pt !important; color: #fff !important; }
    .biz-intro-desc  { font-size: 9.5pt !important; color: rgba(255,255,255,0.8) !important; }
    .biz-premium-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; overflow: visible !important; padding: 0 !important; width: 100% !important; }
    .biz-premium-grid > .biz-p-card:nth-child(1),
    .biz-premium-grid > .biz-p-card:nth-child(2),
    .biz-premium-grid > .biz-p-card:nth-child(3),
    .biz-premium-grid > .biz-p-card:nth-child(4),
    .biz-premium-grid > .biz-p-card:nth-child(5) { grid-column: auto !important; grid-row: auto !important; }
    .biz-p-card { display: block !important; flex: none !important; width: auto !important; border: 1px solid #ddd !important; border-left: 3px solid var(--brand-navy) !important; background: #fff !important; padding: 14px 16px !important; page-break-inside: avoid; transform: none !important; scroll-snap-align: none !important; }
    .biz-p-card .img-box { display: none !important; }
    .biz-p-card .txt-box { padding: 0 !important; }
    .biz-p-card .num { font-size: 8pt !important; color: var(--brand-blue) !important; font-weight: 700 !important; letter-spacing: 1px !important; display: block !important; margin-bottom: 4px !important; }
    .biz-p-card h4 { font-size: 12pt !important; font-weight: 800 !important; color: var(--brand-navy) !important; margin-bottom: 6px !important; letter-spacing: -0.3px !important; }
    .biz-p-card p { font-size: 8.5pt !important; color: #444 !important; line-height: 1.5 !important; margin-bottom: 6px !important; }
    .biz-detail-list { padding-left: 12px !important; margin-top: 6px !important; padding-top: 6px !important; gap: 4px !important; }
    .biz-detail-list li { font-size: 8.5pt !important; color: #444 !important; line-height: 1.5 !important; padding-left: 14px !important; }

    .consult-form-container { page-break-inside: avoid; }
    .mail-form-card { border: 1px solid #ddd !important; padding: 16px !important; }
    .form-header h4 { font-size: 13pt !important; }
    .input-field input, .input-field textarea { border: 1px solid #ccc !important; background: #fff !important; }
    .location-info-box { display: block !important; }
    .faq-item { page-break-inside: avoid; }
    .faq-q { font-size: 10pt !important; padding: 12px 10px 8px !important; }
    .faq-a { font-size: 9pt !important; padding: 0 10px 14px 36px !important; }

    a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 7.5pt; color: #aaa; }
    a[href^="tel"]::after, a[href^="mailto"]::after, a[href^="/"]::after { content: none !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}
/* ==========================================================
   35. 모바일 터치기기 .tag sticky hover 방지
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
    .tag:hover { background: #052f67; color: #fff; border-color: #052f67; }
}
@media (hover: none) {
    .tag { transition: none; }
    .tag:hover { background: rgba(5,47,103,0.04); color: #052f67; border-color: rgba(5,47,103,0.25); }
}
/* (전체보기 카테고리 쇼케이스(시스템B) CSS 제거: 마크업 미배포 0건 매칭 죽은코드, audit CSS-1) */

/* 푸터 회사명 줄간격 */
.ft-corp { display: inline; }
@media (max-width: 768px) {
    .ft-corp { display: block; margin-top: 6px; }
}

/* 정적 배포 보정 */
.header-search s_search { display: flex; align-items: center; }

/* ==================================================================
   통합안 4사이트 override — 원본 마크업 위에 레이아웃·스타일만 변경
   (헤더/푸터/본문 문구·구조 불변. 여기 아래 규칙으로만 디자인 조정)
   ================================================================== */

/* --- [1] 상단바: vaso식 (히어로 위 투명+흰글씨, 메뉴 우측 정렬) --- */
.header:not(.scrolled){ background:transparent; border-bottom-color:transparent; }
.header:not(.scrolled) .logo a,
.header:not(.scrolled) .logo-text{ color:#fff; }
.header:not(.scrolled) .logo-eng{ color:rgba(255,255,255,.82); }
.header:not(.scrolled) .gnb>ul>li>a{ color:#fff; }
.header:not(.scrolled) .gnb>ul>li>a::after{ background:#fff; }
.header:not(.scrolled) .header-search{ border-bottom-color:rgba(255,255,255,.7); }
.header:not(.scrolled) .header-search input{ color:#fff; }
.header:not(.scrolled) .header-search input::placeholder{ color:rgba(255,255,255,.7); }
.header:not(.scrolled) .header-search button{ color:#fff; }
.header:not(.scrolled) .mobile-menu-toggle .bar{ background-color:#fff; }
/* 메뉴를 오른쪽으로 정렬 (로고 좌 · 메뉴+검색 우) */
.header-inner{ justify-content:flex-start; }
.gnb{ margin-left:auto; }
.header-util{ margin-left:44px; }

/* --- [2] 히어로: 헤더 뒤 풀스크린 보정 (swiper 슬라이드 height 미달 → 상단 흰 공간 제거) --- */
.heroSwiper .swiper-slide{ height:100vh !important; min-height:600px; }
.heroSwiper .swiper-wrapper{ height:100vh !important; min-height:600px; }
.heroSwiper .slide-bg{ height:100% !important; }
.hero-slider-wrap{ background:transparent; }
.hero-slider-wrap{ padding-top:0 !important; }

/* --- [3] 헤더-히어로 구분: A 상단 그라데이션 + B 위계 --- */
.header:not(.scrolled){ background:linear-gradient(180deg, rgba(4,12,28,.5) 0%, rgba(4,12,28,.14) 55%, transparent 100%) !important; border-bottom-color:transparent !important; }
.slide-title{ text-shadow:0 4px 26px rgba(0,0,0,.55); }
/* 영↔한 전환 시 메뉴 폭(=중심점) 불변: 글자 굵기·자간을 두 상태 동일하게 고정 → 좌우 밀림 제거 */
.gnb>ul>li>a{ font-weight:500; letter-spacing:.03em; }

/* --- [4] 로고 영<->한 전환 (최상단 SAMJUNG, 스크롤 시 한글상호+영문) --- */
.header:not(.scrolled) .logo-text{ opacity:0 !important; max-height:0 !important; visibility:hidden !important; margin:0 !important; }
.header:not(.scrolled) .logo-eng{ opacity:0 !important; max-height:0 !important; visibility:hidden !important; margin:0 !important; }
.header:not(.scrolled) .logo-samjung{ opacity:1 !important; max-height:40px !important; visibility:visible !important; color:#fff !important; padding-left:0 !important; }
.header.scrolled .logo-text{ opacity:1 !important; max-height:40px !important; visibility:visible !important; }
.header.scrolled .logo-eng{ opacity:1 !important; max-height:20px !important; visibility:visible !important; }
.header.scrolled .logo-samjung{ opacity:0 !important; max-height:0 !important; visibility:hidden !important; }

/* --- 구분선 제거 -> 음영(부드러운 그림자) --- */
.header{ border-bottom:none !important; }
.header.scrolled{ box-shadow:0 8px 28px rgba(0,0,0,.07) !important; }

/* --- [2] 검색: 돋보기만 보이다 클릭 시 밑줄 길어지며 입력창 등장 --- */
.header-search{ border-bottom:none !important; }
.header-search input{ width:0 !important; padding:0 !important; opacity:0; border-bottom:2px solid transparent; transition:width var(--dur) var(--ease-out), opacity var(--dur), border-color var(--dur); }
.header-search.open input{ width:190px !important; opacity:1; border-bottom-color:currentColor; padding-bottom:4px !important; }
.header:not(.scrolled) .header-search.open input{ border-bottom-color:rgba(255,255,255,.85); }

/* --- [3] 메뉴 영<->한 전환 (최상단 영문, 스크롤 한글, 크로스페이드) ---
   영<->한 라벨을 같은 grid 셀에 겹쳐 둘 다 중앙 정렬 → 전환 시 중심 일치(불일치 모션 제거).
   앵커 폭 = 더 넓은 라벨 기준으로 고정되어 크로스페이드 중 위치 흔들림 없음. */
.gnb > ul > li > a{ position:relative; display:grid; place-items:center; }
.gnb .g-en, .gnb .g-ko{ grid-area:1 / 1; white-space:nowrap; transition:opacity var(--dur); }
.gnb .g-en{ opacity:0; }
.header:not(.scrolled) .gnb .g-ko{ opacity:0; }
.header:not(.scrolled) .gnb .g-en{ opacity:1; }
.header.scrolled .gnb .g-ko{ opacity:1; }
.header.scrolled .gnb .g-en{ opacity:0; }

/* === 헤더 디테일 보정 === */
/* 1. 스크림: 헤더 박스에서 분리 → 헤더보다 길게 늘여 이징으로 0까지 완전 소멸 (경계선 제거) */
.header:not(.scrolled){ background:transparent !important; }
.header:not(.scrolled)::before{ content:""; position:absolute; inset:0 0 auto 0; height:200px; pointer-events:none; background:linear-gradient(180deg, rgba(4,12,28,.66) 0%, rgba(4,12,28,.60) 12%, rgba(4,12,28,.50) 25%, rgba(4,12,28,.38) 39%, rgba(4,12,28,.26) 54%, rgba(4,12,28,.15) 69%, rgba(4,12,28,.07) 83%, rgba(4,12,28,0) 100%) !important; }
/* 1b. 스크림 완화분 가독성 보강: 헤더 글자 옅은 그림자 */
.header:not(.scrolled) .logo a, .header:not(.scrolled) .logo-samjung, .header:not(.scrolled) .gnb>ul>li>a, .header:not(.scrolled) .header-search button, .header:not(.scrolled) .header-search input, .header:not(.scrolled) .header-search input::placeholder{ text-shadow:0 1px 10px rgba(4,12,28,.38); }
/* 4. 메뉴 간격 더 넓게 (우측 검색 고정 -> 왼쪽으로 확장) */
.gnb ul{ gap:70px !important; }
/* 3. 전환 잔상 줄이기 (opacity 빠르게 통일) */
.logo-text, .logo-eng, .logo-samjung{ transition: opacity var(--dur) ease, max-height var(--dur) ease, visibility var(--dur) !important; }
.gnb .g-ko, .gnb .g-en{ transition: opacity .22s ease !important; }
/* 검은(스크롤 후) 한글 메뉴 또렷하게 — 흰 글자 대비 시각무게 보정 (2026-06-24) */
.gnb .g-ko{ font-weight:600; }
.gnb > ul > li > a.gnb-active .g-ko{ font-weight:800; }

/* === 로고/메뉴 전환: 겹침 방식으로 위치·폭 고정 (전환 시 안 움직임) === */
/* 로고: 한글 폭 자리 유지 + SAMJUNG 그 안 가운데 */
.logo-text-wrap{ position:relative !important; }
.logo-text, .logo-eng{ max-height:none !important; margin:0 !important; transition:opacity var(--dur) ease !important; }
.header:not(.scrolled) .logo-text, .header:not(.scrolled) .logo-eng{ opacity:0 !important; visibility:hidden !important; }
.header.scrolled .logo-text, .header.scrolled .logo-eng{ opacity:1 !important; visibility:visible !important; }
.logo-samjung{ position:absolute !important; left:0 !important; right:0 !important; top:50% !important; transform:translateY(-50%) !important; text-align:center !important; max-height:none !important; padding-left:0 !important; margin:0 !important; transition:opacity var(--dur) ease !important; }
.header:not(.scrolled) .logo-samjung{ opacity:1 !important; visibility:visible !important; }
.header.scrolled .logo-samjung{ opacity:0 !important; visibility:hidden !important; }
/* 메뉴: 한글/영문 같은 칸에 겹쳐 폭=둘 중 넓은 것, 가운데 */
.gnb > ul > li > a{ display:grid !important; place-items:center !important; }
.gnb .g-ko, .gnb .g-en{ grid-area:1 / 1 !important; position:static !important; transform:none !important; left:auto !important; top:auto !important; white-space:nowrap; transition:opacity .22s ease !important; }
.header:not(.scrolled) .gnb .g-ko{ opacity:0 !important; }
.header:not(.scrolled) .gnb .g-en{ opacity:1 !important; }
.header.scrolled .gnb .g-ko{ opacity:1 !important; }
.header.scrolled .gnb .g-en{ opacity:0 !important; }

/* === 우측 세로 섹션 네비 (서연이화식) === */
.side-nav{ position:fixed; right:30px; top:50%; transform:translateY(-50%); z-index:9000; display:flex; flex-direction:column; align-items:flex-end; gap:15px; }
.side-nav a{ display:inline-flex; align-items:center; gap:11px; font-family:'Barlow Condensed',sans-serif; font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:rgba(20,24,31,.4); transition:color var(--dur); }
.side-nav a .sn-dot{ width:7px; height:7px; border-radius:50%; border:1.5px solid currentColor; transition:all var(--dur); flex-shrink:0; }
.side-nav a:hover{ color:var(--brand-navy); }
.side-nav a.active{ color:var(--brand-navy); font-weight:800; }
.side-nav a.active .sn-dot{ background:var(--brand-blue); border-color:var(--brand-blue); transform:scale(1.25); }
.side-nav.on-dark a{ color:rgba(255,255,255,.5); text-shadow:0 1px 6px rgba(0,0,0,.35); }
.side-nav.on-dark a:hover, .side-nav.on-dark a.active{ color:#fff; }
.side-nav.on-dark a.active .sn-dot{ background:var(--brand-blue); border-color:var(--brand-blue); }
@media (max-width:1024px){ .side-nav{ display:none; } }

/* === 우측네비 폰트(Pretendard)/위치 재조정 + 화살표 겹침 해결 === */
.side-nav{ right:46px !important; gap:19px !important; }
.side-nav a{ font-family:'Pretendard Variable',-apple-system,sans-serif !important; font-size:12px !important; font-weight:600 !important; letter-spacing:.06em !important; }
.side-nav a.active{ font-weight:700 !important; }
/* 히어로 좌우 슬라이드 화살표를 우측네비와 안 겹치게 안쪽으로 */
.hero-prev{ left:36px !important; }
.hero-next{ right:120px !important; }

/* 우측네비 정렬 변경: 동그라미를 문자 왼쪽 + 왼쪽 정렬 */
.side-nav{ align-items:flex-start !important; }
.side-nav a{ flex-direction:row !important; }
.side-nav a .sn-dot{ order:-1 !important; }

/* === 섹션 제목 밑줄 통일 (80px · navy) === */
.principle-line{ width:80px !important; }
.vision-title::after{ background:var(--brand-navy) !important; }

/* A: 히어로 좌우 화살표 제거 (우측 세로네비와 충돌 해소) — 슬라이드는 자동전환·클릭·하단 도트로 유지 */
.hero-prev, .hero-next{ display:none !important; }

/* 우측 세로 네비를 안쪽으로 이동 (가장자리에서 더 떨어뜨림) */
.side-nav{ right:80px !important; }

/* 우측네비 가독성 개선: 비활성 색 진하게 + 다크 섹션 그림자 (배경 무관 또렷) */
.side-nav a{ color:rgba(20,24,31,.6) !important; }
.side-nav a.active{ color:var(--brand-navy) !important; }
.side-nav.on-dark a{ color:rgba(255,255,255,.72) !important; text-shadow:0 1px 8px rgba(0,0,0,.5) !important; }
.side-nav.on-dark a.active{ color:#fff !important; }

/* === 프로젝트 목록 페이지 (희림식 필터 + 4열 그리드) === */
.proj-list-sec{ padding:60px 0 100px; }
.proj-grid-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.proj-card2{ display:block; background:#fff; border:1px solid var(--gray-line); border-radius:4px; overflow:hidden; transition:transform var(--dur), box-shadow var(--dur); }
.proj-card2:hover{ transform:translateY(var(--lift-card)); box-shadow:var(--shadow-card); }
.pc2-img{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.pc2-img img{ width:100%; height:100%; object-fit:cover; transition:transform var(--dur-slow); }
.proj-card2:hover .pc2-img img{ transform:scale(1.06); }
.pc2-body{ padding:18px 20px 22px; }
.pc2-body h3{ font-size:var(--fs-lead); font-weight:500; line-height:1.4; letter-spacing:-.01em; word-break:keep-all; }   /* 크기 토큰화: 1.05rem→--fs-lead (2026-06-24) */
.pc2-body p{ margin-top:10px; font-size:.85rem; color:var(--gray-text-sub); }
@media (max-width:1100px){ .proj-grid-list{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){ .proj-grid-list{ grid-template-columns:repeat(2,1fr); } }

/* 프로젝트 카드 희림식: 사진 위 정보 오버레이 + 호버 시 메타 등장 */
.proj-grid-list{ gap:16px !important; }
.proj-card2{ position:relative; border:none !important; border-radius:3px; aspect-ratio:4 / 3.1; background:var(--gray-bg-deep); }
.proj-card2:hover{ box-shadow:var(--shadow-card-lg) !important; }
.pc2-img{ position:absolute !important; inset:0; aspect-ratio:auto !important; }
.pc2-img::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 38%,rgba(5,18,40,.35) 62%,rgba(5,18,40,.9)); transition:background var(--dur); }
.proj-card2:hover .pc2-img::after{ background:linear-gradient(180deg,rgba(5,18,40,.1),rgba(5,18,40,.55) 55%,rgba(5,18,40,.95)); }
.pc2-body{ position:absolute; inset:auto 0 0 0; z-index:2; padding:0 20px 20px; background:none !important; }
.pc2-body h3{ color:#fff !important; font-size:var(--fs-lead); }   /* 크기 토큰화 (2026-06-24) */
/* 다양형·정사각형(이미지 오버레이) 제목: 긴 제목 2줄까지 줄바꿈 후 …말줄임(카드 밖 잘림 방지) */
.proj-grid-list:not(.is-list) .pc2-body h3{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
.pc2-body p{ color:rgba(255,255,255,.82) !important; opacity:0; max-height:0; overflow:hidden; transition:opacity var(--dur), max-height var(--dur), margin var(--dur); margin:0; }
.proj-card2:hover .pc2-body p{ opacity:1; max-height:48px; margin-top:8px; }
/* 카드 위치(주소): 기본 숨김 → 카드에 마우스 올릴 때 등장 (리스트 뷰 제외, 사용자 요청) */
.proj-grid-list:not(.is-list) .pc2-loc{ opacity:0; max-height:0; overflow:hidden; margin-bottom:0; transition:opacity var(--dur) ease, max-height var(--dur) ease, margin-bottom var(--dur) ease; }
.proj-grid-list:not(.is-list) .proj-card2:hover .pc2-loc{ opacity:1; max-height:1.4em; margin-bottom:4px; }

/* === 프로젝트 다축 필터 (분류x지역x연도) + 정렬 + 이미지/목록 토글 === */
.pf-opts{ display:flex; flex-wrap:wrap; gap:8px; }
.pf-opts button{ padding:7px 16px; border:1px solid var(--gray-line); background:#fff; border-radius:999px; font-size:13.5px; font-weight:500; color:var(--gray-text-dim); cursor:pointer; transition:all var(--dur); }
.pf-opts button:hover{ border-color:var(--brand-navy); color:var(--brand-navy); }
.pf-opts button.active{ background:var(--brand-navy); color:#fff; border-color:var(--brand-navy); }
.proj-toolbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.proj-tools{ display:flex; align-items:center; gap:10px; }
.proj-tools select{ height:38px; padding:0 14px; border:1px solid var(--gray-line); border-radius:4px; font-size:14px; color:var(--ink); background:#fff; }
.pv-btn{ width:38px; height:38px; border:1px solid var(--gray-line); background:#fff; border-radius:4px; cursor:pointer; font-size:18px; line-height:1; color:var(--gray-text-sub); display:inline-flex; align-items:center; justify-content:center; }
.pv-btn svg{ display:block; }
.pv-btn.active{ background:var(--brand-navy); color:#fff; border-color:var(--brand-navy); }
.proj-empty{ grid-column:1 / -1; text-align:center; padding:80px 0; color:var(--gray-text-sub); }
.pc2-loc{ display:block; font-size:12px; color:rgba(255,255,255,.82); margin-bottom:4px; }
.proj-grid-list.is-list{ grid-template-columns:1fr !important; gap:0; }
.proj-grid-list.is-list .proj-card2{ aspect-ratio:auto; display:flex; border-bottom:1px solid var(--gray-line); border-radius:0; background:#fff; }
.proj-grid-list.is-list .proj-card2:hover{ box-shadow:none !important; transform:none; background:var(--gray-bg); }
.proj-grid-list.is-list .pc2-img{ position:relative !important; width:220px; flex-shrink:0; aspect-ratio:4 / 3; }
.proj-grid-list.is-list .pc2-img::after{ display:none; }
.proj-grid-list.is-list .pc2-body{ position:relative; padding:22px 26px; display:flex; flex-direction:column; justify-content:center; }
.proj-grid-list.is-list .pc2-loc{ color:var(--gray-text-sub); }
.proj-grid-list.is-list .pc2-body h3{ color:var(--ink) !important; }
.proj-grid-list.is-list .pc2-body p{ color:var(--gray-text-sub) !important; opacity:1 !important; max-height:none !important; margin-top:6px !important; }
@media (max-width:768px){ .proj-grid-list.is-list .pc2-img{ width:130px; } }

/* === 프로젝트 3뷰: 다양형(메이슨리) / 정사각형 / 리스트 === */
/* 다양형 — 카드 높이 사진 원본 비율 (메이슨리) */
.proj-grid-list.is-masonry{ display:block; column-count:4; column-gap:14px; }
.proj-grid-list.is-masonry .proj-card2{ break-inside:avoid; margin:0 0 14px; aspect-ratio:auto !important; position:relative; display:block; width:100%; }
.proj-grid-list.is-masonry .pc2-img{ position:relative !important; inset:auto !important; aspect-ratio:auto !important; }
.proj-grid-list.is-masonry .pc2-img img{ position:relative; width:100%; height:auto; }
/* 정사각형 — 5열 균일 1:1 */
.proj-grid-list.is-square{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.proj-grid-list.is-square .proj-card2{ aspect-ratio:1 / 1 !important; }
/* 리스트 — 2열 작은 썸네일 + 위치/제목 */
.proj-grid-list.is-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 36px; }
.proj-grid-list.is-list .proj-card2{ aspect-ratio:auto !important; display:flex; align-items:center; gap:16px; border-bottom:1px solid var(--gray-line); border-radius:0; background:none; padding:14px 4px; }
.proj-grid-list.is-list .proj-card2:hover{ box-shadow:none !important; transform:none; background:var(--gray-bg); }
.proj-grid-list.is-list .pc2-img{ position:relative !important; inset:auto !important; width:100px; height:74px; flex-shrink:0; aspect-ratio:auto !important; border-radius:3px; overflow:hidden; }
.proj-grid-list.is-list .pc2-img::after{ display:none; }
.proj-grid-list.is-list .pc2-body{ position:relative; inset:auto; padding:0; }
.proj-grid-list.is-list .pc2-loc{ color:var(--gray-text-sub); margin-bottom:2px; }
.proj-grid-list.is-list .pc2-body h3{ color:var(--ink) !important; font-size:var(--fs-body); }   /* 리스트 제목 토큰화 (2026-06-24) */
.proj-grid-list.is-list .pc2-body p{ display:none; }
@media (max-width:1100px){ .proj-grid-list.is-masonry{ column-count:3; } .proj-grid-list.is-square{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:768px){ .proj-grid-list.is-masonry{ column-count:2; } .proj-grid-list.is-square{ grid-template-columns:repeat(3,1fr); } .proj-grid-list.is-list{ grid-template-columns:1fr; } }

/* 다양형 재구성 (2026-07-03): 10열 직사각(세로 72%≈1.4:1) 격자 + 맞물림 크기(기본 2x2·가로 4x2·세로 2x4·큰 4x4, 짝수 배수) + JS 빈칸채움(1칸).
   직사각 행높이(grid-auto-rows=colW*0.72)와 각 카드의 정확한 배치는 JS(layoutMasonry)가 인라인으로 덮음. 아래는 no-JS/첫 페인트 폴백. */
.proj-grid-list.is-masonry{ display:grid !important; grid-template-columns:repeat(10,1fr); grid-auto-rows:90px; gap:14px; grid-auto-flow:dense !important; column-count:auto !important; }
.proj-grid-list.is-masonry .proj-card2{ aspect-ratio:auto !important; margin:0 !important; width:auto !important; }
.proj-grid-list.is-masonry .pc2-img{ position:absolute !important; inset:0 !important; aspect-ratio:auto !important; }
.proj-grid-list.is-masonry .pc2-img img{ position:absolute !important; width:100% !important; height:100% !important; object-fit:cover; }
/* 크기 클래스 폴백 span — 강대비: 기본 2x2 / 가로 4x2 / 세로 2x4 / 큰 4x4 */
.proj-grid-list.is-masonry .proj-card2{ grid-column:span 2; grid-row:span 2; }
.proj-grid-list.is-masonry .proj-card2.wide{ grid-column:span 4; grid-row:span 2; }
.proj-grid-list.is-masonry .proj-card2.tall{ grid-column:span 2; grid-row:span 4; }
.proj-grid-list.is-masonry .proj-card2.big{ grid-column:span 4; grid-row:span 4; }
@media (max-width:1100px){ .proj-grid-list.is-masonry{ grid-template-columns:repeat(8,1fr); } }
@media (max-width:768px){ .proj-grid-list.is-masonry{ grid-template-columns:repeat(6,1fr); grid-auto-rows:64px; } }

/* 다양형 빈칸채움 — JS가 빈 셀을 계산해 크고작은 박스로 메워 정사각 격자를 완성(다채로운 모자이크) */
.proj-filler{ display:none; }
.proj-grid-list.is-masonry .proj-filler{ display:block; border-radius:0; background:rgba(5,47,103,.045); }
.proj-grid-list.is-masonry .proj-filler:nth-of-type(2n){ background:rgba(5,47,103,.075); }


/* ======================== 폰트 규칙: 숫자·단위·기호는 Pretendard (Barlow는 순수 영문 라벨/제목 전용) ======================== */
.stat-num, .flow-num, .nc-num, .si-num{ font-family:'Pretendard Variable',-apple-system,BlinkMacSystemFont,sans-serif !important; text-transform:none !important; font-variant-numeric:tabular-nums; }   /* 숫자 자릿수 정렬 (2026-06-24) */
/* 숫자 자릿수 정렬 — 카드 면적·연도·카운트 */
.pc2-body p{ font-variant-numeric:tabular-nums; }
.stat-num{ letter-spacing:-.01em !important; }
.flow-num, .nc-num, .si-num{ letter-spacing:-.02em !important; }

/* ======================== 타이포 스케일 토큰 (8단계 — 모든 페이지 공통 참조) ======================== */
:root{
  --fs-display: clamp(34px, 5vw, 56px);   /* 히어로 슬로건 */
  --fs-h1:      clamp(28px, 3.2vw, 40px); /* 페이지·상세 대제목 */
  --fs-h2:      clamp(22px, 2.4vw, 28px); /* 섹션·블록 제목 */
  --fs-h3:      20px;                      /* 카드·소제목 */
  --fs-lead:    18px;                      /* 리드·부제 */
  --fs-body:    16px;                      /* 본문 */
  --fs-sm:      14px;                      /* 보조·버튼 */
  --fs-cap:     13px;                      /* 라벨·캡션 */
}
/* 유틸 클래스(원하면 직접 사용) — 실제로는 각 컴포넌트가 var(--fs-*)를 참조 */
.ts-display{ font-size:var(--fs-display); font-weight:900; letter-spacing:-.02em; line-height:1.12; }
.ts-h1{ font-size:var(--fs-h1); font-weight:900; letter-spacing:-.02em; line-height:1.2; }
.ts-h2{ font-size:var(--fs-h2); font-weight:800; letter-spacing:-.01em; }
.ts-h3{ font-size:var(--fs-h3); font-weight:800; }
.ts-lead{ font-size:var(--fs-lead); font-weight:500; }
.ts-body{ font-size:var(--fs-body); font-weight:400; }
.ts-sm{ font-size:var(--fs-sm); font-weight:500; }
.ts-cap{ font-size:var(--fs-cap); font-weight:600; }

/* ======================== 목록(project.html) 통일 — 상세와 같은 톤 ======================== */
/* 페이지 히어로: 다크 풀폭 → 흰 제목블록(상세 톤) */
/* 필터 칩·뷰버튼: 알약(999) → 각진 3px (각진 엔지니어링 톤) */
.pf-opts button{ border-radius:3px !important; font-size:var(--fs-cap) !important; }
.pv-btn{ border-radius:3px !important; }

/* ======================== 홈(index.html) 통일 — 섹션 제목 8단계 수렴 (원본 구성·문구 유지) ======================== */
.eng-title{ font-size:var(--fs-display) !important; }
.principle-title, .vision-title, .pf-title{ font-size:var(--fs-h1) !important; }
.p-text-block h3, .panel-sub-title{ font-size:var(--fs-h2) !important; }
.news-card .news-title, .process-card .txt-box h4{ font-size:var(--fs-h3) !important; }

/* ======================== 상세 subpage-hero 통일 (목록 링크 위치 + 제목 폭) ======================== */

/* ======================== subpage-hero 최종 (중복 override·미사용 #pdHero 규칙 정리 — 렌더 동일 유지, audit CSS-01) ======================== */
.subpage-hero{ align-items:center !important; }
.subpage-hero .hero-overlay-dark{ background:rgba(5,12,28,.06) !important; }
.subpage-hero .hero-text-box{ text-align:center !important; margin:44px auto 0 !important; padding:0 24px !important; max-width:none !important; width:auto !important; background:none !important; }
.subpage-hero .eng-title-sm, .subpage-hero h2{ text-align:center !important; max-width:1180px !important; margin-left:auto !important; margin-right:auto !important; padding-left:40px !important; padding-right:40px !important; }
.subpage-hero .eng-title-sm{ margin-bottom:8px !important; }
@media (max-width:680px){ .subpage-hero .eng-title-sm, .subpage-hero h2{ padding-left:20px !important; padding-right:20px !important; } }

/* ======================== 도화식 본문 헤드블록 (프로젝트명 흰배경 검정 + 해시태그 — 100% 가독) ======================== */

/* ======================== 상단 히어로 ↔ 본문 구분 띠 (브레드크럼 바, 도화 탭바 역할) ======================== */
.pd-navbar{ background:#fff; border-bottom:1px solid var(--gray-line); box-shadow:0 5px 16px rgba(5,18,40,.05); position:relative; z-index:5; }
.pd-navbar .inner{ max-width:1180px; margin:0 auto; padding:0 40px; height:56px; display:flex; align-items:center; }
@media(max-width:680px){ .pd-navbar .inner{ padding:0 20px; height:48px; } }

/* ======================== 서브페이지 본문 제목 8단계 통일 (목록·상세와 위계 일치) ======================== */
/* 회사소개 */
.about-intro-title{ font-size:var(--fs-h1) !important; }
.about-section-title{ font-size:var(--fs-h2) !important; }
.value-title{ font-size:var(--fs-h3) !important; }
/* 사업분야 */
.biz-intro-title, .biz-cta-title{ font-size:var(--fs-h1) !important; }


/* ======================== 목록 필터: 분류 버튼만 (가운데 가로 배치, 지역·연도·개수 삭제) ======================== */

/* ======================== 4. 전체 정리 (1): 회사소개 금색 라벨/라인 → 삼정 blue, 서브페이지 우측네비 숨김 ======================== */
.about-intro-label{ color:rgba(0,168,255,.9) !important; }
.about-intro-line{ background:linear-gradient(90deg, transparent, rgba(0,168,255,.6)) !important; }
.about-intro-label-row .about-intro-line:last-child{ background:linear-gradient(90deg, rgba(0,168,255,.6), transparent) !important; }
html.is-sub-page #sideNav{ display:none !important; }

/* ======================== 목록 필터 재정리: 왼쪽 메뉴식 + 위아래 선 제거 + 버튼/카드 위계 ======================== */
/* 카드 제목 위계 17→18 */
.pc2-body h3{ font-size:var(--fs-lead) !important; font-weight:500; }   /* 카드 제목 800→500 (사용자 승인 2026-06-24) */

/* ======================== 목록·상세 구분 띠를 원본 entry-nav-divider 규격으로 통일 ======================== */
.pd-navbar{ background:rgba(255,255,255,.97) !important; border-bottom:2px solid #f0f2f5 !important; box-shadow:0 2px 12px rgba(5,47,103,.04) !important; }
.pd-navbar .inner{ min-height:56px !important; height:auto !important; display:flex; align-items:center; }

/* ======================== 목록: 분류 탭을 구분 바에 (박스 없이) + 정렬/뷰 우측 (원본 티스토리 project-tabs 방식) ======================== */
.proj-divider .inner.nav-inner-flex{ display:flex !important; justify-content:space-between; align-items:center; min-height:60px; gap:20px; flex-wrap:wrap; padding-top:8px; padding-bottom:8px; max-width:1180px; margin:0 auto; }
.proj-cat-tabs{ display:flex; flex-wrap:wrap; gap:2px; }
.proj-cat-tabs button{ border:none !important; background:none !important; border-radius:0 !important; padding:8px 13px !important; font-size:14px !important; font-weight:600; color:var(--gray-text-sub) !important; position:relative; cursor:pointer; transition:color .2s; }
.proj-cat-tabs button:hover{ color:var(--brand-navy) !important; }
.proj-cat-tabs button.active{ color:var(--brand-navy) !important; font-weight:800; }
.proj-cat-tabs button.active::after{ content:''; position:absolute; left:13px; right:13px; bottom:0; height:2px; background:var(--brand-navy); }
.proj-divider .proj-tools{ display:flex; gap:10px; align-items:center; flex:none; }
.proj-list-sec .inner{ padding-top:34px; }

/* ======================== 목록 구분 바: 원본 라이브 그대로 (가운데·16px/800·| 구분자·높이73), 정렬/뷰는 카드 위 우측 ======================== */
.proj-divider{ background:rgba(255,255,255,.97) !important; border-bottom:1px solid var(--gray-line) !important; box-shadow:none !important; }
.proj-divider .inner{ display:flex !important; justify-content:center !important; align-items:center; min-height:73px !important; max-width:1180px; margin:0 auto; padding-top:0 !important; padding-bottom:0 !important; }
.proj-cat-tabs{ display:flex; flex-wrap:wrap; justify-content:center; gap:0; }
.proj-cat-tabs button{ border:none !important; background:none !important; border-radius:0 !important; padding:10px 22px !important; font-size:16px !important; font-weight:800 !important; color:var(--gray-text-dim) !important; position:relative; cursor:pointer; transition:color .2s; }
.proj-cat-tabs button:hover{ color:var(--brand-navy) !important; }
.proj-cat-tabs button + button::before{ content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:13px; background:var(--gray-line); }
.proj-cat-tabs button.active{ color:var(--brand-navy) !important; }
.proj-cat-tabs button.active::after{ content:''; position:absolute; left:22px; right:22px; bottom:-1px; height:2px; background:var(--brand-navy); }
.proj-toolbar{ display:flex !important; justify-content:flex-end !important; margin:0 0 24px !important; border:none !important; padding:0 !important; }
.proj-toolbar .proj-tools{ display:flex; gap:10px; align-items:center; }
.proj-list-sec .inner{ padding-top:34px; }

/* ======================== 목록 분류 탭 원본 정확 반영: 구분선(|) 삭제, 좌우 여유 padding, line-height 1.6 ======================== */
.proj-cat-tabs button + button::before{ display:none !important; content:none !important; }
.proj-cat-tabs button{ padding:10px 20px !important; line-height:1.6 !important; }
.proj-cat-tabs button.active::after{ left:20px !important; right:20px !important; }

/* ======================== 목록 분류 탭: 원본 project-tabs-grid 정확값 (추정 없음) ======================== */
.proj-cat-tabs{ display:flex !important; flex-wrap:nowrap; justify-content:center; align-items:center; gap:0; }
.proj-cat-tabs button{ padding:0 18px !important; height:52px !important; font-size:16px !important; font-weight:700 !important; letter-spacing:0 !important; color:var(--gray-text-sub) !important; border:none !important; border-bottom:3px solid transparent !important; border-radius:0 !important; background:none !important; margin:0 6px !important; line-height:1.6 !important; white-space:nowrap; transition:all var(--dur) var(--ease); }
.proj-cat-tabs button:hover{ color:var(--ink) !important; border-bottom-color:#ccc !important; }
.proj-cat-tabs button.active{ color:var(--ink) !important; border-bottom-color:var(--brand-navy) !important; font-weight:800 !important; }
.proj-cat-tabs button.active::after{ display:none !important; }
.proj-cat-tabs button + button::before{ display:none !important; content:none !important; }
.proj-cat-tabs button:first-child{ font-weight:800 !important; letter-spacing:.5px !important; position:relative; margin-right:12px !important; padding-right:18px !important; }
.proj-cat-tabs button:first-child::after{ content:'' !important; position:absolute; right:0; top:50%; transform:translateY(-50%); width:1px; height:20px; background:var(--gray-line); display:block !important; }
@media (max-width:768px){ .proj-cat-tabs button:first-child::after{ display:none !important; } .proj-cat-tabs button:first-child{ margin-right:0 !important; } }

/* ======================== 전체보기 구분선 ::after 충돌 해결 (active 밑줄은 border-bottom으로) ======================== */
.proj-cat-tabs button.active::after{ content:none !important; display:none !important; right:auto !important; left:auto !important; background:none !important; }
.proj-cat-tabs button:first-child::after{ content:'' !important; display:block !important; position:absolute !important; right:0 !important; left:auto !important; top:50% !important; bottom:auto !important; transform:translateY(-50%) !important; width:1px !important; height:20px !important; background:var(--gray-line) !important; }

/* ======================== 헤더 메뉴 밑줄 두께 통일 (hover 2px → 활성과 동일 3px) ======================== */
.gnb > ul > li > a::after{ height:3px !important; }
.gnb > ul > li > a.gnb-active::after{ height:3px !important; }
.header:not(.scrolled) .gnb > ul > li > a::after{ height:3px !important; }

/* ======================== 헤더 메뉴 밑줄: 스크롤(navy) 시 시각 균형 위해 살짝 두껍게 (평소 흰색 번짐 보정) ======================== */
.header.scrolled .gnb > ul > li > a::after{ height:4px !important; }
.header.scrolled .gnb > ul > li > a.gnb-active::after{ height:4px !important; }

/* ======================== 헤더 메뉴 밑줄: 영문 칸 폭이 아니라 '지금 보이는 글자' 폭에 맞춤 ========================
   기존엔 a::after(=칸 폭=영문 길이)에 밑줄을 그려서, 한글(전부 64px)로 바뀌면 밑줄만 메뉴마다 제각각이었음.
   밑줄을 글자 span(.g-ko/.g-en)에 붙여 글자 폭에 딱 맞춤 → 한글일 때 네 메뉴 밑줄 모두 균일. */
.gnb > ul > li > a::after{ display:none !important; }
.gnb .g-ko, .gnb .g-en{ position:relative; }
.gnb .g-ko::after, .gnb .g-en::after{
  content:''; position:absolute; left:0; right:0; bottom:-10px;
  height:3px; border-radius:2px; pointer-events:none;
  transform:scaleX(0); transform-origin:center;
  transition:transform var(--dur) var(--ease-inout);
}
.gnb > ul > li > a:hover .g-ko::after,
.gnb > ul > li > a:hover .g-en::after,
.gnb > ul > li > a.gnb-active .g-ko::after,
.gnb > ul > li > a.gnb-active .g-en::after{ transform:scaleX(1); }
/* 평소(top): 흰색 3px / 스크롤(축소): navy 4px (밝은 배경 번짐 보정) */
.header:not(.scrolled) .gnb .g-en::after{ background:#fff; height:3px; }
.header.scrolled .gnb .g-ko::after{ background:var(--brand-navy); height:4px; }

/* ======================== 구분바: 고정(sticky) 제거 — 스크롤 시 따라붙지 않고 본문과 함께 자연스럽게 흐름 (사용자 요청 2026-06-19) ========================
   배경 불투명 보장(본문 비침 방지)은 유지. */
.pd-navbar, .proj-divider, .page-nav-divider, .support-tabs-divider{
  position:static !important;
  background:#ffffff !important;
}
.pd-navbar, .proj-divider{
  box-shadow:0 1px 0 var(--gray-line), 0 8px 18px -14px rgba(5,47,103,.30) !important;
}

/* ======================== 서브페이지(회사소개/사업분야/고객지원) 구분바 sticky 보정 ========================
   구분바가 래퍼 #dynamic-subpage-nav(높이 73px = 구분바와 동일) 안에 있어, 자식 sticky가 그 73px 안에 갇혀 무효였음.
   → 래퍼 자체를 헤더 아래 고정하고, 안쪽 구분바는 static 으로. */
#dynamic-subpage-nav{
  position:static !important;
  background:#ffffff !important;
  box-shadow:0 1px 0 var(--gray-line) !important;
}
#dynamic-subpage-nav > .page-nav-divider{ position:static !important; box-shadow:none !important; }

/* ======================== 개별 카테고리 전용 뷰: 3열 큰 박스 균일 (다양형은 전체보기 전용) ======================== */

/* ======================== 카테고리 컨텍스트(in-cat): 정사각 뷰를 3열 큰 박스로 (전체보기 정사각 5열과 구분) ======================== */
.proj-grid-list.in-cat.is-square{ grid-template-columns:repeat(3,1fr) !important; gap:22px; }
@media (max-width:768px){ .proj-grid-list.in-cat.is-square{ grid-template-columns:repeat(2,1fr) !important; gap:14px; } }

/* ======================== (1) 전체보기 정사각 5→4열 (카테고리 정사각 3열은 :not(.in-cat)으로 제외) ======================== */
.proj-grid-list.is-square:not(.in-cat){ grid-template-columns:repeat(4,1fr) !important; }
@media (max-width:1100px){ .proj-grid-list.is-square:not(.in-cat){ grid-template-columns:repeat(3,1fr) !important; } }
@media (max-width:768px){ .proj-grid-list.is-square:not(.in-cat){ grid-template-columns:repeat(2,1fr) !important; } }

/* ======================== (2) 리스트형: 1열 + 정보 풍부(용도·분류·위치·면적·허가년도·태그) ======================== */
.pc2-listinfo{ display:none; }
.proj-grid-list.is-list{ grid-template-columns:1fr !important; gap:0 !important; }
.proj-grid-list.is-list .proj-card2{ align-items:flex-start !important; gap:22px !important; padding:20px 6px !important; }
.proj-grid-list.is-list .pc2-img{ width:172px !important; height:120px !important; }
.proj-grid-list.is-list .pc2-body{ flex:1; min-width:0; }
.proj-grid-list.is-list .pc2-body h3{ font-size:var(--fs-body) !important; margin-bottom:2px; }   /* 리스트 제목 캐스케이드 승자 토큰화 1.05rem→--fs-body (2026-06-24) */
.proj-grid-list.is-list .pc2-listinfo{ display:flex; flex-direction:column; gap:5px; margin-top:8px; }
.proj-grid-list.is-list .pli-purpose{ font-size:14px; color:var(--ink); font-weight:600; line-height:1.45; }
.proj-grid-list.is-list .pli-meta{ font-size:13px; color:var(--gray-text-sub); line-height:1.55; }
@media (max-width:768px){ .proj-grid-list.is-list .pc2-img{ width:108px !important; height:80px !important; } }

/* ======================== 리스트형 개선: 정보를 오른쪽 열에 배치(가로 양분), 분류·태그 제거 ========================
   왼쪽 열=위치라벨+제목 / 오른쪽 열=용도+면적·허가년도. 오른쪽 여백 활용. */
.proj-grid-list.is-list .pc2-body{
  display:grid !important; flex:1;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  grid-template-areas: "loc info" "title info";
  align-items:center; column-gap:40px; row-gap:3px;
}
.proj-grid-list.is-list .pc2-loc{ grid-area:loc; }
.proj-grid-list.is-list .pc2-body h3{ grid-area:title; }
.proj-grid-list.is-list .pc2-listinfo{ grid-area:info; display:flex !important; flex-direction:column; gap:6px; margin:0 !important; }
@media (max-width:768px){
  .proj-grid-list.is-list .pc2-body{ grid-template-columns:1fr; grid-template-areas:"loc" "title" "info"; row-gap:4px; }
  .proj-grid-list.is-list .pc2-listinfo{ margin-top:6px !important; }
}

/* ======================== 리스트형: 위치 전체표기(loc-full) + 오른쪽 정보 한 줄 ========================
   그리드/정사각=짧은 위치(loc-short) / 리스트=전체 위치(loc-full, 도 축약). 정보(용도·면적·허가년도)는 한 줄. */
.loc-full{ display:none; }
.proj-grid-list.is-list .loc-short{ display:none; }
.proj-grid-list.is-list .loc-full{ display:inline; }
.proj-grid-list.is-list .pc2-listinfo{ display:block !important; }
.proj-grid-list.is-list .pli-purpose{ display:inline; font-weight:600; color:var(--ink); font-size:13.5px; }
.proj-grid-list.is-list .pli-meta{ display:inline; color:var(--gray-text-sub); font-size:13.5px; }

/* ======================== 리스트형 정보: 오른쪽 여유 배치 + 구분(·) 간격 넓게 ========================
   정보 시작을 중앙 쪽으로 당기고(왼쪽 열 비율↑) 우측 여백 확보. 항목 사이 ·를 양옆 16px 띄움. */
.proj-grid-list.is-list .pc2-body{ grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) !important; column-gap:24px !important; padding-right:2.5% !important; }
.proj-grid-list.is-list .pc2-listinfo{ display:block !important; }

/* ===== 리스트형 최종 정리(2026-06-20): 부제목 줄바꿈 + 모바일 풀폭(이전 충돌 규칙 덮어씀) ===== */
.proj-grid-list.is-list{ display:block !important; grid-template-columns:none !important; gap:0 !important; }
.proj-grid-list.is-list .proj-card2{ display:flex !important; align-items:flex-start !important; gap:18px !important; padding:16px 4px !important; border-bottom:1px solid var(--gray-line) !important; border-radius:0; background:none; aspect-ratio:auto !important; }
.proj-grid-list.is-list .pc2-img{ position:relative !important; inset:auto !important; width:150px !important; height:104px !important; flex:0 0 150px !important; aspect-ratio:auto !important; border-radius:4px; overflow:hidden; }
.proj-grid-list.is-list .pc2-img::after{ display:none !important; }
.proj-grid-list.is-list .pc2-body{ display:block !important; flex:1 1 auto; min-width:0; padding:2px 0 0 !important; grid-template-columns:none !important; grid-template-areas:none !important; column-gap:0 !important; }
.proj-grid-list.is-list .pc2-loc{ display:block !important; color:var(--gray-text-sub) !important; font-size:12.5px; font-weight:700; margin:0 0 3px !important; opacity:1 !important; max-height:none !important; overflow:visible !important; }
.proj-grid-list.is-list .pc2-body h3{ color:var(--ink) !important; font-size:var(--fs-body); line-height:1.35; margin:0 0 6px !important; }   /* 리스트 제목 토큰화 1.02rem→--fs-body (2026-06-24) */
.proj-grid-list.is-list .pc2-body p{ display:none !important; }
.proj-grid-list.is-list .pc2-listinfo{ display:block !important; margin:0 !important; }
.proj-grid-list.is-list .pli-purpose{ display:none !important; }
.proj-grid-list.is-list .pli-meta{ display:block !important; font-size:13px; color:var(--gray-text-sub); margin-top:3px; }
.proj-grid-list.is-list .loc-short{ display:inline; } .proj-grid-list.is-list .loc-full{ display:none; }
@media (max-width:768px){
  .proj-grid-list.is-list .proj-card2{ gap:14px !important; padding:14px 2px !important; }
  .proj-grid-list.is-list .pc2-img{ width:116px !important; height:84px !important; flex-basis:116px !important; }
  .proj-grid-list.is-list .pc2-body h3{ font-size:var(--fs-body); }   /* 리스트 제목(모바일) 토큰화 (2026-06-24) */
}

/* ======================== 프로젝트 헤드밴드: 영문 라벨(카테고리별) + 라인 + 영어 구호 (원본 principle 모티프) ======================== */
.proj-headband{ display:flex; align-items:center; gap:24px; padding:30px 0 18px; }
.phb-eng{ font-family:'Barlow Condensed',sans-serif; font-size:21px; font-weight:700; letter-spacing:1.5px; color:var(--brand-navy); white-space:nowrap; text-transform:uppercase; }
.phb-line{ flex:1; height:1px; background:var(--gray-line); }
.phb-slogan{ font-family:'Barlow Condensed',sans-serif; font-size:16px; font-weight:500; color:var(--gray-text-sub); white-space:nowrap; letter-spacing:.3px; }
@media (max-width:768px){ .proj-headband{ gap:0; padding:18px 0 12px; flex-wrap:wrap; align-items:baseline; border-bottom:1px solid var(--gray-line); } .phb-idx{ margin-right:6px !important; } .phb-eng{ font-size:16px; white-space:normal; line-height:1.3; } .phb-line{ display:none; } .phb-slogan{ display:none; } }

/* ======================== 헤드밴드 보정: 구호 Pretendard(자간 정상) + 선 밑 여백 확대 ======================== */
.proj-headband{ padding:30px 0 42px !important; }
.phb-slogan{ font-family:'Pretendard Variable',-apple-system,sans-serif !important; font-size:15px !important; letter-spacing:0 !important; font-weight:500 !important; }

/* ======================== 헤드밴드 세련화: ① 선 좌측 navy 액센트 + ③ 인덱스 마커 + 왼쪽 라벨 Pretendard ======================== */
.phb-eng{ font-family:'Pretendard Variable',-apple-system,sans-serif !important; letter-spacing:0.5px !important; }
.phb-idx{ font-family:'Pretendard Variable',sans-serif; font-size:14px; font-weight:700; color:var(--brand-blue); letter-spacing:1px; margin-right:-14px; }
.phb-idx:empty{ display:none; }
.phb-line{ position:relative; }
.phb-line::before{ content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:26px; height:3px; background:var(--brand-navy); border-radius:2px; }

/* ════════════════════ [미세 정돈] 본문 전체 한글 자간 응집 — 안 보이는 고급화 ════════════════════
   한글이 미세하게 조여져 응집감↑. 영문 라벨의 와이드 트래킹은 각 클래스가 우선하므로 영향 없음. */
body{ letter-spacing:-0.012em; }
.eng, .eng-title, .eng-title-sm, .phb-eng, [class*=eng-word]{ letter-spacing:initial; }

/* ════════════════════ [업그레이드: 모션·인터랙션 + 선·마커 통일 — 전부 navy] ════════════════════ */
/* (선·마커) 헤드밴드 인덱스 번호: blue → navy 정제 */
.phb-idx{ color:var(--brand-navy) !important; }
/* (모션) 헤드밴드 진입 리빌 — navy 라인이 좌→우로 그려지고, 라벨·구호가 떠오름 */
.proj-headband .phb-line{ transform-origin:left; animation:hbDraw var(--dur-reveal) var(--ease-out) .12s both; }
@keyframes hbDraw{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.proj-headband .phb-idx, .proj-headband .phb-eng, .proj-headband .phb-slogan{ animation:hbRise var(--dur-slow) ease both; }
@keyframes hbRise{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

/* 카드 리빌은 AOS 방식으로 재구현 예정 — observer 방식은 롤백(카드 정상 표시) */

/* ════════════════════ [헤드밴드 보강] 라인 액센트 3배 + 분류별 한글 설명 ════════════════════ */
/* (1) navy 라인 액센트 26→78px (3배, 더 역동적) */
.phb-line::before{ width:78px !important; }
/* (2) 헤드밴드 아래 분류별 한글 설명 */
.proj-headband{ padding-bottom:12px !important; }
.proj-desc{ font-size:15px; color:var(--gray-text-sub); margin:0 0 30px; letter-spacing:-.012em; line-height:1.55; }
@media (max-width:768px){ .proj-desc{ font-size:13.5px; margin-bottom:20px; } }

/* 한글 설명을 오른쪽으로 약 1cm(38px) 이동 */
.proj-desc{ margin-left:38px !important; }
@media (max-width:768px){ .proj-desc{ margin-left:20px !important; } }

/* (구) 모바일 분류 탭 가로 스크롤 — 드롭다운(티스토리식)으로 대체. 아래 '모바일 UI 보정' 블록 참조. */

/* (4단계) 상세 분류 라벨(HOUSING 등) blue → navy — 흰 배경 위라 차분하게(blue 최소) */

/* ============================================================
   모바일 UI 보정 (2026-06-19 사용자 요청 4건)
   ============================================================ */
/* ============================================================
   ★ 브레이크포인트 컨벤션 (신규 모바일 작업은 이 기준 따를 것)
   - 900px = "모바일 모드" 기준(헤더 햄버거·카테고리 드롭다운·뉴스 캐러셀 등
            모드 전환 컴포넌트는 전부 @media (max-width:900px)로 통일).
   - 1024px / 1100px = 그리드 reflow 단계(열 수 조정 — 모드전환 아님, 의도된 반응형 티어).
   - 768px = 폰 콘텐츠 미세조정 티어(기존). 모드전환에는 쓰지 말 것.
   - 신규 모바일 규칙은 가급적 아래 '모바일 보정' 블록에 모아 관리.
   (전면 768→900 일괄 병합·mobile.css 완전분리는 회귀위험으로 별도 전담작업 권장.)
   ============================================================ */
/* 모바일 카테고리 드롭다운 트리거 — 데스크탑은 숨김(가로 탭 사용) */
.mob-cat-trigger { display: none; }
.mob-sort { display: none; }  /* 모바일 정렬 드롭다운 — 데스크탑은 네이티브 select 사용 */

@media (max-width: 900px) {
    /* [1] 햄버거 버튼을 헤더 우측 끝으로 (모바일 좌측 몰림 해소) */
    .header-util { margin-left: auto; }

    /* [2] Latest Insights: 가로 넘김 캐러셀 — 카드를 화면 대부분 차지하게(peek 최소화, 카드별 크기 동일하게 보임) */
    .news-card { flex: 0 0 88% !important; }

    /* [3] 상단 히어로 하단 구분바: 모바일은 고정(sticky) 해제. 래퍼 #dynamic-subpage-nav(회사소개·사업분야·고객지원)도 포함 */
    .pd-navbar, .proj-divider, .page-nav-divider, .support-tabs-divider, .pd2-navbar, #dynamic-subpage-nav {
        position: static !important; top: auto !important;
    }
    /* 카테고리 분류바: 드롭다운 패널이 아래 콘텐츠보다 앞에 오도록 relative+z-index(고정 아님=스크롤 따라옴) */
    .proj-divider { position: relative !important; z-index: 1500 !important; }

    /* [3-2] 프로젝트 분류: 가로 탭 → 트리거 버튼 + 펼침 패널(티스토리식 드롭다운) */
    #projFilters { position: relative; flex-direction: column !important; align-items: flex-start !important; }
    .mob-cat-trigger {
        display: inline-flex; align-items: center; gap: 8px;
        margin: 9px 0; padding: 10px 16px;
        background: #fff; border: 1.5px solid var(--navy); border-radius: 8px;
        font-family: inherit; cursor: pointer; box-shadow: 0 3px 12px rgba(5,47,103,.12);
        transition: background var(--dur), box-shadow var(--dur);
    }
    .mob-cat-trigger:hover, .mob-cat-trigger.open { background: var(--navy); box-shadow: 0 5px 18px rgba(5,47,103,.22); }
    .mob-cat-trigger:hover .trigger-current, .mob-cat-trigger.open .trigger-current { color: #fff; }
    .mob-cat-trigger:hover .mob-cat-filter-icon, .mob-cat-trigger.open .mob-cat-filter-icon { stroke:rgba(255,255,255,.9);color:rgba(255,255,255,.9); }
    .mob-cat-trigger:hover .mob-cat-arrow, .mob-cat-trigger.open .mob-cat-arrow { color: rgba(255,255,255,.85); }
    .mob-cat-filter-icon { stroke:var(--navy);color:var(--navy); flex-shrink: 0; transition: color var(--dur); }
    .mob-cat-trigger .trigger-current { font-size: 14px; font-weight: 700; color: var(--ink); transition: color var(--dur); }
    .mob-cat-arrow { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; color: var(--ink-dim); transition: transform var(--dur) var(--ease); }
    .mob-cat-trigger.open .mob-cat-arrow { transform: rotate(180deg); }

    /* 패널: .proj-cat-tabs를 절대배치 1열 드롭다운으로 */
    .proj-cat-tabs {
        display: none !important; position: absolute; top: 100%; left: 0; z-index: 9999;
        flex-direction: column !important; flex-wrap: nowrap !important; gap: 2px !important;
        min-width: 120px; max-width: 165px; overflow: visible !important;
        background: #fff; border: 1px solid #e0e8f4; border-radius: 10px;
        box-shadow: 0 8px 24px rgba(5,47,103,.12); padding: 6px; margin: 0;
        justify-content: flex-start !important;
    }
    .proj-cat-tabs.mob-open { display: flex !important; animation: dropFadeIn .18s var(--ease); }
    @keyframes dropFadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
    .proj-cat-tabs button {
        width: 100% !important; height: auto !important; margin: 0 !important;
        text-align: center; justify-content: center !important;
        padding: 9px 14px !important; font-size: 13.5px !important; font-weight: 700 !important; letter-spacing: 0 !important;
        border: none !important; border-bottom: none !important; border-left: 3px solid transparent !important; border-radius: 0 !important;
        background: transparent !important; color: #333 !important; white-space: nowrap; transition: all .2s;
    }
    .proj-cat-tabs button:hover { color: var(--navy) !important; background: rgba(5,47,103,.04) !important; }
    .proj-cat-tabs button.active { border-left: 3px solid var(--navy) !important; color: var(--navy) !important; font-weight: 800 !important; background: transparent !important; }
    .proj-cat-tabs button::after, .proj-cat-tabs button::before, .proj-cat-tabs button.active::after { display: none !important; content: none !important; }
    .proj-cat-tabs button:first-child { margin: 0 !important; padding: 9px 14px !important; }
    .proj-cat-tabs button:first-child::after { display: none !important; content: none !important; }
    /* [3-3] 정렬: 네이티브 select 숨기고 카테고리와 동일한 커스텀 드롭다운 노출 */
    .proj-tools #projSort { display: none !important; }
    .mob-sort { display: inline-block; position: relative; }
    .mob-sort .mob-cat-trigger { margin: 0; padding: 9px 14px; }
    .mob-sort-panel { left: auto !important; right: 0 !important; min-width: 150px !important; max-width: 230px !important; }
}

/* ======================== 회사소개 "삼정의 기록" 영상 섹션 (marquee→video) ======================== */
.about-section.about-marquee{ padding-bottom: 100px; }
/* 라이트 카드 프레임(검은 액자 폐기): navy 톤 부드러운 그림자 + 시네마틱 등장(클립패스 리빌) */
.about-marquee .record-video-wrap{position:relative;max-width:1000px;margin:0 auto;border-radius:14px;overflow:hidden;background:#fff;aspect-ratio:16/9;border:1px solid rgba(5,47,103,.06);box-shadow:0 24px 60px rgba(5,47,103,.14);opacity:0;transform:translateY(28px) scale(.985);clip-path:inset(0 0 6% 0 round 14px);transition:opacity var(--dur-reveal) var(--ease-out),transform var(--dur-reveal) var(--ease-out),clip-path var(--dur-reveal) var(--ease-out)}
.about-marquee .record-video-wrap.is-revealed{opacity:1;transform:none;clip-path:inset(0 0 0 0 round 14px)}
.about-marquee .record-video{display:block;width:100%;height:100%;object-fit:cover}
/* 정지/재생 버튼(접근성) — hover·포커스·일시정지 시 노출 */
.about-marquee .record-toggle{position:absolute;left:16px;bottom:16px;width:46px;height:46px;border-radius:50%;border:none;cursor:pointer;background:rgba(5,47,103,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity var(--dur),background .2s;z-index:3}
.about-marquee .record-video-wrap:hover .record-toggle,.about-marquee .record-toggle:focus-visible{opacity:1}
.about-marquee .record-video-wrap.is-paused .record-toggle{opacity:1}
.about-marquee .record-toggle:hover{background:rgba(5,47,103,.82)}
.about-marquee .record-toggle svg{width:22px;height:22px;fill:#fff}
.about-marquee .record-toggle .ic-play{display:none}
.about-marquee .record-video-wrap.is-paused .record-toggle .ic-pause{display:none}
.about-marquee .record-video-wrap.is-paused .record-toggle .ic-play{display:block}
/* 코너 시그니처(우하단): Veo 워터마크 자리를 은은한 그라데이션 면 + 워드마크로 고급스럽게 덮음(브랜딩 겸용). delogo는 밑에 유지 = 이중 안전 */
.about-marquee .record-sig{position:absolute;right:0;bottom:0;z-index:2;pointer-events:none;padding:9px 14px 10px;border-top-left-radius:8px;border-bottom-right-radius:14px;background:#052f67}
.about-marquee .record-sig-txt{font-family:'Pretendard Variable',sans-serif;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.95);white-space:nowrap}
@media (max-width:768px){ .about-marquee .record-sig{padding:7px 11px 8px} .about-marquee .record-sig-txt{font-size:9.5px;letter-spacing:.08em} }
/* 슬로건 락업(HTML·하우스 스타일): 한글 주역 navy + 선악센트 + 영문 Barlow 대문자 navy. 영상 등장에 이어 stagger 등장 */
.about-marquee .record-motto{max-width:1000px;margin:46px auto 0;text-align:center;opacity:0;transform:translateY(16px);transition:opacity var(--dur-reveal) var(--ease-out) .18s,transform var(--dur-reveal) var(--ease-out) .18s}
.about-marquee .record-video-wrap.is-revealed ~ .record-motto{opacity:1;transform:none}
.about-marquee .record-motto-ko{font-family:'Pretendard Variable',sans-serif;font-size:clamp(18px,2.3vw,27px);font-weight:800;letter-spacing:-.02em;line-height:1.4;color:var(--navy);word-break:keep-all;margin:0}
.about-marquee .record-motto-en{font-family:'Pretendard Variable',sans-serif;font-size:14px;font-weight:500;letter-spacing:.2px;color:var(--navy);margin:12px 0 0}
@media (max-width:768px){ .about-marquee .record-video-wrap{border-radius:10px} .about-marquee .record-motto{margin-top:32px} .about-marquee .record-motto-en{font-size:12.5px} }

/* === HOME-VIDEO-COMBO (삼정의 기록 영상 + 최근 기록 슬라이더) === */
.section-latest-news .li-combo{position:relative;display:flex;gap:40px;margin-top:50px;align-items:stretch}
.section-latest-news .li-combo::before{content:"";position:absolute;top:6px;bottom:6px;left:calc(40% - 12px);width:1px;background:linear-gradient(180deg,rgba(5,47,103,0),rgba(5,47,103,.16) 14%,rgba(5,47,103,.16) 86%,rgba(5,47,103,0));pointer-events:none}
.section-latest-news .li-film{flex:0 0 calc(40% - 32px);min-width:0;display:flex;flex-direction:column}
.section-latest-news .li-vidbox{position:relative;flex:0 0 auto;aspect-ratio:16/9;overflow:hidden;background:#000;border-radius:16px;border:1px solid rgba(5,47,103,.12);box-shadow:0 18px 44px rgba(5,47,103,.16);cursor:pointer}
.section-latest-news .li-vidbox .record-video{width:100%;height:100%;object-fit:cover;display:block}
.section-latest-news .record-toggle{position:absolute;left:13px;bottom:13px;width:44px;height:44px;border-radius:50%;border:none;cursor:pointer;background:rgba(5,18,40,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity var(--dur),background .2s;z-index:4}
.section-latest-news .li-vidbox:hover .record-toggle,.section-latest-news .record-toggle:focus-visible{opacity:1}
.section-latest-news .li-vidbox.is-paused .record-toggle{opacity:1}
.section-latest-news .record-toggle:hover{background:rgba(5,18,40,.8)}
.section-latest-news .record-toggle svg{width:20px;height:20px;fill:#fff}
.section-latest-news .record-toggle .ic-play{display:none}
.section-latest-news .li-vidbox.is-paused .record-toggle .ic-pause{display:none}
.section-latest-news .li-vidbox.is-paused .record-toggle .ic-play{display:block}
.section-latest-news .li-expand{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border:none;border-radius:999px;background:rgba(5,18,40,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);color:#fff;font-family:'Pretendard Variable',sans-serif;font-size:12.5px;font-weight:600;cursor:pointer;opacity:0;transform:translateY(-4px);transition:opacity var(--dur),transform var(--dur),background .2s;z-index:5}
.section-latest-news .li-vidbox:hover .li-expand,.section-latest-news .li-expand:focus-visible{opacity:1;transform:none}
.section-latest-news .li-expand:hover{background:rgba(5,18,40,.82)}
.section-latest-news .li-expand svg{width:15px;height:15px;stroke:#fff;color:#fff}
.section-latest-news .record-sig{position:absolute;right:0;bottom:0;z-index:3;pointer-events:none;padding:7px 12px 8px;border-top-left-radius:8px;background:#052f67}
.section-latest-news .record-sig-txt{font-family:'Pretendard Variable',sans-serif;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.95);white-space:nowrap}
.section-latest-news .li-cap{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:22px 2px 6px}
.section-latest-news .li-cap-line{width:34px;height:2px;background:#052f67;opacity:.85;margin-bottom:14px}
.section-latest-news .li-cap-eyebrow{font-family:'Pretendard Variable',sans-serif;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#5a6473}
.section-latest-news .li-cap-slogan{font-family:'Pretendard Variable',sans-serif;font-size:clamp(17px,1.45vw,20px);font-weight:600;letter-spacing:-.01em;line-height:1.5;color:#052f67;margin:10px 0 0;word-break:keep-all}
.section-latest-news .li-slider{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.section-latest-news .li-viewport{overflow:hidden}
.section-latest-news .li-track{display:flex;gap:40px;will-change:transform;transition:transform var(--dur-slow) var(--ease-out)}
.section-latest-news .li-track .news-card{flex:0 0 calc((100% - 40px)/2)}
.section-latest-news .li-track .news-img-box{border-radius:16px !important}
.section-latest-news .li-nav{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:24px}
.section-latest-news .li-dots{display:flex;gap:7px;margin-right:auto}
.section-latest-news .li-dot{width:8px;height:8px;border-radius:50%;border:none;background:#c4ccd8;cursor:pointer;padding:0;transition:width var(--dur),background var(--dur)}
.section-latest-news .li-dot.on{width:22px;border-radius:5px;background:#052f67}
.section-latest-news .li-arrow{width:42px;height:42px;border-radius:50%;border:1px solid #c9d2de;background:#fff;color:#052f67;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
.section-latest-news .li-arrow:hover{background:#eef3f9;border-color:#9fb1c7}
.section-latest-news .li-arrow:disabled{opacity:.3;cursor:default}
.li-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:4vw}
.li-modal.open{display:flex}
.li-modal-backdrop{position:absolute;inset:0;background:rgba(4,12,26,.82);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.li-modal-box{position:relative;width:min(1120px,92vw);max-height:86vh;aspect-ratio:16/9;border-radius:18px;overflow:hidden;box-shadow:0 40px 110px rgba(0,0,0,.6);background:#000}
.li-modal-video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.li-modal .record-sig{padding:11px 19px 12px;border-top-left-radius:10px}
.li-modal .record-sig-txt{font-size:13px}
.li-modal-close{position:absolute;top:12px;right:12px;width:46px;height:46px;border-radius:50%;border:none;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:4;transition:background .2s}
.li-modal-close:hover{background:rgba(0,0,0,.82)}
.li-modal-close svg{width:22px;height:22px;stroke:#fff;color:#fff}
.li-modal-toggle{position:absolute;left:16px;bottom:16px;width:50px;height:50px;border-radius:50%;border:none;cursor:pointer;background:rgba(5,18,40,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:4;transition:background .2s}
.li-modal-toggle:hover{background:rgba(5,18,40,.85)}
.li-modal-toggle svg{width:24px;height:24px;fill:#fff}
.li-modal-toggle .ic-play{display:none}
.li-modal-box.is-paused .li-modal-toggle .ic-pause{display:none}
.li-modal-box.is-paused .li-modal-toggle .ic-play{display:block}
@media(max-width:860px){
 .section-latest-news .li-combo{flex-direction:column;gap:24px}
 .section-latest-news .li-combo::before{display:none}
 .section-latest-news .li-film{flex:0 0 auto;width:100%}
 .section-latest-news .li-cap{padding:16px 2px 4px}
 .section-latest-news .li-viewport{overflow:visible}
 .section-latest-news .li-track{transform:none!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:14px;padding-bottom:4px}
 .section-latest-news .li-track::-webkit-scrollbar{display:none}
 .section-latest-news .li-track .news-card{flex:0 0 86%;scroll-snap-align:center}
 .section-latest-news .li-nav{display:none}
}

/* ============================================================================
   정사각형 보기 신규 카드 (2026-06-26) — 깨끗한 4:3 사진 + 흰 박스 + 2꼭지점 테두리 드로잉
   ※ .is-square(정사각형)에만 적용. 다양형(.is-masonry)·리스트(.is-list)·기타 무변경.
   - 평소 제목(20px)만 가운데, 호버 시 주소·연도 등장
   - 호버 테두리: 한붓그리기 2꼭지점(좌상단·우하단 시계방향), navy 2px, linear
   - 호버 0.30s ease-out(차분) · 키보드 :focus-visible · 모바일(hover:none) 정보 항상표시
   ============================================================================ */
.sq-edge{ display:none; }   /* 다양형·리스트에선 비활성(레이아웃 무영향) */

.proj-grid-list.is-square{ gap:22px !important; --d-lift:.30s; --d-zoom:.55s; --d-rev:.34s; --d-bd:.22s; --bd-delay:.20s; }

/* 카드: 1:1 오버레이 → 사진+캡션 박스 */
.proj-grid-list.is-square .proj-card2{
  aspect-ratio:auto !important; background:#fff !important; border:1px solid var(--gray-line) !important;
  position:relative; transition:transform var(--d-lift) var(--ease-out), box-shadow var(--d-lift) var(--ease-out);
}
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible){ transform:translateY(-5px); box-shadow:0 12px 28px rgba(5,47,103,.14) !important; }
.proj-grid-list.is-square .proj-card2:focus-visible{ outline:3px solid rgba(5,47,103,.5); outline-offset:3px; }

/* 사진: 오버레이(absolute) → 위쪽 4:3 사진(어둡게 안 함) */
.proj-grid-list.is-square .pc2-img{ position:relative !important; inset:auto !important; aspect-ratio:4/3 !important; }
.proj-grid-list.is-square .pc2-img::after{ display:none !important; }   /* 어두운 그라데이션 제거 */
.proj-grid-list.is-square .pc2-img img{ transition:transform var(--d-zoom) var(--ease-out) !important; }
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible) .pc2-img img{ transform:scale(1.05); }

/* 흰 박스: 오버레이(absolute) → 사진 아래 흰 박스(고정높이·세로 가운데) */
.proj-grid-list.is-square .pc2-body{
  position:relative !important; inset:auto !important; z-index:2;
  height:118px; padding:0 18px !important; background:#fff !important;
  display:flex; flex-direction:column; justify-content:center;
}
.proj-grid-list.is-square .pc2-body h3{
  order:0; color:var(--ink) !important; font-size:var(--fs-h3) !important; font-weight:600 !important;
  line-height:1.4; transition:color var(--d-lift) ease;
}
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible) .pc2-body h3{ color:var(--brand-navy) !important; }
/* 주소·연도: 평소 숨김(자리 0, 제목 가운데) → 호버 시 등장 */
.proj-grid-list.is-square .pc2-loc{
  order:1; color:var(--gray-text-sub) !important; font-size:12.5px; font-weight:600; letter-spacing:-.01em;
  opacity:0; max-height:0; overflow:hidden; margin:0;
  transition:opacity var(--d-rev) ease, max-height var(--d-rev) var(--ease-out), margin var(--d-rev) var(--ease-out);
}
.proj-grid-list.is-square .pc2-body p{
  order:2; color:var(--gray-text-sub) !important; font-size:12.5px; margin:0;
  opacity:0; max-height:0; overflow:hidden;
  transition:opacity var(--d-rev) ease, max-height var(--d-rev) var(--ease-out), margin var(--d-rev) var(--ease-out);
}
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible) .pc2-loc{ opacity:1; max-height:1.6em; margin:11px 0 5px; }
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible) .pc2-body p{ opacity:1; max-height:1.6em; }
.proj-grid-list.is-square .pc2-listinfo{ display:none !important; }

/* 4방향 테두리 — 한붓그리기 2꼭지점(좌상단·우하단 시계방향), linear(모서리 멈칫 없음) */
.proj-grid-list.is-square .sq-edge{ display:block; position:absolute; inset:0; z-index:8; pointer-events:none; }
.proj-grid-list.is-square .proj-card2::before,
.proj-grid-list.is-square .proj-card2::after,
.proj-grid-list.is-square .sq-edge::before,
.proj-grid-list.is-square .sq-edge::after{ content:""; position:absolute; background:var(--brand-navy); z-index:8; }
.proj-grid-list.is-square .proj-card2::before{ top:0; left:0; width:0; height:2px; transition:width var(--d-bd) linear 0s; }                  /* 상단 → (좌상단) */
.proj-grid-list.is-square .proj-card2::after{ bottom:0; right:0; width:0; height:2px; transition:width var(--d-bd) linear 0s; }               /* 하단 ← (우하단) */
.proj-grid-list.is-square .sq-edge::after{ top:0; right:0; width:2px; height:0; transition:height var(--d-bd) linear var(--bd-delay); }       /* 우측 ↓ (상단에 이어) */
.proj-grid-list.is-square .sq-edge::before{ bottom:0; left:0; width:2px; height:0; transition:height var(--d-bd) linear var(--bd-delay); }    /* 좌측 ↑ (하단에 이어) */
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible)::before{ width:100%; }
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible)::after{ width:100%; }
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible) .sq-edge::after{ height:100%; }
.proj-grid-list.is-square .proj-card2:is(:hover,:focus-visible) .sq-edge::before{ height:100%; }

/* 모바일(터치, 호버 없음): 주소·연도 항상 표시 */
@media (hover:none){
  .proj-grid-list.is-square .pc2-body{ height:auto; justify-content:flex-start; padding-top:15px !important; padding-bottom:18px !important; }
  .proj-grid-list.is-square .pc2-loc{ opacity:1; max-height:1.6em; margin:0 0 5px; }
  .proj-grid-list.is-square .pc2-body p{ opacity:1; max-height:1.6em; }
}

/* ============================================================================
   다양형(masonry) 앨범형 (2026-06-26) — 평소 조감도만, 호버 시 문자(제목 상단)+스크림+테두리
   ※ .is-masonry에만 적용. 정사각형·리스트·기타 무변경.
   ※ 테두리 애니는 정사각형과 '동일'한 기존 2꼭지점 그대로 재사용(애니 변경 없음).
   ============================================================================ */
.proj-grid-list.is-masonry{ --d-lift:.30s; --d-rev:.34s; --d-bd:.22s; --bd-delay:.20s; }

/* 떠오름 없는 갤러리(타일 안정) — 호버 피드백 = 줌+스크림+문자+테두리 */
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible){ transform:none !important; box-shadow:none !important; }

/* 스크림: 평소 0(깨끗한 조감도) → 호버 시 가독용으로 페이드인 */
.proj-grid-list.is-masonry .pc2-img::after{ background:linear-gradient(180deg,rgba(5,18,40,0) 32%,rgba(5,18,40,.52) 74%,rgba(5,18,40,.9)) !important; opacity:0; transition:opacity var(--d-lift) ease; }
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible) .pc2-img::after{ opacity:1; }

/* 문자 블록: 평소 숨김 → 호버 시 아래에서 떠오름. 제목 상단 배열(order) */
.proj-grid-list.is-masonry .pc2-body{ display:flex; flex-direction:column; opacity:0; transform:translateY(10px); transition:opacity var(--d-rev) ease, transform var(--d-rev) var(--ease-out); }
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible) .pc2-body{ opacity:1; transform:none; }
.proj-grid-list.is-masonry .pc2-body h3{ order:0; opacity:1 !important; max-height:none !important; margin:0 0 5px !important; }
.proj-grid-list.is-masonry .pc2-loc{ order:1; opacity:1 !important; max-height:none !important; margin:0 0 2px !important; }
.proj-grid-list.is-masonry .pc2-body p{ order:2; opacity:1 !important; max-height:none !important; margin:0 !important; }
.proj-grid-list.is-masonry .pc2-listinfo{ display:none !important; }

/* 4방향 테두리 — 정사각형과 동일(기존 2꼭지점, navy 2px, linear) */
.proj-grid-list.is-masonry .sq-edge{ display:block; position:absolute; inset:0; z-index:8; pointer-events:none; }
.proj-grid-list.is-masonry .proj-card2::before,
.proj-grid-list.is-masonry .proj-card2::after,
.proj-grid-list.is-masonry .sq-edge::before,
.proj-grid-list.is-masonry .sq-edge::after{ content:""; position:absolute; background:#fff; box-shadow:0 0 3px rgba(0,0,0,.5); z-index:8; }   /* 흰색+옅은 그림자: 색감 있는 조감도 위에서도 잘 보이게 (2026-06-26) */
.proj-grid-list.is-masonry .proj-card2::before{ top:0; left:0; width:0; height:2px; transition:width var(--d-bd) linear 0s; }
.proj-grid-list.is-masonry .proj-card2::after{ bottom:0; right:0; width:0; height:2px; transition:width var(--d-bd) linear 0s; }
.proj-grid-list.is-masonry .sq-edge::after{ top:0; right:0; width:2px; height:0; transition:height var(--d-bd) linear var(--bd-delay); }
.proj-grid-list.is-masonry .sq-edge::before{ bottom:0; left:0; width:2px; height:0; transition:height var(--d-bd) linear var(--bd-delay); }
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible)::before{ width:100%; }
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible)::after{ width:100%; }
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible) .sq-edge::after{ height:100%; }
.proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible) .sq-edge::before{ height:100%; }

/* 모바일(터치, 호버 없음): 문자·스크림 항상 표시 */
@media (hover:none){
  .proj-grid-list.is-masonry .pc2-img::after{ opacity:1; }
  .proj-grid-list.is-masonry .pc2-body{ opacity:1; transform:none; }
}

/* ============================================================================
   검색 결과 카드 = 프로젝트 정사각형 카드(proj-card2 + is-square)로 통일 (2026-06-26)
   ※ 검색 렌더(index.html)가 proj-card2 마크업 + 컨테이너 is-square를 출력 → 기존 square CSS 그대로 재사용.
   ※ 여기선 검색 전용으로 '3열'만 지정(square의 4열 기본을 덮음). 카드 스타일/호버/테두리는 square와 100% 동일.
   ============================================================================ */
.is-search-result-page .proj-grid-list.is-square{ grid-template-columns:repeat(3,1fr) !important; }
@media (max-width:1100px){ .is-search-result-page .proj-grid-list.is-square{ grid-template-columns:repeat(3,1fr) !important; } }
@media (max-width:768px){ .is-search-result-page .proj-grid-list.is-square{ grid-template-columns:repeat(2,1fr) !important; } }

/* ============================================================================
   Latest Insights 우측 카드 = 프로젝트 정사각형 카드와 동일 (2026-06-26)
   제목 위/가운데 + 호버 시 메타(지역·연도) 아래 노출 + navy 단일 밑줄.
   ※ .section-latest-news .li-track 에만 적용.
   ============================================================================ */
.section-latest-news .li-track .news-card{ background:#fff; border:1px solid var(--gray-line); display:flex; flex-direction:column; padding-bottom:0; }
.section-latest-news .li-track .news-img-box{ flex:0 0 auto; aspect-ratio:4/3; margin-bottom:0 !important; border-radius:0 !important; }
.section-latest-news .li-track .news-img-box img{ opacity:1 !important; }
.section-latest-news .li-track .news-img-box::before,
.section-latest-news .li-track .news-img-box::after{ display:none !important; }   /* 어두운 오버레이 + VIEW DETAIL 제거 */
/* 캡션 박스 = 정사각형 카드처럼 고정높이·세로가운데. 제목 위, 호버 시 메타 아래 노출 */
.section-latest-news .li-track .news-txt{ height:118px; display:flex; flex-direction:column; justify-content:center; padding:0 20px; }
.section-latest-news .li-track .news-title{ font-size:var(--fs-h3) !important; font-weight:600; line-height:1.4; letter-spacing:-.012em; color:var(--ink); margin:0; word-break:keep-all; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; transition:color .3s ease; }
.section-latest-news .li-track .news-card:is(:hover,:focus-visible) .news-title{ color:var(--brand-navy); }
.section-latest-news .li-track .news-meta{ display:block; max-height:0; opacity:0; overflow:hidden; margin:0; font-size:12.5px; font-weight:600; letter-spacing:-.01em; color:var(--gray-text-sub); font-variant-numeric:tabular-nums; transition:max-height .34s var(--ease-out), opacity .3s ease, margin .34s var(--ease-out); }
.section-latest-news .li-track .news-card:is(:hover,:focus-visible) .news-meta{ max-height:2.4em; opacity:1; margin-top:8px; }
.section-latest-news .li-track .news-card::after{ background:var(--brand-navy) !important; height:3px; bottom:0; }
/* 데스크톱: 좌측 캡션도 영상 바로 밑 고정박스(세로가운데)로 → 우측 카드 박스와 같은 높이대에 정렬(상단 정렬) */
@media (min-width:861px){
  .section-latest-news .li-cap{ flex:0 0 auto; height:118px; justify-content:center; padding:0 2px; }
}

/* ============================================================================
   Featured Projects 호버 텍스트 reveal = 다양형(앨범) pc2-body와 100% 동일 (2026-06-26)
   평소 깨끗한 이미지 → 호버 시: 스크림(앨범 동일) + 텍스트 블록(.p-otext)이 통째 페이드+슬라이드(10px,0.34s ease-out).
   내용 = 제목 + 위치 + 연도·면적 (앨범과 동일). 파란 밑줄(.p-item::after)은 유지.
   ※ .section-projects 의 .p-item 에만 적용.
   ============================================================================ */
.section-projects .p-item img{ opacity:1; }
.section-projects .p-item:hover img{ opacity:1; }
/* 텍스트 블록: 앨범 pc2-body처럼 통째로 translateY(10px)→0 (개별 지연 없음). 페이드는 .p-overlay opacity가 담당 */
.section-projects .p-otext{ transform:translateY(10px); transition:transform .34s var(--ease-out); }
.section-projects .p-item:hover .p-otext, .section-projects .p-item:focus-within .p-otext{ transform:none; }
.section-projects .p-title{ transform:none !important; transition:none !important; margin-bottom:0; }   /* 기존 개별 지연 슬라이드 제거 */
.section-projects .p-loc{ display:block; color:rgba(255,255,255,.88); font-size:13px; font-weight:600; letter-spacing:-.01em; margin-top:9px; word-break:keep-all; }
.section-projects .p-overlay .p-meta{ display:block; color:rgba(255,255,255,.82); font-size:13px; font-weight:500; letter-spacing:-.01em; margin-top:3px; transform:none; font-variant-numeric:tabular-nums; }

/* ============================================================================
   [테두리 통일/패밀리화] 2026-06-26
   · Featured(.p-item) = 다양형과 동일한 흰색 2꼭지점 (기존 블루 단일밑줄 교체)
   · Latest(.li-track .news-card) = 정사각형과 동일한 navy 2꼭지점 (기존 navy 단일밑줄 교체)
   ※ sq-edge는 라이브 베이스 `.sq-edge{display:none}`이라 여기서 display:block로 켜야 좌·우선이 그려짐.
   ============================================================================ */
/* ── Featured: 흰색 2꼭지점 ── */
.section-projects .p-item .sq-edge{ display:block; position:absolute; inset:0; z-index:31; pointer-events:none; }
.section-projects .p-item::before,
.section-projects .p-item .sq-edge::before,
.section-projects .p-item .sq-edge::after{ content:""; position:absolute; background:#fff; box-shadow:0 0 3px rgba(0,0,0,.5); z-index:31; }
.section-projects .p-item::before{ top:0; left:0; width:0; height:2px; transition:width .22s linear 0s; }
.section-projects .p-item::after{ left:auto !important; right:0; bottom:0; width:0; height:2px !important; background:#fff !important; box-shadow:0 0 3px rgba(0,0,0,.5); z-index:31; transition:width .22s linear 0s !important; }   /* 기존 블루밑줄 → 흰색 하단선(우→좌) */
.section-projects .p-item .sq-edge::after{ top:0; right:0; width:2px; height:0; transition:height .22s linear .2s; }
.section-projects .p-item .sq-edge::before{ bottom:0; left:0; width:2px; height:0; transition:height .22s linear .2s; }
.section-projects .p-item:hover::before{ width:100%; }
.section-projects .p-item:hover::after{ width:100% !important; }
.section-projects .p-item:hover .sq-edge::before,
.section-projects .p-item:hover .sq-edge::after{ height:100%; }

/* ── Latest: navy 2꼭지점 ── */
.section-latest-news .li-track .news-card .sq-edge{ display:block; position:absolute; inset:0; z-index:9; pointer-events:none; }
.section-latest-news .li-track .news-card::before,
.section-latest-news .li-track .news-card .sq-edge::before,
.section-latest-news .li-track .news-card .sq-edge::after{ content:""; position:absolute; background:var(--brand-navy); z-index:9; }
.section-latest-news .li-track .news-card::before{ top:0; left:0; width:0; height:2px; transition:width .22s linear 0s; }
.section-latest-news .li-track .news-card::after{ left:auto !important; right:0; bottom:0; width:0; height:2px !important; background:var(--brand-navy) !important; z-index:9; transition:width .22s linear 0s !important; }   /* 기존 navy밑줄 → navy 하단선(우→좌) */
.section-latest-news .li-track .news-card .sq-edge::after{ top:0; right:0; width:2px; height:0; transition:height .22s linear .2s; }
.section-latest-news .li-track .news-card .sq-edge::before{ bottom:0; left:0; width:2px; height:0; transition:height .22s linear .2s; }
.section-latest-news .li-track .news-card:is(:hover,:focus-visible)::before{ width:100%; }
.section-latest-news .li-track .news-card:is(:hover,:focus-visible)::after{ width:100% !important; }
.section-latest-news .li-track .news-card:is(:hover,:focus-visible) .sq-edge::before,
.section-latest-news .li-track .news-card:is(:hover,:focus-visible) .sq-edge::after{ height:100%; }

/* ── 조감도 톤 통일 · 1단계 (B 쿨네이비 / 중간 강도) — 2026-06-28 ──
   /proj-img/ 의 모든 조감도 <img>에 한 기준 톤을 일괄 적용:
   홈 실적·기록 카드, 카테고리 카드, 상세 커버·관련 카드.
   새 프로젝트도 같은 경로·마크업으로 빌드되어 자동 반영(별도 통일 작업 불필요).
   히어로 배경(/images/*)은 대상 아님. 되돌리기=이 블록 삭제 / 강도조정=아래 수치. */
img[src*="proj-img/"]{ filter:saturate(.82) contrast(1.07) brightness(.99); }
/* .img-lazy(blur-up 등장) 조감도(상세 커버 등): 등장 blur와 톤을 한 선언에 합쳐 충돌 방지 */
img.img-lazy[src*="proj-img/"]{ filter:blur(5px) saturate(.82) contrast(1.07) brightness(.99); }
img.img-lazy.loaded[src*="proj-img/"]{ filter:blur(0) saturate(.82) contrast(1.07) brightness(.99); }

/* ── 타이포 위계·조판 통일 · 2단계 (2026-06-28) ──
   크기는 기존 토큰(--fs-*) 유지. 자간 em 통일 · 카드 제목 600 · 영문 라벨 Pretendard 단일·동일 자간.
   색은 배경 맥락상 기존 유지(navy 박스 위 흰색 등). 되돌리기=이 블록 삭제. */
/* 섹션 대제목: 자간 em 통일 */
.principle-title, .vision-title, .pf-title{ letter-spacing:-.025em; }
/* 카드 제목: 굵기 600 통일 (홈 뉴스 li-track는 이미 600/-.012em) */
.section-projects .p-title{ font-weight:600; letter-spacing:-.01em; }
.process-card .txt-box h4{ font-weight:600; letter-spacing:-.01em; }
.news-card .news-title{ font-weight:600; letter-spacing:-.01em; }
.pc2-body h3{ font-weight:600; }   /* 카테고리 앨범/리스트/정사각 카드 제목 600 통일 (2026-06-28, 사용자 승인) */
/* 영문 오버라인(eyebrow): Pretendard · 700 · 12.5px · 0.14em · 대문자 (색은 맥락 유지) */
.img-eng-title, .p-text-block .eng-word, .section-latest-news .li-cap-eyebrow{
  font-family:'Pretendard Variable',sans-serif; font-weight:700; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
}
/* 큰 영문 디스플레이: Barlow Condensed → Pretendard 단일.
   ★Pretendard는 일반 폭이라 56px이면 가로로 커 보임 → 40px로 낮춰 Barlow 56px의 가로폭과 일치(반응형 유지). */
.eng-title{ font-family:'Pretendard Variable',sans-serif; font-size:clamp(30px,3.4vw,40px) !important; }

/* ============================================================================
   대표이미지 톤 통일 (밝은 뮤트) — 전체보기 '다양형'에서만: 은은한 모노 → 호버 시 통째 컬러 (2026-07-08, 사용자 승인)
   • .is-masonry(전체보기 다양형)에만 적용. 정사각·리스트·개별 카테고리·상세·히어로는 원래 색.
     (카테고리 페이지는 구조상 다양형이 없고 정사각/리스트로만 표시되므로 자동 제외됨)
   • 정지 = 밝은 뮤트 모노(흑백65%·밝기110%·대비95%, 어둡지 않게) / 호버 = 0.7초 통째 컬러 복귀.
   • ★큰 카드(2x2 .big)는 컬러 포인트로 상시 컬러 유지(흑백 미적용). 가로·1x1만 뮤트.
   • 스크림은 '약한' 하단 그라데이션으로 되살림(제목 가독성 확보 · 컬러는 안 죽게) + 글자 그림자 병행.
   • 터치기기(hover 없음)는 컬러 유지 — 아래는 hover 가능 기기 전용.
   • 되돌리기 = 이 블록 전체 삭제.
   ============================================================================ */
@media (hover:hover){
  .proj-grid-list.is-masonry .pc2-img img{
    filter:grayscale(.65) contrast(.95) brightness(1.1);
    transition:transform var(--dur-slow), filter .7s ease;
  }
  /* 호버·키보드 포커스 시 해당 카드만 원래 색 통째 복귀 */
  .proj-grid-list.is-masonry .proj-card2:is(:hover,:focus-visible) .pc2-img img{ filter:none; }
  /* ★큰 카드(2x2)는 컬러 포인트 — 흑백 뮤트 미적용(상시 컬러) */
  .proj-grid-list.is-masonry .proj-card2.big .pc2-img img{ filter:none; }
  /* 약한 스크림(하단만·연하게) — 원래 무거운 .9 대신 .62로 낮춤. 호버 페이드는 기존 규칙 유지 */
  .proj-grid-list.is-masonry .pc2-img::after{ background:linear-gradient(180deg,rgba(5,18,40,0) 46%,rgba(5,18,40,.34) 74%,rgba(5,18,40,.62)) !important; }
  .proj-grid-list.is-masonry .pc2-body{ text-shadow:0 1px 6px rgba(5,15,35,.92), 0 0 3px rgba(5,15,35,.8); }
}


