/* =========================================================
   맞춤기획 — 홈페이지 목업
   ========================================================= */

:root {
  --bg: #f6f5f2;
  --bg-2: #eeece7;
  --ink: #141414;
  --ink-2: #3a3a3d;
  --muted: #6b6878;
  --line: rgba(20, 20, 20, 0.12);
  --dark: #0d0d0f;
  --dark-2: #18181b;
  --on-dark: #f3f2ef;
  --on-dark-muted: #9a97a6;
  --accent: #640aff;
  --accent-2: #7e33ff;
  --ph: #dcd9d2;
  --ph-ink: #8a8578;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 자료 필요 표시 (목업 전용) ---------- */
.ph {
  position: relative;
  background-color: var(--ph);
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.035) 0 1px, transparent 1px 10px);
  color: var(--ph-ink);
  overflow: hidden;
}
.ph-label {
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ph-ink);
}
.ph-text {
  display: inline;
  background: rgba(100, 10, 255, 0.08);
  color: var(--accent);
  padding: 0 4px;
  border-radius: 3px;
  font-size: 0.9em;
}
.mock-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 7px 10px;
  border-radius: 6px;
  opacity: 0.85;
}

/* ---------- 인트로 (BI 모션) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--dark);
  animation: introOut 0.8s var(--ease-io) 0.9s forwards;
}
.intro svg { width: 64px; height: auto; overflow: visible; animation: logoOut 0.5s var(--ease-io) 0.78s forwards; }
.intro .f { opacity: 0; animation: face 0.42s var(--ease) both; }
.intro .f1 { --tx: 0px; --ty: -14px; animation-delay: 0.05s; }
.intro .f2 { --tx: -12px; --ty: 7px; animation-delay: 0.16s; }
.intro .f3 { --tx: 12px; --ty: 7px; animation-delay: 0.27s; }
@keyframes face {
  from { opacity: 0; transform: translate(var(--tx), var(--ty)); }
  to { opacity: 1; transform: none; }
}
/* 로고가 먼저 빠지고 → 배경이 걷히는 동안 아래 화면이 자리를 잡는다 (뚝 끊기지 않게 겹침) */
@keyframes logoOut {
  to { opacity: 0; transform: translateY(-10px) scale(0.94); }
}
@keyframes introOut {
  to { opacity: 0; visibility: hidden; }
}
.intro.skip { display: none; }
.intro-on .hero-media { transform: scale(1.06); opacity: 0.35; transition: transform 1.8s var(--ease), opacity 1.1s var(--ease); }
.intro-on .header { opacity: 0; transform: translateY(-10px); transition: opacity 0.8s var(--ease) 0.3s, transform 0.8s var(--ease) 0.3s, background-color 0.3s, border-color 0.3s; }
.intro-on.ready .hero-media,
.intro-on.ready .header { opacity: 1; transform: none; }

/* ---------- 헤더 ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { position: relative; display: block; width: 132px; height: 47px; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.3s; }
.logo .on-light { opacity: 0; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { opacity: 0.8; transition: opacity 0.2s; }
.nav a:not(.btn):hover { opacity: 1; }
.header { color: var(--on-dark); }
.header.solid {
  color: var(--ink);
  background: rgba(246, 245, 242, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.header.solid .logo .on-light { opacity: 1; }
.header.solid .logo .on-dark { opacity: 0; }
.header.hide { transform: translateY(-100%); }
.header.light-page { color: var(--ink); }
.header.light-page .logo .on-light { opacity: 1; }
.header.light-page .logo .on-dark { opacity: 0; }
.menu-btn { display: none; width: 40px; height: 40px; margin-right: -8px; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform 0.3s var(--ease); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: #5200e0; }
.btn:active { transform: scale(0.97); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost:hover { background: rgba(127, 127, 127, 0.12); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media.ph { background-color: #1a1a1d; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 12px); }
.hero-media .ph-label { top: 88px; left: var(--gutter); color: #6c6a74; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,15,0.85) 0%, rgba(13,13,15,0.1) 55%, rgba(13,13,15,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 9vh, 96px);
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-dark-muted);
  margin: 0 0 20px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10.5vw, 168px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); }
.hero h1 .accent { color: var(--accent-2); }
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 36px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease) 0.35s, transform 0.8s var(--ease) 0.35s;
}
.hero-sub { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.65; color: #c9c7d0; }
.hero-actions { display: flex; gap: 10px; flex-shrink: 0; }
.ready .hero h1 .line > span { transform: none; }
.ready .hero h1 .line:nth-child(2) > span { transition-delay: 0.08s; }
.ready .hero-bottom { opacity: 1; transform: none; }
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: #fff;
  animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- 섹션 공통 ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 18px;
}
.sec-label::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.sec-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.04em;
}
.sec-desc { margin: 20px 0 0; max-width: 520px; font-size: 17px; color: var(--ink-2); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* 등장 효과 (요소별로 다르게 씀) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- 포트폴리오 ---------- */
.portfolio { padding-bottom: 0; }
.marquee { overflow: hidden; padding: 4px 0; cursor: grab; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.pf-card { width: clamp(260px, 26vw, 380px); flex-shrink: 0; }
.pf-thumb { aspect-ratio: 4 / 5; border-radius: 6px; transition: transform 0.6s var(--ease); }
.pf-card:hover .pf-thumb { transform: scale(0.985); }
.pf-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.pf-result { margin: 6px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }

.question {
  padding: clamp(120px, 18vw, 240px) 0 clamp(96px, 14vw, 180px);
  text-align: center;
}
.question h2 {
  margin: 0 auto;
  max-width: 14em;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.question h2 .word { display: inline-block; opacity: 0.12; transition: opacity 0.5s; }
.question h2 .word.on { opacity: 1; }
.question p { margin: 28px 0 0; color: var(--muted); font-size: 17px; }

/* ---------- 왜 맞춤기획 ---------- */
.why { background: var(--dark); color: var(--on-dark); }
.why .sec-label { color: var(--on-dark-muted); }
.why .sec-desc { color: #bdbac6; }
.why-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.compare {
  margin-top: clamp(72px, 10vw, 128px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.compare-col { padding: 36px 0 0; }
.compare-col + .compare-col { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid rgba(255,255,255,0.14); }
.compare-col h3 { margin: 0 0 24px; font-size: 15px; font-weight: 600; color: var(--on-dark-muted); }
.compare-col.ours h3 { color: var(--accent-2); }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -0.03em; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.compare-col.theirs li { color: #77747f; text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.25); text-decoration-thickness: 1px; }

.steps { margin-top: clamp(96px, 12vw, 160px); }
.steps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.steps-list { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: s; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr minmax(300px, 400px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.step::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 0;
  background: var(--accent-2);
  transition: width 1.2s var(--ease);
}
.step.in::before { width: 100%; }
.step-no { align-self: start; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.step-name { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; }
.step-name small { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); }
.step-desc { margin: 0; color: #c9c7d0; font-size: 16px; }
.step-desc { margin-top: 16px !important; max-width: 440px; }
.step-out { margin: 20px 0 0; font-size: 14px; color: var(--on-dark-muted); }
.step-out b { color: var(--on-dark); font-weight: 600; margin-left: 6px; }

/* ---------- 서비스 ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr 40px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  transition: padding 0.4s var(--ease), color 0.3s;
}
.svc-no { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-name { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; }
.svc-line { color: var(--ink-2); font-size: 16px; }
.svc-arr {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease);
}
.svc-row a:hover { padding-left: 12px; }
.svc-row a:hover .svc-name { color: var(--accent); }
.svc-row a:hover .svc-arr { background: var(--accent); color: #fff; box-shadow: none; transform: rotate(-45deg); }
.svc-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.cta h2 { margin: 0; font-size: clamp(40px, 6vw, 88px); line-height: 1.05; font-weight: 800; letter-spacing: -0.05em; }
.cta p { margin: 0 0 28px; font-size: 17px; color: rgba(255,255,255,0.78); }
.cta .btn { background: #fff; color: var(--accent); }
.cta .btn:hover { background: #ece6ff; }
.cta .btn.ghost { background: transparent; color: #fff; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 푸터 ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 72px 0 40px; font-size: 13px; line-height: 1.9; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top img { width: 132px; }
.footer-nav { display: flex; gap: 28px; font-size: 14px; color: var(--on-dark); }
.footer-info { margin-top: 32px; display: flex; flex-wrap: wrap; column-gap: 20px; }
.footer-copy { margin-top: 20px; }

/* =========================================================
   하위 페이지
   ========================================================= */
.page-top { padding-top: 160px; padding-bottom: 72px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumb a:hover { color: var(--ink); }
.page-title { margin: 0; font-size: clamp(44px, 7vw, 104px); line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; }
.page-lead { margin: 28px 0 0; max-width: 560px; font-size: 19px; line-height: 1.65; color: var(--ink-2); }

/* 서비스 상세 */
.svc-hero-img { aspect-ratio: 21 / 9; border-radius: 8px; }
.svc-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); padding: 96px 0; border-bottom: 1px solid var(--line); }
.svc-grid:last-of-type { border-bottom: 0; }
.svc-grid h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; position: sticky; top: 96px; align-self: start; }
.fit-list { list-style: none; margin: 0; padding: 0; }
.fit-list li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.fit-list li:first-child { padding-top: 0; }
.fit-list li span { color: var(--accent); font-size: 15px; padding-top: 4px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.flow li { background: var(--bg-2); padding: 28px 24px 32px; }
.flow li:first-child { border-radius: 8px 0 0 8px; }
.flow li:last-child { border-radius: 0 8px 8px 0; }
.flow b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 40px; }
.flow strong { display: block; font-size: 20px; letter-spacing: -0.03em; margin-bottom: 8px; }
.flow p { margin: 0; font-size: 14px; color: var(--ink-2); }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.incl div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.incl strong { display: block; font-size: 17px; }
.incl span { font-size: 14px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 18px; font-weight: 600; cursor: pointer; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; color: var(--ink-2); max-width: 640px; }
.case-band { background: var(--bg-2); padding: 72px 0; }
.case-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.case-band h3 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.04em; line-height: 1.2; }
.case-band .btn { background: var(--ink); }
.case-band .btn:hover { background: #000; }

/* 사례 게시판 */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.tab { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: all 0.2s; }
.tab:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.col-list { list-style: none; margin: 0; padding: 0 0 120px; border-top: 1px solid var(--ink); }
.col-item a { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 5vw, 80px); padding: 40px 0; border-bottom: 1px solid var(--line); }
.col-tag { font-size: 13px; font-weight: 600; color: var(--accent); }
.col-title { margin: 12px 0 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 700; letter-spacing: -0.035em; transition: color 0.2s; }
.col-item a:hover .col-title { color: var(--accent); }
.col-excerpt { margin: 14px 0 0; color: var(--ink-2); max-width: 620px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-meta { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; gap: 16px; }
.col-thumb { aspect-ratio: 16 / 10; border-radius: 6px; transition: transform 0.6s var(--ease); }
.col-item a:hover .col-thumb { transform: scale(0.98); }
.col-num { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; color: var(--ink); }

/* 사례 글 */
.article-top { padding: 150px 0 56px; max-width: 860px; }
.article-title { margin: 16px 0 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.15; font-weight: 800; letter-spacing: -0.045em; }
.article-meta { margin-top: 24px; color: var(--muted); font-size: 14px; display: flex; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin: 56px 0 0; }
.facts div { padding: 22px 20px 24px 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.article-cover { aspect-ratio: 16 / 9; border-radius: 8px; }
.prose { max-width: 720px; margin: 0 auto; padding: 80px 0 40px; font-size: 18px; line-height: 1.85; color: var(--ink-2); }
.prose h2 { margin: 72px 0 20px; font-size: 28px; line-height: 1.3; color: var(--ink); letter-spacing: -0.035em; }
.prose h2:first-child { margin-top: 0; }
.prose h2 span { display: block; font-size: 13px; color: var(--accent); letter-spacing: 0; margin-bottom: 8px; }
.prose p { margin: 0 0 20px; }
.prose figure { margin: 40px 0; }
.prose figure .ph { aspect-ratio: 3 / 2; border-radius: 6px; }
.prose figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.result-box { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 32px 0; }
.result-box div { background: var(--bg-2); padding: 28px 24px; }
.result-box div:first-child { border-radius: 8px 0 0 8px; }
.result-box div:last-child { border-radius: 0 8px 8px 0; background: var(--ink); color: var(--on-dark); }
.result-box small { display: block; font-size: 13px; opacity: 0.6; }
.result-box strong { display: block; margin-top: 10px; font-size: 32px; letter-spacing: -0.04em; }
.pager { max-width: 720px; margin: 0 auto 120px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pager a { padding: 28px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .why-intro, .cta .wrap { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-no { padding-top: 0; }
  .svc-row a { grid-template-columns: 40px 1fr 40px; }
  .svc-line { grid-column: 2 / 3; margin-top: -12px; }
  .svc-arr { grid-row: 1; grid-column: 3; }
  .svc-grid { grid-template-columns: 1fr; padding: 64px 0; gap: 28px; }
  .svc-grid h2 { position: static; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li { border-radius: 0 !important; }
  .col-item a { grid-template-columns: 1fr; }
  .col-thumb { order: -1; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header .wrap { height: 60px; }
  .logo { width: 112px; height: 40px; }
  .nav .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-sub { font-size: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .pf-card { width: 72vw; }
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { padding-left: 0; border-left: 0; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); }
  .incl { grid-template-columns: 1fr; }
  .case-band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; gap: 16px 24px; }
  .prose { font-size: 17px; padding-top: 56px; }
  .result-box strong { font-size: 24px; }
  .mock-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}

/* =========================================================
   v2 — 시각 요소 / 추가 섹션
   ========================================================= */

/* 헤더 줄자 진행바 */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 7px; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.header.solid .progress { opacity: 1; }
.progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(20,20,20,0.28) 0 1px, transparent 1px 50px) left bottom / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, rgba(20,20,20,0.16) 0 1px, transparent 1px 10px) left bottom / 100% 3px no-repeat;
}
.progress i { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--p, 0%); background: var(--accent); }

/* 예산 비교 */
.budget { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(64px, 9vw, 112px); }
.budget-panel { background: var(--dark-2); border-radius: 12px; padding: clamp(24px, 3vw, 40px); }
.budget-panel.ours { box-shadow: inset 0 0 0 1px rgba(126, 51, 255, 0.45); }
.budget-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.budget-head h3 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.budget-panel.ours h3 { color: var(--accent-2); }
.budget-head span { font-size: 13px; color: var(--on-dark-muted); }
.bars { display: grid; gap: 10px; min-height: 222px; align-content: start; }
.bar-row { display: grid; grid-template-columns: 76px 1fr 28px; gap: 14px; align-items: center; font-size: 14px; color: #c9c7d0; }
.bar-row b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.bar { height: 22px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: #4a4752; border-radius: 3px; transition: width 1.1s var(--ease); }
.budget-panel.ours .bar { height: 48px; }
.budget-panel.ours .bar i { background: var(--accent); }
.budget.in .bar i { width: calc(var(--w) * 2); }
.budget.in .bar-row:nth-child(2) i { transition-delay: 0.08s; }
.budget.in .bar-row:nth-child(3) i { transition-delay: 0.16s; }
.budget.in .bar-row:nth-child(4) i { transition-delay: 0.24s; }
.budget.in .bar-row:nth-child(5) i { transition-delay: 0.32s; }
.budget.in .bar-row:nth-child(6) i { transition-delay: 0.4s; }
.budget-notes { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,0.1); display: grid; gap: 8px; font-size: 15px; }
.budget-panel.theirs .budget-notes li { color: #77747f; text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.25); }
.budget-panel.ours .budget-notes li { color: var(--on-dark); font-weight: 600; }
.budget-panel.ours .budget-notes li::before { content: "✓"; color: var(--accent-2); margin-right: 10px; font-weight: 700; }
.budget-cap { margin: 16px 0 0; font-size: 13px; color: var(--on-dark-muted); }

/* 단계 그림 */
.viz {
  background: var(--dark-2);
  border-radius: 12px;
  padding: 22px 24px 24px;
  min-height: 200px;
  font-size: 13px;
  color: #c9c7d0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.viz-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 20px; }
.viz-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.m-row { display: grid; grid-template-columns: 74px 1fr 52px; gap: 12px; align-items: center; padding: 7px 0; }
.m-row em { font-style: normal; text-align: right; color: var(--on-dark-muted); font-size: 12px; }
.m {
  height: 10px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 calc(10% - 3px), transparent calc(10% - 3px) 10%);
  position: relative;
}
.m::after {
  content: "";
  position: absolute; inset: 0;
  width: 0;
  background: repeating-linear-gradient(90deg, var(--accent-2) 0 calc(100% / var(--v) - 3px), transparent calc(100% / var(--v) - 3px) calc(100% / var(--v)));
  transition: width 0.9s var(--ease) 0.2s;
}
.step.in .m::after { width: calc(var(--v) * 10%); }
.m-row:last-child em { color: #ff8a8a; }
.split { display: flex; height: 44px; gap: 3px; border-radius: 6px; overflow: hidden; }
.split i { width: 0; background: var(--accent); transition: width 1s var(--ease) 0.2s; }
.split i:nth-child(2) { background: var(--accent-2); }
.split i:nth-child(3) { background: #b48cff; }
.step.in .split i { width: var(--w); }
.split-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.split-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--accent); }
.split-legend span:nth-child(2)::before { background: var(--accent-2); }
.split-legend span:nth-child(3)::before { background: #b48cff; }
.split-cut { margin-top: 20px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.14); color: var(--on-dark-muted); }
.split-cut s { margin-right: 8px; color: #77747f; }
.ab { display: flex; gap: 20px; height: 130px; align-items: flex-end; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.ab-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.ab-col b { font-size: 12px; font-weight: 600; color: var(--on-dark-muted); transform: translateY(26px); }
.ab-bar { position: relative; width: 100%; max-width: 72px; height: 0; background: #4a4752; border-radius: 4px 4px 0 0; transition: height 1s var(--ease) 0.2s; }
.win .ab-bar { background: var(--accent); }
.win b { color: var(--on-dark); }
.step.in .ab-bar { height: var(--h); }
.ab-bar em { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.viz-ab { padding-bottom: 44px; }
.viz-line svg { width: 100%; height: 110px; overflow: visible; }
.viz-line .grid { stroke: rgba(255,255,255,0.07); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.viz-line .ln { fill: none; stroke: var(--accent-2); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.4s var(--ease) 0.2s; }
.viz-line circle { fill: var(--accent-2); opacity: 0; transition: opacity 0.3s 1.3s; }
.step.in .ln { stroke-dashoffset: 0; }
.step.in .viz-line circle { opacity: 1; }
.line-x { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--on-dark-muted); }

/* 서비스 + 휴대폰 */
.svc-wrap { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-row.active .svc-name { color: var(--accent); }
.svc-row a { grid-template-columns: 48px 1fr 40px; row-gap: 6px; }
.svc-row .svc-line { grid-column: 2; grid-row: 2; }
.svc-row .svc-arr { grid-column: 3; grid-row: 1 / span 2; }
.phone-col { position: sticky; top: 110px; }
.phone {
  width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  background: #141414;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(20, 20, 20, 0.35), inset 0 0 0 1.5px #2b2b2e;
}
.screen { position: relative; height: 100%; background: #fff; border-radius: 35px; overflow: hidden; }
.scr { position: absolute; inset: 0; padding: 46px 16px 16px; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); font-size: 12px; color: var(--ink); }
.scr.on { opacity: 1; transform: none; }
.scr::before { content: ""; position: absolute; top: 12px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: #141414; border-radius: 20px; }
.phone-cap { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.phone-cap b { color: var(--ink); }
/* 화면 부품 */
.s-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: #f1f0ec; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.s-search::before { content: ""; width: 11px; height: 11px; border: 2px solid #8a8790; border-radius: 50%; flex-shrink: 0; }
.s-tabs { display: flex; gap: 14px; font-size: 11px; color: #8a8790; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #ecebe7; }
.s-tabs b { color: var(--ink); }
.s-item { display: grid; grid-template-columns: 1fr 58px; gap: 10px; padding: 12px 0; border-bottom: 1px solid #ecebe7; }
.s-item .t { display: block; height: 9px; width: 85%; background: #e3e1dc; border-radius: 3px; }
.s-item .t + .t { margin-top: 6px; width: 60%; }
.s-item .th { aspect-ratio: 1; border-radius: 6px; background: #e8e6e1; }
.s-item.ours { margin: 2px -8px; padding: 12px 8px; border-radius: 10px; border: 0; background: #f3edff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.s-item.ours strong { display: block; font-size: 12.5px; line-height: 1.4; margin-bottom: 4px; }
.s-item.ours small { color: var(--muted); font-size: 11px; }
.s-item.ours .th { background: linear-gradient(135deg, #cdb6ff, #8f5bff); }
.tag { display: inline-block; font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); padding: 2px 6px; border-radius: 4px; margin-bottom: 6px; }
.tag.ad { background: #ecebe7; color: #6b6878; }
.s-map {
  position: relative;
  height: 210px;
  margin: -46px -16px 12px;
  background-color: #eef0ea;
  background-image: linear-gradient(#fff 2px, transparent 2px), linear-gradient(90deg, #fff 2px, transparent 2px);
  background-size: 46px 46px;
}
.s-map .road { position: absolute; left: -10%; top: 58%; width: 120%; height: 10px; background: #fff; transform: rotate(-14deg); }
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b9b6be; }
.pin.ours { width: 26px; height: 26px; background: var(--accent); box-shadow: 0 0 0 6px rgba(100,10,255,0.18); }
.radius { position: absolute; left: 50%; top: 52%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; border: 1.5px dashed var(--accent); background: rgba(100,10,255,0.07); }
.radius span { position: absolute; bottom: -2px; left: 50%; transform: translate(-50%, 50%); font-size: 10px; font-weight: 700; color: var(--accent); background: #fff; padding: 1px 6px; border-radius: 4px; }
.s-feed-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 600; }
.s-feed-head i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #cdb6ff, #8f5bff); }
.s-feed-head small { font-weight: 500; color: var(--muted); font-size: 10px; display: block; }
.s-post { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(160deg, #e9e3d6, #cfc5b2); position: relative; }
.s-post::after { content: "가게 사진"; position: absolute; left: 10px; bottom: 10px; font-size: 10px; color: rgba(0,0,0,0.35); }
.s-actions { display: flex; gap: 12px; margin: 10px 0 6px; }
.s-actions i { width: 18px; height: 18px; border: 2px solid #3a3a3d; border-radius: 50%; }
.s-cta { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; margin-top: 8px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; }

/* 치수 재기 */
.fit { background: var(--bg-2); }
.fit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.fit-form fieldset { border: 0; margin: 0 0 36px; padding: 0; }
.fit-form legend { padding: 0; margin-bottom: 14px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.fit-form legend b { color: var(--accent); margin-right: 8px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 46px; padding: 0 18px; border-radius: 10px; background: var(--bg); font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.sheet { position: sticky; top: 110px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20,20,20,0.25); }
.sheet-ruler {
  height: 30px;
  background-color: #f2d36b;
  background-image:
    repeating-linear-gradient(90deg, rgba(20,20,20,0.6) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, rgba(20,20,20,0.35) 0 1px, transparent 1px 10px);
  background-size: 100% 14px, 100% 8px;
  background-repeat: no-repeat;
}
.sheet-body { padding: 28px 28px 30px; }
.sheet-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sheet-meta { color: var(--muted); font-weight: 500; }
.sheet-result { min-height: 196px; padding: 20px 0; }
.sheet-empty { color: var(--muted); font-size: 15px; padding-top: 40px; text-align: center; }
.rec { display: grid; grid-template-columns: 1fr 44px; gap: 6px 12px; align-items: center; padding: 10px 0; }
.rec strong { font-size: 17px; letter-spacing: -0.02em; }
.rec b { text-align: right; font-variant-numeric: tabular-nums; color: var(--accent); }
.rec .bar { grid-column: 1 / -1; height: 8px; background: var(--bg-2); }
.rec .bar i { background: var(--accent); width: var(--w); transition: width 0.6s var(--ease); }
.rec small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.sheet-note { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.sheet .btn { width: 100%; justify-content: center; }

/* 후기 */
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.review { margin: 0; padding: 32px 28px 28px; border-radius: 12px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; }
.chat { display: flex; flex-direction: column; gap: 6px; }
.bubble { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.55; letter-spacing: -0.015em; word-break: keep-all; }
.bubble.them { align-self: flex-start; background: #f1f1f4; color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.us { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them + .bubble.us, .bubble.us + .bubble.them { margin-top: 6px; }
.review figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.review figcaption b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 700; }
.shot-open { flex-shrink: 0; padding: 6px 12px; border: 1px solid rgba(20,20,20,0.14); border-radius: 999px; background: none; font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.shot-open:hover { border-color: var(--accent); color: var(--accent); }
.review-note { margin: 24px 0 0; font-size: 13px; color: var(--muted); }
dialog.shot { position: fixed; padding: 0; border: 0; border-radius: 14px; background: #b2c7da; width: min(92vw, 440px); max-width: none; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.shot-body { max-height: 86vh; overflow: auto; }
dialog.shot::backdrop { background: rgba(13,13,15,0.72); backdrop-filter: blur(4px); }
dialog.shot img { display: block; width: 100%; height: auto; }
.shot-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(13,13,15,0.72); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }

/* 대표 */
.about { padding-top: 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 12px; }
.about-quote { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.2; font-weight: 800; letter-spacing: -0.045em; }
.about-name { margin: 28px 0 0; color: var(--muted); }
.about-name b { color: var(--ink); font-size: 18px; margin-right: 6px; }
.about-desc { margin: 20px 0 0; max-width: 520px; color: var(--ink-2); }
.about-facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.about-facts li { padding: 16px 16px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.about-facts span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }

/* 비용 / FAQ */
.price { background: #fff; }
.price-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.price-list { margin: 0; border-top: 1px solid var(--ink); }
.price-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.price-row dt { font-size: 14px; color: var(--muted); padding-top: 4px; }
.price-row dd { margin: 0; }
.price-row strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.price-row dd > span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.faq-sec .faq { border-top: 1px solid var(--ink); }

/* CTA 큐브 */
.cta { position: relative; overflow: hidden; }
.cta .wrap { position: relative; z-index: 1; }
.cta-cube { position: absolute; right: -6%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 1; pointer-events: none; }

@media (max-width: 960px) {
  .budget { grid-template-columns: 1fr; }
  .svc-wrap { grid-template-columns: 1fr; }
  .phone-col { position: static; order: -1; }
  .phone { width: 240px; }
  .fit-grid, .about-grid, .price-grid { grid-template-columns: 1fr; }
  .sheet { position: static; }
  .review-list { grid-template-columns: 1fr; }
  .review { min-height: 0; }
}
@media (max-width: 640px) {
  .bar-row { grid-template-columns: 64px 1fr 24px; font-size: 13px; }
  .bars { min-height: 0; }
  .budget-head { flex-direction: column; gap: 4px; }
  .price-row { grid-template-columns: 1fr; gap: 6px; }
  .about-facts li { font-size: 15px; }
  .cta-cube { width: 90vw; right: -30%; top: 30%; }
}

/* =========================================================
   v3 — 모바일 다듬기
   ========================================================= */
.svc-cards { display: none; }
.snap-dots { display: none; }

@media (max-width: 960px) {
  /* 서비스: 목록 + 별도 휴대폰 대신, 화면과 설명을 묶은 카드 */
  .svc-wrap { display: none; }
  .svc-cards { display: block; }
  .snap-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .snap-row::-webkit-scrollbar { display: none; }
  .snap-row > * { flex: 0 0 min(82%, 360px); scroll-snap-align: start; }
  .snap-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
  .snap-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(20,20,20,0.18); transition: width 0.3s var(--ease), background-color 0.3s; }
  .snap-dots i.on { width: 20px; background: var(--ink); }

  .svc-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .svc-card-visual { position: relative; height: 300px; overflow: hidden; background: var(--bg-2); }
  .svc-card-visual .phone { position: absolute; left: 50%; top: 28px; width: 300px; margin: 0; transform: translateX(-50%) scale(0.78); transform-origin: top center; box-shadow: 0 30px 50px -24px rgba(20,20,20,0.35), inset 0 0 0 1.5px #2b2b2e; }
  .svc-card-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(to top, var(--bg-2), transparent); }
  .svc-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
  .svc-card-body .svc-no { font-size: 12px; }
  .svc-card-body strong { margin-top: 8px; font-size: 22px; letter-spacing: -0.035em; line-height: 1.25; }
  .svc-card-body p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); flex: 1; }
  .svc-card-more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); }

  /* 후기도 옆으로 넘기기 */
  .review-list.snap-row { display: flex; margin-top: 36px; }
  .review { min-height: 240px; }
}

@media (max-width: 640px) {
  body { line-height: 1.65; }
  .pc { display: none; }

  /* 리듬 */
  .section { padding: 88px 0; }
  .sec-head { margin-bottom: 36px; gap: 18px; }
  .sec-label { margin-bottom: 14px; font-size: 12px; }
  .sec-title { font-size: 30px; line-height: 1.22; letter-spacing: -0.035em; }
  .sec-desc { margin-top: 16px; font-size: 16px; line-height: 1.7; }
  .link-more { font-size: 14px; }

  /* Hero */
  .hero-inner { padding-bottom: 72px; }
  .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .hero h1 { font-size: 60px; }
  .hero-bottom { margin-top: 28px; }
  .hero-sub { font-size: 15px; line-height: 1.7; }
  .hero-actions, .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { height: 50px; font-size: 15px; }

  /* 포트폴리오 */
  .pf-meta { margin-top: 14px; font-size: 13px; }
  .pf-result { font-size: 18px; }
  .question { padding: 104px 0 96px; }
  .question h2 { font-size: 31px; line-height: 1.3; letter-spacing: -0.04em; }
  .question p { margin-top: 18px; font-size: 15px; }

  /* 왜 맞춤기획 */
  .why-intro { gap: 4px; }
  .budget { margin-top: 48px; gap: 12px; }
  .budget-panel { padding: 24px 20px; border-radius: 14px; }
  .budget-head { margin-bottom: 22px; }
  .budget-head h3 { font-size: 18px; }
  .bars { gap: 8px; }
  .bar { height: 18px; }
  .budget-panel.ours .bar { height: 36px; }
  .budget-notes { margin-top: 22px; padding-top: 18px; font-size: 14px; }
  .budget-cap { font-size: 12px; line-height: 1.6; }
  .steps { margin-top: 88px; }
  .steps-list { margin-top: 32px; }
  .step { padding: 32px 0 36px; gap: 14px; }
  .step-no { font-size: 13px; }
  .step-name { font-size: 28px; }
  .step-name small { margin-top: 6px; font-size: 13px; }
  .step-desc { margin-top: 12px !important; font-size: 15px; line-height: 1.7; }
  .step-out { margin-top: 14px; font-size: 13px; }
  .viz { min-height: 0; margin-top: 8px; padding: 20px 18px; border-radius: 12px; }
  .viz-title { margin-bottom: 16px; }
  .m-row { grid-template-columns: 68px 1fr 46px; gap: 10px; padding: 6px 0; font-size: 12px; }

  /* 치수 재기 */
  .fit-form fieldset { margin-bottom: 28px; }
  .fit-form legend { margin-bottom: 12px; font-size: 16px; }
  .chips { gap: 6px; }
  .chips button { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
  .fit-grid { gap: 8px; }
  .sheet-ruler { height: 24px; }
  .sheet-body { padding: 20px 20px 22px; }
  .sheet-result { min-height: 150px; padding: 14px 0; }
  .sheet-empty { padding-top: 28px; font-size: 14px; }
  .rec strong { font-size: 16px; }
  .rec small { font-size: 12.5px; }

  /* 후기 */
  .review { padding: 26px 22px 22px; min-height: 230px; }
  .bubble { font-size: 14px; }
  .review figcaption { margin-top: 22px; font-size: 13px; }

  /* 대표 */
  .about-grid { gap: 36px; }
  .about-photo { aspect-ratio: 1 / 1; }
  .about-quote { font-size: 28px; line-height: 1.3; }
  .about-name { margin-top: 20px; font-size: 14px; }
  .about-desc { font-size: 15px; line-height: 1.7; }
  .about-facts { margin-top: 28px; }
  .about-facts li { padding-top: 14px; font-size: 15px; }
  .about-facts span { font-size: 12px; }

  /* 비용 / FAQ */
  .price-grid { gap: 36px; }
  .price-row { padding: 22px 0; }
  .price-row dt { font-size: 13px; padding-top: 0; }
  .price-row strong { font-size: 19px; }
  .price-row dd > span { font-size: 14px; }
  .faq summary { padding: 20px 0; font-size: 16px; line-height: 1.45; }
  .faq p { font-size: 15px; line-height: 1.7; }

  /* CTA / 푸터 */
  .cta .wrap { gap: 24px; }
  .cta h2 { font-size: 38px; line-height: 1.15; }
  .cta p { margin-bottom: 24px; font-size: 15px; line-height: 1.7; }
  .cta-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .cta-actions .btn { justify-content: center; }
  .footer { padding: 56px 0 36px; }
  .footer-top { gap: 28px; padding-bottom: 32px; }
  .footer-top img { width: 112px; }
  .footer-nav { gap: 12px 20px; font-size: 14px; }
  .footer-info { flex-direction: column; margin-top: 24px; line-height: 2; }

  /* 하위 페이지 */
  .page-top { padding-top: 120px; padding-bottom: 48px; }
  .page-title { font-size: 40px; line-height: 1.12; }
  .page-lead { margin-top: 20px; font-size: 16px; line-height: 1.7; }
  .crumb { margin-bottom: 20px; font-size: 13px; }
}

/* ===================== v4 — 메인 사례 미리보기 ===================== */
.cases-sec { background: #fff; }
.cases-lead { margin: 0; max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.7; text-align: right; }
.case-feature a { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.cf-thumb { aspect-ratio: 3 / 2; border-radius: 8px; transition: transform 0.7s var(--ease); }
.case-feature a:hover .cf-thumb { transform: scale(0.985); }
.cf-body { display: flex; flex-direction: column; padding: 4px 0; }
.cf-meta { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.cf-title { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -0.035em; font-weight: 700; }
.cf-steps { margin: 32px 0 0; border-top: 1px solid var(--ink); }
.cf-steps div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cf-steps dt { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.cf-steps dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.cf-num { font-size: 17px !important; font-weight: 600; color: var(--ink) !important; }
.cf-num b { font-size: 26px; letter-spacing: -0.03em; color: var(--accent); }
.cf-go { margin-top: auto; padding-top: 28px; font-weight: 600; font-size: 15px; }
.case-feature a:hover .cf-go { color: var(--accent); }

.case-rows { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.case-rows a { display: grid; grid-template-columns: 48px 132px 1fr auto 24px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease), color 0.2s; }
.case-rows a:hover { padding-left: 10px; color: var(--accent); }
.cr-no { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cr-title { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.cr-meta { font-size: 14px; color: var(--muted); }
.case-rows i { font-style: normal; text-align: right; }

.case-all { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.case-all b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--accent); color: #fff; font-size: 13px; }
.case-all i { font-style: normal; transition: transform 0.3s var(--ease); }
.case-all:hover i { transform: translateX(4px); }

@media (max-width: 960px) {
  .case-feature a { grid-template-columns: 1fr; }
  .cases-lead { text-align: left; }
  .case-rows a { grid-template-columns: 36px 1fr 20px; grid-template-areas: "no tag go" "no title go" "no meta go"; gap: 6px 12px; padding: 22px 0; }
  .cr-no { grid-area: no; align-self: start; padding-top: 2px; }
  .case-rows .col-tag { grid-area: tag; }
  .cr-title { grid-area: title; font-size: 18px; line-height: 1.4; }
  .cr-meta { grid-area: meta; font-size: 13px; }
  .case-rows i { grid-area: go; }
}
@media (max-width: 640px) {
  .cases-sec .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cases-lead { font-size: 15px; }
  .cf-thumb { aspect-ratio: 16 / 11; }
  .cf-title { font-size: 24px; }
  .cf-steps { margin-top: 24px; }
  .cf-steps div { grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; }
  .cf-num b { font-size: 22px; }
  .cf-go { padding-top: 20px; }
  .case-rows { margin-top: 40px; }
  .case-rows a:hover { padding-left: 0; }
  .case-all { justify-content: center; margin-top: 32px; height: 56px; border: 1px solid var(--ink); border-radius: 28px; font-size: 16px; }
}

/* ===================== v5 — Hero 영상 ===================== */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-video.still { background: center 45% / cover no-repeat url("../video/hero-still.jpg"); }
/* 글자 가독성: 위(메뉴)·아래(제목) 어둡게 */
.hero-media::after {
  background:
    linear-gradient(to bottom, rgba(13,13,15,0.7) 0%, rgba(13,13,15,0) 22%),
    linear-gradient(to top, rgba(13,13,15,0.85) 0%, rgba(13,13,15,0.15) 50%, rgba(13,13,15,0) 70%);
}
/* 데스크톱: 왼쪽은 글자, 오른쪽은 영상. 영상 왼쪽 가장자리를 배경색으로 자연스럽게 녹인다 */
@media (min-width: 961px) {
  .hero-media { left: 38%; }
  .hero-video {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
            mask-image: linear-gradient(to right, transparent 0%, #000 32%);
  }
}
/* 모바일: 영상이 화면을 꽉 채우므로 제목이 놓이는 아래쪽을 더 어둡게 */
@media (max-width: 960px) {
  .hero-media::after {
    background:
      linear-gradient(to bottom, rgba(13,13,15,0.65) 0%, rgba(13,13,15,0) 18%),
      linear-gradient(to top, rgba(13,13,15,0.95) 0%, rgba(13,13,15,0.82) 38%, rgba(13,13,15,0.2) 62%, rgba(13,13,15,0) 75%);
  }
  .hero-video { object-position: 50% 30%; }
}

/* =========================================================
   v6 일하는 방식 — 줄자가 펼쳐지며 4단계가 차례로
   ========================================================= */
.measure { position: relative; height: 420vh; margin: clamp(96px, 12vw, 160px) calc(50% - 50vw) 0; }
.measure-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: 104px 0 20px; overflow: hidden; }
.measure-head, .measure-steps { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.measure-title { margin: 6px 0 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.15; }
.measure .steps { margin: 0; }

/* 4단계를 한 자리에 겹쳐 두고, 지금 단계만 보인다 */
.measure-steps { position: relative; flex: 1; margin-top: 0; }
.measure-steps .step {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
  padding: 0; border: 0;
  opacity: 0; transform: translateY(calc(-50% + 48px)); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}
.measure-steps .step::before { display: none; }
.measure-steps .step.past { transform: translateY(calc(-50% - 48px)); }
.measure-steps .step.now { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.measure-steps .step-no { padding-top: 0; align-self: center; font-size: clamp(40px, 5vw, 72px); font-weight: 800; letter-spacing: -0.04em; color: var(--accent-2); }
.measure-steps .step-name { font-size: clamp(48px, 6.6vw, 104px); letter-spacing: -0.05em; }
.measure-steps .step-name small { margin-top: 14px; font-size: 15px; }
.measure-steps .step-desc { font-size: 17px; }
.measure-steps .step { grid-template-columns: clamp(64px, 8vw, 120px) 1fr minmax(300px, 400px); }

.tape { --tip: 0px; --th: clamp(40px, 4.2vw, 56px); position: relative; height: calc(var(--th) + 92px); flex-shrink: 0; }
.tape-body {
  position: absolute; left: 0; top: 30px; height: var(--th); width: var(--tip);
  background:
    repeating-linear-gradient(90deg, #17171a 0 2px, transparent 2px 100px) 0 0 / 100% 58% no-repeat,
    repeating-linear-gradient(90deg, #17171a 0 1px, transparent 1px 10px) 0 0 / 100% 30% no-repeat,
    linear-gradient(180deg, #f6cf3c, #e9bb22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.tape-hook { position: absolute; right: -9px; top: -7px; width: 10px; height: calc(100% + 14px); border-radius: 2px; background: linear-gradient(90deg, #8d8d94, #d9d9de 45%, #9a9aa1); }
.tape-read { position: absolute; top: 0; left: var(--tip); transform: translateX(-100%); padding-right: 2px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--on-dark-muted); white-space: nowrap; }
.tape-read b { margin-right: 2px; font-weight: 600; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.tape-marks { list-style: none; margin: 0; padding: 0; }
.tape-marks li {
  position: absolute; left: var(--x); top: calc(30px + var(--th) + 14px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 14px; font-weight: 600; color: rgba(243,242,239,0.28); white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.tape-marks li::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1px; height: 12px; margin-bottom: 2px; background: rgba(243,242,239,0.25); }
.tape-marks li b { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tape-marks li.on { color: var(--on-dark-muted); }
.tape-marks li.now { color: var(--on-dark); }
.tape-marks li.now b { color: var(--accent-2); }

/* 움직임 줄이기: 고정 없이 4단계를 차례로 나열 */
.measure.static { height: auto; }
.measure.static .measure-stage { position: relative; height: auto; padding: 0; }
.measure.static .measure-steps .step { position: relative; left: auto; right: auto; top: auto; opacity: 1; transform: none; margin-top: 56px; }

@media (max-width: 960px) {
  .measure { height: 400vh; }
  .measure-stage { padding-top: 84px; }
  .measure-steps .step { grid-template-columns: 1fr; gap: 14px; }
  .measure-steps .step-no { font-size: 15px; font-weight: 700; }
  .measure-steps .step-name { font-size: clamp(40px, 11vw, 64px); }
  .measure-steps .step-desc { font-size: 15px; margin-top: 10px !important; }
  .measure-steps .step-out { margin-top: 10px; }
  .measure-steps .viz { margin-top: 10px; }
  .tape-marks li { font-size: 12px; }
  .tape-marks li b { font-size: 10px; }
}
/* 키가 작은 휴대폰: 그래프는 빼고 단계 이름과 설명만 */
@media (max-width: 960px) and (max-height: 740px) {
  .measure-steps .viz { display: none; }
}

/* =========================================================
   v7 함께 만든 가게들(제작 페이지로 연결) · 사례 칼럼
   ========================================================= */
/* 함께 만든 가게들: 제작한 페이지로 들어가는 카드 */
.pf-link {
  position: relative; flex-shrink: 0; width: clamp(280px, 25vw, 360px); min-height: 268px;
  display: flex; flex-direction: column; padding: 34px 28px 26px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.5s var(--ease);
}
.pf-link::before { /* 위쪽 줄자 눈금 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(20,20,20,0.22) 0 1px, transparent 1px 50px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(20,20,20,0.12) 0 1px, transparent 1px 10px) 0 0 / 100% 6px no-repeat;
}
.pf-link:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-4px); }
.pf-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.pf-no { font-variant-numeric: tabular-nums; }
.pf-title { display: block; margin-top: 18px; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -0.04em; }
.pf-desc { display: block; margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.pf-tags span { padding: 4px 10px; border-radius: 999px; background: var(--bg-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pf-go { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pf-go i { display: inline-block; font-style: normal; transition: transform 0.3s var(--ease); }
.pf-link:hover .pf-go { color: var(--accent); }
.pf-link:hover .pf-go i { transform: translateX(4px); }

/* 홈 사례: 대표 칼럼 표지 (사진 없이 제목으로) */
.cf-panel {
  position: relative; display: flex; flex-direction: column; min-height: 340px; padding: clamp(28px, 3vw, 44px);
  border-radius: 8px; background: var(--dark); color: var(--on-dark); overflow: hidden; transition: transform 0.7s var(--ease);
}
.cf-panel::after { /* 아래쪽 노란 줄자 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px;
  background:
    repeating-linear-gradient(90deg, #17171a 0 2px, transparent 2px 80px) 0 0 / 100% 60% no-repeat,
    repeating-linear-gradient(90deg, #17171a 0 1px, transparent 1px 8px) 0 0 / 100% 30% no-repeat,
    linear-gradient(180deg, #f6cf3c, #e9bb22);
}
.case-feature a:hover .cf-panel { transform: scale(0.985); }
.cf-panel-label { font-size: 13px; font-weight: 600; color: #9d6bff; }
.cf-panel-title { margin: auto 0 0; max-width: 15em; font-size: clamp(28px, 3vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -0.045em; }
.cf-panel-foot { margin: 20px 0 34px; font-size: 14px; color: var(--on-dark-muted); }
.cf-excerpt { margin: 20px 0 0; font-size: 16px; line-height: 1.75; color: var(--ink-2); }

/* 사례 칼럼 목록 */
.col-item a { display: grid; grid-template-columns: 56px 1fr 40px; gap: clamp(16px, 3vw, 40px); align-items: start; padding: 40px 0; transition: padding 0.4s var(--ease); }
.col-item a:hover { padding-left: 10px; }
.col-no { padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.col-top { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0; font-size: 14px; color: var(--muted); }
.col-arrow { padding-top: 36px; font-size: 22px; text-align: right; transition: transform 0.3s var(--ease), color 0.2s; }
.col-item a:hover .col-arrow { transform: translateX(4px); color: var(--accent); }
.col-empty { padding: 64px 0 120px; color: var(--muted); }

@media (max-width: 960px) {
  .cf-panel { min-height: 240px; }
}
@media (max-width: 640px) {
  .pf-link { width: 78vw; min-height: 250px; padding: 30px 22px 22px; }
  .pf-title { font-size: 23px; }
  .col-item a { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .col-arrow { display: none; }
}

/* =========================================================
   v8 서비스 상세 (브랜드 블로그 관리대행)
   ========================================================= */
.page-lead b { color: var(--ink); font-weight: 700; }
.svc-summary { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); padding: 72px 0; border-bottom: 1px solid var(--line); }
.svc-summary-label { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.svc-summary-text { margin: 0; max-width: 820px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.7; letter-spacing: -0.025em; color: var(--ink-2); }
.svc-summary-text b { color: var(--ink); font-weight: 700; }

.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat li { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.feat b { font-size: 14px; color: var(--accent); }
.feat strong { margin-top: 18px; font-size: 21px; line-height: 1.38; letter-spacing: -0.035em; }
.feat p { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

/* 계약 조건: 치수표 */
.spec { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.spec-ruler {
  height: 30px;
  background:
    repeating-linear-gradient(90deg, #17171a 0 2px, transparent 2px 80px) 0 0 / 100% 60% no-repeat,
    repeating-linear-gradient(90deg, #17171a 0 1px, transparent 1px 8px) 0 0 / 100% 30% no-repeat,
    linear-gradient(180deg, #f6cf3c, #e9bb22);
}
.spec dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.spec dl div { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec dl div:nth-child(3n) { border-right: 0; }
.spec dl div:nth-last-child(-n+3) { border-bottom: 0; }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 8px 0 0; }
.spec dd strong { display: block; font-size: 24px; letter-spacing: -0.035em; }
.spec dd > span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.spec .spec-bonus { background: var(--dark); color: var(--on-dark); }
.spec .spec-bonus dt, .spec .spec-bonus dd > span { color: var(--on-dark-muted); }
.spec .spec-bonus dd strong { color: #b48cff; }

@media (max-width: 960px) {
  .svc-summary { grid-template-columns: 1fr; gap: 14px; padding: 48px 0; }
  .feat { grid-template-columns: 1fr; }
  .spec dl { grid-template-columns: 1fr 1fr; }
  .spec dl div:nth-child(3n) { border-right: 1px solid var(--line); }
  .spec dl div:nth-child(2n) { border-right: 0; }
  .spec dl div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .spec dl div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .spec dl div { padding: 22px 18px; }
  .spec dd strong { font-size: 19px; }
  .feat li { padding: 26px 22px; }
}

/* ===================== v9 — 서비스 대표 이미지 ===================== */
figure.svc-hero-img { position: relative; margin: 0; overflow: hidden; background: #0D0D0F; }
figure.svc-hero-img picture { position: absolute; inset: 0; }
figure.svc-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.shot-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 0 clamp(28px, 6vw, 88px);
  background: linear-gradient(90deg, rgba(13,13,15,0.92) 0%, rgba(13,13,15,0.62) 36%, rgba(13,13,15,0) 58%);
  color: #f3f2ef;
}
.shot-title { margin: 0; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.14; font-weight: 800; letter-spacing: -0.045em; }
.shot-title em { font-style: normal; color: #9d6bff; }
.shot-terms {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; max-width: 520px;
}
.shot-terms li {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(243,242,239,0.22); background: rgba(13,13,15,0.45);
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em; color: #e4e2ea; white-space: nowrap;
}
@media (max-width: 900px) {
  .shot-terms { max-width: 360px; gap: 6px; }
  .shot-terms li { padding: 6px 11px; font-size: 13px; }
}
@media (max-width: 640px) {
  figure.svc-hero-img { aspect-ratio: 4 / 5; border-radius: 6px; }
  figure.svc-hero-img img { object-position: 88% 50%; }
  .shot-copy {
    justify-content: flex-end; padding: 0 22px 26px;
    background: linear-gradient(0deg, rgba(13,13,15,0.95) 0%, rgba(13,13,15,0.78) 38%, rgba(13,13,15,0) 66%);
  }
  .shot-title { font-size: 30px; }
  .shot-terms { margin-top: 18px; }
  .shot-terms li { font-size: 12.5px; padding: 6px 10px; }
}
/* v9b — 썸네일 서브 문장 */
.shot-sub { margin: clamp(14px, 1.6vw, 22px) 0 0; max-width: 560px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: #c9c6d3; letter-spacing: -0.02em; }
.shot-terms { max-width: 600px; }
.shot-terms li.hl { border-color: rgba(246,207,60,0.6); color: #f6cf3c; }
.shot-copy { background: linear-gradient(90deg, rgba(13,13,15,0.94) 0%, rgba(13,13,15,0.72) 42%, rgba(13,13,15,0) 64%); }
@media (max-width: 1100px) {
  .shot-terms li:nth-child(n+4):not(.hl) { display: none; }
}
@media (max-width: 900px) {
  figure.svc-hero-img { aspect-ratio: 16 / 10; }
  .shot-sub { max-width: 400px; }
}
@media (max-width: 640px) {
  figure.svc-hero-img { aspect-ratio: 3 / 4; }
  .shot-copy { background: linear-gradient(0deg, rgba(13,13,15,0.96) 0%, rgba(13,13,15,0.82) 48%, rgba(13,13,15,0) 72%); }
  .shot-sub { font-size: 14.5px; }
  .shot-terms li:nth-child(n+4):not(.hl) { display: list-item; }
}

/* ===================== v10 — 플레이스 마케팅 ===================== */
figure.svc-hero-img.is-empty {
  background-color: #141417;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 12px);
}
figure.svc-hero-img.is-empty .ph-label { left: auto; right: 28px; top: auto; bottom: 24px; color: #6c6a74; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.plan-body { padding: 32px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.plan-no { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.plan-name { margin: 14px 0 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -0.04em; font-weight: 800; }
.plan-line { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.plan-spec { margin: 24px 0 0; border-top: 1px solid var(--ink); }
.plan-spec div { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-spec dt { font-size: 13px; color: var(--muted); padding-top: 2px; }
.plan-spec dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.plan-spec dd b { font-weight: 700; color: var(--accent); }
.plan-note { margin: auto 0 0; padding-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .plan-body { padding: 26px 22px 24px; }
  .plan-spec div { grid-template-columns: 72px 1fr; gap: 10px; }
  figure.svc-hero-img.is-empty .ph-label { top: 20px; bottom: auto; right: 20px; }
}

/* 진행 과정: 작업 기록표 */
.ledger { border-top: 2px solid var(--ink); }
.ledger-head, .ledger li { display: grid; grid-template-columns: 150px 1fr 220px; gap: clamp(20px, 3vw, 40px); }
.ledger-head { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.ledger ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ledger li { padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.lg-step { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.lg-step b { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lg-step span { font-size: 13px; font-weight: 600; color: var(--accent); }
.lg-do strong { display: block; font-size: 20px; letter-spacing: -0.035em; }
.lg-do p { margin: 8px 0 0; max-width: 560px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.lg-out { margin: 0; padding-left: 16px; border-left: 3px solid #f6cf3c; font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.lg-out span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }

/* 25일 채움 달력 */
.tally { border-radius: 12px; background: var(--dark); color: #f3f2ef; padding: clamp(24px, 3vw, 40px); }
.tally-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tally-title { margin: 0; font-size: 15px; color: #9a97a6; }
.tally-sum { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; color: #c9c6d3; }
.tally-sum b { color: #fff; font-weight: 800; }
.tally-sum b.y { color: #f6cf3c; }
.tally-sum span { margin: 0 6px; color: #6c6a74; font-weight: 400; }
.tally-cal { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; }
.tally-cal li { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: flex-end; justify-content: flex-start; padding: 6px 7px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tally-cal .on { background: #640aff; color: rgba(255,255,255,0.85); }
.tally-cal .off { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); color: #6c6a74; }
.tally-cal .add { background: #f6cf3c; color: #141414; }
.tally-legend { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: #c9c6d3; }
.tally-legend li { display: flex; align-items: center; gap: 8px; }
.tally-legend i { width: 12px; height: 12px; border-radius: 3px; }
.tally-legend i.on { background: #640aff; }
.tally-legend i.off { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); background: repeating-linear-gradient(135deg, rgba(255,255,255,0.15) 0 2px, transparent 2px 5px); }
.tally-legend i.add { background: #f6cf3c; }
.tally-note { margin: 18px 0 0; font-size: 12px; color: #6c6a74; }

@media (max-width: 960px) {
  .ledger-head { display: none; }
  .ledger li { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .tally-cal { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 640px) {
  .lg-step b { font-size: 24px; }
  .lg-do strong { font-size: 18px; }
  .tally-cal { gap: 4px; }
  .tally-cal li { padding: 4px 5px; font-size: 10.5px; border-radius: 4px; }
}

/* ===================== v11 — 서비스 썸네일 전체 폭 ===================== */
figure.svc-hero-img.wide { aspect-ratio: auto; height: clamp(520px, 42vw, 780px); border-radius: 0; }
figure.svc-hero-img.wide img { object-position: 70% 50%; }
figure.svc-hero-img.wide .shot-copy { padding: 0; background: linear-gradient(90deg, rgba(13,13,15,0.94) 0%, rgba(13,13,15,0.7) 34%, rgba(13,13,15,0) 58%); }
figure.svc-hero-img.wide .shot-copy .wrap { width: 100%; }
figure.svc-hero-img.wide.is-empty .ph-label { right: var(--gutter); }
@media (max-width: 900px) {
  figure.svc-hero-img.wide { height: 560px; }
  figure.svc-hero-img.wide img { object-position: 80% 50%; }
  figure.svc-hero-img.wide .shot-copy { background: linear-gradient(90deg, rgba(13,13,15,0.95) 0%, rgba(13,13,15,0.75) 50%, rgba(13,13,15,0.1) 85%); }
}
@media (max-width: 640px) {
  figure.svc-hero-img.wide { height: auto; aspect-ratio: 3 / 4; border-radius: 0; }
  figure.svc-hero-img.wide img { object-position: 88% 50%; }
  figure.svc-hero-img.wide .shot-copy { justify-content: flex-end; padding: 0 0 28px; background: linear-gradient(0deg, rgba(13,13,15,0.96) 0%, rgba(13,13,15,0.82) 48%, rgba(13,13,15,0) 72%); }
}

/* ===================== v12 — 서비스 상세: 줄자 제거, 편집형 상품 구성 ===================== */
.spec { background: transparent; box-shadow: none; border-radius: 0; border-top: 2px solid var(--ink); }
.spec dl div { padding-left: 0; }
.spec dl div + div { padding-left: 28px; }
.spec dl div:nth-child(3n+1) { padding-left: 0; }
.spec .spec-bonus { padding-left: 28px !important; }

.plans { gap: clamp(24px, 4vw, 56px); }
.plan { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; border-top: 2px solid var(--ink); }
.plan-body { padding: 0; }
.plan-no { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-no::after { content: attr(data-tag); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }
.plan-name { margin-top: 28px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.18; letter-spacing: -0.05em; }
.plan-line { margin-top: 14px; font-size: 17px; }
.plan-spec { margin-top: 32px; border-top: 1px solid var(--line); }
.plan-spec div { grid-template-columns: 96px 1fr; padding: 16px 0; }
.plan-note { padding-top: 20px; }
@media (max-width: 960px) {
  .spec dl div:nth-child(3n+1) { padding-left: 28px; }
  .spec dl div:nth-child(2n+1) { padding-left: 0; }
  .plans { gap: 48px; }
}
@media (max-width: 640px) {
  .spec dl div, .spec dl div + div { padding: 20px 14px 22px 0 !important; }
  .spec dl div:nth-child(2n) { padding-left: 14px !important; }
  .plan-spec div { grid-template-columns: 76px 1fr; }
}
figure.svc-hero-img.wide.place-hero img { object-position: 62% 50%; }
@media (max-width: 640px) { figure.svc-hero-img.wide.place-hero img { object-position: 80% 50%; } }
@media (max-width: 640px) {
  figure.svc-hero-img.wide { aspect-ratio: 9 / 16; max-height: 720px; }
  figure.svc-hero-img.wide .shot-copy { background: linear-gradient(0deg, rgba(13,13,15,0.97) 0%, rgba(13,13,15,0.85) 42%, rgba(13,13,15,0) 62%); }
}

/* ===================== v13 — 홈 포트폴리오: 실제 캡처 슬라이드 ===================== */
.sec-sub { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.pf-shot { flex-shrink: 0; width: clamp(230px, 20vw, 290px); display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.pf-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,0.04); position: relative; }
.pf-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.6s var(--ease); }
.pf-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.pf-shot:hover .pf-img img { transform: scale(1.03); }
.pf-cap { display: flex; flex-direction: column; margin-top: 16px; }
.pf-kind { font-size: 12px; font-weight: 700; color: var(--accent); }
.pf-cap strong { margin-top: 6px; font-size: 19px; line-height: 1.3; letter-spacing: -0.035em; }
.pf-cap small { margin-top: 4px; font-size: 13px; color: var(--muted); }
.pf-shot .pf-go { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pf-shot:hover .pf-go { color: var(--accent); }
.pf-shot:hover .pf-go i { transform: translateX(4px); }
@media (max-width: 640px) { .pf-shot { width: 64vw; } }

/* =========================================================
   v14 일하는 방식: 실제 업무 화면 목업 (카톡 상담 · 채널 배분 · 노출 모니터링 · 리포트 전달)
   ========================================================= */
.measure-steps .viz { padding: 18px 18px 20px; }
.viz .viz-title { margin-bottom: 14px; }

/* 카카오톡 대화 */
.kchat { display: flex; flex-direction: column; gap: 7px; padding: 12px 12px 14px; border-radius: 10px; background: #b2c7da; color: #191919; font-size: 12.5px; line-height: 1.5; }
.k-from { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #3e4b57; }
.k-from img { width: 26px; height: 26px; border-radius: 9px; background: #fff; padding: 3px; }
.k-msg { display: flex; align-items: flex-end; gap: 5px; padding-left: 33px; }
.k-msg.me { justify-content: flex-end; padding-left: 0; }
.k-msg time { flex-shrink: 0; font-size: 9.5px; color: #4f6070; }
.k-b { margin: 0; max-width: 82%; padding: 7px 10px; border-radius: 3px 12px 12px 12px; background: #fff; word-break: keep-all; }
.k-msg.me .k-b { border-radius: 12px 3px 12px 12px; background: #fee500; }
.k-card { display: flex; flex-direction: column; min-width: 176px; padding: 0; overflow: hidden; }
.k-card b { padding: 8px 11px; background: #640aff; color: #fff; font-size: 12px; font-weight: 700; }
.k-card span { display: flex; justify-content: space-between; gap: 14px; padding: 5px 11px; border-top: 1px solid #eeedf1; }
.k-card span:nth-child(2) { border-top: 0; padding-top: 8px; }
.k-card span:last-child { padding-bottom: 9px; }
.k-card i { font-style: normal; color: #6b6878; }
.k-card em { font-style: normal; font-weight: 700; }
.k-card em.bad { color: #e5484d; }
.k-card u { text-decoration: none; color: #640aff; margin-left: 3px; }
.kchat > * { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.step.in .kchat > * { opacity: 1; transform: none; }
.step.in .kchat > :nth-child(2) { transition-delay: .25s; }
.step.in .kchat > :nth-child(3) { transition-delay: .7s; }
.step.in .kchat > :nth-child(4) { transition-delay: 1.15s; }

/* 채널 아이콘 */
.ch-ic { width: 24px; height: 24px; flex-shrink: 0; display: block; }

/* 재단: 채널 배분 */
.ch-row { display: grid; grid-template-columns: 24px 74px 1fr 38px; gap: 10px; align-items: center; padding: 6px 0; }
.ch-row > span:not(.ch-bar) { color: var(--on-dark); font-weight: 600; }
.ch-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.ch-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--accent-2); transition: width 1s var(--ease) .2s; }
.step.in .ch-bar i { width: var(--w); }
.ch-row b { text-align: right; color: var(--on-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.viz-ch .split-cut { margin-top: 12px; padding-top: 12px; }

/* 가봉: 노출 모니터링 */
.srch { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 7px 10px; border: 2px solid #03c75a; border-radius: 8px; background: #fff; color: #191919; font-weight: 600; }
.srch b { color: #03c75a; font-size: 15px; font-weight: 900; line-height: 1; }
.srch svg { width: 18px; height: 18px; margin-left: auto; }
.rk-row { display: grid; grid-template-columns: 24px 1fr 34px 34px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.rk-row:last-child { border-bottom: 0; }
.rk-row span { color: var(--on-dark); font-weight: 600; line-height: 1.3; }
.rk-row small { display: block; font-size: 11px; font-weight: 500; color: var(--on-dark-muted); }
.rk-row b { text-align: right; color: var(--on-dark); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rk-row em { text-align: right; font-style: normal; font-size: 11px; color: var(--on-dark-muted); }
.rk-row em.up { color: #4cd48a; }
.rk-row em.down { color: #ff7a7a; }
.rk-row { opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.step.in .rk-row { opacity: 1; transform: none; }
.step.in .rk-row:nth-child(4) { transition-delay: .15s; }
.step.in .rk-row:nth-child(5) { transition-delay: .3s; }
.step.in .rk-row:nth-child(6) { transition-delay: .45s; }

@media (max-width: 960px) {
  .measure-steps .viz { padding: 14px 14px 16px; }
  .kchat { gap: 6px; padding: 10px; font-size: 12px; }
  .k-from { display: none; }
  .k-msg { padding-left: 0; }
  .rk-row { padding: 6px 0; }
  .rk-row:nth-child(6) { display: none; }
  .kchat .m-hide { display: none; }
  .k-card b { padding: 6px 10px; }
  .k-card span { padding: 4px 10px; }
  .k-card span:nth-child(2) { padding-top: 6px; }
  .k-card span:last-child { padding-bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .kchat > *, .rk-row { opacity: 1; transform: none; transition: none; }
}
/* 높이가 낮은 노트북: 대화 말풍선 하나와 보낸 사람 표시를 줄여 화면 안에 맞춤 */
@media (min-width: 961px) and (max-height: 800px) {
  .kchat .m-hide, .k-from { display: none; }
  .k-msg { padding-left: 0; }
  .measure-steps .viz { padding: 14px 16px 16px; }
}
