/* ============================================================
   코스모아 공개 홈페이지 (cm- 접두사).
   관리자 화면(common.css)과 섞이지 않도록 모든 클래스에 cm- 을 붙인다.
   Tailwind(CDN) 유틸리티는 간격 · 그리드에만 쓰고, 모양은 여기서 정한다.
   ============================================================ */

:root {
    --cm-ink: #141414;
    --cm-ink-70: rgba(20, 20, 20, .7);
    --cm-ink-50: rgba(20, 20, 20, .5);
    --cm-ink-30: rgba(20, 20, 20, .3);
    --cm-line: rgba(20, 20, 20, .1);
    --cm-paper: #FAF9F7;
    --cm-sand: #F1EEE8;
    --cm-white: #FFFFFF;
    /* 로고(코스모아-로고.ai) 색 : 파랑이 주색, 초록 · 청록이 보조색 */
    --cm-accent: #1475BC;
    --cm-accent-dark: #0F5F9A;
    --cm-accent-soft: #EAF3FA;
    --cm-green: #8DC63F;
    --cm-green-dark: #56B948;
    --cm-teal: #3FADBF;
    --cm-mint: #40BDA4;
    --cm-danger: #C21D4F;
    --cm-header-h: 64px;
    --cm-radius: 0;
    --cm-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 1024px) {
    :root { --cm-header-h: 80px; }
}

html { scroll-behavior: smooth; }
html, body { background: var(--cm-paper); color: var(--cm-ink); }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body[data-cm-locked="true"] { overflow: hidden; }

body.cm-shell { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.cm-shell > main { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
body.cm-shell > main > * { width: 100%; }
body.cm-shell > footer { flex-shrink: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

::selection { background: var(--cm-accent); color: #fff; }

/* ------------------------------------------------------------
   글자
   ------------------------------------------------------------ */
.cm-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: Manrope, "Pretendard Variable", sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--cm-accent);
}
.cm-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 0; }

.cm-display {
    font-weight: 800; letter-spacing: -.035em; line-height: 1.08;
    font-size: clamp(34px, 5.2vw, 64px);
}
.cm-display--md { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; }
.cm-display--lg { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
.cm-heading { font-weight: 800; letter-spacing: -.03em; line-height: 1.2; font-size: clamp(24px, 2.6vw, 34px); }
.cm-lead { font-size: 17px; line-height: 1.85; color: var(--cm-ink-70); }
@media (min-width: 1024px) { .cm-lead { font-size: 18px; } }
.cm-en { font-family: Manrope, "Pretendard Variable", sans-serif; }

.cm-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--cm-ink);
    padding-bottom: 4px; border-bottom: 1.5px solid var(--cm-ink); transition: color .2s, border-color .2s, gap .2s;
}
.cm-link:hover { color: var(--cm-accent); border-color: var(--cm-accent); gap: 12px; }

/* ------------------------------------------------------------
   단추
   ------------------------------------------------------------ */
.cm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 28px; border-radius: 0;
    font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
    transition: transform .25s var(--cm-ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
    cursor: pointer; border: 1.5px solid transparent;
}
.cm-btn:active { transform: translateY(1px) scale(.99); }
/* Tailwind 기본 스타일이 button · [type=submit] 배경을 투명으로 바꾸므로(같은 우선순위, 뒤에 실림) 변형 선택자를 .cm-btn 과 겹쳐 우선순위를 올린다 */
.cm-btn.cm-btn--primary { background: var(--cm-ink); color: #fff; }
.cm-btn.cm-btn--primary:hover { background: var(--cm-accent); box-shadow: 0 14px 30px -12px rgba(232, 54, 93, .7); transform: translateY(-2px); }
.cm-btn.cm-btn--accent { background: var(--cm-accent); color: #fff; }
.cm-btn.cm-btn--accent:hover { background: var(--cm-accent-dark); box-shadow: 0 14px 30px -12px rgba(232, 54, 93, .7); transform: translateY(-2px); }
.cm-btn.cm-btn--ghost { background: transparent; color: var(--cm-ink); border-color: var(--cm-ink-30); }
.cm-btn.cm-btn--ghost:hover { border-color: var(--cm-ink); background: #fff; transform: translateY(-2px); }
.cm-btn.cm-btn--light { background: #fff; color: var(--cm-ink); }
.cm-btn.cm-btn--light:hover { background: var(--cm-accent); color: #fff; transform: translateY(-2px); }
.cm-btn.cm-btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cm-btn.cm-btn--onDark:hover { background: #fff; color: var(--cm-ink); transform: translateY(-2px); }
.cm-btn--sm { height: 42px; padding: 0 20px; font-size: 13.5px; }
.cm-btn--block { width: 100%; }
.cm-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.cm-btn__arrow { width: 16px; height: 16px; transition: transform .25s var(--cm-ease); }
.cm-btn:hover .cm-btn__arrow { transform: translateX(4px); }

/* ------------------------------------------------------------
   헤더
   ------------------------------------------------------------ */
.cm-header {
    position: fixed; inset: 0 0 auto 0; z-index: 60;
    transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.cm-header--over { background: transparent; color: #fff; }
.cm-header--over.cm-header--scrolled {
    background: rgba(20, 20, 20, .72);
    backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.cm-header--solid { background: rgba(250, 249, 247, .9); color: var(--cm-ink); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); }
.cm-header--solid.cm-header--scrolled { box-shadow: 0 1px 0 var(--cm-line); }

.cm-brand { display: inline-flex; align-items: center; color: inherit; }
/* 워드마크 : cos / more 두 줄 왼쪽 정렬, cos 오른쪽 빈자리에 벚꽃 세 송이 (원래 로고 배치) */
/* 워드마크 : 검은 타일 위에 COS(흰) · MORE(분홍) 두 줄, 오른쪽 정렬. 벚꽃은 COS 오른쪽에 같이 흐른다 */
/* 헤더 로고 : 배경 타일 없이 글자만. COS 는 바탕에 따라(어두우면 흰색 · 밝으면 검정 = 헤더 글자색) 바뀌고 MORE 는 분홍 */
/* 로고 : 꽃 마크 + COSMORE (static/img/site/cosmore-logo.svg). 어두운 머리글 위에서도 파랑·초록이 그대로 보이게 색을 건드리지 않는다 */
.cm-brand { display: inline-flex; align-items: center; padding: 0; background: transparent; }
.cm-brand__mark { height: 44px; width: auto; display: block; }
@media (min-width: 1024px) { .cm-brand__mark { height: 50px; } }
.cm-brand--footer .cm-brand__mark { height: 60px; }

.cm-nav-item { position: relative; }
.cm-nav-link {
    display: inline-flex; align-items: center; height: 100%; padding: 0 18px;
    font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: inherit; opacity: .85;
    transition: opacity .2s, color .2s;
}
.cm-nav-link:hover, .cm-nav-item.is-current > .cm-nav-link { opacity: 1; }
.cm-nav-item.is-current > .cm-nav-link::after {
    content: ""; position: absolute; left: 18px; right: 18px; bottom: 22px; height: 2px; background: var(--cm-accent); border-radius: 0;
}
.cm-dropdown {
    position: absolute; top: calc(100% - 18px); left: 6px; min-width: 220px;
    padding: 10px; border-radius: 0; background: #fff; color: var(--cm-ink);
    box-shadow: 0 24px 60px -20px rgba(20,20,20,.35), 0 0 0 1px var(--cm-line);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .25s var(--cm-ease), visibility .2s;
}
.cm-nav-item:hover .cm-dropdown, .cm-nav-item:focus-within .cm-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.cm-dropdown__link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; border-radius: 0; font-size: 14px; font-weight: 500; color: var(--cm-ink); transition: background .15s, color .15s;
}
.cm-dropdown__link:hover { background: var(--cm-accent-soft); color: var(--cm-accent-dark); }
.cm-dropdown__link small { font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .06em; color: var(--cm-ink-50); }

.cm-util {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 0;
    font-size: 13px; font-weight: 700; letter-spacing: .02em; color: inherit;
    border: 1.5px solid rgba(255,255,255,.4); transition: background .2s, color .2s, border-color .2s;
}
.cm-header--solid .cm-util { border-color: var(--cm-ink-30); }
.cm-util:hover { background: var(--cm-accent); border-color: var(--cm-accent); color: #fff; }
.cm-util--store { background: var(--cm-accent); border-color: var(--cm-accent); color: #fff; }
.cm-util--store:hover { background: var(--cm-accent-dark); border-color: var(--cm-accent-dark); }
.cm-util--text { border-color: transparent !important; padding: 0 10px; opacity: .8; }
.cm-util--text:hover { background: transparent; color: var(--cm-accent); opacity: 1; }

.cm-burger { position: relative; width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 0; color: inherit; }
.cm-burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 0; transition: transform .3s var(--cm-ease), opacity .2s; }
.cm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 전체 메뉴 */
.cm-mobile { position: fixed; inset: 0; z-index: 55; background: rgba(20,20,20,.5); opacity: 0; transition: opacity .3s; }
.cm-mobile[data-open="true"] { opacity: 1; }
.cm-mobile__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px); background: var(--cm-paper);
    overflow-y: auto; padding-top: var(--cm-header-h);
    transform: translateX(100%); transition: transform .35s var(--cm-ease);
}
.cm-mobile[data-open="true"] .cm-mobile__panel { transform: translateX(0); }
.cm-mobile__link { display: flex; align-items: center; min-height: 54px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--cm-ink); }
.cm-mobile__toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--cm-ink-50); }
.cm-mobile__toggle svg { width: 20px; height: 20px; transition: transform .3s; }
.cm-mobile__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.cm-mobile__sub { padding: 2px 0 14px 4px; display: flex; flex-direction: column; gap: 2px; }
.cm-mobile__sublink { display: block; padding: 9px 12px; border-radius: 0; font-size: 15px; color: var(--cm-ink-70); }
.cm-mobile__sublink:hover { background: #fff; color: var(--cm-accent-dark); }

/* ------------------------------------------------------------
   메인 비주얼
   ------------------------------------------------------------ */
.cm-hero {
    position: relative; overflow: hidden; color: #fff;
    background: #141414;
    min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--cm-header-h) + 56px) 0 72px;
}
.cm-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.cm-hero__bg::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 600px at 85% 20%, rgba(232, 54, 93, .55), transparent 60%),
        radial-gradient(700px 500px at 10% 85%, rgba(120, 90, 255, .35), transparent 60%),
        radial-gradient(500px 400px at 60% 90%, rgba(255, 170, 120, .25), transparent 60%),
        linear-gradient(180deg, #1A1A1A 0%, #141414 100%);
}
.cm-hero__blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; animation: cm-float 14s ease-in-out infinite; }
.cm-hero__blob--1 { width: 420px; height: 420px; right: -80px; top: 8%; background: radial-gradient(circle at 30% 30%, #3FADBF, #1475BC 70%); }
.cm-hero__blob--2 { width: 300px; height: 300px; left: 6%; bottom: 6%; background: radial-gradient(circle at 30% 30%, #9C8CFF, #4A3AD6 70%); animation-delay: -5s; }
.cm-hero__blob--3 { width: 220px; height: 220px; left: 52%; top: 62%; background: radial-gradient(circle at 30% 30%, #FFD3A8, #FF8C5A 70%); animation-delay: -9s; }
@keyframes cm-float { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(0,-28px,0) scale(1.06); } }

.cm-hero__kicker { font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cm-hero__title { margin-top: 34px; font-family: Manrope, "Pretendard Variable", sans-serif; font-weight: 800; letter-spacing: -.04em; line-height: .92; font-size: clamp(64px, 11vw, 168px); text-align: left; }
.cm-hero__line { position: relative; display: block; width: max-content; }
.cm-hero__title .cm-hero__accent { background: linear-gradient(90deg, #8DC63F, #3FADBF); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* COS 오른쪽 위에 앉는 벚꽃 세 송이 — 원래 로고 자리 그대로 */
.cm-hero__tail { position: absolute; left: calc(100% + .08em); top: -.3em; width: 1.1em; height: .92em; display: block; }
.cm-hero__tail--bottom { top: auto; bottom: .02em; height: auto; }
.cm-hero__blossoms { position: absolute; left: 0; top: 0; width: 1.1em; height: .92em; overflow: visible; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
/* COSmetics, MORE than 의 작은 글자. 벚꽃 바로 아래(metics) · MORE 밑줄에 맞춰(than) 흰색 */
.cm-hero__small { position: absolute; left: .02em; font-family: Manrope, "Pretendard Variable", sans-serif; font-size: .17em; font-weight: 700; letter-spacing: .14em; text-transform: lowercase; color: rgba(255,255,255,.92); white-space: nowrap; line-height: 1; }
.cm-hero__tail .cm-hero__small { top: calc(100% - .02em); }
.cm-hero__tail--bottom .cm-hero__small { position: static; display: block; }
.cm-hero__blossom { transform-box: fill-box; transform-origin: center; animation: cm-blossom-sway 7s ease-in-out infinite; }
.cm-hero__blossom--1 { animation-delay: -1s; }
.cm-hero__blossom--2 { animation-delay: -3.5s; animation-duration: 9s; }
.cm-hero__blossom--3 { animation-delay: -6s; animation-duration: 8s; }
@keyframes cm-blossom-sway { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-4px); } }
/* 바탕에 흩뿌린 꽃잎 (세 가지 색, 아주 옅게) */
.cm-hero__sub { margin-top: 26px; max-width: 560px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.75; color: rgba(255,255,255,.78); letter-spacing: -.01em; }
.cm-hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 오른쪽 사진 묶음 */
.cm-hero__mosaic { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; min-height: 420px; }
.cm-hero__tile { position: relative; overflow: hidden; border-radius: 0; background: rgba(255,255,255,.06); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.cm-hero__tile:nth-child(1) { grid-row: span 2; }
/* 흰 바탕 제품 사진 위에서도 이름이 읽히게 아래쪽을 어둡게 깐다 */
.cm-hero__tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,.72) 100%); pointer-events: none; }
.cm-hero__tile__label { z-index: 1; }
.cm-hero__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.2s var(--cm-ease); }
.cm-hero__tile:hover img { transform: scale(1.1); }
.cm-hero__tile__label { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cm-hero__tile__label small { font-family: Manrope, sans-serif; font-size: 10px; letter-spacing: .14em; opacity: .75; }
.cm-hero__foot { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; align-items: center; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.cm-hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.cm-hero__scroll i { display: block; width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent); animation: cm-scroll 1.8s ease-in-out infinite; }
@keyframes cm-scroll { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------
   지표 띠
   ------------------------------------------------------------ */
.cm-stats { background: var(--cm-ink); color: #fff; }
.cm-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cm-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.cm-stat { padding: 34px 24px; border-top: 1px solid rgba(255,255,255,.1); }
.cm-stat + .cm-stat { border-left: 1px solid rgba(255,255,255,.1); }
@media (max-width: 767px) { .cm-stat:nth-child(3) { border-left: 0; } }
.cm-stat__num { font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1; }
.cm-stat__num small { font-size: .5em; margin-left: 2px; color: var(--cm-green); }
.cm-stat__label { margin-top: 8px; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cm-stat__desc { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.75); }

/* ------------------------------------------------------------
   섹션 공통
   ------------------------------------------------------------ */
.cm-section { padding: 96px 0; }
@media (min-width: 1024px) { .cm-section { padding: 128px 0; } }
.cm-section--tight { padding: 64px 0; }
.cm-section--white { background: #fff; }
.cm-section--sand { background: var(--cm-sand); }
.cm-section--dark { background: var(--cm-ink); color: #fff; }
.cm-section__head { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 768px) { .cm-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ------------------------------------------------------------
   카탈로그 카드 · 그리드
   ------------------------------------------------------------ */
.cm-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cm-grid { gap: 20px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cm-grid { gap: 24px; grid-template-columns: repeat(4, 1fr); } }

.cm-card { position: relative; display: block; border-radius: 0; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--cm-line); transition: transform .35s var(--cm-ease), box-shadow .35s var(--cm-ease); }
.cm-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,20,20,.45), 0 1px 0 var(--cm-line); }
.cm-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cm-sand); }
.cm-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--cm-ease); }
.cm-card:hover .cm-card__media img { transform: scale(1.06); }
.cm-card__tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--cm-ink); }
.cm-card__featured { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--cm-accent); color: #fff; font-size: 11px; }
.cm-card__over {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
    background: linear-gradient(to top, rgba(20,20,20,.82), rgba(20,20,20,.1) 60%, transparent);
    color: #fff; opacity: 0; transition: opacity .3s;
}
.cm-card:hover .cm-card__over { opacity: 1; }
.cm-card__over p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cm-card__over .cm-card__more { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cm-card__body { padding: 14px 16px 16px; }
.cm-card__cat { font-family: Manrope, sans-serif; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cm-ink-50); }
.cm-card__title { margin-top: 4px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-card__sub { margin-top: 4px; font-size: 12.5px; color: var(--cm-ink-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: none) { .cm-card__over { display: none; } }

.cm-empty { padding: 80px 24px; text-align: center; border: 1.5px dashed var(--cm-line); border-radius: 0; color: var(--cm-ink-50); font-size: 15px; }

/* 분류 탭 */
.cm-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none; }
.cm-tabs::-webkit-scrollbar { display: none; }
.cm-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 0; border: 1.5px solid var(--cm-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--cm-ink-70); white-space: nowrap; transition: all .2s; }
.cm-tab:hover { border-color: var(--cm-ink); color: var(--cm-ink); }
.cm-tab.is-on { background: var(--cm-ink); border-color: var(--cm-ink); color: #fff; }
.cm-tab__count { font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 0; background: var(--cm-sand); color: var(--cm-ink-50); }
.cm-tab.is-on .cm-tab__count { background: rgba(255,255,255,.2); color: #fff; }

.cm-search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 8px 0 18px; border-radius: 0; background: #fff; border: 1.5px solid var(--cm-line); transition: border-color .2s, box-shadow .2s; }
.cm-search:focus-within { border-color: var(--cm-ink); box-shadow: 0 0 0 4px rgba(20,20,20,.06); }
.cm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.cm-search button { width: 32px; height: 32px; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--cm-ink); color: #fff; }

/* ------------------------------------------------------------
   하위 화면 머리띠 · 빵부스러기
   ------------------------------------------------------------ */
.cm-subhead { position: relative; overflow: hidden; background: var(--cm-ink); color: #fff; padding: calc(var(--cm-header-h) + 64px) 0 64px; }
.cm-subhead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% 0%, rgba(20,117,188,.55), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(141,198,63,.3), transparent 60%); }
.cm-subhead__inner { position: relative; }
.cm-subhead__en { font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cm-subhead__title { margin-top: 12px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(36px, 5vw, 60px); }
.cm-subhead__desc { margin-top: 16px; max-width: 620px; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.72); }
.cm-crumb { display: flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.cm-crumb a:hover { color: #fff; }
.cm-lnb { position: sticky; top: var(--cm-header-h); z-index: 30; background: rgba(250,249,247,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--cm-line); }
.cm-lnb__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cm-lnb__list::-webkit-scrollbar { display: none; }
.cm-lnb__link { display: inline-flex; align-items: center; height: 54px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--cm-ink-50); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.cm-lnb__link:hover { color: var(--cm-ink); }
.cm-lnb__link.is-on { color: var(--cm-ink); border-color: var(--cm-accent); }

/* ------------------------------------------------------------
   특징 카드 (경쟁력 · 글로벌 인프라 · 품질관리)
   ------------------------------------------------------------ */
.cm-feature { position: relative; padding: 34px 30px; border-radius: 0; background: #fff; border: 1px solid var(--cm-line); overflow: hidden; transition: transform .35s var(--cm-ease), box-shadow .35s; }
.cm-feature:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,20,20,.35); }
.cm-feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--cm-accent-soft); z-index: 0; transition: transform .5s var(--cm-ease); }
.cm-feature:hover::after { transform: scale(1.6); }
.cm-feature > * { position: relative; z-index: 1; }
.cm-feature__no { font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--cm-accent); }
.cm-feature__icon { width: 52px; height: 52px; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--cm-ink); color: #fff; font-size: 20px; margin-top: 18px; }
.cm-feature__en { margin-top: 20px; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cm-ink-50); }
.cm-feature__title { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.cm-feature__desc { margin-top: 14px; font-size: 15px; line-height: 1.8; color: var(--cm-ink-70); }
.cm-feature__list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.cm-feature__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--cm-ink-70); }
.cm-feature__list li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--cm-accent); }
.cm-feature--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.cm-feature--dark::after { background: rgba(20,117,188,.35); }
.cm-feature--dark .cm-feature__desc, .cm-feature--dark .cm-feature__list li { color: rgba(255,255,255,.75); }
.cm-feature--dark .cm-feature__icon { background: #fff; color: var(--cm-ink); }

/* 품질 단계 */
.cm-steps { display: grid; gap: 18px; }
@media (min-width: 768px) { .cm-steps { grid-template-columns: repeat(3, 1fr); } }
.cm-step { position: relative; padding: 36px 30px; border-radius: 0; background: #fff; border: 1px solid var(--cm-line); }
.cm-step__no { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 0; background: var(--cm-ink); color: #fff; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cm-step__big { position: absolute; right: 22px; top: 14px; font-family: Manrope, sans-serif; font-size: 84px; font-weight: 800; letter-spacing: -.05em; color: var(--cm-sand); line-height: 1; z-index: 0; }
.cm-step > * { position: relative; }
.cm-step__title { margin-top: 24px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.35; }
.cm-step__en { margin-top: 6px; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cm-ink-50); }
.cm-step__desc { margin-top: 16px; font-size: 15px; line-height: 1.8; color: var(--cm-ink-70); }
@media (min-width: 768px) {
    .cm-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--cm-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 2; }
}

/* ------------------------------------------------------------
   고객사 로고 월
   ------------------------------------------------------------ */
.cm-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cm-marquee__track { display: flex; gap: 14px; width: max-content; animation: cm-marquee 48s linear infinite; }
.cm-marquee:hover .cm-marquee__track { animation-play-state: paused; }
.cm-marquee--reverse .cm-marquee__track { animation-direction: reverse; animation-duration: 56s; }
@keyframes cm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cm-logo { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 190px; height: 84px; padding: 0 24px; border-radius: 0; background: #fff; border: 1px solid var(--cm-line); }
.cm-logo__en { font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .06em; color: var(--cm-ink); }
.cm-logo__ko { font-size: 11.5px; color: var(--cm-ink-50); }
.cm-logo { position: relative; }
.cm-logo img { max-height: 44px; max-width: 150px; object-fit: contain; }
.cm-logo__link { position: absolute; inset: 0; border-radius: 0; }
.cm-logo--grid img { max-height: 52px; max-width: 70%; }
.cm-logo--grid { min-width: 0; width: 100%; height: 96px; transition: transform .3s var(--cm-ease), box-shadow .3s; }
.cm-logo--grid:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20,20,20,.35); }

/* 실적표 */
.cm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cm-table th { text-align: left; padding: 14px 16px; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cm-ink-50); border-bottom: 1.5px solid var(--cm-ink); }
.cm-table td { padding: 18px 16px; border-bottom: 1px solid var(--cm-line); vertical-align: top; line-height: 1.6; }
.cm-table td b { font-weight: 700; }
.cm-table tr:hover td { background: #fff; }
.cm-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 0; background: var(--cm-accent-soft); color: var(--cm-accent-dark); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.cm-tag--ink { background: var(--cm-ink); color: #fff; }
.cm-tag--line { background: transparent; border: 1px solid var(--cm-line); color: var(--cm-ink-70); }
.cm-record { display: grid; gap: 14px; }
@media (min-width: 768px) { .cm-record { grid-template-columns: repeat(2, 1fr); } }
.cm-record__item { padding: 24px 26px; border-radius: 0; background: #fff; border: 1px solid var(--cm-line); }
.cm-record__client { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.cm-record__item p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--cm-ink-70); }
.cm-record__volume { margin-top: 12px; display: inline-flex; font-family: Manrope, "Pretendard Variable", sans-serif; font-weight: 800; font-size: 14px; color: var(--cm-accent-dark); }

/* ------------------------------------------------------------
   CTA 띠
   ------------------------------------------------------------ */
.cm-cta { position: relative; overflow: hidden; background: var(--cm-ink); color: #fff; }
.cm-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 50%, rgba(20,117,188,.65), transparent 60%), radial-gradient(500px 300px at 0% 0%, rgba(141,198,63,.35), transparent 60%); }
.cm-cta__inner { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 72px 0; }
@media (min-width: 1024px) { .cm-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 96px 0; } }
.cm-cta__title { font-weight: 800; letter-spacing: -.035em; line-height: 1.15; font-size: clamp(26px, 3.4vw, 42px); }
.cm-cta__desc { margin-top: 14px; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------
   꼬리말
   ------------------------------------------------------------ */
.cm-footer { background: #0F0F0F; color: rgba(255,255,255,.7); }
.cm-footer__head { font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.cm-footer__link { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); transition: color .2s; }
.cm-footer__link:hover { color: #fff; }
.cm-footer__store { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: 0; background: linear-gradient(135deg, rgba(20,117,188,.95), rgba(15,95,154,.95)); color: #fff; transition: transform .3s var(--cm-ease); }
.cm-footer__store:hover { transform: translateY(-3px); }
.cm-footer__store b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.cm-footer__store span { display: block; margin-top: 4px; font-size: 12.5px; opacity: .85; }
.cm-social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 0; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .2s, border-color .2s; }
.cm-social:hover { background: var(--cm-accent); border-color: var(--cm-accent); }

/* ------------------------------------------------------------
   회사소개
   ------------------------------------------------------------ */
.cm-quote { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.4; }
.cm-quote em { font-style: normal; color: var(--cm-accent); }
.cm-prose p { font-size: 16.5px; line-height: 1.95; color: var(--cm-ink-70); }
.cm-prose p + p { margin-top: 18px; }
.cm-sign { margin-top: 32px; font-size: 14px; color: var(--cm-ink-50); }
.cm-sign b { margin-left: 10px; font-size: 20px; font-weight: 800; color: var(--cm-ink); letter-spacing: .1em; }
.cm-timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.cm-timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1.5px; background: var(--cm-line); }
.cm-timeline__item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 18px; padding: 18px 0; }
@media (min-width: 768px) { .cm-timeline__item { grid-template-columns: 40px 120px 1fr; } }
.cm-timeline__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--cm-paper); border: 1.5px solid var(--cm-ink-30); display: flex; align-items: center; justify-content: center; }
.cm-timeline__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cm-accent); }
.cm-timeline__year { font-family: Manrope, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--cm-ink); align-self: start; }
.cm-timeline__body { grid-column: 2; }
@media (min-width: 768px) { .cm-timeline__body { grid-column: 3; } }
.cm-timeline__title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.cm-timeline__desc { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--cm-ink-50); }

/* ------------------------------------------------------------
   제품 상세
   ------------------------------------------------------------ */
.cm-gallery { display: grid; gap: 14px; }
.cm-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; background: #fff; border: 1px solid var(--cm-line); }
.cm-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.cm-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.cm-gallery__thumbs::-webkit-scrollbar { display: none; }
.cm-gallery__thumb { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 0; overflow: hidden; border: 1.5px solid var(--cm-line); background: #fff; opacity: .7; transition: opacity .2s, border-color .2s; }
.cm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-gallery__thumb.is-on, .cm-gallery__thumb:hover { opacity: 1; border-color: var(--cm-ink); }
.cm-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cm-line); border: 1px solid var(--cm-line); border-radius: 0; overflow: hidden; }
.cm-spec__item { background: #fff; padding: 18px 20px; }
.cm-spec__label { font-family: Manrope, sans-serif; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cm-ink-50); }
.cm-spec__value { margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.5; }
.cm-detail__desc { font-size: 15.5px; line-height: 1.9; color: var(--cm-ink-70); white-space: pre-line; }
.cm-sticky { position: sticky; top: calc(var(--cm-header-h) + 24px); }
.cm-fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; }
@media (min-width: 1024px) { .cm-fab { display: none; } }

/* 라이트박스 · 퀵뷰 */
.cm-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,20,20,.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.cm-modal[data-open="true"] { opacity: 1; pointer-events: auto; }
/* 닫혀 있을 때는 보이지도, 클릭을 가로채지도 않는다 — display:flex 가 hidden 속성을 이기면 투명한 막이 화면 전체를 덮어 버튼이 안 눌린다 */
.cm-modal:not([data-open="true"]) { pointer-events: none; }
.cm-modal[hidden] { display: none; }
.cm-modal__box { position: relative; width: min(960px, 100%); max-height: 92vh; overflow: auto; border-radius: 0; background: #fff; transform: translateY(16px) scale(.98); transition: transform .3s var(--cm-ease); }
.cm-modal[data-open="true"] .cm-modal__box { transform: none; }
.cm-modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 0; background: rgba(255,255,255,.9); display: inline-flex; align-items: center; justify-content: center; color: var(--cm-ink); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.cm-modal__close:hover { background: var(--cm-ink); color: #fff; }
.cm-modal__grid { display: grid; }
@media (min-width: 768px) { .cm-modal__grid { grid-template-columns: 1.1fr 1fr; } }
.cm-modal__media { aspect-ratio: 1 / 1; background: var(--cm-sand); }
.cm-modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-modal__body { padding: 28px 28px 32px; }
.cm-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 0; object-fit: contain; }

/* ------------------------------------------------------------
   구입문의 폼
   ------------------------------------------------------------ */
.cm-form { display: grid; gap: 22px; }
.cm-field { display: flex; flex-direction: column; gap: 8px; }
.cm-field__label { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.cm-field__label em { font-style: normal; color: var(--cm-accent); margin-left: 3px; }
.cm-field__hint { font-size: 12.5px; color: var(--cm-ink-50); }
.cm-input, .cm-select, .cm-textarea {
    width: 100%; height: 52px; padding: 0 18px; border-radius: 0; background: #fff; border: 1.5px solid var(--cm-line);
    font-size: 15px; color: var(--cm-ink); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.cm-textarea { height: auto; min-height: 180px; padding: 16px 18px; line-height: 1.7; resize: vertical; }
.cm-input:focus, .cm-select:focus, .cm-textarea:focus { border-color: var(--cm-ink); box-shadow: 0 0 0 4px rgba(20,20,20,.06); }
.cm-input::placeholder, .cm-textarea::placeholder { color: var(--cm-ink-30); }
.cm-input.is-error, .cm-select.is-error, .cm-textarea.is-error { border-color: var(--cm-accent); }
.cm-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%23141414' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.cm-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.cm-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cm-accent); flex: 0 0 auto; }
.cm-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 130px; padding: 24px; border-radius: 0; border: 1.5px dashed var(--cm-ink-30); background: #fff; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.cm-drop:hover, .cm-drop.is-over { border-color: var(--cm-accent); background: var(--cm-accent-soft); }
.cm-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cm-drop__title { font-size: 14px; font-weight: 700; }
.cm-drop__hint { font-size: 12.5px; color: var(--cm-ink-50); }
.cm-files { display: flex; flex-direction: column; gap: 6px; }
.cm-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 0; background: #fff; border: 1px solid var(--cm-line); font-size: 13px; }
.cm-files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-files li small { color: var(--cm-ink-50); flex: 0 0 auto; }
.cm-files li button { color: var(--cm-ink-50); width: 26px; height: 26px; border-radius: 0; }
.cm-files li button:hover { background: var(--cm-accent-soft); color: var(--cm-accent-dark); }
.cm-picked { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 0; background: #fff; border: 1.5px solid var(--cm-ink); }
.cm-picked img { width: 64px; height: 64px; border-radius: 0; object-fit: cover; background: var(--cm-sand); }
.cm-privacy { padding: 20px 22px; border-radius: 0; background: #fff; border: 1px solid var(--cm-line); font-size: 13px; line-height: 1.75; color: var(--cm-ink-70); max-height: 180px; overflow: auto; }
.cm-privacy b { color: var(--cm-ink); }
.cm-contact-card { padding: 30px; border-radius: 0; background: var(--cm-ink); color: #fff; }
.cm-contact-card__tel { display: block; margin-top: 18px; font-family: Manrope, sans-serif; font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.cm-contact-card dl { margin-top: 22px; display: grid; gap: 10px; font-size: 13.5px; }
.cm-contact-card dt { font-family: Manrope, sans-serif; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.cm-contact-card dd { margin-top: 2px; color: rgba(255,255,255,.85); }
.cm-alert { padding: 14px 18px; border-radius: 0; font-size: 14px; line-height: 1.6; }
.cm-alert--error { background: #FFF0F3; color: var(--cm-danger); border: 1px solid rgba(194,29,79,.3); }   /* 오류는 색을 바꾸지 않고 붉게 둔다 */
.cm-done { text-align: center; padding: 40px 0; }
.cm-done__icon { width: 84px; height: 84px; border-radius: 0; margin: 0 auto; background: var(--cm-accent-soft); color: var(--cm-accent); display: flex; align-items: center; justify-content: center; font-size: 34px; }

/* ------------------------------------------------------------
   스크롤 등장
   ------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--cm-ease), transform .8s var(--cm-ease); transition-delay: var(--cm-reveal-delay, 0ms); }
[data-reveal][data-revealed="true"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .cm-marquee__track, .cm-hero__blob, .cm-hero__scroll i { animation: none; }
}

/* 정책 */
.cm-policy { font-size: 14.5px; line-height: 1.9; color: var(--cm-ink-70); }
.cm-policy h2 { margin-top: 36px; font-size: 18px; font-weight: 800; color: var(--cm-ink); letter-spacing: -.02em; }
.cm-policy ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
.cm-policy p { margin-top: 8px; }


/* ------------------------------------------------------------
   언어 고르기 (헤더 드롭다운 · 모바일/푸터 알약)
   ------------------------------------------------------------ */
.cm-lang { position: relative; }
.cm-lang__btn {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 0;
    font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: inherit;
    border: 1.5px solid rgba(255,255,255,.4); transition: background .2s, color .2s, border-color .2s;
}
.cm-header--solid .cm-lang__btn { border-color: var(--cm-ink-30); }
.cm-lang__btn:hover, .cm-lang.is-open .cm-lang__btn { background: var(--cm-ink); border-color: var(--cm-ink); color: #fff; }
.cm-lang__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; border-radius: 0;
    background: #fff; color: var(--cm-ink); border: 1px solid var(--cm-line); box-shadow: 0 24px 50px -24px rgba(20,20,20,.35);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--cm-ease), visibility .2s; z-index: 60;
}
.cm-lang.is-open .cm-lang__menu, .cm-lang:focus-within .cm-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.cm-lang__item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 0; font-size: 13.5px; font-weight: 600; color: var(--cm-ink); }
.cm-lang__item small { font-family: Manrope, sans-serif; font-size: 10.5px; letter-spacing: .08em; color: var(--cm-ink-50); }
.cm-lang__item:hover { background: var(--cm-accent-soft); color: var(--cm-accent-dark); }
.cm-lang__item.is-on { background: var(--cm-ink); color: #fff; }
.cm-lang__item.is-on small { color: rgba(255,255,255,.6); }
.cm-lang--row { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-lang__pill { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 0; font-size: 12.5px; font-weight: 600; border: 1px solid var(--cm-ink-30); color: inherit; transition: background .2s, color .2s, border-color .2s; }
.cm-footer .cm-lang__pill { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.cm-lang__pill:hover { border-color: var(--cm-accent); color: var(--cm-accent); }
.cm-lang__pill.is-on { background: var(--cm-accent); border-color: var(--cm-accent); color: #fff; }

/* 일본어 · 중국어 : Pretendard 에 없는 글자는 Noto Sans 로 (head 에서 그 언어일 때만 받는다) */
html[lang="ja"] body { font-family: "Pretendard Variable", Pretendard, "Noto Sans JP", system-ui, sans-serif; }
html[lang="zh-CN"] body { font-family: "Pretendard Variable", Pretendard, "Noto Sans SC", system-ui, sans-serif; }
html[lang="ja"] .cm-display, html[lang="zh-CN"] .cm-display, html[lang="ja"] .cm-subhead__title, html[lang="zh-CN"] .cm-subhead__title { letter-spacing: -.01em; }

/* ------------------------------------------------------------
   메인 카탈로그 사진 벽 (vivmgmt 식 벽돌 쌓기). 히어로와 같은 어두운 바탕이라 내려오면 한 덩어리로 이어진다
   ------------------------------------------------------------ */
/* 붙박이 틀은 마지막 사진 줄에서 끝난다. More 쪽 위 여백 ≈ 한 줄 띠 높이 → 띠가 떠나는 동안 More 는 띠 바로 밑에서 올라온다 */
.cm-wall { background: #141414; color: #fff; padding: 28px 0 0; }
.cm-wall--foot { padding: 170px 0 80px; }
.cm-wall__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 0 10px 18px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cm-wall__title { margin-top: 10px; font-family: Manrope, "Pretendard Variable", sans-serif; font-weight: 800; font-size: clamp(40px, 6vw, 88px); letter-spacing: -.05em; line-height: .95; color: #fff; }
.cm-wall__all { display: inline-flex; align-items: flex-end; gap: 10px; font-family: Manrope, "Pretendard Variable", sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.04em; line-height: .95; color: #fff; transition: color .2s; }
.cm-wall__all small { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.55); padding-bottom: .25em; }
.cm-wall__all:hover { color: var(--cm-green); }
.cm-wall__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: start; }
.cm-wall__col { display: flex; flex-direction: column; gap: 10px; }
.cm-wall__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; border-radius: 0; color: inherit; }
.cm-wall__item--wide { aspect-ratio: 3 / 2; }
.cm-wall__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--cm-ease); }
.cm-wall__item:hover img { transform: scale(1.04); }
.cm-wall__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(180deg, rgba(20,20,20,0), rgba(20,20,20,.78)); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--cm-ease); }
.cm-wall__item:hover .cm-wall__cap { opacity: 1; transform: none; }
.cm-wall__cap b { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-wall__cap small { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-wall__foot { padding: 0 10px; display: flex; justify-content: center; }
.cm-wall__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
/* 어두운 바탕 위 분류 탭 */
.cm-wall .cm-tab { background: transparent; border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.cm-wall .cm-tab:hover { border-color: #fff; color: #fff; }
.cm-wall .cm-tab.is-on { background: #fff; border-color: #fff; color: var(--cm-ink); }
.cm-wall .cm-tab__count { background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.cm-wall .cm-tab.is-on .cm-tab__count { background: var(--cm-sand); color: var(--cm-ink-50); }
/* 벽은 떠오르는 폭을 줄인다 (사진이 많아 크게 움직이면 어지럽다) */
.cm-wall__item[data-reveal] { transform: translateY(18px); }
.cm-wall__item[data-reveal][data-revealed="true"] { transform: none; }

@media (max-width: 1023px) {
    .cm-wall { padding: 48px 0 24px; }
    .cm-wall--foot { padding: 24px 0 48px; }
    .cm-wall__head { padding: 0 6px 16px; }
    /* 좁은 화면 : 네 줄 칸을 풀어(display: contents) 두 단 벽돌 쌓기로, 줄마다 다섯 장까지만 */
    .cm-wall__grid { display: block; columns: 2; column-gap: 6px; }
    .cm-wall__col { display: contents; }
    .cm-wall__item { break-inside: avoid; margin-bottom: 6px; }
    .cm-wall__col .cm-wall__item:nth-child(n+6) { display: none; }
}

/* ------------------------------------------------------------
   메인 히어로 : 붙박이 브랜드 글자가 두 줄 → 한 줄로 바뀐다 (site.js initHeroMorph 가 --p 를 0~1 로 준다)
   ------------------------------------------------------------ */
/* overflow: hidden 인 조상 안에서는 sticky 가 붙지 않는다 → 히어로는 보이게 두고 빛 덩이만 bg 에서 자른다 */
.cm-hero--morph { padding: 0; min-height: calc(100svh - var(--cm-header-h)); justify-content: flex-start; overflow: visible; }
.cm-hero--morph .cm-hero__bg { overflow: hidden; }
.cm-morph-scope { position: relative; padding-top: var(--cm-header-h); background: #141414; }
/* 띠는 높이 0 인 붙박이 상자 — 흐름에서 자리를 안 차지해서 첫 화면 오른쪽에 신념이 나란히 선다. 글자는 안쪽 상자(cm-morph__in)가 넘쳐 보인다 */
/* --band-y : 맨 위에서는 글자가 화면 세로 가운데 오도록 띠를 내려 두고(site.js), 내릴수록 0 이 되어 헤더 밑에 붙는다 */
.cm-morph { position: sticky; top: calc(var(--cm-header-h) + var(--band-y, 0px)); z-index: 3; height: 0; overflow: visible; }
.cm-morph__in { position: relative; padding: 28px 0 22px; }
/* 띠 바탕은 바뀐 만큼(--p)만 진해진다 — 맨 위에서는 오른쪽 신념 글을 가리지 않고, 한 줄이 되면 밑을 지나는 사진을 덮는다 */
.cm-morph__in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #141414 82%, rgba(20,20,20,0)); opacity: var(--p, 0); }
.cm-morph__title { margin-top: 0; transform-origin: left top; }
.cm-morph__title .cm-hero__line--2 { will-change: transform; }
.cm-morph__title .cm-hero__accent { transition: none; }
.cm-morph__all { display: inline-flex; align-items: flex-end; gap: 10px; padding-bottom: .12em; font-family: Manrope, "Pretendard Variable", sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 56px); letter-spacing: -.04em; line-height: .9; color: #fff; opacity: var(--p, 0); transform: translateY(calc((1 - var(--p, 0)) * 16px)); pointer-events: none; }
[data-cm-morph].is-one .cm-morph__all { pointer-events: auto; }
.cm-morph__all small { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.55); padding-bottom: .25em; }
.cm-morph__all:hover { color: var(--cm-green); }
/* 신념 : 글자 띠 밑을 채우고, 내리면 띠 뒤로 사라진다 */
.cm-belief { position: relative; z-index: 1; padding: 0 0 40px; opacity: calc(1 - var(--p, 0) * 1.6); }
.cm-belief__slogan { margin-top: 22px; max-width: 620px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; color: #fff; }
.cm-belief__quote { margin-top: 24px; max-width: 620px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.65; color: rgba(255,255,255,.72); letter-spacing: -.01em; }
.cm-belief__quote em { font-style: normal; color: var(--cm-green); }
.cm-belief .cm-hero__actions { margin-top: 36px; }
.cm-belief__foot { position: absolute; left: max(20px, calc((100vw - 1360px) / 2 + 40px)); right: max(20px, calc((100vw - 1360px) / 2 + 40px)); bottom: 28px; display: flex; justify-content: space-between; align-items: center; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.5); text-transform: uppercase; }
@media (max-width: 1023px) {
    /* 좁은 화면 : 띠는 보통 흐름(붙박이 아님), 글자 바로 밑에 신념, 화면 높이로 늘리지 않는다 */
    .cm-morph { position: relative; top: auto; height: auto; }
    .cm-morph__in { padding: 20px 0 10px; }
    .cm-morph__all { display: none; }
    .cm-hero--morph { min-height: 0; }
    .cm-belief { padding: 6px 0 36px; opacity: 1; }
    .cm-belief__slogan { margin-top: 16px; }
    .cm-belief__quote { margin-top: 18px; }
    .cm-belief .cm-hero__actions { margin-top: 26px; }
    .cm-belief__foot { position: static; padding: 0 20px 26px; }
}

/* ------------------------------------------------------------
   메인 첫 화면 (vivmgmt 홈 식) : 흰 바탕, 가장자리 밖까지 깔린 다섯 단 사진 벽, 가운데 위 빈자리에 큰 글자
   ------------------------------------------------------------ */
.cm-viv { position: relative; overflow: hidden; background: var(--cm-paper); color: var(--cm-ink); padding: 40px 0 72px; }   /* 인트로 다음이라 헤더 높이는 안 더한다 */
.cm-viv__head { position: absolute; z-index: 2; left: 50%; top: 102px; width: min(1360px, 100%); transform: translateX(-50%); padding: 0 40px; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 24px 48px; pointer-events: none; }
.cm-viv__head a, .cm-viv__head .cm-viv__actions { pointer-events: auto; }
.cm-viv__brand { display: flex; flex-direction: column; font-family: Manrope, "Pretendard Variable", sans-serif; font-weight: 800; font-size: clamp(88px, 11.5vw, 188px); line-height: .86; letter-spacing: -.06em; }
.cm-viv__line { display: flex; align-items: flex-start; gap: .04em; }
.cm-viv__cos { color: var(--cm-green-dark); }   /* 로고처럼 COS 초록 · MORE 파랑 */
.cm-viv__more { background: linear-gradient(90deg, #1475BC, #3FADBF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-viv__blossoms { width: .72em; height: .6em; margin-top: -.14em; overflow: visible; filter: drop-shadow(0 10px 22px rgba(20,20,20,.18)); }
.cm-viv__tag { padding-top: .35vw; max-width: 420px; }
.cm-viv__kicker { font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--cm-ink-50); }
.cm-viv__slogan { margin-top: 14px; font-size: clamp(18px, 1.5vw, 23px); font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.cm-viv__quote { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--cm-ink-70); }
.cm-viv__quote em { font-style: normal; color: var(--cm-accent); }
.cm-viv__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* 다섯 단 : 바깥 두 단은 화면 밖으로 반쯤 나가고, 가운데 세 단은 위를 비운다 */
/* 틀은 화면 너비 · 넘침 숨김. 벽은 140% 라 한 단이 화면의 28% — 처음엔 가운데(-20%)에 두고 마우스 좌우에 따라 0 ~ -40% 사이를 천천히 따라간다 */
.cm-viv__pan { position: relative; z-index: 1; overflow: hidden; width: 100%; }
.cm-viv__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 140%; transform: translate3d(-14.2857%, 0, 0); will-change: transform; align-items: start; }
.cm-viv__col { display: flex; flex-direction: column; gap: 10px; }
/* 단마다 시작 높이가 다르다. 왼쪽 네 단은 머리글(브랜드·슬로건) 아래에서 시작해 벽이 밀려도 글과 겹치지 않고, 맨 오른쪽 단만 위에서부터 */
.cm-viv__col:nth-child(1) { padding-top: clamp(300px, 28vw, 440px); }
.cm-viv__col:nth-child(2) { padding-top: clamp(380px, 34vw, 560px); }
.cm-viv__col:nth-child(3) { padding-top: clamp(430px, 38vw, 620px); }
.cm-viv__col:nth-child(4) { padding-top: clamp(340px, 30vw, 500px); }
.cm-viv__col:nth-child(5) { padding-top: 120px; }
@media (min-width: 1024px) { .cm-viv__col:nth-child(1) .cm-viv__tile:nth-child(8) { display: none; } }   /* 36 장 ÷ 5 단 → 첫 단만 여덟 장이라 왼쪽 아래 한 장이 혼자 튀어나와 PC 에선 숨긴다 */
.cm-viv__tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #ECE9E3; }
.cm-viv__tile a { position: absolute; inset: 0; display: block; transform: translateY(101%); }
.cm-viv__tile a.is-on { transform: none; z-index: 2; transition: transform 1s cubic-bezier(.77, 0, .18, 1); }
.cm-viv__tile a.is-was { transform: translateY(-101%); z-index: 1; transition: transform 1s cubic-bezier(.77, 0, .18, 1); }   /* 이전 사진도 같이 위로 밀려 나간다 */
.cm-viv__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-viv__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(180deg, rgba(20,20,20,0), rgba(20,20,20,.7)); color: #fff; opacity: 0; transition: opacity .3s; }
.cm-viv__tile:hover .cm-viv__cap { opacity: 1; }
.cm-viv__cap b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-viv__cap small { display: block; margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-viv__foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cm-viv__tabs { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1023px) {
    .cm-viv { padding-top: calc(var(--cm-header-h) + 16px); }   /* 모바일은 머리글이 붙박이 헤더 밑에 바로 오므로 헤더 높이만큼 띄운다 */
    .cm-viv__head { position: static; transform: none; width: auto; padding: 0 20px 28px; grid-template-columns: 1fr; gap: 16px; }
    .cm-viv__brand { font-size: clamp(72px, 22vw, 120px); }
    .cm-viv__pan { overflow: visible; }
    .cm-viv__grid { display: block; columns: 2; column-gap: 6px; width: auto; margin: 0 6px; transform: none !important; }
    .cm-viv__col { display: contents; }
    .cm-viv__tile { break-inside: avoid; margin-bottom: 6px; }   /* 모바일도 36장 전부 (두 단) */
    .cm-viv__foot { padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .cm-viv__tile a.is-on { transition: none; } }

/* ------------------------------------------------------------
   인트로 (메인 맨 위, 화면 하나). OEM · GWP 제조사 모션 그래픽
   ------------------------------------------------------------ */
.cm-intro { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; background: #0A0A0B; color: #fff; overflow: hidden; }
.cm-intro__bg { position: absolute; inset: 0; z-index: -1; }
.cm-intro__aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.cm-intro__aurora--1 { width: 62vw; height: 62vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #1475BC 0%, rgba(20,117,188,0) 62%); animation: cmAurora1 16s ease-in-out infinite alternate; }
.cm-intro__aurora--2 { width: 56vw; height: 56vw; right: -16vw; bottom: -24vw; background: radial-gradient(circle, #56B948 0%, rgba(86,185,72,0) 62%); animation: cmAurora2 20s ease-in-out infinite alternate; }
.cm-intro__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.3px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 55%, #000 15%, transparent 72%); }
@keyframes cmAurora1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(12vw, 10vw) scale(1.15); } }
@keyframes cmAurora2 { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-10vw, -12vw) scale(.9); } }

.cm-intro__inner { flex: 1; width: 100%; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; padding-top: calc(var(--cm-header-h) + 28px); padding-bottom: 110px; }
.cm-intro__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: Manrope, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.62); animation: cmFade 1s both .1s; }
.cm-intro__dot { width: 8px; height: 8px; border-radius: 50%; background: #8DC63F; animation: cmPulse 2.2s ease-out infinite; }
.cm-intro__since::before { content: "— "; }   /* 데스크톱은 한 줄로 "… — Since 2005" */
@keyframes cmPulse { 0% { box-shadow: 0 0 0 0 rgba(141,198,63,.65); } 100% { box-shadow: 0 0 0 14px rgba(141,198,63,0); } }
.cm-intro__title { margin-top: 26px; display: flex; flex-direction: column; font-family: "Pretendard Variable", Manrope, sans-serif; font-weight: 800; font-size: clamp(44px, 5.8vw, 100px); line-height: 1.04; letter-spacing: -.045em; white-space: nowrap; }   /* 돌아가는 단어가 줄을 넘지 않게 */
.cm-intro__title > span { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.cm-intro__title > span > span { display: inline-block; animation: cmRise 1s cubic-bezier(.2,.8,.2,1) both; }
.cm-intro__lead > span { animation-delay: .15s; }
.cm-intro__word > span { animation-delay: .3s; }
.cm-intro__tail > span { animation-delay: .45s; }
@keyframes cmRise { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cmFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cm-intro__wordIn { color: transparent; background: linear-gradient(90deg, #8DC63F, #3FADBF 55%, #4FA8EC); -webkit-background-clip: text; background-clip: text; transition: transform .55s cubic-bezier(.77,0,.18,1), opacity .4s; }
.cm-intro__wordIn.is-out { transform: translateY(-110%); opacity: 0; }
.cm-intro__wordIn.is-in { transform: translateY(110%); opacity: 0; transition: none; }
.cm-intro__sub { margin-top: 26px; max-width: 540px; font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.75; color: rgba(255,255,255,.66); animation: cmFade 1s both .7s; }
.cm-intro__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; animation: cmFade 1s both .85s; }
/* 공정 띠 : 다섯 칸이 차례로 분홍 선으로 차오른다 (10초 한 바퀴) */
.cm-intro__steps { margin-top: 44px; display: flex; max-width: 560px; animation: cmFade 1s both 1s; }
.cm-intro__steps li { flex: 1; position: relative; padding: 14px 10px 0 0; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.45); }
.cm-intro__steps li b { display: block; margin-bottom: 5px; font-family: Manrope, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .22em; color: rgba(255,255,255,.35); }
.cm-intro__steps li::before { content: ""; position: absolute; left: 0; right: 4px; top: 0; height: 1px; background: rgba(255,255,255,.16); }
.cm-intro__steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: linear-gradient(90deg, #8DC63F, #3FADBF); box-shadow: 0 0 12px rgba(63,173,191,.8); animation: cmStepLine 10s linear infinite; animation-delay: calc(var(--s) * 2s); }
.cm-intro__steps li span { animation: cmStepText 10s linear infinite; animation-delay: calc(var(--s) * 2s); }
@keyframes cmStepLine { 0% { width: 0; } 18% { width: calc(100% - 4px); } 99% { width: calc(100% - 4px); } 100% { width: 0; } }
@keyframes cmStepText { 0% { color: rgba(255,255,255,.45); } 10% { color: #fff; } 60% { color: #fff; } 100% { color: rgba(255,255,255,.45); } }

/* 제품 보드 : 정면 카드 3×2 (가운데 단은 위로, 오른쪽 단은 아래로 어긋나게). 칸마다 사진 두 장을 겹쳐 두고 site.js 가 .is-on 을 옮겨 흐림 → 또렷 으로 바꾼다 */
.cm-intro__stage { position: relative; height: min(68vh, 620px); display: flex; align-items: center; justify-content: center; perspective: 1600px; animation: cmStage 1.4s cubic-bezier(.2,.8,.2,1) both .3s; }
@keyframes cmStage { from { opacity: 0; transform: scale(.9) translateY(20px); } to { opacity: 1; transform: none; } }
.cm-intro__halo { position: absolute; left: 50%; top: 50%; width: min(36vw, 600px); height: min(36vw, 600px); transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle, rgba(20,117,188,.3), rgba(20,117,188,0) 62%); }
.cm-intro__halo::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.1); animation: cmSpinFlat 60s linear infinite; }
@keyframes cmSpinFlat { to { transform: rotate(360deg); } }
.cm-intro__board { position: relative; width: min(100%, 540px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 36px 0; will-change: transform; }
.cm-intro__slot { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #151517; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.4); animation: cmFloat 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.15s); }
.cm-intro__slot:nth-child(3n+2) { margin-top: -36px; margin-bottom: 36px; }   /* 가운데 단 위로 */
.cm-intro__slot:nth-child(3n) { margin-top: 28px; margin-bottom: -28px; }     /* 오른쪽 단 아래로 */
@keyframes cmFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.cm-intro__slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.1) translateY(14px); filter: blur(12px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s cubic-bezier(.2,.7,.2,1); }
.cm-intro__slot img.is-on { opacity: 1; transform: none; filter: none; }
.cm-intro__slot img.is-out { opacity: 0; transform: scale(.94) translateY(-10px); filter: blur(8px); }
.cm-intro__slot::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,0) 40%, rgba(0,0,0,.22)); pointer-events: none; }
/* 바뀌는 순간 핑크 빛이 한 번 지나간다 */
.cm-intro__slot::before { content: ""; position: absolute; inset: -40%; z-index: 2; background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(141,198,63,.45) 50%, rgba(255,255,255,0) 60%); transform: translateX(-70%); opacity: 0; pointer-events: none; }
.cm-intro__slot.is-swap::before { animation: cmSweep .9s ease-out; }
@keyframes cmSweep { 0% { transform: translateX(-70%); opacity: 1; } 100% { transform: translateX(70%); opacity: 0; } }

/* 아래 : 스크롤 표시 · 마키 */
.cm-intro__scroll { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); animation: cmFade 1s both 1.3s; }
.cm-intro__scroll i { width: 1px; height: 36px; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0)); animation: cmScrollLine 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cmScrollLine { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(10px); opacity: 0; } }
.cm-intro__marquee { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; overflow: hidden; white-space: nowrap; font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.38); }
.cm-intro__track { display: inline-flex; animation: cmMarquee 48s linear infinite; }
.cm-intro__track span { padding-right: 48px; }
@keyframes cmMarquee { to { transform: translateX(-50%); } }

@media (max-width: 1023px) {
    .cm-intro__inner { grid-template-columns: 1fr; gap: 8px; padding-top: calc(var(--cm-header-h) + 20px); padding-bottom: 96px; }
    .cm-intro__since { flex-basis: 100%; padding-left: 20px; }   /* 모바일은 둘째 줄 (점 자리만큼 들여서) */
    .cm-intro__since::before { content: none; }
    .cm-intro__title { font-size: clamp(38px, 11vw, 60px); margin-top: 18px; }
    .cm-intro__sub { margin-top: 18px; font-size: 14px; }
    .cm-intro__steps { margin-top: 28px; flex-wrap: wrap; row-gap: 14px; }
    .cm-intro__steps li { flex: 0 0 33.333%; font-size: 12px; }
    /* 모바일은 한 줄(석 장)만. 어긋남은 작게 */
    .cm-intro__stage { height: auto; margin-top: 28px; }
    .cm-intro__board { width: 100%; gap: 10px; padding: 14px 0; }
    .cm-intro__slot { border-radius: 12px; }
    .cm-intro__slot:nth-child(n+4) { display: none; }
    .cm-intro__slot:nth-child(3n+2) { margin-top: -12px; margin-bottom: 12px; }
    .cm-intro__slot:nth-child(3n) { margin-top: 10px; margin-bottom: -10px; }
    .cm-intro__halo { width: 260px; height: 260px; }
    .cm-intro__scroll { bottom: 72px; }
    .cm-intro__marquee { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cm-intro__aurora, .cm-intro__halo::after, .cm-intro__track, .cm-intro__steps li::after, .cm-intro__steps li span, .cm-intro__scroll i, .cm-intro__dot, .cm-intro__slot { animation: none; }
    .cm-intro__steps li::after { width: calc(100% - 4px); }
    .cm-intro__wordIn { transition: none; }
}
