/* ==========================================================================
   HMEDISOLUTION — Design System v2
   Palette: Ink navy / Paper white / Sky blue accent (logo #0690FC) / Indigo (logo #3648A8)
   Type: Outfit (EN display) + Pretendard / Noto Sans KR (KR)
   ========================================================================== */

:root {
  --ink: #0a1020;
  --ink-2: #111a33;
  --navy: #0f1b3d;
  --sky: #0690fc;
  --sky-deep: #0a6fd6;
  --sky-soft: #e8f3ff;
  --indigo: #3648a8;
  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --paper-3: #eef1f6;
  --line: #e4e8ee;
  --line-dark: rgba(255,255,255,.1);
  --text: #171f30;
  --muted: #6a7385;
  --muted-dark: rgba(255,255,255,.62);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1280px;
  --gutter: 24px;
  --radius: 18px;
  --font-display: "Outfit", "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
  --font-body: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --shadow-1: 0 1px 2px rgba(10,16,32,.04), 0 8px 24px rgba(10,16,32,.06);
  --shadow-2: 0 20px 60px rgba(10,16,32,.14);
  --shadow-sky: 0 18px 50px rgba(6,144,252,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--paper);
  line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 700; }
::selection { background: var(--sky); color: #fff; }

.wrap { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, 860px); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 960px); margin-inline: auto; }
.section { padding: clamp(88px, 10vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(64px, 7vw, 100px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section--navy { background: var(--navy); color: #fff; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
}

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sky);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--ink .kicker, .section--navy .kicker { color: #6fbfff; }
.title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(34px, 4.6vw, 60px); color: var(--ink); margin-top: 18px;
}
.title.kr { font-family: var(--font-body); font-weight: 800; letter-spacing: -.035em; line-height: 1.22; font-size: clamp(30px, 4vw, 52px); }
.section--ink .title, .section--navy .title { color: #fff; }
.title .a { color: var(--sky); }
.title-en {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 96px); line-height: .95; color: var(--ink);
}
.title-en .a { color: var(--sky); }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); line-height: 1.75; margin-top: 22px; max-width: 640px; }
.section--ink .lead, .section--navy .lead { color: var(--muted-dark); }
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(44px, 5vw, 72px); }
.head.center { grid-template-columns: 1fr; text-align: center; }
.head.center .lead { margin-inline: auto; }
.head .actions { padding-bottom: 6px; }
.ghost-word {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%); font-family: var(--font-display); font-weight: 800;
  font-size: clamp(80px, 16vw, 220px); letter-spacing: -.04em; line-height: 1; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; user-select: none;
}
.section--ink .ghost-word, .section--navy .ghost-word { color: #fff; opacity: .05; }

/* 줄바꿈 제어: 제목은 균형 줄바꿈, 강조 구절은 끊기지 않게, 문단은 고아 단어 방지 */
.title, .title-en, .slide-title, .cta h2, .concept-text .big, .site-footer .statement, .feature-case h3, .case h3, .svc h3, .point h3, .form h3, .office h3, .panel h3 { text-wrap: balance; }
.title .a, .slide-title .a, .concept-text .big .a, .title-en .a { white-space: nowrap; }
.lead, .slide-sub, .cta p, .concept-text p, .svc p, .point p, .case li, .pcard-body li, .checklist label span, .fail-list li, .faq-a p, .stat .s, .stat .l, .ptag, .tile-cap p, .foot-brand p, .form > p, .form .hint, .notes span, .callout, .office p, .step p, .pillar p { text-wrap: pretty; }
.checklist label span { line-height: 1.5; }
.sn { display: inline-block; max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 10px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--sky); color: #fff; box-shadow: 0 10px 28px rgba(6,144,252,.28); }
.btn-accent:hover { background: var(--sky-deep); transform: translateY(-2px); box-shadow: var(--shadow-sky); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-line-light { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn-line-light:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-lg { padding: 20px 36px; font-size: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.link-more .dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.link-more .dot svg { width: 14px; height: 14px; }
.link-more:hover .dot { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(4px); }
.section--ink .link-more, .section--navy .link-more { color: #fff; }
.section--ink .link-more .dot, .section--navy .link-more .dot { border-color: rgba(255,255,255,.3); }
.section--ink .link-more:hover .dot { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: padding .4s var(--ease); }
.site-header.is-scrolled { padding: 10px 0; }
.header-inner {
  width: min(100% - var(--gutter) * 2, 1400px); margin-inline: auto; height: 68px; padding: 0 12px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 18px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(10,16,32,.06); box-shadow: 0 8px 30px rgba(10,16,32,.06);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.site-header.on-dark .header-inner { background: rgba(10,16,32,.42); border-color: rgba(255,255,255,.12); box-shadow: 0 10px 40px rgba(0,0,0,.25); color: #fff; }
.brand img { height: 20px; width: auto; }
.brand .logo-light { display: none; }
.site-header.on-dark .brand .logo-dark { display: none; }
.site-header.on-dark .brand .logo-light { display: block; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 10px 16px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; border-radius: 10px; position: relative; color: var(--ink); transition: color .25s; }
.site-header.on-dark .site-nav a { color: rgba(255,255,255,.88); }
.site-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.site-nav a:hover, .site-nav a.is-current { color: var(--sky); }
.site-header.on-dark .site-nav a:hover, .site-header.on-dark .site-nav a.is-current { color: #8fd0ff; }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-tel { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .01em; color: var(--ink); }
.site-header.on-dark .header-tel { color: #fff; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; position: relative; }
.menu-btn span { position: absolute; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), width .3s; }
.menu-btn span:nth-child(1) { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); width: 14px; margin-left: 6px; }
body.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); width: 20px; margin-left: 0; }
body.menu-open .site-header .header-inner { background: transparent; border-color: transparent; box-shadow: none; color: #fff; }
body.menu-open .brand .logo-dark { display: none; }
body.menu-open .brand .logo-light { display: block; }
body.menu-open .site-nav a, body.menu-open .header-tel { color: #fff !important; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 130px 0 40px;
  clip-path: circle(0 at calc(100% - 52px) 50px); transition: clip-path .8s var(--ease); pointer-events: none;
  overflow: auto;
}
body.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - 52px) 50px); pointer-events: auto; }
.menu-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s, color .3s;
}
.menu-links a small { font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; color: #6fbfff; font-weight: 600; }
.menu-links a:hover { color: #8fd0ff; }
body.menu-open .menu-links a { transform: none; opacity: 1; }
body.menu-open .menu-links a:nth-child(1) { transition-delay: .15s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: .22s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: .29s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: .36s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: .43s; }
.menu-aside { padding-top: 14px; color: var(--muted-dark); font-size: 15px; line-height: 1.8; }
.menu-aside strong { color: #fff; display: block; font-size: 22px; letter-spacing: -.02em; margin-bottom: 14px; }
.menu-aside .big { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.01em; display: block; margin: 20px 0 4px; }
.menu-aside .btn { margin-top: 24px; }

/* ---------- Hero slider (main) ---------- */
.hero-slider { position: relative; height: 100svh; min-height: 680px; max-height: 1040px; overflow: hidden; background: var(--ink); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease-io), visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-top: 60px; }
.slide-copy .kicker { color: #8fd0ff; }
.slide-copy .kicker::before { background: #8fd0ff; }
.slide-title {
  margin-top: 24px; font-size: clamp(40px, 6.2vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; color: #fff;
}
.slide-title.md { font-size: clamp(30px, 4.4vw, 62px); }
.slide-title .nw { white-space: nowrap; }
.slide-title .en { font-family: var(--font-display); font-weight: 700; }
.slide-title .a { color: #38a9ff; }
.slide-sub { margin-top: 26px; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.78); max-width: 560px; line-height: 1.7; }
.slide-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.slide-tags span::before { content: "·"; margin-right: 10px; color: var(--sky); }
.slide-tags span:first-child::before { display: none; }
.slide-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.slide.is-active .slide-copy > * { animation: slideUp 1s var(--ease) both; }
.slide.is-active .slide-copy > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-copy > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-copy > *:nth-child(4) { animation-delay: .3s; }
.slide.is-active .slide-copy > *:nth-child(5) { animation-delay: .4s; }
.slide.is-active .slide-visual { animation: slideUp 1.2s var(--ease) .3s both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.slide-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }

/* slide backgrounds */
.bg-grid { background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(6,144,252,.45), transparent 70%), linear-gradient(180deg, #060b18 0%, #0a1330 60%, #0b1a44 100%); }
.bg-grid .floor {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 62%; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(56,169,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(56,169,255,.45) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: linear-gradient(to top, #000 20%, transparent 100%); -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 100%);
  animation: floorMove 6s linear infinite;
}
@keyframes floorMove { to { background-position: 0 80px, 0 0; } }
.bg-grid .stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.6) 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.5) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 60%, rgba(255,255,255,.4) 50%, transparent 51%), radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,.5) 50%, transparent 51%), radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,.35) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 60% 10%, rgba(255,255,255,.5) 50%, transparent 51%); }

.bg-aurora { background: #070c19; }
.bg-aurora .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: orb 14s ease-in-out infinite alternate; }
.bg-aurora .orb-1 { width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(circle at 30% 30%, #0690fc, #3648a8 55%, transparent 72%); }
.bg-aurora .orb-2 { width: 520px; height: 520px; left: -120px; bottom: -220px; background: radial-gradient(circle at 60% 40%, #1fd1c1, #0690fc 50%, transparent 72%); animation-delay: -6s; opacity: .45; }
.bg-aurora .orb-3 { width: 400px; height: 400px; left: 45%; top: 30%; background: radial-gradient(circle, #7c5cff, transparent 70%); animation-delay: -10s; opacity: .35; }
@keyframes orb { to { transform: translate(-40px, 40px) scale(1.15); } }
.bg-aurora .ring { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); transform: translate(-50%,-50%); }
.bg-aurora .ring.r2 { width: 1300px; height: 1300px; }

.bg-lines { background: linear-gradient(120deg, #0a1020 0%, #0f1b3d 100%); }
.bg-lines .beam { position: absolute; top: -20%; height: 140%; width: 220px; background: linear-gradient(180deg, transparent, rgba(6,144,252,.35), transparent); transform: rotate(18deg); filter: blur(30px); animation: beam 12s ease-in-out infinite alternate; }
.bg-lines .beam.b1 { left: 15%; } .bg-lines .beam.b2 { left: 55%; animation-delay: -5s; width: 320px; opacity: .6; } .bg-lines .beam.b3 { left: 85%; animation-delay: -9s; width: 160px; }
@keyframes beam { to { transform: rotate(18deg) translateX(120px); } }
.bg-lines .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 60% 60% at 70% 50%, #000, transparent); -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 50%, #000, transparent); }

/* slider controls */
.slider-ui { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.slider-nav { display: flex; align-items: center; gap: 14px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; transition: all .3s var(--ease); }
.slider-btn svg { width: 16px; height: 16px; }
.slider-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.slider-dots { display: flex; align-items: center; gap: 10px; }
.slider-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; transition: width .5s var(--ease), background .3s; }
.slider-dot.is-active { width: 64px; background: rgba(255,255,255,.25); }
.slider-dot.is-active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); animation: dotProgress var(--dur, 7s) linear forwards; }
@keyframes dotProgress { to { transform: scaleX(1); } }
.slider-count { font-family: var(--font-display); font-size: 14px; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.slider-count b { color: #fff; font-weight: 600; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 34px; z-index: 5; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 11px; letter-spacing: .28em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.scroll-cue::after { content: ""; width: 44px; height: 1px; background: rgba(255,255,255,.5); animation: cue 1.8s var(--ease-io) infinite; transform-origin: left; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- Phone mock: Naver Place ranking ---------- */
.phone { width: 300px; height: 610px; border-radius: 44px; background: #0d1326; border: 1px solid rgba(255,255,255,.18); padding: 12px; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.05); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #060a14; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; background: #f6f7f9; overflow: hidden; position: relative; color: #1a1a1a; font-family: var(--font-body); }
.ps-top { padding: 54px 18px 12px; background: #fff; }
.ps-search { height: 40px; border-radius: 12px; background: #f1f3f6; display: flex; align-items: center; padding: 0 14px; gap: 10px; font-size: 13px; font-weight: 600; color: #222; }
.ps-search i { width: 20px; height: 20px; border-radius: 6px; background: #03c75a; color: #fff; font-style: normal; font-family: var(--font-display); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ps-chips { display: flex; gap: 6px; margin-top: 10px; }
.ps-chips span { font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid #e5e7eb; color: #555; }
.ps-chips span.on { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.ps-map { height: 96px; margin: 0; background: linear-gradient(135deg, #dfe9f3, #eef3f8 50%, #d9e6f2); position: relative; overflow: hidden; }
.ps-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 22px 22px; }
.ps-map .pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--sky); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(6,144,252,.5); }
.ps-map .pin.p1 { left: 46%; top: 42%; width: 18px; height: 18px; background: #ff4d4f; box-shadow: 0 4px 12px rgba(255,77,79,.5); animation: pinBounce 2s ease-in-out infinite; }
.ps-map .pin.p2 { left: 22%; top: 60%; background: #9aa5b5; box-shadow: none; }
.ps-map .pin.p3 { left: 70%; top: 30%; background: #9aa5b5; box-shadow: none; }
@keyframes pinBounce { 0%,100% { transform: rotate(-45deg) translate(0,0); } 50% { transform: rotate(-45deg) translate(-4px,-4px); } }
.ps-list { padding: 10px 14px; display: grid; gap: 8px; }
.ps-item { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; border: 1px solid #edf0f4; }
.ps-item .rank { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #8a94a6; }
.ps-item .name { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.ps-item .meta { font-size: 11px; color: #8a94a6; margin-top: 2px; }
.ps-item .meta b { color: #ff9f1a; font-weight: 700; }
.ps-item .tag { font-size: 10px; padding: 4px 8px; border-radius: 999px; background: #eef4fb; color: #3d5a80; }
.ps-item.me { border: 1.5px solid var(--sky); box-shadow: 0 10px 28px rgba(6,144,252,.18); animation: rankUp 1.4s var(--ease) 1.1s both; position: relative; }
.ps-item.me .rank { color: var(--sky); }
.ps-item.me .name { color: var(--sky-deep); }
.ps-item.me .tag { background: var(--sky); color: #fff; }
@keyframes rankUp { from { transform: translateY(150px); opacity: 0; } to { transform: none; opacity: 1; } }
.ps-item.up { animation: rankDown 1.4s var(--ease) 1.1s both; }
@keyframes rankDown { from { transform: translateY(-48px); } to { transform: none; } }
.float-stat { position: absolute; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-2); font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
.float-stat b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--sky-deep); line-height: 1; margin-top: 4px; }
.float-stat.fs-1 { left: -8%; top: 18%; animation: floaty 6s ease-in-out infinite; }
.float-stat.fs-2 { right: -6%; bottom: 20%; animation: floaty 7s ease-in-out -3s infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* AI package visual */
.ai-stack { position: relative; width: 420px; height: 420px; }
.ai-card { position: absolute; left: 50%; top: 50%; width: 320px; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.45); transform: translate(-50%,-50%) rotate(var(--r, 0)) translateY(var(--y, 0)); animation: cardFloat 7s ease-in-out infinite; }
.ai-card.c1 { --r: -8deg; --y: -110px; animation-delay: -1s; }
.ai-card.c2 { --r: 3deg; --y: 0px; animation-delay: -3s; background: rgba(6,144,252,.18); border-color: rgba(111,191,255,.5); }
.ai-card.c3 { --r: 9deg; --y: 110px; animation-delay: -5s; }
@keyframes cardFloat { 50% { transform: translate(-50%, calc(-50% - 10px)) rotate(var(--r)) translateY(var(--y)); } }
.ai-card .l { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fd0ff; }
.ai-card .t { font-size: 17px; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
.ai-card .d { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 4px; }
.ai-card .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 12px; overflow: hidden; }
.ai-card .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #38a9ff, #7ce0ff); animation: fill 2.4s var(--ease) 1s forwards; }
@keyframes fill { to { width: var(--w, 80%); } }

/* Case chart visual */
.chart-card { width: min(100%, 520px); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px 28px; backdrop-filter: blur(14px); color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.chart-card .cc-head { display: flex; justify-content: space-between; align-items: flex-start; }
.chart-card .cc-label { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fd0ff; }
.chart-card .cc-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-top: 8px; }
.chart-card .cc-num small { font-size: 16px; color: rgba(255,255,255,.6); margin-left: 4px; font-weight: 500; }
.chart-card .cc-delta { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #4ade80; background: rgba(74,222,128,.12); padding: 8px 12px; border-radius: 10px; }
.chart-card svg { width: 100%; height: 170px; margin-top: 18px; overflow: visible; }
.chart-card .line { fill: none; stroke: #38a9ff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.slide.is-active .chart-card .line { animation: dash 2.6s var(--ease) .8s forwards; }
.chart-card .area { fill: url(#areaGrad); opacity: 0; }
.slide.is-active .chart-card .area { animation: fadeIn 1s 2.6s forwards; }
.chart-card .grid line { stroke: rgba(255,255,255,.08); }
.chart-card .lbl { font-family: var(--font-display); font-size: 10px; fill: rgba(255,255,255,.5); letter-spacing: .05em; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.cc-foot { display: flex; gap: 22px; margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.cc-foot b { color: #fff; display: block; font-size: 15px; font-family: var(--font-display); }

/* 성능: 히어로가 화면 밖이면 배경 애니메이션 정지 */
.hero-slider.is-offscreen *, .hero-slider.is-offscreen *::before, .hero-slider.is-offscreen *::after { animation-play-state: paused !important; }
.slide-bg { will-change: transform; contain: paint; }
.site-header { will-change: transform; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--paper-2); border-radius: 22px; padding: 38px 32px; text-align: center; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.stat:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-1); }
.stat .l { font-weight: 700; color: var(--sky-deep); font-size: 16px; letter-spacing: -.01em; }
.stat .n { font-family: var(--font-display); font-size: clamp(40px, 4vw, 56px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-top: 22px; line-height: 1; }
.stat .n small { font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--ink); margin-left: 6px; }
.stat .s { margin-top: 26px; color: var(--muted); font-size: 14.5px; }

/* ---------- Intro / concept ---------- */
.concept { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.concept-text .big { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.35; color: var(--ink); margin-top: 22px; }
.concept-text .big .a { color: var(--sky); }
.concept-text p { margin-top: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.8; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 28px; transition: all .4s var(--ease); position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--sky), var(--indigo)); opacity: 0; transition: opacity .4s; }
.pillar > * { position: relative; }
.pillar:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-sky); color: #fff; }
.pillar:hover::before { opacity: 1; }
.pillar .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-deep); display: grid; place-items: center; transition: all .3s; }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar:hover .ico { background: rgba(255,255,255,.18); color: #fff; }
.pillar h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-top: 18px; }
.pillar p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.65; transition: color .3s; }
.pillar:hover p { color: rgba(255,255,255,.8); }
.pillar .no { position: absolute; right: 18px; top: 16px; font-family: var(--font-display); font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.pillar:hover .no { color: rgba(255,255,255,.7); }

/* ---------- Services (dark) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.svc { position: relative; padding: 34px 30px 32px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); min-height: 300px; display: flex; flex-direction: column; overflow: hidden; transition: all .45s var(--ease); }
.svc::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(6,144,252,.5), transparent 70%); opacity: 0; transition: opacity .5s; }
.svc:hover { transform: translateY(-8px); background: rgba(255,255,255,.07); border-color: rgba(111,191,255,.5); }
.svc:hover::after { opacity: 1; }
.svc .no { font-family: var(--font-display); font-size: 14px; letter-spacing: .18em; color: #6fbfff; font-weight: 600; }
.svc h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 22px; color: #fff; }
.svc p { margin-top: 12px; color: var(--muted-dark); font-size: 14.5px; line-height: 1.7; }
.svc .tags { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc .tags span { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.svc .arrow { position: absolute; right: 24px; top: 28px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; transition: all .35s var(--ease); }
.svc .arrow svg { width: 14px; height: 14px; }
.svc:hover .arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }

.services-4 { grid-template-columns: repeat(4, 1fr); }
.stats-2 { grid-template-columns: 1fr 1fr; }
.scroll-hint-m { display: none; font-size: 12.5px; color: var(--muted); text-align: center; margin-bottom: 10px; }

/* ---------- Program cards (shop style) ---------- */
.program-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 12px; }
.program-tabs button { padding: 10px 18px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .3s; }
.program-tabs button.is-active { background: var(--ink); color: #fff; }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { position: relative; border-radius: 24px; border: 1px solid var(--line); background: #fff; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: transparent; }
.pcard.is-featured { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky), 0 24px 60px rgba(6,144,252,.22); }
.pcard-top { padding: 30px 30px 24px; position: relative; overflow: hidden; color: #fff; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.pcard-top.t-ai { background: radial-gradient(circle at 85% 15%, rgba(124,92,255,.7), transparent 45%), radial-gradient(circle at 10% 90%, rgba(31,209,193,.5), transparent 40%), linear-gradient(160deg, #0a1020, #0f1b3d 60%, #0b3b7a); }
.pcard-top.t-standard { background: radial-gradient(circle at 80% 10%, rgba(111,191,255,.55), transparent 45%), linear-gradient(160deg, #0a5fc4, #0690fc); }
.pcard-top.t-premium { background: radial-gradient(circle at 80% 10%, rgba(140,150,255,.5), transparent 45%), linear-gradient(160deg, #1d2a6e, #3648a8); }
.pcard-top.t-web { background: radial-gradient(circle at 85% 15%, rgba(31,209,193,.55), transparent 45%), radial-gradient(circle at 10% 90%, rgba(6,144,252,.45), transparent 42%), linear-gradient(160deg, #0a1020, #0d2a4a 60%, #0b4d7a); }
.pcard-top.t-video { background: radial-gradient(circle at 85% 15%, rgba(255,90,140,.55), transparent 45%), radial-gradient(circle at 10% 90%, rgba(124,92,255,.5), transparent 42%), linear-gradient(160deg, #0a1020, #1b1740 60%, #3a1f6e); }
.pcard-top.t-addon { background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.14), transparent 45%), linear-gradient(160deg, #141b2e, #26304f); }
.pcard-top .badges { position: absolute; top: 20px; left: 26px; display: flex; gap: 6px; }
.badge { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }
.badge.new { background: #ffe14d; color: #3d2f00; }
.badge.silver { background: linear-gradient(135deg, #e9edf3, #b9c2cf); color: #2a3340; }
.badge.gold { background: linear-gradient(135deg, #ffe08a, #e0a927); color: #3d2a00; }
.badge.hot { background: #ffd23f; color: #3d2a00; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 4px 14px rgba(255,210,63,.35); }
.badge.hot::before { content: ""; width: 13px; height: 13px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d2a00'><path d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5L3 8z'/><rect x='5' y='19.5' width='14' height='2' rx='1'/></svg>") center/contain no-repeat; }
.pcard-top .pname { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.pcard-top .pname.kr { font-family: var(--font-body); font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.pcard-top .ptag { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.78); }
.pcard-top .plogo { height: 26px; width: auto; max-width: 160px; object-fit: contain; align-self: flex-start; background: #fff; padding: 5px 9px; border-radius: 8px; margin-bottom: 14px; }
.pcard-body { padding: 24px 30px 28px; display: flex; flex-direction: column; flex: 1; }
.pcard-body ul { display: grid; gap: 9px; }
.pcard-body li { font-size: 14px; color: var(--text); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.pcard-body li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6fd6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/9px no-repeat; }
.pcard-body li.plus::before { background: #fff3c4 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b26f00' stroke-width='3.5' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>") center/9px no-repeat; }
.pcard-body ul { margin-bottom: 22px; }
.pcard-price { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pcard-price .p { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.pcard-price .p small { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.pcard-price .p.kr { font-family: var(--font-body); font-size: 24px; font-weight: 800; }
.pcard-price .vat { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
.pcard-actions { display: flex; gap: 8px; margin-top: 18px; }
.pcard-actions .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
.notes { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13.5px; color: var(--muted); }
.notes span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.notes span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }

/* Compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th { font-weight: 700; color: var(--ink); background: var(--paper-2); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-display); font-size: 16px; letter-spacing: -.01em; }
.compare thead th.hl { background: var(--ink); color: #fff; border-radius: 12px 12px 0 0; }
.compare td.hl { background: var(--sky-soft); font-weight: 700; color: var(--sky-deep); }
.compare th .best { font-family: var(--font-body); font-size: 10px; background: #ff5a5f; color: #fff; padding: 3px 6px; border-radius: 4px; vertical-align: middle; margin-left: 6px; }
.compare td .ai { display: block; font-size: 11.5px; color: #5b3fd6; font-weight: 600; margin-top: 2px; }
.compare tr.new td:first-child::after { content: "NEW"; font-family: var(--font-display); font-size: 9px; letter-spacing: .1em; padding: 3px 6px; border-radius: 4px; background: #ffe14d; color: #3d2f00; margin-left: 8px; vertical-align: middle; }
.compare tfoot td { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); border-bottom: 0; padding-top: 22px; }
.compare tfoot td small { font-family: var(--font-body); font-size: 12px; color: var(--muted); font-weight: 500; display: block; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); }
.compare-wrap table { min-width: 720px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); border-color: transparent; }
.step .no { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--sky); line-height: 1; }
.step h3 { font-size: 17px; font-weight: 800; margin-top: 18px; letter-spacing: -.02em; }
.step p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.65; }
.step::after { content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; text-align: left; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.faq-q .q { font-family: var(--font-display); color: var(--sky); margin-right: 14px; }
.faq-q i { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .35s var(--ease); }
.faq-q i svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-q i { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 4px 26px 40px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ---------- Case study ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 30px 30px 28px; display: flex; flex-direction: column; transition: all .45s var(--ease); position: relative; overflow: hidden; }
.case:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: transparent; }
.case .where { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-deep); font-weight: 600; }
.case h3 .cn { display: block; font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.case h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; margin-top: 12px; color: var(--ink); }
.case .delta { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.case .delta b { font-family: var(--font-display); font-size: 54px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.case .delta b small { font-size: 22px; color: var(--sky); margin-left: 2px; }
.case .delta span { font-size: 13px; color: var(--muted); }
.case svg.mini { width: 100%; height: 90px; margin-top: 16px; overflow: visible; }
.case svg.mini .ln { fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.2s var(--ease); }
.case.is-in svg.mini .ln { stroke-dashoffset: 0; }
.case svg.mini .ar { fill: url(#miniGrad); opacity: 0; transition: opacity 1s 1.6s; }
.case.is-in svg.mini .ar { opacity: 1; }
.case .range { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-top: 6px; }
.case ul { margin-top: 22px; display: grid; gap: 8px; }
.case li { font-size: 14px; color: var(--text); padding-left: 14px; position: relative; line-height: 1.55; }
.case li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.case li.hl { color: #d9363e; font-weight: 700; }
.case li.hl::before { background: #d9363e; }
.case .result { margin-top: auto; padding-top: 22px; }
.case .result span { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 10px; }
.case .result span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }

/* Featured case (portfolio page) */
.feature-case { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: clamp(32px, 4vw, 56px); border-radius: 28px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.feature-case .chart-card { width: 100%; }
.feature-case .lead { color: var(--muted-dark); }
.feature-case h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin-top: 16px; }
.feature-case .facts { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-case .fact { padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.feature-case .fact small { display: block; font-size: 12px; color: var(--muted-dark); }
.feature-case .fact b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 4px; }
.case-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.case-tabs button { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); transition: all .3s; background: #fff; }
.case-tabs button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.case-panel { display: none; }
.case-panel.is-active { display: grid; animation: rise .6s var(--ease) both; }

/* ---------- Portfolio tiles ---------- */
.pf-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.pf-filters button { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); background: #fff; transition: all .3s; }
.pf-filters button:hover { border-color: var(--ink); color: var(--ink); }
.pf-filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: rise .6s var(--ease) both; cursor: pointer; }
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.tile.wide { grid-column: span 2; aspect-ratio: auto; }
.tile-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 34px 30px 96px; transition: transform .7s var(--ease); }
.tile:hover .tile-scene { transform: scale(1.04); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px; background: linear-gradient(transparent, rgba(10,16,32,.9) 45%); color: #fff; }
.tile-cap .c { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fd0ff; }
.tile-cap h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.tile-cap p { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 3px; }
.tile-cap .go { position: absolute; right: 22px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease); }
.tile-cap .go svg { width: 14px; height: 14px; }
.tile:hover .tile-cap .go { transform: rotate(-45deg); }
/* tile scenes */
.sc-blog { background: linear-gradient(160deg, #0f1b3d, #0a1020); }
.sc-blog2 { background: linear-gradient(160deg, #124a8a, #0690fc); }
.sc-ext { background: linear-gradient(160deg, #1e3a5f, #2a6aa8); }
.sc-design { background: linear-gradient(160deg, #3648a8, #6b7bff); }
.sc-insta { background: linear-gradient(160deg, #2c1a4d, #7c3aed 60%, #f59e0b); }
.sc-cafe { background: linear-gradient(160deg, #0b3b2e, #10b981); }
.mock-post { width: min(100%, 230px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); color: #1a1a1a; transform: rotate(-3deg); }
.tile:hover .mock-post { transform: rotate(0deg); }
.mock-post { transition: transform .6s var(--ease); }
.mock-post .mp-head { padding: 14px 16px 10px; border-bottom: 1px solid #eef0f3; }
.mock-post .mp-title { font-size: 13px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.mock-post .mp-meta { font-size: 10px; color: #98a2b3; margin-top: 4px; }
.mock-post .mp-img { height: 110px; background: linear-gradient(135deg, var(--c1, #cfe6ff), var(--c2, #8fc5ff)); position: relative; display: grid; place-items: center; }
.mock-post .mp-img span { font-size: 14px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.25); letter-spacing: -.02em; }
.mock-post .mp-lines { padding: 12px 16px 16px; display: grid; gap: 6px; }
.mock-post .mp-lines i { display: block; height: 6px; border-radius: 3px; background: #eef0f3; }
.mock-post .mp-lines i:nth-child(2) { width: 85%; } .mock-post .mp-lines i:nth-child(3) { width: 60%; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.tile:hover .mock-grid { transform: rotate(0); }
.mock-grid i { width: 62px; height: 62px; border-radius: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(4px); }
.mock-grid i:nth-child(odd) { background: rgba(255,255,255,.3); }
.mock-grid i:nth-child(5) { background: #fff; }
.mock-poster { width: 170px; height: 230px; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.35); padding: 16px; display: flex; flex-direction: column; transform: rotate(3deg); transition: transform .6s var(--ease); color: #1a1a1a; }
.tile:hover .mock-poster { transform: rotate(0); }
.mock-poster .t { font-size: 16px; font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.mock-poster .t span { color: var(--sky); }
.mock-poster .s { font-size: 9px; color: #6a7385; margin-top: 6px; line-height: 1.5; }
.mock-poster .box { margin-top: auto; border-radius: 8px; background: var(--sky-soft); height: 70px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--sky-deep); }
.mock-chat { width: min(100%, 240px); display: grid; gap: 8px; }
.mock-chat .b { max-width: 88%; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.92); color: #1a1a1a; font-size: 11.5px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.mock-chat .b.me { margin-left: auto; background: #fff3a8; }
.mock-chat .b b { display: block; font-size: 10px; color: #6a7385; margin-bottom: 2px; }

/* ---------- Why (points) ---------- */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.point { padding: 40px 30px 44px; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.point:last-child { border-right: 0; }
.point:hover { background: var(--paper-2); }
.point .no { font-family: var(--font-display); font-size: 56px; font-weight: 700; letter-spacing: -.04em; color: var(--sky); line-height: 1; opacity: .9; }
.point h3 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; margin-top: 28px; line-height: 1.35; }
.point p { font-size: 14.5px; color: var(--muted); margin-top: 12px; line-height: 1.7; }
.section--ink .points { border-color: var(--line-dark); }
.section--ink .point { border-color: var(--line-dark); }
.section--ink .point:hover { background: rgba(255,255,255,.04); }
.section--ink .point p { color: var(--muted-dark); }

/* ---------- Logic diagram ---------- */
.logic { display: grid; grid-template-columns: repeat(3, 1fr) 60px 1.3fr; gap: 18px; align-items: center; }
.lg { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: #fff; transition: all .4s var(--ease); }
.lg:hover { transform: scale(1.04); box-shadow: var(--shadow-1); border-color: var(--sky); }
.lg .k { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; color: var(--sky); text-transform: uppercase; }
.lg b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.lg span { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.lg-arrow { text-align: center; color: var(--sky); }
.lg-arrow svg { width: 40px; height: 40px; margin: 0 auto; }
.lg-final { aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; font-size: 22px; font-weight: 800; letter-spacing: -.02em; position: relative; }
.lg-final::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(6,144,252,.5); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.callout { margin-top: 32px; padding: 22px 26px; border-radius: 16px; background: var(--paper-2); border-left: 3px solid var(--sky); font-size: 15px; line-height: 1.75; color: var(--text); }
.callout b { color: var(--sky-deep); }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.road { padding: 28px 26px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.road h4 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.road h4 i { font-family: var(--font-display); font-style: normal; font-size: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.road ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.road li { font-size: 13px; padding: 7px 12px; border-radius: 8px; background: var(--paper-2); color: var(--text); }
.road .plus { margin-top: 16px; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; color: var(--sky); text-transform: uppercase; }

/* Checklist */
.check-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.panel h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.panel h3 .pill { font-family: var(--font-display); font-size: 11px; letter-spacing: .12em; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: #fff; }
.checklist { margin-top: 22px; display: grid; gap: 8px; }
.checklist label { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font-size: 15px; transition: all .25s; }
.checklist label:hover { border-color: var(--sky); }
.checklist label b { color: var(--sky-deep); font-weight: 700; }
.checklist input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #cbd3df; flex: none; display: grid; place-items: center; transition: all .2s; }
.checklist input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); margin-top: -2px; }
.checklist input:checked { background: var(--sky); border-color: var(--sky); }
.checklist input:checked::after { transform: rotate(-45deg) scale(1); }
.checklist label:has(input:checked) { background: var(--sky-soft); border-color: var(--sky); }
.check-result { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14.5px; }
.check-result b { font-family: var(--font-display); color: #8fd0ff; font-size: 18px; }
.fail-list { margin-top: 22px; display: grid; gap: 12px; }
.fail-list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.fail-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #ffe9e9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9363e' stroke-width='3.5' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>") center/9px no-repeat; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chat { display: grid; gap: 12px; max-width: 460px; }
.bubble { max-width: 86%; padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.6; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); opacity: 0; transform: translateY(14px); transition: all .6s var(--ease); }
.bubble.me { margin-left: auto; background: #fef3a8; border-color: #f7e27a; border-bottom-right-radius: 6px; }
.bubble.you { border-bottom-left-radius: 6px; }
.bubble small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.chat.is-in .bubble { opacity: 1; transform: none; }
.chat.is-in .bubble:nth-child(2) { transition-delay: .2s; } .chat.is-in .bubble:nth-child(3) { transition-delay: .4s; } .chat.is-in .bubble:nth-child(4) { transition-delay: .6s; } .chat.is-in .bubble:nth-child(5) { transition-delay: .8s; }
.partners { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: #fff; }

/* marquee */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.marquee .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { padding: 0 34px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 34px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.dark { background: var(--ink); border-color: var(--line-dark); }
.marquee.dark span { color: rgba(255,255,255,.8); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(80px, 9vw, 130px) 0; }
.cta .glow { position: absolute; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(6,144,252,.45), transparent 60%); left: 60%; top: -40%; filter: blur(20px); }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.cta h2 .en { font-family: var(--font-display); font-weight: 700; color: #38a9ff; display: block; font-size: .5em; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.cta p { margin-top: 20px; color: var(--muted-dark); font-size: 16.5px; max-width: 520px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 190px 0 80px; position: relative; overflow: hidden; }
.page-hero .crumbs { font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; }
.page-hero .crumbs a:hover { color: var(--sky); }
.page-hero .title-en { margin-top: 22px; }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--text); font-weight: 500; }
.page-hero .line { margin-top: 44px; height: 1px; background: var(--line); position: relative; }
.page-hero .line::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 160px; background: var(--sky); animation: lineGrow 1.6s var(--ease) .3s both; }
@keyframes lineGrow { from { width: 0; } }
.page-hero .deco { position: absolute; right: -6%; top: 120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(6,144,252,.14), transparent 65%); pointer-events: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: all .35s var(--ease); }
.ccard:hover { transform: translateX(6px); border-color: var(--sky); }
.ccard .i { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.ccard .i svg { width: 20px; height: 20px; }
.ccard small { display: block; font-size: 12.5px; color: var(--muted); }
.ccard b { display: block; font-size: 18px; letter-spacing: -.01em; font-family: var(--font-display); font-weight: 600; margin-top: 2px; }
.ccard b.kr { font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.5; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 3vw, 44px); box-shadow: var(--shadow-1); }
.form h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.form > p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); color: var(--text); transition: all .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(6,144,252,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .25s; }
.choice input { display: none; }
.choice label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.form .btn { margin-top: 22px; width: 100%; }
.form .hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.office .k { font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; color: var(--sky); text-transform: uppercase; }
.office h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; }
.office p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.office .map { margin-top: 20px; height: 150px; border-radius: 14px; background: linear-gradient(135deg, #e6eef8, #f4f7fb); position: relative; overflow: hidden; }
.office .map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px); background-size: 24px 24px; }
.office .map .pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--sky); transform: translate(-50%,-50%) rotate(-45deg); box-shadow: 0 6px 14px rgba(6,144,252,.5); }
.office .map .pin::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(6,144,252,.4); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(2); opacity: 0; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-bg { position: absolute; inset: 0; background: rgba(10,16,32,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(100%, 880px); max-height: min(90vh, 90svh); overflow: auto; background: #fff; border-radius: 26px; transform: translateY(30px) scale(.98); transition: transform .45s var(--ease); overscroll-behavior: contain; }
.modal.is-open .modal-panel { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-1); }
.modal-close svg { width: 16px; height: 16px; }
.modal-hero { padding: 44px 40px 34px; color: #fff; position: relative; overflow: hidden; }
.modal-hero .badges { position: static; display: flex; gap: 6px; margin-bottom: 16px; }
.modal-hero h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.modal-hero h2.kr { font-family: var(--font-body); font-weight: 800; letter-spacing: -.03em; }
.modal-hero p { margin-top: 14px; color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 620px; line-height: 1.7; }
.modal-hero .price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.modal-hero .price b { font-family: var(--font-display); font-size: 38px; font-weight: 700; letter-spacing: -.02em; }
.modal-hero .price span { color: rgba(255,255,255,.75); font-size: 14px; }
.modal-body { padding: 32px 40px 40px; }
.modal-body h4 { font-size: 15px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.modal-body h4::before { content: ""; width: 18px; height: 2px; background: var(--sky); }
.dt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dt th, .dt td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dt th { width: 32%; font-weight: 700; color: var(--ink); }
.dt td.q { width: 20%; text-align: right; font-weight: 700; color: var(--sky-deep); white-space: nowrap; }
.dt tr.is-new th::after { content: "NEW"; font-family: var(--font-display); font-size: 9px; letter-spacing: .1em; padding: 3px 6px; border-radius: 4px; background: #ffe14d; color: #3d2f00; margin-left: 8px; vertical-align: middle; }
.dt tr.is-ai th::after { content: "AI"; font-family: var(--font-display); font-size: 9px; letter-spacing: .1em; padding: 3px 6px; border-radius: 4px; background: var(--sky); color: #fff; margin-left: 8px; vertical-align: middle; }
.dt td .sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ai-box { margin-bottom: 26px; padding: 20px 22px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; gap: 14px; }
.ai-box .row { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 14px; }
.ai-box .row i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #8fd0ff; }
.ai-box .row i svg { width: 18px; height: 18px; }
.ai-box .row b { display: block; font-size: 15px; }
.ai-box .row span { color: var(--muted-dark); font-size: 13.5px; line-height: 1.6; }
.mnotes { margin-top: 20px; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.mnotes li { padding-left: 16px; position: relative; }
.mnotes li::before { content: "※"; position: absolute; left: 0; color: var(--sky); }
.mnotes li.hl { color: #d9363e; font-weight: 700; }
.mnotes li.hl::before { color: #d9363e; }
.mcta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.mcta .btn { flex: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #070b16; color: rgba(255,255,255,.7); padding: 90px 0 36px; position: relative; overflow: hidden; }
.site-footer .statement { font-family: var(--font-display); font-size: clamp(32px, 5vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.site-footer .statement .a { color: var(--sky); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-top: 60px; padding-top: 44px; border-top: 1px solid var(--line-dark); }
.foot-grid h5 { font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 18px; font-weight: 600; }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid a { color: rgba(255,255,255,.8); font-size: 14.5px; transition: color .25s; }
.foot-grid a:hover { color: #8fd0ff; }
.foot-brand img { height: 22px; }
.foot-brand p { margin-top: 20px; font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.55); }
.foot-contact b { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 600; }
.foot-contact span { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.foot-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ---------- Quick float ---------- */
.quick { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.quick a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); box-shadow: 0 12px 30px rgba(10,16,32,.35); transition: transform .3s var(--ease), background .3s; }
.quick a svg { width: 20px; height: 20px; }
.quick a:hover { transform: translateY(-4px); background: var(--sky); }
.quick a.top { background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; transform: translateY(10px); pointer-events: none; }
.quick a.top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.quick a.top:hover { background: var(--paper-2); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="none"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: .05s; } [data-stagger].is-in > *:nth-child(2) { transition-delay: .14s; } [data-stagger].is-in > *:nth-child(3) { transition-delay: .23s; } [data-stagger].is-in > *:nth-child(4) { transition-delay: .32s; } [data-stagger].is-in > *:nth-child(5) { transition-delay: .41s; } [data-stagger].is-in > *:nth-child(6) { transition-delay: .5s; } [data-stagger].is-in > *:nth-child(7) { transition-delay: .59s; } [data-stagger].is-in > *:nth-child(8) { transition-delay: .68s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.split.is-in .w > span { transform: none; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 300; box-shadow: var(--shadow-2); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-4 { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .points { grid-template-columns: 1fr 1fr; }
  .point:nth-child(2) { border-right: 0; }
  .point:nth-child(1), .point:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section--ink .point:nth-child(1), .section--ink .point:nth-child(2) { border-bottom-color: var(--line-dark); }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .tile.wide { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-nav, .header-tel { display: none; }
  .hero-slider { height: auto; min-height: 0; max-height: none; padding-bottom: 110px; }
  .slide { position: relative; display: none; }
  .slide.is-active { display: block; }
  .slide-inner { grid-template-columns: 1fr; align-content: start; gap: 40px; padding: 120px 0 10px; height: auto; }
  .slide-visual { min-height: 0; transform: none; margin: 0; }
  .slide-tags { gap: 8px; }
  .slide-tags span::before { display: none; }
  .slide-tags span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 11px; letter-spacing: .08em; }
  .concept, .reviews, .check-grid, .contact-grid, .feature-case, .cta .wrap { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .logic { grid-template-columns: repeat(3, 1fr); }
  .lg-arrow { display: none; }
  .lg-final { grid-column: 1 / -1; aspect-ratio: auto; padding: 22px; border-radius: 999px; }
  .lg-final::before { display: none; }
  .roadmap, .offices { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .head { grid-template-columns: 1fr; align-items: start; }
  .modal-hero, .modal-body { padding-inline: 24px; }
  .dt th { width: 40%; }
  .dt td.q { width: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .site-header { padding: 10px 0; }
  .header-inner { height: 60px; padding: 0 8px 0 16px; border-radius: 14px; }
  .header-right .btn { display: none; }
  .brand img { height: 17px; }
  .hero-slider { padding-bottom: 96px; }
  .slide-inner { padding-top: 104px; gap: 34px; }
  .slide-title { font-size: clamp(34px, 9.4vw, 44px); }
  .slide-sub { font-size: 15.5px; margin-top: 18px; }
  .slide-actions { margin-top: 28px; }
  .slide-actions .btn { padding: 14px 20px; font-size: 14px; }
  .phone { width: 240px; height: 470px; border-radius: 36px; padding: 10px; }
  .phone::before { width: 74px; height: 20px; top: 18px; }
  .phone-screen { border-radius: 28px; }
  .ps-top { padding: 42px 14px 10px; }
  .ps-search { height: 34px; font-size: 12px; }
  .ps-chips span { font-size: 10px; padding: 5px 8px; }
  .ps-map { height: 70px; }
  .ps-list { padding: 8px 10px; gap: 6px; }
  .ps-item { padding: 9px 10px; border-radius: 11px; gap: 8px; grid-template-columns: 22px 1fr auto; }
  .ps-item .name { font-size: 12px; } .ps-item .meta { font-size: 10px; } .ps-item .tag { font-size: 9px; padding: 3px 6px; }
  .float-stat { padding: 9px 12px; font-size: 11px; }
  .float-stat b { font-size: 19px; }
  .slide-visual { flex-wrap: wrap; gap: 10px; }
  .slide-visual .phone { flex: 0 0 100%; width: 240px; margin: 0 auto; }
  .float-stat { position: static; animation: none; flex: 1; text-align: center; }
  .ai-stack { width: 100%; height: 330px; }
  .ai-card { width: min(280px, 92%); padding: 16px 18px; border-radius: 16px; }
  .ai-card.c1 { --y: -92px; } .ai-card.c3 { --y: 92px; }
  .ai-card .t { font-size: 15px; } .ai-card .d { font-size: 12px; }
  .chart-card { padding: 20px; border-radius: 18px; }
  .chart-card .cc-num { font-size: 32px; }
  .chart-card .cc-delta { font-size: 14px; padding: 6px 9px; white-space: nowrap; }
  .chart-card svg { height: 130px; }
  .cc-foot { gap: 16px; font-size: 11.5px; }
  .slider-ui { bottom: 26px; }
  .slider-btn { width: 42px; height: 42px; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 22px 14px 20px; border-radius: 16px; }
  .stat .l { font-size: 13.5px; line-height: 1.35; }
  .stat .n { font-size: 32px; margin-top: 14px; }
  .stat .n small { font-size: 14px; }
  .stat .s { margin-top: 12px; font-size: 12px; line-height: 1.5; }
  .title-en { font-size: clamp(38px, 11vw, 52px); }
  .title.kr { font-size: clamp(26px, 7.4vw, 34px); }
  .head { margin-bottom: 36px; }
  .lead { font-size: 15px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 52px 0; }
  .cta h2 { font-size: clamp(26px, 7.6vw, 36px); }
  .cta .actions .btn { flex: 1; padding: 16px 14px; }
  .site-footer .statement { font-size: clamp(28px, 8.4vw, 40px); }
  .concept-text .big { font-size: 22px; }
  .svc { padding: 26px 22px; }
  .svc h3 { font-size: 19px; }
  .feature-case { padding: 26px 20px; gap: 30px; }
  .feature-case .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature-case .fact { padding: 12px 12px; } .feature-case .fact b { font-size: 15px; text-wrap: balance; }
  .case-tabs button, .pf-filters button { padding: 10px 14px; font-size: 13px; }
  .program-tabs { width: 100%; } .program-tabs button { flex: 1; padding: 10px 6px; font-size: 13px; }
  .pcard-top { padding: 24px 22px 20px; min-height: 170px; }
  .pcard-body { padding: 20px 22px 24px; }
  .pcard-top .pname { font-size: 26px; } .pcard-top .pname.kr { font-size: 23px; }
  .pcard-price .p { font-size: 26px; }
  .check-result { font-size: 13.5px; }
  .office { padding: 24px 20px; }
  .menu-links a { font-size: 30px; padding: 14px 0; }
  .menu-overlay { padding-top: 100px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pillar { padding: 20px 16px; }
  .pillar h3 { font-size: 15px; }
  .pillar p { display: none; }
  .services, .services-4, .programs, .cases, .pf-grid { grid-template-columns: 1fr; }
  .scroll-hint-m { display: block; }
  .tile.wide { grid-column: auto; aspect-ratio: 4/5; }
  .svc { min-height: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .points { grid-template-columns: 1fr; }
  .point { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 8px; }
  .point:last-child { border-bottom: 0; }
  .logic { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lg { padding: 10px; }
  .lg .k { display: none; } .lg b { font-size: 13px; margin-top: 0; } .lg span { display: none; }
  .checklist label { font-size: 14px; padding: 12px 14px; gap: 10px; }
  .head.center .lead { text-align: left; }
  .head.center { text-align: left; }
  .head.center .kicker { justify-content: flex-start; }
  .panel { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { border-radius: 24px 24px 0 0; max-height: 92svh; }
  .modal-hero { padding-top: 34px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 130px 0 50px; }
  .quick { right: 14px; bottom: 14px; }
  .quick a { width: 50px; height: 50px; }
  .marquee span { padding: 0 18px; gap: 18px; font-size: 13px; }
  .compare-wrap table { min-width: 0; }
  .compare { font-size: 12.5px; table-layout: fixed; }
  .compare th, .compare td { padding: 11px 6px; line-height: 1.3; }
  .compare th:first-child, .compare td:first-child { width: 36%; padding-left: 12px; font-weight: 600; letter-spacing: -.02em; }
  .compare thead th { font-size: 12.5px; padding: 12px 4px; }
  .compare thead th.hl { border-radius: 10px 10px 0 0; }
  .compare th .best { display: inline-block; font-family: var(--font-body); font-size: 9px; letter-spacing: .06em; background: #ff5a5f; color: #fff; padding: 2px 5px; border-radius: 4px; margin: 3px 0 0; }
  .compare thead th.hl { line-height: 1.2; }
  .compare td .ai { font-size: 10px; margin-top: 1px; }
  .compare tr.new td:first-child::after { font-size: 8px; padding: 2px 4px; margin-left: 4px; }
  .compare tfoot td { font-size: 13px; padding: 14px 4px; letter-spacing: -.02em; }
  .compare tfoot td:first-child { font-family: var(--font-body); font-size: 12.5px; }
  .compare tfoot td small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-stagger] > *, .bubble, .split .w > span { opacity: 1 !important; transform: none !important; }
}

/* ---------- 성능: 모바일에서는 무거운 효과 제거 ---------- */
@media (max-width: 960px) {
  .header-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.96); }
  .site-header.on-dark .header-inner { background: rgba(10,16,32,.9); }
  .grain::after { display: none; }
  .bg-grid .floor { animation: none; mask-image: none; -webkit-mask-image: none; opacity: .35; }
  .bg-grid .stars { display: none; }
  .bg-aurora .orb { filter: blur(40px); animation: none; }
  .bg-aurora .orb-3, .bg-aurora .ring { display: none; }
  .bg-lines .beam { filter: blur(16px); animation: none; }
  .ai-card, .chart-card, .btn-line-light, .badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ai-card { background: rgba(20,32,70,.85); animation: none; }
  .ai-card.c2 { background: rgba(6,80,160,.85); }
  .chart-card { background: rgba(14,22,48,.9); }
  .modal-bg, .menu-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .modal-bg { background: rgba(10,16,32,.82); }
  .float-stat, .phone { animation: none; }
  .phone { box-shadow: 0 20px 50px rgba(0,0,0,.45); }
  .cta .glow { filter: none; opacity: .7; }
  .page-hero .deco { display: none; }
  .lg-final::before { animation: none; }
  .ps-map .pin.p1 { animation: none; }
  .office .map .pin::after { animation: none; }
  .tile, .pcard, .case, .svc, .stat, .pillar, .step, .point { transition-duration: .25s; }
  .tile:hover .tile-scene { transform: none; }
  .marquee .track { animation-duration: 60s; }
}

/* ---------- 모바일 히어로: 한 화면에 맞추기 ---------- */
@media (max-width: 640px) {
  /* 높이는 JS 가 첫 진입 시 한 번 고정 (--hero-h). 주소창이 나타나고 사라져도 크기가 변하지 않음 */
  .hero-slider { height: var(--hero-h, 100svh); min-height: 600px; max-height: 960px; padding-bottom: 0; overflow: hidden; }
  .slide { height: 100%; }
  .slide-inner { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; height: 100%; padding: 90px 0 78px; }
  .slide-copy .kicker { font-size: 11px; }
  .slide-title { margin-top: 14px; font-size: clamp(28px, 8vw, 36px); line-height: 1.12; }
  .slide-sub { font-size: 14px; margin-top: 10px; line-height: 1.55; }
  .slide-tags { display: none; }
  .slide-actions { margin-top: 16px; gap: 8px; flex-wrap: nowrap; }
  .slide-actions .btn { flex: 1; padding: 13px 8px; font-size: 13px; white-space: nowrap; }
  .slide-visual { align-self: stretch; height: 100%; min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; gap: 10px; }
  .slide-visual { flex-flow: row wrap; align-content: center; }
  .slide-visual .float-stat, .float-stat.fs-1, .float-stat.fs-2 { order: -1; flex: 1 1 40%; text-align: center; animation: none; transform: none; position: static; }
  .float-stat { padding: 8px 10px; font-size: 11px; }
  .float-stat b { font-size: 17px; margin-top: 2px; }
  .phone { width: 250px; height: auto; flex: none; padding-bottom: 12px; }
  .phone-screen { height: auto; padding-bottom: 6px; }
  .ps-item:nth-child(n+3) { display: none; }
  .ps-map { height: 64px; }
  .ps-top { padding-top: 40px; }
  .ai-stack { height: 280px; flex: none; }
  .ai-card.c1 { --y: -80px; } .ai-card.c3 { --y: 80px; }
  .ai-card { width: min(270px, 92%); padding: 14px 16px; }
  .ai-card.c1 { --y: -84px; } .ai-card.c3 { --y: 84px; }
  .chart-card { flex: none; }
  .slider-ui { bottom: 18px; }
  .slider-btn { width: 38px; height: 38px; }
  .slider-count { font-size: 12px; }
}
@media (max-width: 640px) and (max-height: 800px) {
  .phone { width: 220px; }
  .ps-chips { display: none; }
  .ps-map { height: 52px; }
  .ps-item:nth-child(n+2) { display: none; }
  .float-stat b { font-size: 15px; }
  .ai-stack { height: 240px; }
  .ai-card.c1 { --y: -68px; } .ai-card.c3 { --y: 68px; }
  .chart-card svg { height: 100px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .slide-inner { padding-top: 84px; }
  .slide-title { font-size: clamp(26px, 7.4vw, 32px); }
  .slide-sub { display: none; }
  .float-stat { display: none; }
}

/* ==========================================================================
   v3 — Two business areas (marketing + opening consulting / MSO)
   ========================================================================== */
.services-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .services-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-5 { grid-template-columns: 1fr; } }

/* hero duo cards */
.duo { display: flex; align-items: center; gap: 14px; width: min(100%, 520px); }
.duo-card { flex: 1; padding: 24px 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.4); animation: floaty 7s ease-in-out infinite; }
.duo-card.alt { background: rgba(6,144,252,.18); border-color: rgba(111,191,255,.5); animation-delay: -3.5s; }
.duo-card .l { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8fd0ff; }
.duo-card .t { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.duo-card .d { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 6px; line-height: 1.5; }
.duo-card .n { font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-top: 18px; line-height: 1; letter-spacing: -.02em; }
.duo-card .n small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); margin-top: 6px; letter-spacing: 0; }
.duo-plus { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: #38a9ff; flex: none; }

/* site analysis card */
.site-card { width: min(100%, 440px); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 22px; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); backdrop-filter: blur(14px); }
.sc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sc-badge { font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #4ade80; color: #04351b; white-space: nowrap; }
.sc-map { position: relative; height: 150px; border-radius: 14px; margin-top: 14px; background: linear-gradient(135deg, #16294f, #1f3d78); overflow: hidden; }
.sc-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.sc-map::after { content: ""; position: absolute; left: -10%; top: 55%; width: 120%; height: 18px; background: rgba(255,255,255,.12); transform: rotate(-8deg); }
.sc-map .pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9aa5b5; }
.sc-map .pin.p1 { left: 48%; top: 40%; width: 20px; height: 20px; background: var(--sky); box-shadow: 0 0 0 8px rgba(6,144,252,.25); animation: pinBounce 2s ease-in-out infinite; }
.sc-map .pin.p2 { left: 18%; top: 30%; } .sc-map .pin.p3 { left: 74%; top: 26%; } .sc-map .pin.p4 { left: 66%; top: 68%; }
.sc-map .sc-me { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); font-size: 11px; font-weight: 700; background: #fff; color: var(--ink); padding: 4px 8px; border-radius: 6px; }
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.sc-grid div { padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,.06); text-align: center; }
.sc-grid small { display: block; font-size: 10.5px; color: rgba(255,255,255,.6); }
.sc-grid b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-top: 4px; letter-spacing: -.01em; }
.sc-grid b i { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 600; margin-left: 2px; color: rgba(255,255,255,.7); }

/* twin pillar cards */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.twin-card { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); border-radius: 26px; background: var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.twin-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.twin-card .no { font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; color: var(--sky); font-weight: 600; }
.twin-card h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.twin-card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.twin-card ul { margin-top: 22px; display: grid; gap: 8px; }
.twin-card li { font-size: 14.5px; display: flex; gap: 10px; align-items: center; }
.twin-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); flex: none; }
.twin-card .link-more { margin-top: auto; padding-top: 28px; }
.twin-card.dark { background: var(--ink); color: #fff; border-color: transparent; }
.twin-card.dark p { color: var(--muted-dark); }
.twin-card.dark .link-more { color: #fff; }
.twin-card.dark .link-more .dot { border-color: rgba(255,255,255,.3); }
.twin-card.dark:hover .link-more .dot { background: #fff; color: var(--ink); }
.twin-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(6,144,252,.18), transparent 70%); }

/* vs comparison */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-col { padding: 30px 30px 32px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.vs-col.hl { background: rgba(6,144,252,.12); border-color: rgba(111,191,255,.5); }
.vs-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.vs-col.hl .vs-tag { background: var(--sky); color: #fff; }
.vs-col ul { margin-top: 20px; display: grid; gap: 12px; }
.vs-col li { display: flex; gap: 12px; font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.6; }
.vs-col li::before { content: "✕"; flex: none; color: #ff7b7b; font-weight: 800; }
.vs-col.hl li { color: #fff; }
.vs-col.hl li::before { content: "✓"; color: #4ade80; }
.formula { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.formula span { padding: 12px 22px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.formula span.a { background: var(--sky); border-color: var(--sky); }
.formula b { font-family: var(--font-display); color: #8fd0ff; font-size: 1.1em; }
.formula-card { padding: 34px; border-radius: 24px; background: var(--ink); color: #fff; }
.formula-card .formula { margin-top: 0; justify-content: flex-start; font-size: clamp(18px, 2vw, 24px); }
.formula-card ul { margin-top: 26px; display: grid; gap: 12px; }
.formula-card li { font-size: 14.5px; color: var(--muted-dark); line-height: 1.6; display: flex; gap: 10px; }
.formula-card li b { color: #8fd0ff; flex: none; width: 44px; }

/* phases (roadmap) */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; }
.phase { position: relative; padding: 28px 26px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.phase:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.phase .no { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--sky); letter-spacing: -.03em; line-height: 1; }
.phase h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 16px; }
.phase ul { margin-top: 14px; display: grid; gap: 8px; }
.phase li { font-size: 14px; color: var(--muted); padding-left: 14px; position: relative; }
.phase li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.phase::after { content: ""; position: absolute; right: -16px; top: 50%; width: 16px; height: 1px; background: var(--line); }
.phase:last-child::after { display: none; }
.phases.dark .phase { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #fff; }
.phases.dark .phase li { color: var(--muted-dark); }
.phases.dark .phase::after { background: rgba(255,255,255,.15); }
.phases.dark .phase:hover { background: rgba(255,255,255,.07); border-color: rgba(111,191,255,.5); }

/* analysis cards */
.analysis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.an-card { padding: 30px 28px; border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.an-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.an-ico svg { width: 22px; height: 22px; }
.an-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 20px; }
.an-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.an-ex { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--text); line-height: 1.6; }
.an-ex b { display: inline-block; font-family: var(--font-display); font-size: 10px; letter-spacing: .15em; padding: 3px 7px; border-radius: 5px; background: var(--sky-soft); color: var(--sky-deep); margin-right: 6px; vertical-align: middle; }

/* plan columns */
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan-col { padding: 34px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.plan-col ul { margin-top: 22px; display: grid; gap: 14px; }
.plan-col li { font-size: 14.5px; color: var(--muted); line-height: 1.6; padding-left: 18px; position: relative; }
.plan-col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.plan-col li b { display: block; color: var(--ink); font-size: 15.5px; }
.plan-col .link-more { margin-top: auto; padding-top: 26px; }

/* checklist accordion chips */
.checks .faq-q .q { font-family: var(--font-display); font-size: 13px; letter-spacing: .15em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 26px 40px; }
.chips span { font-size: 13.5px; padding: 8px 13px; border-radius: 9px; background: var(--paper-2); border: 1px solid var(--line); color: var(--text); }

/* chat dark + simple bars + featured case */
.chat.dark .bubble { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.chat.dark .bubble.me { background: rgba(6,144,252,.25); border-color: rgba(111,191,255,.4); }
.chat.dark .bubble small { color: rgba(255,255,255,.55); }
.bars-simple { margin-top: 16px; display: grid; gap: 10px; }
.bars-simple div { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.bars-simple i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--sky), var(--indigo)); width: 0; transition: width 1.4s var(--ease); }
.case.is-in .bars-simple i { width: var(--w); }
.bars-simple b { font-family: var(--font-display); color: var(--ink); white-space: nowrap; }
.case.featured { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky); }

/* portfolio mock scenes (consulting / offline) */
.sc-open { background: linear-gradient(160deg, #0f1b3d, #1f3d78); }
.sc-open2 { background: linear-gradient(160deg, #0b3b2e, #14746f); }
.sc-offline { background: linear-gradient(160deg, #123a7a, #0690fc); }
.sc-offline2 { background: linear-gradient(160deg, #2a2f4a, #4a5580); }
.mock-report { width: min(100%, 380px); background: #fff; border-radius: 14px; padding: 16px; color: #1a1a1a; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.tile:hover .mock-report { transform: none; }
.mr-head span { font-size: 10px; letter-spacing: .12em; color: var(--sky-deep); font-weight: 700; }
.mr-head b { display: block; font-size: 15px; font-weight: 800; margin-top: 2px; }
.mr-map { height: 90px; border-radius: 10px; margin-top: 10px; background: linear-gradient(135deg, #dfe9f3, #eef3f8); position: relative; overflow: hidden; }
.mr-map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px); background-size: 18px 18px; }
.mr-map .pin { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9aa5b5; }
.mr-map .pin.p1 { left: 46%; top: 40%; width: 16px; height: 16px; background: var(--sky); }
.mr-map .pin.p2 { left: 20%; top: 55%; } .mr-map .pin.p3 { left: 72%; top: 28%; }
.mr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.mr-grid div { text-align: center; padding: 8px 4px; border-radius: 8px; background: #f4f7fb; }
.mr-grid small { display: block; font-size: 9px; color: #6a7385; }
.mr-grid b { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; margin-top: 2px; }
.mock-check { width: min(100%, 250px); background: #fff; border-radius: 14px; padding: 16px; color: #1a1a1a; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(3deg); transition: transform .6s var(--ease); }
.tile:hover .mock-check { transform: none; }
.mc-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.mc-row { font-size: 11.5px; padding: 8px 10px 8px 30px; border-radius: 8px; background: #f4f7fb; margin-top: 6px; position: relative; color: #6a7385; }
.mc-row::before { content: ""; position: absolute; left: 9px; top: 8px; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #cbd3df; background: #fff; }
.mc-row.on { color: #1a1a1a; }
.mc-row.on::before { background: var(--sky) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/9px no-repeat; border-color: var(--sky); }
.mock-poster.grand { background: linear-gradient(180deg, #0a3d8f, #0690fc); color: #fff; }
.mock-poster.grand .fl { font-family: var(--font-display); font-size: 12px; font-weight: 700; background: #fff; color: #0a3d8f; display: inline-block; padding: 3px 8px; border-radius: 6px; align-self: flex-start; }
.mock-poster.grand .t { margin-top: 10px; }
.mock-poster.grand .t span { color: #ffe14d; font-family: var(--font-display); }
.mock-poster.grand .s { color: rgba(255,255,255,.8); }
.mock-poster.grand .box { background: rgba(255,255,255,.14); color: #fff; }
.mock-apt { width: min(100%, 250px); background: #fff; border-radius: 14px; padding: 14px; color: #1a1a1a; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.tile:hover .mock-apt { transform: none; }
.ma-head { font-size: 13px; font-weight: 800; padding-bottom: 8px; border-bottom: 1px solid #eef0f3; }
.ma-row { display: flex; justify-content: space-between; font-size: 11px; padding: 7px 0; border-bottom: 1px dashed #eef0f3; color: #444; }
.ma-row b { color: var(--sky-deep); font-weight: 700; }
.ma-foot { margin-top: 8px; font-size: 10px; color: #6a7385; }

/* contact type choice */
.choice.type label { flex: 1; text-align: center; padding: 12px 10px; border-radius: 12px; font-size: 14px; }

@media (max-width: 1180px) {
  .phases { grid-template-columns: repeat(2, 1fr); }
  .phase::after { display: none; }
  .analysis { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .twin, .vs, .plan { grid-template-columns: 1fr; }
  .duo { width: 100%; }
  .site-card { backdrop-filter: none; background: rgba(14,22,48,.9); }
}
@media (max-width: 640px) {
  .phases { grid-template-columns: 1fr 1fr; gap: 10px; }
  .phase { padding: 18px 16px 20px; border-radius: 16px; }
  .phase .no { font-size: 26px; }
  .phase h3 { font-size: 16px; margin-top: 10px; }
  .phase ul { margin-top: 10px; gap: 6px; }
  .phase li { font-size: 12.5px; padding-left: 11px; line-height: 1.45; }
  .phase li::before { top: 7px; width: 4px; height: 4px; }
  .duo { flex-direction: column; gap: 8px; }
  .duo-card { width: 100%; padding: 16px 18px; animation: none; }
  .duo-card .n { font-size: 26px; margin-top: 10px; }
  .duo-plus { font-size: 24px; }
  .site-card { padding: 16px; }
  .sc-map { height: 110px; }
  .sc-grid { gap: 6px; } .sc-grid b { font-size: 15px; } .sc-grid small { font-size: 9.5px; }
  .formula { gap: 8px 10px; font-size: 17px; } .formula span { padding: 9px 12px; }
  .formula-card { padding: 24px 20px; }
  .vs-col { padding: 22px 20px; }
  .an-card, .plan-col { padding: 24px 20px; }
  .chips { padding-left: 4px; }
  .chips span { font-size: 12.5px; padding: 7px 10px; }
  .choice.type label { flex: 1 1 100%; }
  .twin-card ul { gap: 6px; }
}
@media (max-width: 640px) and (max-height: 800px) {
  .duo-card .d { display: none; }
  .duo-card .n { font-size: 22px; margin-top: 6px; }
  .sc-map { height: 90px; }
}

.ok-list { margin-top: 26px; display: grid; gap: 12px; }
.ok-list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; color: rgba(255,255,255,.85); }
.ok-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(74,222,128,.18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/9px no-repeat; }
.formula-card .formula span { white-space: nowrap; }
@media (max-width: 640px) {
  .slide-visual .duo { flex-direction: row; gap: 8px; align-items: stretch; }
  .duo-card { padding: 14px 12px; border-radius: 14px; }
  .duo-card .l { font-size: 9.5px; letter-spacing: .12em; }
  .duo-card .t { font-size: 15px; margin-top: 6px; }
  .duo-card .d { font-size: 11px; margin-top: 4px; }
  .duo-card .n { font-size: 22px; margin-top: 10px; }
  .duo-card .n small { font-size: 10.5px; margin-top: 3px; }
  .duo-plus { display: none; }
  .formula-card .formula { font-size: 15px; gap: 6px 8px; }
  .formula-card .formula span { padding: 8px 10px; }
  .formula-card li b { width: 40px; }
}

/* ---------- hero journey card ---------- */
.journey { width: min(100%, 520px); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 22px 24px; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.45); backdrop-filter: blur(14px); }
.jy-head { display: flex; justify-content: space-between; align-items: center; }
.jy-badge { font-family: var(--font-display); font-size: 10px; letter-spacing: .14em; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: var(--sky); color: #fff; }
.jy-flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; padding-top: 6px; }
.jy-line { position: absolute; left: 8%; right: 8%; top: 20px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.jy-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #38a9ff, #7ce0ff); animation: fill 2.2s var(--ease) .6s forwards; --w: 100%; }
.jy-step { position: relative; text-align: center; }
.jy-step i { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; background: #0f1b3d; border: 2px solid rgba(111,191,255,.5); font-family: var(--font-display); font-size: 10px; font-weight: 700; font-style: normal; color: #8fd0ff; position: relative; z-index: 1; }
.jy-step.on i { background: var(--sky); border-color: var(--sky); color: #fff; box-shadow: 0 0 0 6px rgba(6,144,252,.22); }
.jy-step b { display: block; font-size: 12px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.jy-step small { display: block; font-size: 10px; color: rgba(255,255,255,.55); margin-top: 2px; line-height: 1.3; }
.jy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.jy-col { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.jy-col.alt { background: rgba(6,144,252,.14); border-color: rgba(111,191,255,.4); }
.jy-col span { font-family: var(--font-display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8fd0ff; }
.jy-col b { display: block; font-size: 15px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.jy-col ul { margin-top: 8px; display: grid; gap: 4px; }
.jy-col li { font-size: 11.5px; color: rgba(255,255,255,.75); padding-left: 10px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jy-col li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--sky); }
.jy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.jy-stats div { text-align: center; }
.jy-stats b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.jy-stats b i { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 700; color: #8fd0ff; margin-left: 2px; }
.jy-stats small { display: block; font-size: 10.5px; color: rgba(255,255,255,.55); margin-top: 4px; }
.kicker { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 960px) { .journey { backdrop-filter: none; background: rgba(14,22,48,.92); width: 100%; } }
@media (max-width: 640px) {
  .journey { padding: 16px 16px 14px; border-radius: 18px; }
  .jy-flow { grid-template-columns: repeat(3, 1fr); gap: 10px 6px; padding-top: 0; }
  .jy-line { display: none; }
  .jy-step { display: grid; grid-template-columns: 26px 1fr; gap: 8px; text-align: left; align-items: center; }
  .jy-step i { width: 26px; height: 26px; font-size: 9px; margin: 0; }
  .jy-step b { margin-top: 0; font-size: 11.5px; }
  .jy-step small { display: none; }
  .jy-cols { gap: 8px; margin-top: 14px; }
  .jy-col { padding: 11px 12px; }
  .jy-col b { font-size: 13.5px; }
  .jy-col li { font-size: 10.5px; }
  .jy-stats { margin-top: 12px; padding-top: 12px; }
  .jy-stats b { font-size: 19px; }
}
@media (max-width: 640px) and (max-height: 800px) {
  .jy-cols { display: none; }
}

/* ---------- 줄바꿈 마감 ---------- */
.foot-brand p { text-wrap: pretty; }
.foot-brand p, .office p, .ccard small { word-break: keep-all; }
.checklist label span, .fail-list li, .vs-col li, .plan-col li, .case li, .an-card p, .an-ex, .jy-col li { text-wrap: pretty; }
.stat .s { text-wrap: balance; }
.case h3 { text-wrap: initial; }
.feature-case .fact b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-card .cc-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.faq-q > span { text-wrap: balance; }
.concept-text .big br { display: inline; }
@media (max-width: 640px) {
  .concept-text .big { font-size: 21px; }
  .feature-case h3 { font-size: 24px; }
  .case h3 { font-size: 20px; }
  .case h3 br { display: none; }
  .stat .s { font-size: 11.5px; }
  .process { gap: 10px; }
  .step { padding: 20px 16px; }
  .step .no { font-size: 32px; }
  .step p { font-size: 12.5px; }
  .faq-q { font-size: 15.5px; padding: 20px 4px; gap: 14px; }
  .faq-q .q { margin-right: 10px; }
  .chat .bubble { max-width: 92%; font-size: 14px; }
  .kicker { font-size: 11px; letter-spacing: .16em; }
  .page-hero .crumbs { font-size: 11px; }
  .chips { gap: 6px; }
  .contact-grid .lead br { display: none; }
}

/* ---------- 메인 팝업 (관리자 등록) ---------- */
.hpop { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.hpop.is-open { opacity: 1; pointer-events: auto; }
.hpop-bg { position: absolute; inset: 0; background: rgba(5,8,18,.72); }
.hpop-card { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 26px 26px 0 0; overflow: hidden; transform: translateY(40px); transition: transform .45s var(--ease); box-shadow: 0 -20px 60px rgba(0,0,0,.4); }
.hpop.is-open .hpop-card { transform: none; }
.hpop-track { display: flex; transition: transform .5s var(--ease); }
.hpop-slide { position: relative; flex: 0 0 100%; aspect-ratio: 4/3; max-height: 60vh; display: block; overflow: hidden; color: #fff; }
.hpop-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hpop-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%); }
.hpop-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 22px; }
.hpop-text.center { text-align: center; }
.hpop-brand { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .9; margin-bottom: 6px; }
.hpop-title { display: block; font-size: clamp(24px, 6.6vw, 30px); font-weight: 800; letter-spacing: -.04em; line-height: 1.12; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hpop-sub { display: block; font-size: 14px; margin-top: 8px; opacity: .95; }
.hpop-btn { display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 999px; background: #fff; color: #111; font-size: 14px; font-weight: 800; }
.hpop-dots { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; justify-content: center; gap: 6px; }
.hpop-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hpop-dots i.on { background: #fff; }
.hpop-bar { display: flex; height: 56px; background: #fff; }
.hpop-bar button { flex: 1; font-size: 16px; font-weight: 600; color: #222; }
.hpop-bar button + button { border-left: 1px solid #e5e7eb; }
@media (min-width: 641px) { .hpop { align-items: center; } .hpop-card { border-radius: 26px; } .hpop-slide { max-height: 60vh; } }

/* ---------- 크몽 Prime 전문가 : 히어로 카드 ---------- */
.kcard { width: min(100%, 460px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 24px 26px; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.45); backdrop-filter: blur(14px); }
.kc-head { display: flex; align-items: center; gap: 10px; }
.kc-prime { font-family: var(--font-display); font-size: 10px; letter-spacing: .16em; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: #ffd400; color: #2b2300; }
.kc-cat { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.kc-rating { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.kc-stars { display: inline-flex; gap: 3px; }
.kc-stars i { width: 20px; height: 20px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd400'><path d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/></svg>") center/contain no-repeat; }
.kc-rating b { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.kc-rating span { font-size: 14px; color: rgba(255,255,255,.7); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); }
.kc-note { margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.kc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.kc-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 12px; }
.kc-stats small { display: block; font-size: 11px; color: rgba(255,255,255,.55); }
.kc-stats b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-top: 4px; line-height: 1; letter-spacing: -.02em; }
.kc-stats b i { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 700; color: #8fd0ff; margin-left: 2px; }
.kc-reviews { margin-top: 14px; display: grid; gap: 8px; }
.kc-review { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.05); border-radius: 12px; padding: 11px 13px; }
.kc-r { flex: none; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #ffd400; padding-top: 2px; }
.kc-review p { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.82); }

/* ---------- 크몽 Prime 전문가 : 온라인 마케팅 섹션 ---------- */
.kmong-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.kmong-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.kmong-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px 14px; text-align: center; }
.kmong-stat b { display: block; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.kmong-stat b i { font-style: normal; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #8fd0ff; margin-left: 2px; }
.kmong-stat span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.65); white-space: nowrap; }
.kmong-stat small { font-size: 11px; color: rgba(255,255,255,.4); }
.kmong-reviews { display: grid; gap: 14px; }
.kmong-review { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px 24px; }
.kr-head { display: flex; align-items: center; gap: 10px; }
.kr-head .kc-stars i { width: 16px; height: 16px; }
.kr-head b { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.kr-head small { font-size: 12px; color: rgba(255,255,255,.5); margin-left: auto; }
.kmong-review p { margin-top: 12px; font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.82); }
@media (max-width: 960px) {
  .kcard { backdrop-filter: none; background: rgba(14,22,48,.92); width: 100%; }
  .kmong-grid { grid-template-columns: 1fr; gap: 32px; }
  .kmong-stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}
@media (max-width: 640px) {
  .kcard { padding: 16px 16px 14px; border-radius: 18px; }
  .kc-rating { margin-top: 12px; gap: 10px; }
  .kc-stars i { width: 16px; height: 16px; }
  .kc-rating b { font-size: 28px; }
  .kc-rating span { font-size: 12.5px; }
  .kc-note { display: none; }
  .kc-stats { margin-top: 12px; gap: 6px; }
  .kc-stats div { padding: 9px 10px; }
  .kc-stats b { font-size: 19px; }
  .kc-reviews { margin-top: 10px; }
  .kc-review:nth-child(2) { display: none; }
  .kc-review p { font-size: 12px; }
  .kmong-stats { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .kmong-stat { padding: 14px 10px; }
  .kmong-review { padding: 18px 18px; }
  .kmong-review p { font-size: 14px; line-height: 1.7; }
  .kr-head small { font-size: 11px; }
}

/* ---------- SEO: 페이지 히어로 한국어 h1 ---------- */
.page-hero .ph-h1 { margin-top: 18px; font-size: clamp(19px, 1.9vw, 25px); font-weight: 800; letter-spacing: -.025em; line-height: 1.35; color: var(--ink); }
.page-hero .ph-h1 + .lead { margin-top: 10px; }

/* ---------- 카카오톡 채널 ---------- */
.quick a.kakao { background: #fae100; color: #3c1e1e; }
.quick a.kakao:hover { background: #ffd400; }
.ccard .i.kakao { background: #fae100; color: #3c1e1e; }
.menu-aside a { color: #8fd0ff; font-weight: 700; }
.foot-kakao { display: inline-block; margin-top: 10px; color: #8fd0ff; font-weight: 700; font-size: 14px; }
.form-done { text-align: center; padding: 40px 20px; display: grid; gap: 12px; justify-items: center; }
.form-done b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.form-done span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.form-done div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- 포트폴리오 케이스 상세 ---------- */
.tile.has-case { cursor: pointer; }
.tile-cap .go.more { background: var(--sky); color: #fff; }
.tile-cap .go.more svg { width: 16px; height: 16px; }
.tile.has-case:hover .tile-cap .go.more { transform: rotate(90deg); background: #fff; color: var(--ink); }
#caseModal .modal-panel { width: min(100%, 820px); border-radius: 22px; }
.cs { padding: 40px 44px 36px; }
.cs-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--ink); }
.cs-idx { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.cs-idx b { color: var(--sky); font-weight: 700; }
.cs-head h2 { margin-top: 12px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.cs-head p { margin-top: 10px; font-size: 16px; color: var(--text); letter-spacing: -.01em; }
.cs-spec { display: grid; gap: 8px; min-width: 180px; }
.cs-spec div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; font-size: 13px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.cs-spec small { color: var(--muted); }
.cs-spec b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cs-vis { margin-top: 28px; }
.cs-keys { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cs-keys li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.cs-keys li i { font-family: var(--font-display); font-style: normal; font-size: 12px; font-weight: 700; color: var(--sky); }
.cs-foot { margin-top: 26px; display: flex; gap: 10px; }
/* 시각 요소 */
.cs-board { background: var(--ink); color: #fff; border-radius: 16px; padding: 24px 26px; }
.cs-board-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cs-board-h span { font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8fd0ff; }
.cs-board-h b { font-size: 15px; font-weight: 700; }
.cs-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.cs-nums b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.cs-nums b i { font-style: normal; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #8fd0ff; margin-left: 2px; }
.cs-nums small { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 6px; }
.cs-board-f { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.75); }
.cs-board-f b { color: #fff; }
.cs-list { display: grid; }
.cs-list li { display: grid; grid-template-columns: 36px 100px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cs-list li:first-child { border-top: 1px solid var(--line); }
.cs-list i { font-family: var(--font-display); font-style: normal; font-size: 12px; font-weight: 700; color: var(--sky); }
.cs-list b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.cs-list span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cs-print { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 12px; align-items: stretch; }
.cs-poster { aspect-ratio: 3/4; border-radius: 12px; background: linear-gradient(175deg, #1f5fd8 0%, #0b3b9c 100%); color: #fff; padding: 18px 16px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.cs-poster::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cs-poster span { font-family: var(--font-display); font-size: 9px; letter-spacing: .24em; opacity: .8; }
.cs-poster strong { font-size: 24px; font-weight: 900; letter-spacing: -.04em; margin-top: 6px; line-height: 1.05; }
.cs-poster em { font-style: normal; align-self: flex-start; margin-top: 10px; padding: 4px 9px; border-radius: 999px; background: #ff3b6b; font-size: 10.5px; font-weight: 800; }
.cs-poster small { margin-top: 8px; font-size: 10px; opacity: .8; letter-spacing: .04em; }
.cs-poster i { font-style: normal; font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin-top: auto; line-height: 1; }
.cs-print figure, .cs-local figure, .cs-photos figure { border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.cs-print img, .cs-local img, .cs-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-local { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.cs-local figure { aspect-ratio: 3/4; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 13px; align-self: start; }
.cs-table th { font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 700; text-align: left; padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.cs-table td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.cs-table td:nth-child(2) { font-family: var(--font-display); font-weight: 700; }
.cs-shot { display: grid; place-items: center; padding: 26px; background: var(--paper-2); border-radius: 16px; }
.cs-shot img { max-width: min(100%, 300px); border-radius: 8px; box-shadow: 0 24px 50px rgba(10,16,32,.16); }
.cs-photos.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-photos figure { aspect-ratio: 1; }
@media (max-width: 760px) {
  .cs { padding: 28px 20px 26px; }
  .cs-head { grid-template-columns: 1fr; gap: 18px; padding-bottom: 20px; }
  .cs-head h2 { font-size: 26px; }
  .cs-head p { font-size: 14.5px; }
  .cs-spec { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cs-spec div { grid-template-columns: 1fr; gap: 3px; font-size: 12.5px; }
  .cs-nums { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .cs-list li { grid-template-columns: 30px 1fr; }
  .cs-list span { grid-column: 2; }
  .cs-print { grid-template-columns: 1fr 1fr; }
  .cs-print .cs-poster { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .cs-print figure { aspect-ratio: 4/3; }
  .cs-local { grid-template-columns: 1fr 1fr; }
  .cs-local .cs-table { grid-column: 1 / -1; }
  .cs-keys li { font-size: 14px; }
  .cs-foot { flex-direction: column; }
}
