/* ───────────────────────────────────────────────
   제작 대행 사이트 — "솔직한 가격표와 주문서"
   흰 종이 · 검은 글자 · 초록은 '견적 받기' 하나에만.
   모서리 8px 통일 · 그림자 없음 · 간격은 8px 배수
   ─────────────────────────────────────────────── */
.ag {
  /* 밝은 화면(기본) */
  --bg: #FFFFFF; --paper: #F4F4F1; --ink: #111111; --sub: #4A4A4A; --mute: #6B6B6B;
  --line: #E1E1DC; --field: #8C8C86; --err: #C9261B; --go-hover: #00C458;
  --on-ink: #FFFFFF; --ink-hover: #2E2E2E;            /* 검은 버튼 위 글자 · 눌렀을 때 */
  --ctl: #FFFFFF; --ctl-line: #C9C9C3;                /* 입력칸·칩·수량 버튼 바탕과 테두리 */
  --media: #E9E9E4; --off-bg: #DADAD5; --off-ink: #7A7A75; --step-off: #B5B5AF;
  --hd: rgba(255, 255, 255, .96); --dash: #A9A9A3; --sel-sub: #D6D6D6; --ph: #8A8A85;
  --band-bg: #111111; --band-ink: #FFFFFF; --band-sub: #C4C4C4;   /* 맺음 띠 */
  --tag-on-paper: #FFFFFF; --close-hover: #E6E6E1; --wall-bg: #0C0C0D; --wall-line: #0C0C0D;
  background: var(--bg); color: var(--ink); color-scheme: light;
}
/* 어두운 화면: 뒤집은 값이 아니라 따로 고른 값. 초록 버튼은 그대로 쨍하게 둔다. */
[data-theme="dark"] .ag {
  /* 2026-11-19: "다크모드 블랙 너무 어두워" — 바탕을 한 단계 올렸다(#101011 → #1C1C1E). 칸·테두리도 같이 올려 단계 차이는 그대로 */
  --bg: #1C1C1E; --paper: #28282A; --ink: #F4F4F1; --sub: #C4C4BF; --mute: #A3A39D;
  --line: #3C3C3D; --field: #8A8A84; --err: #FF8A7F; --go-hover: #33E884;
  --on-ink: #1C1C1E; --ink-hover: #D9D9D4;
  --ctl: #303032; --ctl-line: #5C5C5A;
  --media: #303032; --off-bg: #363638; --off-ink: #94948E; --step-off: #6A6A66;
  --hd: rgba(28, 28, 30, .94); --dash: #6A6A66; --sel-sub: #5C5C58; --ph: #9A9A94;
  --band-bg: #F4F4F1; --band-ink: #111111; --band-sub: #4A4A4A;
  --tag-on-paper: #38383A; --close-hover: #3C3C3E; --wall-bg: #121213; --wall-line: #3C3C3D;
  color-scheme: dark;
}
.ag h1, .ag h2, .ag h3, .ag h4 { font-family: var(--display); letter-spacing: -.02em; }
/* 큰 숫자: 본문 서체의 가장 굵은 글자 + 폭이 같은 숫자(자리가 흔들리지 않게) */
.facts b, .plan__price b, .slip__total strong, .steps__n, .make h3 span { font-family: var(--body); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .12s var(--ease); }
.btn:active:not([disabled]) { transform: scale(.97); }   /* 눌리는 느낌 */
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--go { background: var(--green); color: var(--green-ink); }
.btn--go:hover { background: var(--go-hover); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-hover); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--on-ink); }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--off-bg); color: var(--off-ink); cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; white-space: nowrap; flex: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--sub); }

/* 태그(·로 잇던 짧은 정보) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--paper); color: var(--sub); font-size: 13px; font-weight: 500; white-space: nowrap; }
.sec--paper .tag, .slip .tag { background: var(--tag-on-paper); }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 40; background: var(--hd); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; height: 72px; gap: 40px; }
.hd .cl-logo { height: 32px; }   /* 드롭샷매치 로고 폭(163px)과 같은 크기: 160 × 32 */
.hd__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.hd__tag { font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: 15px; padding-left: 12px; border-left: 1px solid var(--ctl-line); line-height: 1; white-space: nowrap; }
.hd__nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; flex: 1; min-width: 0; }
.hd__nav a { display: inline-flex; align-items: center; height: 72px; color: var(--sub); white-space: nowrap; border-bottom: 2px solid transparent; border-top: 2px solid transparent; }
.hd__nav a:hover, .hd__nav a[aria-current] { color: var(--ink); }
.hd__nav a[aria-current] { border-bottom-color: var(--ink); font-weight: 700; }
.hd__sep { align-self: center; width: 1px; height: 16px; background: var(--line); margin: 0 -8px; flex: none; }   /* 이 화면 안의 구역 | 따로 있는 화면 */
.hd__side { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.hd__out { margin-right: 8px; }
.hd__out { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--sub); white-space: nowrap; }
.hd__out:hover { color: var(--ink); }
.hd .btn { height: 40px; padding: 0 16px; font-size: 14px; }
/* 밝게/어둡게 스위치의 모양은 shared/base.css 의 .tsw */

/* 구역 */
.sec { padding: 96px 0; }
.sec--paper { background: var(--paper); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec__head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; font-weight: 700; }
.sec__guide { margin-top: 12px; color: var(--sub); font-size: 16px; }
.page-head { padding-top: 64px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; font-weight: 700; }
.page-head .sec__guide { font-size: 17px; }

/* 첫 화면 */
.hero { padding: 72px 0 80px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.22; font-weight: 700; }
.hero__sub { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--sub); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .tags { margin-top: 28px; }
.hero__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-left: 24px; }
.shot { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: var(--media); text-align: left; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .72)); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }
.shot__cap small { display: block; font-size: 12px; font-weight: 500; color: #E4E4E4; }
.playdot { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(17, 17, 17, .72); color: #fff; display: grid; place-items: center; }
.playdot svg { width: 14px; height: 14px; margin-left: 1px; }

/* 한눈에 숫자 */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 24px 24px 28px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 15px; color: var(--sub); }
.facts dd { font-size: 20px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.facts b { font-size: 56px; margin-right: 4px; }

/* 함께한 브랜드: 화면 폭을 다 쓰는 어두운 벽, 두 줄이 서로 반대로 흐른다 */
.wall { background: var(--wall-bg); color: #fff; padding: 96px 0 104px; border-top: 1px solid var(--wall-line); border-bottom: 1px solid var(--wall-line); overflow: hidden; }
.wall__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.wall h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; font-weight: 700; }
.wall__head p { font-size: 15px; color: #B4B4B4; white-space: nowrap; padding-bottom: 8px; }
.wall__row + .wall__row { margin-top: 20px; }   /* 로고 그림 파일의 투명 여백이 줄 높이에 들어 있어서, 눈에 보이는 줄 사이는 56px 안팎 */
.wall__row .logos__track { animation-duration: 70s; }
.wall__row--rev .logos__track { animation-direction: reverse; }
.wall__row .logos__track img { height: calc(44px * var(--k, 1)); margin-right: 88px; opacity: 1; }

/* 제작 유형: 한 줄에 여섯 장 */
.kinds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.kind { display: block; min-width: 0; }
.kind__media { display: block; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--media); }
.kind__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kind:hover .kind__media img { transform: scale(1.04); }
.kind__name { display: block; margin-top: 16px; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.kind__name i { font-style: normal; }
.kind__count { display: block; margin-top: 4px; font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.kind:hover .kind__name { text-decoration: underline; text-underline-offset: 4px; }
.imgband { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 20px 24px; border-radius: 8px; background: var(--paper); }
.imgband p { font-size: 16px; color: var(--sub); }
.imgband strong { margin-right: 12px; font-size: 17px; color: var(--ink); }
.imgband .btn { flex: none; }

/* 사례 타일 */
.case { display: block; text-align: left; }
.case__media { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--media); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case:hover .case__media img { transform: scale(1.03); }
.case__len { position: absolute; left: 8px; bottom: 8px; height: 22px; padding: 0 6px; border-radius: 4px; background: rgba(17, 17, 17, .78); color: #fff; font-size: 12px; font-weight: 600; line-height: 22px; font-variant-numeric: tabular-nums; }
.case__cap { display: block; padding-top: 12px; height: 116px; overflow: hidden; }
.case__tags { display: flex; gap: 4px; margin-bottom: 8px; overflow: hidden; }
.case__tags .tag { height: 24px; padding: 0 8px; font-size: 12px; flex: none; }
.sec--paper .case__tags .tag { background: var(--tag-on-paper); }
#caseTabs { margin-bottom: 24px; }
.case__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.4; }
.case__brand { display: block; margin-top: 4px; font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 거르기 */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--ctl-line); background: var(--ctl); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.chip i { font-style: normal; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); font-weight: 700; }
.chip[aria-pressed="true"] i { color: var(--sel-sub); }
.filters__side { display: flex; gap: 8px; margin-left: auto; }
.select, .search { height: 40px; border-radius: 8px; border: 1px solid var(--field); background-color: var(--ctl); color: var(--ink); font-size: 15px; padding: 0 12px; }
.select { padding-right: 32px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.search { width: 220px; }
[data-theme="dark"] .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23F4F4F1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.select:focus-visible, .search:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.count { font-size: 14px; color: var(--sub); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.count b { color: var(--ink); }
.empty { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty p { color: var(--sub); margin-bottom: 16px; }

/* 가격: 패키지 카드 3장 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 8px; border: 1px solid var(--ctl-line); background: var(--bg); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.plan.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan__fit { font-size: 16px; font-weight: 600; color: var(--sub); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; line-height: 1; }
.plan__price b { font-size: 72px; line-height: 1; }
.plan__price span { font-size: 24px; font-weight: 700; }
.plan__note { margin-top: 12px; font-size: 14px; color: var(--mute); }
.plan__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__specs > div { padding: 16px 0; }
.plan__specs > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.plan__specs dt { font-size: 13px; color: var(--mute); white-space: nowrap; }
.plan__specs dd { margin-top: 4px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.plan__list { margin: 20px 0 28px; display: grid; gap: 12px; }
.plan__list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.plan__list svg { flex: none; width: 18px; height: 18px; }
.plan__list li.is-off { color: var(--mute); font-weight: 400; }
.plan__list li.is-off svg { color: var(--step-off); }
.plan .btn { margin-top: auto; }
.plan.is-on .btn { background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: default; }

/* 주문서(예상 금액) */
.slip { background: var(--paper); border-radius: 8px; padding: 24px; }
.slip h3 { font-size: 20px; font-weight: 600; }
.slip__guide { margin-top: 8px; font-size: 15px; color: var(--sub); }
.slip__group { margin-top: 20px; }
.slip__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.slip__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 15px; }
.slip__row + .slip__row { border-top: 1px solid var(--line); }
.slip__row span small { display: block; font-size: 13px; color: var(--mute); }
.slip__hint { margin-top: 12px; font-size: 14px; color: var(--sub); }
/* 고른 패키지의 구성: 버튼 바로 아래. 패키지를 바꾸면 달라지는 칸이 초록으로 바뀐다 */
.slip__incl { margin-top: 12px; padding: 16px 20px 8px; border-radius: 12px; background: var(--bg); }
.incl__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; }
.incl__head b { font-weight: 700; }
.incl__head span { font-size: 14px; color: var(--sub); }
.incl__head em { font-style: normal; font-weight: 700; color: var(--price); }
.incl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 8px; }
.incl__list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; border-top: 1px solid var(--line); font-size: 14px; }
.incl__list dt { color: var(--sub); }
.incl__list dd { font-weight: 600; white-space: nowrap; }
.incl__list dd.is-none { font-weight: 400; color: var(--mute); }
.incl__list dd.is-up { color: var(--price); font-weight: 700; }
@media (max-width: 560px) { .incl__list { grid-template-columns: 1fr; } }
.slip__lines { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--dash); font-size: 14px; color: var(--sub); }
.slip__lines li { display: flex; justify-content: space-between; gap: 12px; min-height: 28px; align-items: center; font-variant-numeric: tabular-nums; }
.slip__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 2px solid var(--ink); }
.slip__total span { font-size: 15px; font-weight: 600; }
.slip__total strong { display: inline-block; font-size: 40px; line-height: 1.1; white-space: nowrap; }
.slip__total strong.is-bump { animation: bump .28s var(--ease); }   /* 금액이 바뀌면 살짝 튄다 */
@keyframes bump { 0% { transform: translateY(6px); opacity: .4; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .slip__total strong.is-bump { animation: none; } }
.slip__total strong small { margin-left: 4px; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.slip__total strong em { font-style: normal; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.slip__vat { text-align: right; font-size: 13px; color: var(--mute); margin-top: 4px; font-variant-numeric: tabular-nums; }
.slip .btn { margin-top: 20px; }
.slip__share { display: block; width: 100%; margin-top: 12px; padding: 8px 0; font-size: 14px; font-weight: 600; text-align: center; }
.slip__share span { text-decoration: underline; text-underline-offset: 3px; }
.slip__share small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--mute); text-decoration: none; }
.slip__share:hover { color: var(--sub); }
/* 첫 화면의 넓은 계산기: 왼쪽에서 고르고 오른쪽에서 금액을 본다 */
.slip--wide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; margin-top: 16px; padding: 40px; }
.slip--wide h3 { font-size: 24px; font-weight: 700; }
.slip--wide .slip__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.slip--wide .slip__row { min-height: 64px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.slip--wide .slip__sum { padding: 28px; border-radius: 8px; background: var(--bg); }
.slip--wide .slip__lines { margin-top: 0; padding-top: 0; border-top: 0; font-size: 15px; }
.slip--wide .slip__lines li { min-height: 32px; }
.slip--wide .slip__total strong { font-size: 56px; }
.slip--wide .slip__total strong small { font-size: 22px; }
.slip--wide .slip__total { align-items: flex-end; }
.slip--wide .slip__total span { padding-bottom: 8px; }
.slip--wide + .imgband { margin-top: 16px; }
.form__sub { display: block; margin-top: 28px; font-size: 15px; font-weight: 600; }
.form__sub small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--mute); }
.form__sub + .chips { margin-top: 12px; }

/* 고르기(세그먼트) · 수량 */
.seg { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.seg button { height: 48px; border-radius: 8px; border: 1px solid var(--ctl-line); background: var(--ctl); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
/* 미끄러지는 선택 표시: 연한 길 위에서 검은 판이 고른 칸으로 건너간다. 고른 칸은 판이 도착한 뒤 같은 색으로 채워진다 */
.seg--slide { position: relative; gap: 0; padding: 4px; border-radius: 14px; background: var(--bg); }
.seg--slide button { position: relative; z-index: 1; height: 44px; border: 0; border-radius: 10px; background: transparent; transition: color .2s var(--ease) .08s; }
.seg--slide button[aria-pressed="true"] { transition: color .2s var(--ease) .08s, background-color 0s .3s; }
.seg__thumb { position: absolute; top: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 3)); height: 44px; border-radius: 10px; background: var(--ink); transform: translate(calc(100% * var(--ix, 0)), calc(100% * var(--iy, 0))); transition: transform .32s cubic-bezier(.3, 1.2, .4, 1); }
@media (prefers-reduced-motion: reduce) { .seg__thumb, .seg--slide button { transition: none; } }
/* 계산기: 영상/이미지 고르기 · 이미지 쪽 */
.slip__mode { margin-top: 16px; max-width: 280px; }
.slip__mode + .slip__guide { margin-top: 16px; }
[data-pane] { margin-top: 24px; }
[data-pane] > .slip__group:first-child { margin-top: 0; }
.calc .slip__mode { margin-top: 0; }
.slip__note { margin-top: 8px; font-size: 14px; color: var(--sub); }
.seg--two button { font-size: 14px; }
.incl__text { margin-top: 8px; }
.incl__text div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.incl__text dt { color: var(--sub); }
.incl__text dd { font-weight: 500; }
.incl__res { display: flex; flex-wrap: wrap; gap: 4px 16px; font-variant-numeric: tabular-nums; }
.incl__res span { color: var(--mute); white-space: nowrap; }
.incl__res span.is-on { color: var(--price); font-weight: 700; }
.req .slip__mode { max-width: none; }
.stepper { display: inline-flex; align-items: center; flex: none; padding: 2px; border: 1px solid var(--ctl-line); border-radius: 22px; background: var(--ctl); }
.stepper button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background-color .16s var(--ease), transform .12s var(--ease); }
.stepper button:active:not([disabled]) { transform: scale(.9); }
.stepper button:hover { background: var(--paper); }
.stepper button[disabled] { color: var(--step-off); cursor: not-allowed; background: none; }
.stepper output { width: 32px; text-align: center; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }

/* 직접 제작: 작업 과정 영상 3편 */
.make { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.make video { width: 100%; aspect-ratio: 800 / 538; object-fit: cover; border-radius: 8px; background: var(--media); }
.make h3 { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.make h3 span { font-size: 22px; color: var(--mute); }
.make p { margin-top: 8px; font-size: 16px; color: var(--sub); }
.sub-head { margin-top: 88px; margin-bottom: 32px; padding-top: 32px; border-top: 2px solid var(--ink); font-size: 26px; font-weight: 700; line-height: 1.3; }
.sub-head small { margin-left: 12px; font-family: var(--body); font-size: 16px; font-weight: 400; color: var(--sub); letter-spacing: 0; }

/* 진행 방법: 번호 원을 선으로 잇는다 */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps li { position: relative; }
.steps li::before { content: ''; position: absolute; top: 24px; left: 48px; right: -24px; height: 1px; background: var(--ctl-line); }
.steps li:last-child::before { display: none; }
.steps__n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 22px; letter-spacing: 0; }
.steps .tag { margin-top: 24px; }
.steps h4 { margin-top: 12px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.steps p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--sub); }

/* 자주 묻는 질문 */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: start; }
.faq-wrap .sec__head { margin-bottom: 0; position: sticky; top: 104px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 16px 0; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--sub); font-size: 16px; max-width: 46em; }

/* 맺음 */
.cta { background: var(--band-bg); color: var(--band-ink); padding: 80px 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; font-weight: 700; }
.cta p { margin-top: 12px; color: var(--band-sub); font-size: 17px; }
.ft { background: var(--paper); padding: 48px 0 56px; font-size: 13px; color: var(--mute); }
.ft__in { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.ft__info { margin-top: 20px; line-height: 1.9; }
.ft__links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--sub); }
.ft__links a:hover { color: var(--ink); }

/* 영상 보기 창 */
.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(10, 10, 10, .82); }
.player__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; width: min(1120px, 100%); max-height: calc(100vh - 48px); background: var(--bg); color: var(--ink); border-radius: 8px; overflow: hidden; }
.player.is-portrait .player__box { grid-template-columns: auto 380px; width: auto; max-width: 100%; }
.player__video { background: #000; align-self: center; width: 100%; }
.player.is-portrait .player__video { height: min(720px, calc(100vh - 48px)); width: auto; }
.player__video iframe { width: 100%; height: 100%; border: 0; }
.player__ext { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.player__ext img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.player__ext .btn { position: relative; }
.player__info { display: flex; flex-direction: column; padding: 56px 24px 24px; overflow: auto; }
.player__info h2 { font-family: var(--display); font-size: 22px; line-height: 1.35; font-weight: 600; }
.player__brand { margin-top: 8px; font-size: 14px; color: var(--mute); }
.player__desc { margin-top: 20px; font-size: 15px; color: var(--sub); }
.player__info .tags { margin-top: 20px; }
.player__info .btn { margin-top: auto; }
.player__gap { height: 24px; flex: none; }
.player__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--paper); color: var(--ink); z-index: 2; }
.player__close:hover { background: var(--close-hover); }

/* 견적 요청 */
.req { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; justify-content: space-between; column-gap: calc(100% / 12 + 24px); align-items: start; padding-bottom: 96px; }
.req__main { grid-column: 1; grid-row: 1; min-width: 0; }
.req .slip { grid-column: 2; grid-row: 1; position: sticky; top: 88px; }
.form__sec { padding: 32px 0; border-top: 1px solid var(--line); }
.form__sec:first-child { border-top: 2px solid var(--ink); }
.form__sec h2 { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.3; }
.form__sec > p { margin-top: 6px; color: var(--sub); font-size: 15px; }
.form__sec .chips, .form__sec .seg, .form__grid, .form__rows { margin-top: 20px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.form__rows .slip__row { min-height: 56px; }
.field { display: block; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field__label em { font-style: normal; color: var(--err); margin-left: 2px; }
.field__label small { font-weight: 500; color: var(--mute); margin-left: 6px; font-size: 13px; }
.field input, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--field); background: var(--ctl); font-size: 16px; }
.field textarea { height: 128px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder, .search::placeholder { color: var(--ph); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field.is-err input, .field.is-err textarea { border-color: var(--err); outline-color: var(--err); }
.field__err { display: none; margin-top: 6px; font-size: 13px; color: var(--err); }
.is-err .field__err, .is-err > .field__err { display: block; }
.agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: 15px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.agree small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.form__send { display: flex; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.form__send p { font-size: 14px; color: var(--mute); }
.done { border-top: 2px solid var(--ink); padding-top: 32px; }
.done h2 { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.3; }
.done > p { margin-top: 12px; color: var(--sub); }
.done pre { margin: 24px 0 0; padding: 20px; border-radius: 8px; background: var(--paper); font-family: var(--body); font-size: 14px; line-height: 1.7; white-space: pre-wrap; color: var(--sub); max-height: 320px; overflow: auto; }
.done__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 120; height: 44px; padding: 0 20px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; }

/* 모바일 아래쪽 견적 버튼: 화면 어디에 있든 한 번에 누를 수 있게 */
.dock { display: none; }

@media (max-width: 1080px) {
  .hd__in { gap: 24px; }
  .hd__nav { gap: 20px; }
  .hd__out { display: none; }
  .req { column-gap: 32px; }
  .kinds { gap: 12px; }
  .kind__name { font-size: 17px; }
  .facts b { font-size: 44px; }
  .plan { padding: 28px 20px 24px; }
  .plan__price b { font-size: 60px; }
  .slip--wide { padding: 32px; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding-bottom: 32px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: 48px; bottom: 0; left: 24px; right: auto; width: 1px; height: auto; }
  .steps__n { grid-row: 1 / 4; }
  .steps .tag { margin-top: 0; justify-self: start; }
  .steps h4 { margin-top: 8px; }
}
@media (max-width: 860px) {
  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .shot__cap { padding: 32px 8px 8px; font-size: 12px; }
  .shot__cap small { display: none; }
  .playdot { top: 8px; right: 8px; width: 28px; height: 28px; }
  .hd__in { flex-wrap: wrap; height: auto; gap: 0 16px; padding-top: 10px; }
  .hd__brand { height: 44px; gap: 10px; }
  .hd .cl-logo { height: 24px; }
  .hd__tag { font-size: 13px; padding-left: 10px; }
  .hd__side { height: 44px; gap: 8px; }
  .hd .btn { height: 36px; padding: 0 12px; }
  .hd__nav { order: 3; flex: 0 0 calc(100% + var(--pad) * 2); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; }
  .hd__nav::-webkit-scrollbar { display: none; }
  .hd__nav a { height: 44px; }
  .hero { padding: 40px 0 56px; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__sub { font-size: 16px; }
  .hero__shots { padding-left: 0; gap: 8px; }
  .faq summary { font-size: 16px; min-height: 64px; }
  .faq details p { padding-right: 0; font-size: 15px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .facts > div { padding: 20px 16px 20px 0; }
  .facts > div + div { border-left: 0; }
  .facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts b { font-size: 40px; }
  .facts dd { font-size: 16px; }
  .facts dt { font-size: 14px; }
  .wall { padding: 64px 0 72px; }
  .wall__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 40px; }
  .wall__head p { padding-bottom: 0; }
  .wall__row + .wall__row { margin-top: 12px; }
  .wall__row .logos__track img { height: calc(28px * var(--k, 1)); margin-right: 52px; }
  .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
  .kind__name { margin-top: 10px; font-size: 15px; }
  .kind__name i { display: none; }
  .kind__count { font-size: 13px; }
  .imgband { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .imgband strong { display: block; margin: 0 0 4px; }
  .plans { grid-template-columns: 1fr; }
  .plan__price b { font-size: 64px; }
  .slip--wide { grid-template-columns: 1fr; padding: 24px 20px; gap: 24px; }
  .slip--wide .slip__rows { grid-template-columns: 1fr; }
  .slip--wide .slip__sum { padding: 20px; }
  .slip--wide .slip__total strong { font-size: 44px; }
  .make { grid-template-columns: 1fr; gap: 32px; }
  .sub-head { margin-top: 64px; font-size: 22px; }
  .sub-head small { display: block; margin: 4px 0 0; font-size: 15px; }
  .steps h4 { font-size: 20px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .sec__head { position: static; margin-bottom: 28px; }
  .cta { padding: 56px 0; }
  .cta__in, .ft__in { flex-direction: column; align-items: flex-start; }
  .filters__side { margin-left: 0; width: 100%; }
  .filters__side .search { flex: 1; width: auto; min-width: 0; }
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; max-width: 100vw; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .player { padding: 0; }
  .player__box, .player.is-portrait .player__box { grid-template-columns: 1fr; width: 100%; height: 100%; max-height: none; border-radius: 0; overflow: auto; align-content: start; }
  .player.is-portrait .player__video { height: auto; width: min(100%, 46vh); margin: 0 auto; }
  .player__info { padding: 24px 20px 32px; overflow: visible; }
  .player__close { position: fixed; background: rgba(17, 17, 17, .78); color: #fff; }
  .req { grid-template-columns: 1fr; row-gap: 40px; }
  .req__main, .req .slip { grid-column: 1; grid-row: auto; }
  .req .slip { position: static; }
  .form__grid { grid-template-columns: 1fr; }
  .seg--wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__send { flex-direction: column; align-items: stretch; }
  .page-head { padding-top: 40px; padding-bottom: 28px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--hd); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .24s var(--ease); }
  .dock.is-on { transform: none; }
  .dock p { flex: 1; min-width: 0; font-size: 13px; color: var(--sub); line-height: 1.4; }
  .dock p b { display: block; font-size: 15px; color: var(--ink); }
  .dock .btn { height: 48px; padding: 0 24px; }
  .has-dock .ft { padding-bottom: 120px; }
}

/* ── '제작 사례' 펼침 메뉴 ── 머리 바로 아래로 본문 폭만큼 내려온다. 글자 줄 셋 + 캣워크로 가는 그림 한 장 */
.hd__nav .hd__page { display: inline-flex; align-items: center; gap: 4px; height: 72px; color: var(--sub); font: inherit; white-space: nowrap; border-bottom: 2px solid transparent; border-top: 2px solid transparent; }
.hd__nav .hd__page:hover, .hd__nav .hd__page[aria-expanded="true"], .hd__nav .hd__page[aria-current] { color: var(--ink); }
.hd__nav .hd__page[aria-current] { border-bottom-color: var(--ink); font-weight: 700; }
.hd__page svg { transition: transform .2s var(--ease); }
.hd__page[aria-expanded="true"] svg { transform: rotate(180deg); }
.cm { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cm__in { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 40px; padding-bottom: 40px; }
.cm__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; align-content: start; }
.cm__col h3 { font-size: 15px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cm__col ul { padding-top: 8px; }
.cm__col a { display: flex; align-items: center; height: 44px; font-size: 16px; color: var(--sub); }
.cm__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cm__all { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-top: 24px; padding: 0 20px; border-radius: 12px; background: var(--paper); font-size: 15px; font-weight: 700; }
.cm__all svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.cm__all:hover svg { transform: translateX(4px); }
.cm__card { position: relative; display: block; align-self: start; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: #111; color: #fff; }
.cm__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cm__card:hover img { transform: scale(1.04); }
.cm__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .72) 100%); }
.cm__card span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.cm__card i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .8); }
.cm__card b { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; }
.cm__card b svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .cm__in { grid-template-columns: minmax(0, 1fr); } .cm__card { display: none; } }
@media (max-width: 860px) {
  .hd__nav .hd__page { height: 44px; }
  .cm { max-height: calc(100vh - 120px); overflow-y: auto; }
  .cm__in { padding-top: 20px; padding-bottom: 24px; }
  .cm__cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .cm__col a { height: 40px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hd__page svg, .cm__all svg, .cm__card img { transition: none; } }
