:root{
    --bg:#0b0c10; /* 짙은 배경 */
    --card:#111318;
    --text:#e6e6e6;
    --muted:#a0a0a0;
    --brand:#5aa9e6;
    --brand-weak:#5aa9e61a;
    --border:#1f232b;
    --header-h: 64px;        /* 헤더 높이 */
    /*--content-w: min(88vw, 1120px); !* 본문 기준 너비(점프 리모컨 위치 계산용) *!*/
    --tab-visible: 36px; /* 32 → 36 : 닷이 반 잘리는 현상 완화 */
    --dot-size: 12px;   /* 점 지름 (10~14px 추천) */
    --dot-gap: 10px;    /* 점 간격 */

    /* Footer Light Theme 변수 */
    --footer-bg: #f5f6f7;
    --footer-border: #e5e7eb;
    --footer-text: #111;
    --footer-muted: #666;
    --brand-logo-h:40px;
    --vhfit-max: 840px;
    --page-min: 1120px;
    --page-vw: 84vw;
    --page-max: 3000px;   /* 1680px 같은 작은 상한이면 21:9에서 50%처럼 보임 */
    --content-w: clamp(var(--page-min), var(--page-vw), var(--page-max));
    --lb_left: 0px;
    --lb_right: 0px;
    --lb_top: 0px;
    --lb_bottom: 0px;
    --lb_scale: 1;
    --io-pad: 80px;          /* 기존 공통 패딩(기본값) */
    --io-pad-x: var(--io-pad);
    --io-pad-y: 12px;        /* 세로 패딩은 작게 유지 */
    --lb_scale_x: 1.4;       /* 레터박스 보정: 가로 */
    --lb_scale_y: 0.0;       /* 레터박스 보정: 세로(0으로 끔) */
    --base-inset-x: 5%;
    --base-inset-y: 5%;
    --stack-gap: 5px;     /* ← 새로 추가 */
    --mb-h: 26vh;         /* ← 텍스트 max-height 계산용 기본값 */
    --frame: #e5e7eb;  /* 중간 회색 라인 */
    --frame-bg: #fff;  /* 투명 PNG 대비 배경 */
    --divider: #6b7280;
    --jump-safe: 10px;
    --tech-vw: 70vw;
    --tri-locked-w: auto;
    --tri-fixed-w: 1440px;  /* tri-block 가로 고정 (예: 1200) */
    --tri-fixed-h: 810px;   /* tri-block 세로 고정 (예: 675 = 16:9) */
    --mb-ar: 16/10;
}

/* --- Light Theme (Home 전용) ------------------------------------------- */
.theme-light{
    --bg:#ffffff;
    --card:#ffffff;
    --text:#111111;
    --muted:#555555;
    --border:#e5e7eb;
    --brand:#5aa9e6;
    --brand-weak:#5aa9e633; /* hover 배경 조금 더 보이게 */
}

/* 헤더를 밝게 */
.theme-light header{
    background:rgba(255,255,255);
    border-bottom:1px solid var(--border);
    backdrop-filter:saturate(120%) blur(10px);
}

/* 점프 리모컨 박스도 밝게 */
.theme-light .jump-remote ul{
    background:rgba(255,255,255,.85);
    border-color:var(--border);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    padding-top: var(--header-h);
    background:var(--bg);
    color:var(--text);
    font:16px/1.6 system-ui,Segoe UI,Roboto,Apple SD Gothic Neo,Malgun Gothic,sans-serif;
}

.container{max-width:1120px;margin:0 auto;padding:0 20px}

/* 헤더 */
header{
    position: fixed; top: 0; left: 0; right: 0;
    backdrop-filter:saturate(120%) blur(10px);
    background:linear-gradient(to bottom,rgba(11,12,16,.85),rgba(11,12,16,.35) 80%,transparent);
    z-index: 100; /* 점프패널보다 위 */
    border-bottom:1px solid var(--border);
}

/* 헤더 레이아웃 높이만 유지 */
.nav{
    display:flex; align-items:center; justify-content:space-between;
    height:64px;
}

.brand{
    display:inline-flex; align-items:center;
    height:64px;
    padding:0 8px;              /* 클릭 히트영역 */
    border-radius:10px;
    text-decoration:none;
}

/* 로고는 hover 배경 끔 (파란 하이라이트 방지) */
.brand:hover{ background: transparent; }

.brand-logo{
    height:var(--brand-logo-h);
    width:auto;
    display:block;
    object-fit:contain;
    /* 필요하면 가드 추가
    max-width:min(220px, 28vw);
    */
}

/* 소형 화면에서 살짝 축소 (옵션) */
@media (max-width:480px){
    :root{ --brand-logo-h:32px; }
}

/* ===== Header 메뉴(우측 카테고리) 기본 스타일 복구 ===== */
header nav{
    display:flex;
    gap:18px;
}
header nav a{
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
    font-weight: 700;          /* ← 추가 */
}

/* 상태 */
header nav a:hover{
    background: var(--brand-weak);
    color: var(--text);
}
header nav a.active{
    background: var(--brand-weak);
    color: var(--text);
}

/* 섹션 */
.section{padding:72px 0;border-top:1px solid var(--border)}
.grid{display:grid;gap:16px}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px}

/* 히어로 */
.hero{position:relative;display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:40px 0 16px}
.hero-media img,.hero-media video{width:100%;height:420px;object-fit:cover;border-radius:20px;border:1px solid var(--border)}
.hero-copy .cta{margin-top:18px}
.btn{display:inline-block;padding:10px 14px;border-radius:12px;background:var(--brand);color:#031525;text-decoration:none;font-weight:700;border:0;cursor:pointer}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--border)}

/* 오른쪽 슬라이드(접힘/펼침) */
.jump-remote{
    position: fixed;
    top: 96px;
    right: 0;
    transform: translateX(calc(100% - var(--tab-visible))); /* 접힘: 오른쪽으로 밀어둠 */
    transition: transform .25s ease;
    z-index: 50;
}
.jump-remote:hover,
.jump-remote:focus-within{ transform: translateX(0); /* 펼침 */ }

/* 패널 박스 */
.jump-remote ul{
    list-style: none;
    margin: 0;
    padding:10px 4px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(17,19,24,.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 14px 0 0 14px;
}

/* 버튼 기본: 왼쪽 도트 + 라벨 */
.jump-remote a.tab{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    padding: 8px calc(var(--tab-visible) + 2px) 6px 6px; /* 탭 폭+여유 2px */
    border-radius: 10px;
    white-space: nowrap;
    transition: color .15s ease, background .15s ease, padding-right .25s ease;
}

/* 패널 펼침 시: 버튼 오른쪽 여백 축소 */
.jump-remote:hover a.tab,
.jump-remote:focus-within a.tab{ padding-right: 8px; }

/* 왼쪽 도트(펼침에서 보임) */
.jump-remote a.tab .dot-left{
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    border: 2px solid var(--muted);
    background: transparent;
    flex: 0 0 var(--dot-size);
    display: none; /* 기본(접힘)은 숨김 */
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

/* 라벨 표시 */
.jump-remote a.tab .label{ transition: opacity .15s ease, transform .15s ease; }
.jump-remote:not(:hover):not(:focus-within) a.tab .label{
    opacity: 0;
    transform: translateX(8px);
    width: 0;
    overflow: hidden;
}

/* 오른쪽 탭용 도트(접힘에서 보이는 점) */
.jump-remote a.tab::after{
    content: "";
    position: absolute;
    right: calc((var(--tab-visible) - var(--dot-size)) / 2 + 11px);
    top: 50%;
    transform: translateY(-50%);
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    border: 2px solid var(--muted);
    background: transparent;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, opacity .15s ease;
}

/* 펼치면: 왼쪽 도트/라벨 보이기, 오른쪽 점 숨김 */
.jump-remote:hover a.tab .dot-left,
.jump-remote:focus-within a.tab .dot-left{ display: inline-block; }
.jump-remote:hover a.tab::after,
.jump-remote:focus-within a.tab::after{ opacity: 0; }

/* Hover/Focus */
.jump-remote a.tab:hover,
.jump-remote a.tab:focus-visible{
    color: var(--text);
    background: var(--brand-weak);
}

/* 활성 섹션: 동그라미 채우기 */
.jump-remote a.tab.active::after{ /* 접힘 */
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-weak);
}
.jump-remote:hover a.tab.active .dot-left,
.jump-remote:focus-within a.tab.active .dot-left{ /* 펼침 */
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-weak);
}

/* 모바일에서는 숨김 */
@media (max-width: 960px){
    .jump-remote{ display: none; }
}

/* 애니메이션 */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}

/* 푸터 & 토스트 */
.footer{padding:24px 0;color:var(--muted)}
.toast{
    position:fixed; left:50%; bottom:24px; transform:translateX(-50%);
    background:#20242c; color:#fff; padding:12px 16px; border-radius:12px;
    opacity:0; pointer-events:none; transition:opacity .25s;
}
.toast.show{opacity:1}

/* 960 → 768 로 변경 */
@media (max-width: 768px){
    /* 일반 2컬럼/tri-block만 세로 스택 */
    .tech-block:not(.image-only){
        grid-template-columns: 1fr;
        min-height: auto;
    }
    /* 일반 블록에서만 높이 제한 */
    .tech-block:not(.image-only) .tech-media{ max-height: 42vh; }
    .tech-block:not(.image-only) .tech-media img{ height: 42vh; }
}

/* 가로 유지 옵션은 그대로 */
@media (max-width: 768px){
    .tech-block.keep-2col{ grid-template-columns:7fr 5fr; }
    .tech-block.keep-2col.right{ grid-template-columns:5fr 7fr; }
}

/* --- Technologies: 심플 가로 레이아웃 (카드 느낌 제거) --- */
.tech-block{
    width: min(88vw, 1120px);
    margin: 56px auto;
    display: grid;
    grid-template-columns: 7fr 5fr;/* ≈58% : 42% */
    gap: 28px;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    min-height: 420px;
}
.tech-media{ position: relative; overflow: hidden; }
.tech-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tech-content{
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 0;
}
.tech-content h2{ margin: 0 0 6px; }
.tech-content p { margin: 0; color: var(--muted); }

/* 이미지 오른쪽 버전 */
.tech-block.right{ grid-template-columns: 5fr 7fr; }
.tech-block.right .tech-media{ order: 2; }
.tech-block.right .tech-content{ order: 1; }

/* 반응형(선택적으로 가로 유지) */
@media (max-width: 768px){
    .tech-block.keep-2col{ grid-template-columns: 7fr 5fr; }
    .tech-block.keep-2col.right{ grid-template-columns: 5fr 7fr; }
}

/* 스크롤 등장 애니메이션(이미지/텍스트 각각 좌/우에서) */
.reveal-left, .reveal-right{
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease;
    will-change: transform, opacity;
}
.reveal-left{  transform: translateX(-20px); }
.reveal-right{ transform: translateX( 20px); }
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: none; }

/* 첫 섹션만 상단 간격 줄이기 + 구분선 제거 */
.section.tight-top{
    padding-top: 24px;  /* 기본 72px → 24px로 축소 */
    border-top: 0;      /* 첫 섹션은 라인 제거 */
}
.section.tight-top .tech-block{ margin-top: 12px; } /* 기본 56px → 12px */

/* Case Studies: 헤더 제외 높이를 한 화면으로 꽉 채우기 */
.section.vh-fit{
    padding: 0;
    border-top: 0;
}
.section.vh-fit .tech-media{ height: 100%; }
.section.vh-fit .tech-media img{ width: 100%; height: 100%; object-fit: cover; }
.section.vh-fit .caption{ margin: 0; padding: 10px 0 14px; }

/* 클릭 재생 오버레이 버튼 */
.media-play::before{
    content: "";
    width: 100%; height: 100%; border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
    display: block;
    position: relative;
}
.media-play::after{
    content: "";
    position: absolute;
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
    transform: translateX(6px);
}

/* 커스텀 재생바 */
.media-controls{
    position: absolute; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.0));
    z-index: 2;
}
.media-controls .pp{
    appearance: none; border: 1px solid var(--border); border-radius: 8px;
    background: rgba(255,255,255,.12); color: #fff; font-weight: 700;
    width: 42px; height: 32px; cursor: pointer;
}
.media-controls .pp:hover{ background: rgba(255,255,255,.18); }
.media-controls .seek{
    -webkit-appearance: none; appearance: none;
    height: 6px; border-radius: 999px; background: rgba(255,255,255,.25);
    outline: none; cursor: pointer;
}
.media-controls .seek::-webkit-slider-thumb{
    -webkit-appearance: none; appearance: none;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--brand); border: 0; margin-top: -4px;
}
.media-controls .seek::-moz-range-thumb{
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--brand); border: 0;
}
.media-controls .time{ color: #fff; font-size: 12px; opacity: .9; }

/* ----- Footer Enquiry (통합 정리) ----- */
.footer-enquiry{
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0 24px; /* 패널 열림/고정 폼 기준 */
}
.footer-enquiry .container{
    width: 60%;
    max-width: 880px;
    margin: 0 auto;
}
.enquiry-title{
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text);
}
.enquiry-divider{
    border: 0;
    border-top: 1px solid var(--border);
    margin: 0 0 16px;
}
.footer-enquiry .contact-panel{ display:grid; gap:12px; padding:16px 0 18px; }
.footer-enquiry .row{ display:grid; }
.footer-enquiry .row.two{ grid-template-columns:1fr 1fr; }
@media (max-width: 640px){ .footer-enquiry .row.two{ grid-template-columns: 1fr; } }

.footer-enquiry input,
.footer-enquiry textarea{
    width: 100%;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
}
.theme-light .footer-enquiry input,
.theme-light .footer-enquiry textarea{ background: #fff; }

.footer-enquiry textarea.msg{
    min-height: 180px; /* 필요 시 220~280px로 조정 */
    resize: vertical;
}
.footer-enquiry .actions{
    display: flex; justify-content: flex-end; align-items: center; gap: 12px;
}
.footer-enquiry .status{ color: var(--muted); font-size: 14px; }

/* 접기/펼치기 토글(간단 탭 UI 유지) */
.footer-enquiry .contact-toggle{
    width: 100%;
    height: 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
    background: transparent;
    border: 0; border-bottom: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    padding: 0 8px;
    font-weight: 700;
}
.footer-enquiry .contact-toggle .chev{ transition: transform .2s ease; }
.footer-enquiry .contact-toggle[aria-expanded="true"] .chev{ transform: rotate(180deg); }

/* 반응형 */
@media (max-width: 768px){
    .footer-enquiry .container{ width: 92%; }
}

/* ===== Footer Light Theme ===== */
footer{
    background: var(--footer-bg);
    box-shadow: inset 0 1px 0 var(--footer-border);
}
.footer-enquiry{
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
}
footer .footer{
    padding: 20px 0;
    color: var(--footer-muted);
}
.footer-enquiry .enquiry-title{ color: var(--footer-text); }
.footer-enquiry .enquiry-divider{ border-top-color: var(--footer-border); }
.footer-enquiry input,
.footer-enquiry textarea{
    background: #fff !important;
    color: var(--footer-text) !important;
    border: 1px solid #dfe3e8 !important;
}
.footer-enquiry input::placeholder,
.footer-enquiry textarea::placeholder{ color: #9aa0a6; }
.footer-enquiry .status{ color: var(--footer-muted); }

/* footer 정보만 최소 스타일 (기존 footer 팔레트/배경 유지) */
footer .site-info{ display:grid; gap:6px; color:var(--footer-muted); font-size:14px; }
footer .site-info .corp{ color:var(--footer-text); font-weight:800; }
footer .site-info .addr{ font-style:normal; }
footer .site-info a{ color:inherit; text-decoration:none; }
footer .site-info a:hover{ text-decoration:underline; }
footer .site-info .sep{ margin:0 6px; opacity:.6; }

/* 선택: 모바일에서 약간 크게 */
@media (max-width:640px){
    footer .site-info{ gap:8px; font-size:13px; }
}

/* Floating Contact FAB (Home 제외) */
.contact-fab{
    position: fixed;
    right: 20px; bottom: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid; place-items: center;
    text-decoration: none;
    color: #fff;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    z-index: 120; /* 점프 리모컨(50)보다 위 */
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.contact-fab:hover{ transform: scale(1.05); background: rgba(0,0,0,.55); }
.contact-fab .icon{ font-size: 22px; line-height: 1; }
@media (max-width: 768px){
    .contact-fab{ right: 14px; bottom: 18px; width: 52px; height: 52px; }
    .contact-fab .icon{ font-size: 20px; }
}

/* ===== tri-block 기본 레이아웃 (폭/그리드만 남김) ===== */
.tri-block{
    margin: 56px auto;
    display: grid;
    --img-col: 58%;
    grid-template-columns: var(--img-col) calc(100% - var(--img-col));
    gap: 28px;
    align-items: stretch;
}
.tri-block.right{ grid-template-columns: calc(100% - var(--img-col)) var(--img-col); }
.tri-block.right .media-left{ order: 2; }
.tri-block.right .stack{ order: 1; }

/* 오른쪽 스택: 콘텐츠 높이로 쌓고 묶음 가운데 */
.tri-block.no-crop-tight .stack{
    display: grid;
    grid-template-rows: auto 1fr;   /* ← 핵심 */
    gap: var(--stack-gap, 8px);
    height: 100%;                   /* ← 남는 높이를 1fr에 배분하려면 필요 */
    align-self: stretch;             /* 세로 중앙 정렬 제거, 컨테이너에 맞춤 */
}

/* tri-block 텍스트: 심플/일관 타이포 */
.tri-block .text-top h2{
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    letter-spacing: .2px;
    font-weight: 800;
}
.tri-block .text-top p{
    margin: 0;
    line-height: 1.65;
    color: var(--text);
}
.tri-block .text-top p + p{ margin-top: 8px; }
/*.tri-block .stack{ gap: 10px; }*/
.tri-block .text-top{ align-content: start; }

/* tri-block 제목 포맷 강화 */
.tri-block .text-top h2{
    position: relative;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border: 0;                 /* 기존 라인 제거 */
    letter-spacing: .2px;
    font-weight: 800;
}
.tri-block .text-top h2::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width: var(--bar-w, 120px); height: 3px;  /* 길이/두께 취향 조절 */
    background: linear-gradient(90deg, var(--brand), transparent);
    border-radius: 3px;
    opacity:.9;
}
/* 리드 문단 강조 */
.tri-block .text-top p:first-of-type{
    color: var(--text);                             /* muted → text */
    font-weight: 600;
    font-size: clamp(16px, 1.05vw, 18px);          /* 살짝 크게 */
}
/* 제목 바로 아래 여백 살짝 */
.tri-block .text-top h2 + p{ margin-top: 0; }   /* 기본은 0이었음 */

/* 하단 미디어 프레임 */
.tri-block .media-bottom{
    border: 2px solid var(--frame);
    border-radius: 12px;    /* 필요 없으면 0으로 */
    background: var(--frame-bg);
    overflow: hidden;       /* 모서리 안으로 이미지/슬라이더 클립 */
}

/* 이미지/비디오가 프레임 배경과 어울리게 */
.tri-block .media-bottom img,
.tri-block .media-bottom video{
    background: var(--frame-bg);  /* 투명 PNG 대비 가독성 ↑ */
}

/* 섹션별로 원하는 길이 지정 */
#tech-dws  .text-top h2{ --bar-w: 160px; }
#tech-dps  .text-top h2{ --bar-w: 220px; }
#tech-pis  .text-top h2{ --bar-w: 190px; }
#tech-ts   .text-top h2{ --bar-w: 200px; }
#tech-3d-t-sorter .text-top h2{ --bar-w: 160px; }
#tech-volume-sorter .text-top h2{ --bar-w: 140px; }
#tech-info-communication .text-top h2{ --bar-w: 180px; }
/* DWS만 스크롤/최대높이 제한 해제 */
#tech-dws .tri-block.no-crop-tight .text-top{
    overflow: visible !important;
    max-height: none !important;
    padding-right: 0;  /* 스크롤 안 쓰니 여유 패딩도 제거 */
}

/* 맨 첫 기술 섹션만 더 타이트하게 하고 싶으면 */
#tech-dws .tri-block{
    margin-top: 8px;
}

/* tri-block 섹션 사이 구분 점선 */
.section.vh-fit + .section.vh-fit::before{
    content:"";
    display:block;
    width: var(--tri-fixed-w);
    margin: clamp(4px, 1vh, 10px) auto 0;  /* 위 여백 줄임 */
    border-top: 1px dashed var(--divider);
    opacity: .65;
    transform: translateY(-70px); /* ← 더 위로: -8~-14px 사이로 취향 조절 */
}

/* (선택) 점선 바로 뒤 tri-block 상단 여백 살짝 줄이기 */
.section.vh-fit + .section.vh-fit .tri-block{
    margin-top: 12px; /* 기존 16px → 12px 정도로 타이트하게 */
}

/* tri-block 오른쪽 컬럼 전체에 안전 패딩 */
.tri-block .stack{ padding-inline-end: var(--jump-safe, 0); }

#tech-info-communication .tri-block .media-bottom{
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;   /* 혹시 남아있다면 */
    /* overflow는 그대로 두는 편이 슬라이더 클립에 안전 */
}


/* 1) tri-block 자체를 16:9 고정 비율 박스로 전환 */
.section.vh-fit .tri-block.no-crop-tight{
    /*!* 여유 느낌을 위해 간격도 살짝 반응형으로(선택) *!*/
    gap: clamp(16px, 1.6vw, 28px);
    position: relative;
    aspect-ratio: 16 / 9;
    width: var(--tri-fixed-w) !important;
    height: var(--tri-fixed-h) !important;
    max-width: none !important;
    max-height: none !important;
    margin-left: auto;
    margin-right: auto; /* 가운데 정렬(상하 마진, 기존 56px 유지) */
    /* 좌:우 = 45% : 55% 고정 */
    --img-col: 45%;
    grid-template-columns: var(--img-col) calc(100% - var(--img-col)) !important;
    align-items: stretch;
}

/* 2) 우측 컬럼(stack) 내부 배치:
      - 첫 줄(text-top)은 내용만큼(auto)
      - 두 번째 줄(media-bottom)은 남은 공간 1fr */
.section.vh-fit .tri-block.no-crop-tight .stack{
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    height: 100% !important;
    min-height: 0 !important;
    align-content: start;
    gap: var(--stack-gap, 8px);
}

/* 3) 좌/우 컬럼 모두 "높이 100%" 컨텐트 & 오버플로 안전 */
.section.vh-fit .tri-block.no-crop-tight .media-left,
.section.vh-fit .tri-block.no-crop-tight .media-bottom{
    height: 100%;
    min-height: 0;
    overflow: hidden; /* 필요시 프레임 밖 넘침 방지 */
}

/* 4) 이미지/비디오: 크롭 없이 박스 안에 맞춤 */
.section.vh-fit .tri-block.no-crop-tight .media-left img,
.section.vh-fit .tri-block.no-crop-tight .media-left video,
.section.vh-fit .tri-block.no-crop-tight .media-bottom img,
.section.vh-fit .tri-block.no-crop-tight .media-bottom video{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* 5) 슬라이더가 media-bottom의 남은 공간을 정확히 채우도록 높이 고정 */
.section.vh-fit .tri-block.no-crop-tight .media-bottom .slider{
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto; /* 트랙 1fr + 도트/내비 영역 */
    min-height: 0;
}
.section.vh-fit .tri-block.no-crop-tight .media-bottom .slider-track{
    height: 100%;
    display: flex;
}
.section.vh-fit .tri-block.no-crop-tight .media-bottom .slide{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 슬라이더/이미지 공통: 컨테이너 자체 비율로 높이 결정 */
.section.vh-fit .tri-block.no-crop-tight .media-bottom{
    align-self: start;         /* 늘어나지 않게 */
    height: auto !important;   /* 100% → auto */
    aspect-ratio: var(--mb-ar);
    max-height: 100%;          /* tri-block 내부에서만 제한 */
}

/* 이미지 단독일 때도 동일하게 채우기 */
.section.vh-fit .tri-block.no-crop-tight .media-bottom img{
    width: 100%; height: 100%; object-fit: contain; display: block;
}

/* right 변형도 동일 비율 유지(순서만 반전) */
.section.vh-fit .tri-block.right.no-crop-tight{
    grid-template-columns: calc(100% - var(--img-col)) var(--img-col) !important;
}

/* ====== 모바일 기본 규칙 무력화(항상 2컬럼 + 고정 크기 유지) ====== */
@media (max-width: 768px){
    .section.vh-fit .tri-block.no-crop-tight{
        width: var(--tri-fixed-w) !important;
        height: var(--tri-fixed-h) !important;
        grid-template-columns: var(--img-col) calc(100% - var(--img-col)) !important;
    }
    .section.vh-fit .tri-block.right.no-crop-tight{
        grid-template-columns: calc(100% - var(--img-col)) var(--img-col) !important;
    }
}
/* (주의) 뷰포트가 tri-fixed-w보다 좁으면 가로 스크롤이 생기는 게 정상 동작입니다. */


/* 모바일/좁은 화면에서는 겹침 없으니 패딩 제거 */
@media (max-width: 1200px){
    :root{ --jump-safe: 0px; }
}

/* ===== Image Slider (리팩토링) ===== */
.media-bottom .slider{
    /* 공통 토큰 */
    --slide-fit: cover;   /* 섹션별로 contain으로 덮어쓰기 가능 */
    --nav-size: 36px;
    --nav-offset: 10px;

    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    isolation: isolate;
}

/* 트랙: 한 장씩 가로 슬라이드 */
.slider-track{
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    transition: transform .4s ease;
    will-change: transform;
}

/* 슬라이드(이미지/비디오) */
.slider .slide{
    width: 100%;
    height: 100%;
    object-fit: var(--slide-fit);
    display: block;
}

/* 좌우 버튼 */
.slider-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inline-size: var(--nav-size);
    block-size: var(--nav-size);
    display: grid;
    place-items: center;
    font-weight: 800;
    background: rgba(0,0,0,.35);
    color: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 2;
    font-size: 0;   /* 텍스트 숨김 */
    line-height: 0;
}
.slider-nav:hover{ background: rgba(0,0,0,.5); }
.slider-nav.prev{ left: var(--nav-offset); }
.slider-nav.next{ right: var(--nav-offset); }
.slider-nav::before{
    content: "";
    display: block;
    font-size: calc(var(--nav-size) * .72);
    line-height: 1;
    transform: translateY(-1px);
    color: #fff;
}
.slider-nav.prev::before{ content: "‹"; }
.slider-nav.next::before{ content: "›"; }

/* 하단 도트 */
.slider-dots{
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: var(--dot-gap, 10px);
    z-index: 2;
}
.slider-dots button{
    box-sizing: border-box;
    inline-size: var(--dot-size, 12px);
    block-size: var(--dot-size, 12px);
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 2px solid var(--muted);
    border-radius: 50%;
    background: transparent;
}
.slider-dots button.active{
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-weak);
}

/* 모바일: 버튼 살짝 축소/안쪽 */
@media (max-width: 768px){
    .media-bottom .slider{
        --nav-size: 32px;
        --nav-offset: 8px;
    }
}

/* === 섹션별 오버라이드 예시 ===================== */
/* 슬라이드 무크롭 + 배경색(투명 PNG 대비) */
#tech-info-communication .slider{ --slide-fit: contain; }
#tech-info-communication .media-bottom .slider,
#tech-info-communication .media-bottom .slider-track,
#tech-info-communication .media-bottom .slide{
    height: 100%;
}
#tech-info-communication .media-bottom .slide{
    object-fit: contain !important;
    background: #fff; /* 필요 없으면 지워도 됨 */
}

/* About 개요 서명 */
.tech-content .sign{
    margin-top: 12px;
    font-weight: 700;
    font-size: 1rem; /* 문단과 동일 */
}

/* ==== IMAGE-ONLY: 최종 오버라이드 ================= */
.tech-block.image-only,
.tech-block.image-only .tech-media{
    min-height: 0 !important;
}
.tech-block.image-only .tech-media{
    height: auto !important;
    overflow: hidden;
}
.tech-block.image-only{
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    width: var(--content-w);
    margin: 36px auto;
}
/* 기본 16:9 */
.tech-block.image-only:not(.vh60):not(.vh65):not(.vh70):not(.vh75):not(.vh80) .tech-media{
    aspect-ratio: 16 / 9 !important;
}
.tech-block.image-only .tech-media img,
.tech-block.image-only .tech-media video{ width:100%; height:100%; object-fit:cover; display:block; }
/* vh 모드(이미지+캡션 화면 비율 고정) */
/* vh 모드에서 너비를 높이 × 16/9로 */
.tech-block.image-only:is(.vh60,.vh65,.vh70,.vh75,.vh80){
    --ar: 1.7778;     /* 16/9 */
    --cap-h: 40px;    /* 캡션+간격 추정치, 필요에 맞게 조절 */
    width: min(var(--content-w), calc((var(--cs-h) - var(--cap-h)) * var(--ar)));
}
.tech-block.image-only.vh60,
.tech-block.image-only.vh65,
.tech-block.image-only.vh70,
.tech-block.image-only.vh75,
.tech-block.image-only.vh80{
    display: grid;
    gap: 8px;
    height: var(--cs-h) !important;  /* 총 높이를 정확히 70/75/80vh로 고정 */
    min-height: 0 !important;        /* 최소 높이 덮어쓰기 */
    grid-template-rows: minmax(0,1fr) auto; /* 위: 미디어(가변), 아래: 캡션 */
}
.tech-block.image-only.vh60{ --cs-h: 60vh; }
.tech-block.image-only.vh65{ --cs-h: 65vh; }
.tech-block.image-only.vh70{ --cs-h: 70vh; }
.tech-block.image-only.vh75{ --cs-h: 75vh; }
.tech-block.image-only.vh80{ --cs-h: 80vh; }
/* vh 모드에서 16:9 끔 + 높이 꽉 채움 */
.tech-block.image-only:is(.vh60,.vh65,.vh70,.vh75,.vh80) .tech-media{
    aspect-ratio: 16 / 9 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden;
}

/* 캡션 */
.tech-block.image-only .caption{
    margin: 0; /* 최신 덮어쓰기 기준: margin-top 제거 */
    font-weight: 700;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.4;
    color: var(--text);
}
.tech-block.image-only .caption .note{ margin-left: 6px; color: var(--muted); font-weight: 400; }
/* 모바일 */
@media (max-width: 768px){
    .tech-block.image-only{
        width: 92vw; margin: 24px auto; height: auto !important;
    }
    .tech-block.image-only .tech-media{ aspect-ratio: 16 / 9 !important; }
}

/* --- Case Studies 페이지 전용 여백 다이어트 --- */
.case-page .section{ padding: 40px 0; }
.case-page .section:first-of-type{
    padding-top: 20px;
    border-top: 0;
}
.case-page .tech-block.image-only{ margin: 18px auto 22px; }
.case-page .tech-block.image-only .caption{ margin: 0; }

.tech-content ul{ margin: 0 0 5px 1.1em; }
.tech-content li+li{ margin-top: 4px; }

/* 주요실적: 텍스트 칼럼 살짝 넓게 */
#about-achievement .tech-block.keep-2col{ grid-template-columns: 4fr 6fr; }

/* ===== About 개요: 풀 이미지 + 오버레이 패널 (최신 정의 유지) ===== */
.overlay-hero{
    height: calc(100svh - var(--header-h, 64px));  /* 주 높이 */
    min-height: calc(100vh - var(--header-h, 64px)); /* 구형 브라우저 폴백 */
    position: relative;
    padding: 0;
    isolation: isolate;
}
/* 배경 이미지 풀 채움 */
.overlay-hero .overlay-media{ position:absolute; inset:0; }
/* 기본: 전 섹션 공통 cover */
.overlay-hero .overlay-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 가독성용 전체 그라데이션(선택) */
.overlay-hero::after{
    content:""; position:absolute; inset:0;
    background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.35) 50%, rgba(0,0,0,.45));
    pointer-events:none; z-index:0;
}
/* 기본 패널: 위 기준 배치 */
.overlay-hero .overlay-panel{
    position: absolute;
    inset-block-start: clamp(8px, 8vh, 80px); /* top */
    inset-inline-start: clamp(16px, 6vw, 72px); /* left (기본) */
    color: #fff; z-index: 1;
    padding: clamp(14px, 3vw, 24px);
    border-radius: 16px;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    box-sizing: border-box; /* 패딩 포함해서 폭 계산 */
    inline-size: var(--panel-w, clamp(320px, 36vw, 800px)); /* ← 폭 ‘자체’를 토큰으로 */
    min-inline-size: var(--panel-min, auto);                /* 최소폭 토큰 */
}
.overlay-hero .overlay-panel.right{
    inset-inline-start: auto;                    /* left 해제 */
    inset-inline-end: clamp(16px, 6vw, 72px);    /* right 고정 */
}

/* 타이포 */
.overlay-hero .overlay-panel h2{ margin:0 0 6px; color:#fff; }
.overlay-hero .overlay-panel p{  margin:0 0 8px; color:rgba(255,255,255,.92); }
.overlay-hero .overlay-panel .sign{ margin-top: 10px; }

/* 모바일 튜닝 */
@media (max-width: 768px){
    .overlay-hero{ min-height: calc(100vh - var(--header-h, 64px)); }
    .overlay-hero .overlay-panel,
    .overlay-hero .overlay-panel.right{
        top: 6vh; left: 16px; right: 16px; max-width: none;
    }
    .overlay-hero .overlay-panel.fit{
        font-size: 14px; line-height: 1.55;
        max-height: calc(100vh - var(--header-h, 64px) - 12vh);
    }
}

/* ===== image-only 전용 오버레이 패널 ===== */
.tech-block.image-only .tech-media{ position: relative; overflow: hidden; } /* 안전장치 */
.tech-block.image-only .io-panel{
    position: absolute;
    left: 5%; right: auto; top: auto;
    bottom: var(--io-bottom, 5%);
    max-width: min(var(--io-panel-w, 56%), 520px);
    max-height: calc(100% - var(--io-bottom, 5%) - 6%); /* ⬅️ 추가 */
    overflow: auto;                                      /* ⬅️ 추가 */
    color: #fff;
    padding: clamp(12px, 2.6vw, 20px);
    border-radius: 16px;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    z-index: 2;
}
.tech-block.image-only .io-panel.right{ left: auto; right: 5%; }
.tech-block.image-only .io-panel.top  {
    top: 5%; bottom: auto;
    max-height: calc(100% - 5% - 6%); /* 위 고정일 때도 안전 높이 */
}
.tech-block.image-only .io-panel h2{ margin:0 0 8px; color:#fff; }
.tech-block.image-only .io-panel p{  margin:0 0 8px; color:rgba(255,255,255,.92); }
.tech-block.image-only .io-panel .sign{ margin-top: 10px; }

.tech-block.image-only .tech-media.io-dark::after{
    content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
}
.tech-block.image-only.has-overlay .caption{ display:none; }

.tech-block.image-only.no-crop .tech-media{
    height: 100% !important; aspect-ratio: auto !important;
}
.tech-block.image-only.no-crop .tech-media img,
.tech-block.image-only.no-crop .tech-media video{
    width: 100%; height: 100%; object-fit: contain; /* 절대 크롭 금지 */
}

/* 비전 섹션: p(안에 strong) 간격 튜닝 */
#about-vision .io-panel p:has(> strong){ margin-bottom: 4px !important; }
#about-vision .io-panel p + p:has(> strong){ margin-top: 20px !important; }
#about-vision .io-panel p{ margin: 0 0 8px; }

/* ===== About - 사업분야 패널 ===== */
#about-business .io-panel{ --accent: var(--brand); }
#about-business .io-panel h2{
    text-align: center;
    font-size: clamp(20px, 2.3vw, 28px);
    margin: 0 0 10px;
}
#about-business .io-panel h2::after{
    content: "";
    display: block;
    width: 56px; height: 2px;
    margin: 8px auto 6px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: .9;
}
#about-business .io-panel h3{
    position: relative;
    margin: 16px 0 10px;
    padding-left: 10px;
    font-size: clamp(16px, 1.6vw, 20px);
}
#about-business .io-panel h3::before{
    content: "";
    position: absolute;
    left: 0; top: .25em; bottom: .25em;
    width: 3px; border-radius: 3px;
    background: var(--accent);
}
#about-business .io-panel ul{
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
#about-business .io-panel li{ position: relative; padding-left: 12px; }
#about-business .io-panel li::before{
    content: "";
    position: absolute;
    left: 0; top: 0.65em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}
@media (max-width: 900px){
    #about-business .io-panel ul{ grid-template-columns: 1fr; }
}
#about-business .io-panel { --accent: #fff; }

/* ===== About - 주요실적 패널 ===== */
#about-achievement .io-panel{
    --accent: var(--brand);
    inline-size: min(650px, 56%);   /* 큰 화면에선 650px, 작으면 52%로 자동 축소 */
    max-inline-size: min(650px, 56%);
}
#about-achievement .io-panel h2{
    text-align: center;
    font-size: clamp(20px, 2.3vw, 28px);
    margin: 0 0 10px;
}
#about-achievement .io-panel h2::after{
    content: "";
    display: block;
    width: 56px; height: 2px;
    margin: 8px auto 6px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: .9;
}
#about-achievement .io-panel .achievements{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 10px 18px;
}
#about-achievement .io-panel .achievements > li{
    position: relative;
    padding-left: 14px;
    margin: 0;
}
#about-achievement .io-panel .achievements > li::before{
    content: "";
    position: absolute;
    left: 0; top: .85em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}
#about-achievement .io-panel .achievements > li > strong{
    display: inline-block;
    font-weight: 800;
    margin: 0 4px 0 0;
}
#about-achievement .io-panel .achievements > li > ul{
    list-style: none;
    margin: 6px 0 0;
    padding: 0 0 0 12px;
}
#about-achievement .io-panel .achievements > li > ul > li{
    position: relative;
    padding-left: 10px;
    font-size: .96em;
    color: rgba(255,255,255,.92);
}
#about-achievement .io-panel .achievements > li > ul > li::before{
    content: "–";
    position: absolute;
    left: 0; top: 0;
    opacity: .8;
}
@media (max-width: 900px){
    #about-achievement .io-panel .achievements{ grid-template-columns: 1fr; }
}
#about-achievement .io-panel { --accent: #fff; }

/* no-crop에서 레터박스(여백)만큼 패널을 더 안쪽으로 */
.tech-block.image-only.no-crop .io-panel{
    --io-pad: 12px;
    left:  calc(var(--base-inset-x) + (var(--lb_left,  0px) * var(--lb_scale_x)) + var(--io-pad-x));
    right: auto;
    bottom: calc(var(--io-bottom, var(--base-inset-y)) + (var(--lb_bottom, 0px) * var(--lb_scale_y)) + var(--io-pad-y));
}

.tech-block.image-only.no-crop .io-panel.right{
    left: auto;
    right: calc(var(--base-inset-x) + (var(--lb_right, 0px) * var(--lb_scale_x)) + var(--io-pad-x));
}

.tech-block.image-only.no-crop .io-panel.top{
    bottom: auto;
    top: calc(var(--base-inset-y) + (var(--lb_top, 0px) * var(--lb_scale_y)) + var(--io-pad-y));
}

/* === 패널 유틸 === */
.overlay-hero .overlay-panel.vcenter{
    inset-block-start: 50% !important;
    inset-block-end: auto !important;
    transform: translateY(-50%);
}
.overlay-hero .overlay-panel.autosize{
    height: auto;
    max-block-size: calc(100svh - var(--header-h,64px) - 14vh);
    overflow: auto;
}
/* image-only 패널 중앙 */
.tech-block.image-only .io-panel.vcenter{
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    max-block-size: calc(100% - 10% - 6%);
    overflow: auto;
}

/* 섹션별 중앙 배치 (마크업 수정 없이도 동작) */
#about-overview .overlay-panel{ /* 중앙 + 자동높이 */
    inset-block-start: 50% !important;
    inset-block-end: auto !important;
    transform: translateY(-50%);
    height: auto;
    max-block-size: calc(100svh - var(--header-h,64px) - 14vh);
    overflow: auto;
    --panel-min: 550px;
    --panel-w: clamp(550px, 40vw, 600px); /* 필요하면 18~22vw로 미세조정 */
}

/* 모바일: vcenter는 우리가 제어, 그 외만 상단고정 */
@media (max-width: 768px){
    /* 섹션 자체 높이 폴백 */
    .overlay-hero{ min-height: calc(100vh - var(--header-h, 64px)); }

    /* vcenter 아닌 패널만 상단 고정 */
    .overlay-hero .overlay-panel:not(.vcenter),
    .overlay-hero .overlay-panel.right:not(.vcenter){
        top: 6vh; left: 16px; right: 16px; max-width: none;
    }

    /* vcenter/autosize는 우리가 제어 */
    .overlay-hero .overlay-panel.vcenter,
    .overlay-hero .overlay-panel.autosize{
        inset-block-start: 6vh !important;
        transform: none;
        max-block-size: calc(100svh - var(--header-h,64px) - 12vh);
    }

    /* image-only 패널은 하단 쪽이 읽기 좋음 */
    .tech-block.image-only .io-panel.vcenter{
        top: auto !important; bottom: 4% !important; transform: none;
        max-block-size: none; overflow: visible;
    }

    #about-overview .overlay-panel{
        --panel-min: auto;               /* 최소폭 강제 해제 */
        --panel-w: min(92vw, 560px);     /* 좌우 16px 여백 고려 */
    }
}

/* (선택) about-overview의 ‘fit’ 타이포만 유지하려면 */
#about-overview .overlay-panel.vcenter.autosize h2{
    font-size: clamp(17px, 1.9vw, 26px);
    line-height: 1.22;
}
#about-overview .overlay-panel.vcenter.autosize{
    padding: clamp(10px, 2.4vw, 18px);
    font-size: clamp(12.5px, 1.1vw, 18px);
    line-height: 1.6;
}
#about-overview .overlay-panel p + h2{
    margin-top: 20px; /* 18~24px 범위에서 취향 조절 가능 */
}

.tech-block.image-only .io-panel{
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.6;
}
.tech-block.image-only .io-panel h2{
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.22;
    font-weight: 800;
}
.tech-block.image-only .io-panel h3{
    font-size: clamp(17px, 1.7vw, 24px);
    line-height: 1.35;
    font-weight: 700;
}
/* 모바일에서 과도한 확대 제동 */
@media (max-width: 768px){
    .tech-block.image-only .io-panel{
        --io-fs: clamp(15px, 3.6vw, 17px);
    }
    .tech-block.image-only .io-panel h2{
        --io-h2: clamp(20px, 5.2vw, 26px);
    }
    .tech-block.image-only .io-panel h3{
        --io-h3: clamp(16px, 4.4vw, 20px);
    }
}

/* ===== Key Point (consolidated & tuned) ===== */
.keypoint{
    --kp-accent: var(--brand);             /* 섹션별로 바꾸고 싶으면 오버라이드 */
    display:flex; align-items:center;
    gap: 8px;                               /* 도트-텍스트 간격 살짝 축소(10→8) */
    margin-top:12px;
    padding: 12px 12px;                     /* 좌우 14→12 */
    padding-left: 10px;                     /* 왼쪽 더 붙이기 */
    background: linear-gradient(180deg, #f5f7fb, #eff2f6);
    border:1px solid var(--border);
    border-left:4px solid var(--kp-accent);
    border-radius:12px;
    color: var(--text);
    font-weight:700;                        /* 600 → 700 */
    line-height:1.5;
    font-size:14px;                         /* 13px → 14px */
    box-shadow:0 4px 12px rgba(0,0,0,.06);
}

/* 좌측 'POINT' 뱃지 */
.keypoint::before{
    content:"POINT";
    display:inline-block;
    padding: 2px 6px;
    margin: 0;                              /* gap만 사용 (여분 간격 제거) */
    margin-left: -2px;                      /* 왼쪽 보더 쪽으로 살짝 끌어당김 */
    border-radius:999px;
    background: var(--brand-weak);
    border:1px solid var(--kp-accent);
    color: var(--kp-accent);
    font-weight:800;
    font-size:12px;                         /* 뱃지도 1px 업하면 균형 좋음 */
    line-height:1;
    transform: translateY(-1px);            /* 시각 중심 보정 */
}

/* 위 문단과의 간격만 살짝 더 타이트하게 */
.tri-block .text-top p + .keypoint{ margin-top: -4px; } /* -2 ~ -6px 추천 */

/* 라이트 테마 톤 살짝 밝게 */
.theme-light .keypoint{
    background: linear-gradient(180deg, #f7f9fc, #f0f3f7);
}
/* 3) 문단 다음 keypoint는 넉넉하게 벌림 */
.tri-block .text-top p + .keypoint{
    margin-top: 5px;        /* 필요 시 12~18px에서 조절 */
}
.tri-block .text-top .keypoint{
    margin-bottom: 10px; /* 필요시 8~16px 조절 */
}

/* 앵커 점프 시 헤더에 안 가리도록 */
section[id]{ scroll-margin-top: calc(var(--header-h, 64px) + 16px); }

/* Home 전용: 헤더+히어로 = 화면 100% */
.hero.hero-full{
    position: relative;
    min-height: calc(100vh - var(--header-h));
    padding: 0;
    display: block;
}
.hero.hero-full .hero-media{ position: absolute; inset: 0; }
.hero.hero-full .hero-media img,
.hero.hero-full .hero-media video{
    width: 100%; height: 100%; object-fit: cover; border: none; border-radius: 0;
}
.hero.hero-full .hero-copy{
    position: absolute;
    top: 65%;
    right: clamp(16px, 6vw, 80px);
    transform: translateY(-50%);
    max-width: min(560px, 44vw);
    text-align: right;
    display: block;
    padding: 0;
    z-index: 2;
    color:#fff;
    text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.hero.hero-full .hero-copy h1{ margin: 0 0 8px; }
.hero.hero-full .hero-copy p{  margin: 0 0 14px; }
.hero.hero-full .hero-copy .cta{
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
/* 모바일 최적화 */
@media (max-width: 960px){
    .hero.hero-full .hero-copy{
        top: 60%;
        right: 16px;
        left: 16px;
        max-width: none;
        text-align: left;
    }
    .hero.hero-full .hero-copy .cta{
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
/* 읽기 쉬운 오버레이 */
.hero.hero-full::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
    z-index: 1;
}
.hero.hero-full .btn.ghost{
    color: #fff;
    border: 1px solid rgba(255,255,255,.7);
}
.hero.hero-full .btn.ghost:hover{ background: rgba(255,255,255,.12); }
.hero.hero-full .hero-copy h1,
.hero.hero-full .hero-copy p{ color:#fff; }

/* 울트라와이드(21:9+)에선 최대폭 약간만 열기 */
@media (min-aspect-ratio: 21/9){
    :root{ --page-max: 1840px; } /* 1760~1920px 중 취향 */
}

/* 4:3 이하에선 최대폭 약간만 닫기(너무 넓어 보이는 것 방지) */
@media (max-aspect-ratio: 4/3){
    :root{ --page-max: 1520px; } /* 1440~1600px 권장 */
}