/* ══════════════════════════════════════════
   Variables
══════════════════════════════════════════ */
:root {
  --bg:          #202c2f;
  --bg-alt:      #182428;
  --accent:      #dfd1c0;
  --accent-dk:   #c5b5a2;
  --text:        #FFFFFF;
  --text-sub:    rgba(255, 255, 255, 0.65);
  --border:      rgba(223, 209, 192, 0.18);
  --card-bg:     rgba(223, 209, 192, 0.07);

  --font:         'Lato', 'Pretendard', 'Noto Sans KR', sans-serif;
  --font-raleway: 'Raleway', sans-serif;
  --font-noto:    'Pretendard', 'Noto Sans KR', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --nav-h:        68px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --r:            14px;
}

/* ══════════════════════════════════════════
   Reset & Base
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  word-break: keep-all; /* 한글 줄바꿈 시 단어(어절) 단위로만 끊기도록 전역 적용 */
  overflow-wrap: break-word; /* 지나치게 긴 토큰이 있을 때의 안전장치 */
}

a       { text-decoration: none; color: inherit; }
img     { display: block; max-width: 100%; }
ul      { list-style: none; }
button  { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar              { width: 5px; }
::-webkit-scrollbar-track        { background: var(--bg-alt); }
::-webkit-scrollbar-thumb        { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover  { background: var(--accent); }

/* ══════════════════════════════════════════
   Layout
══════════════════════════════════════════ */
.container    { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
#products .container { max-width: 1200px; }
.section      { padding: 100px 0; }
.section-alt  { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 52px;
}

/* ══════════════════════════════════════════
   Buttons
══════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--accent);
  padding: 14px 36px;
  border-radius: 100px;
  transition: background 0.28s var(--ease),
              transform  0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(223, 209, 192, 0.3);
}

.btn-kakao {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #000000;
  background: #FEE500;
  padding: 14px 36px;
  border-radius: 100px;
  transition: background 0.28s var(--ease),
              transform  0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.btn-kakao:hover {
  background: #e6d100;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254, 229, 0, 0.35);
}

/* ══════════════════════════════════════════
   Navigation
══════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.nav.scrolled {
  background: rgba(24, 36, 40, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-raleway);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  z-index: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  transition: color 0.24s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  font-weight: 700;
  color: var(--accent);
}
.nav-links .nav-cta:hover { color: var(--accent-dk); }

/* 문의하기 우측 언어 토글 박스 — nav-links, hamburger와 한 그룹으로 묶어
   기존 .nav의 space-between 레이아웃(로고 vs 나머지) 안에서 함께 오른쪽에 붙는다. */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lang-toggle-box {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 2px;
  background: var(--accent);
  border-radius: 6px; /* 알약형이 아닌, 살짝만 둥근 사각형 */
}
.lang-toggle-box .lang-toggle-box-btn {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(32, 44, 47, 0.45); /* var(--bg) 45% — 비활성 상태 (기존 중앙 토글의 "흐리게" 방식과 동일) */
}
.lang-toggle-box .lang-toggle-box-btn.active {
  color: var(--bg);
  font-weight: 700;
}
.lang-toggle-box-divider {
  color: rgba(32, 44, 47, 0.3);
  font-size: 11px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1;
}
.hamburger span {
  display: block;
  width: 23px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mn-link {
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 700;
  color: var(--text-sub);
  transition: color 0.24s;
}
.mn-link:hover,
.mn-link--accent { color: var(--accent); }

/* ══════════════════════════════════════════
   Hero — Split Layout
══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  overflow: hidden;
  background: #202c2f;
}

/* ── 왼쪽 패널 (40%) ── */
.hero-left {
  width: 40%;
  flex-shrink: 0;
  background: #202c2f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 32px) 40px 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── 오른쪽 패널 (60%) ── */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: calc(var(--nav-h) + 28px) 0 40px;
  overflow: hidden;
  background: #202c2f;
}

/* ── 슬라이더 행 ── */
.slider-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.slider-label {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  padding: 0 20px;
  flex-shrink: 0;
}

.slider-viewport {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  cursor: grab;
  user-select: none;
}
.slider-viewport:active,
.slider-viewport.dragging { cursor: grabbing; }

.slider-track {
  display: flex;
  gap: 12px;
  height: 100%;
  will-change: transform;
}

.slide-item {
  flex-shrink: 0;
  height: 100%;
  width: auto;
  border-radius: 10px;
  background-color: #1e3038;
  overflow: hidden;
}

.slide-item img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ── 히어로 텍스트 ── */
.hero-studio {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.38em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-left: 0.19em;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s var(--ease) forwards;
}

.hero-brand {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(3.5rem, 8vw, 114px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.85s 0.5s var(--ease) forwards;
}

.hero-sub {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s var(--ease) forwards;
}

.hero-spacer {
  height: 60px;
  flex-shrink: 0;
}

.hero-tagline {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 21px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.7s 1.0s var(--ease) forwards;
}

.hero-content .btn-primary {
  opacity: 0;
  animation: fadeUp 0.7s 1.2s var(--ease) forwards;
}

/* ── SCROLL 인디케이터 ── */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 0.7s 1.4s var(--ease) forwards;
}

.scroll-text {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-arrow {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   Showcase — Before / After 소개 섹션
══════════════════════════════════════════ */
.showcase-head {
  margin-bottom: 32px;
}

.showcase-brand {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.showcase-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-desc {
  margin-bottom: 56px;
}

.showcase-lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.showcase-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.5;
  white-space: nowrap;
}

/* Before → After 세트 리스트 */
.ba-set-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 전체 세트: stretch로 좌우 열 높이 동일 */
.ba-set {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* 공통 열 */
.ba-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 후 열: 전 열의 3배 너비 → 각 after 이미지가 before와 동일 크기 */
.ba-col--after { flex: 3; }

/* 전 이미지: 4:5 비율, 행 높이를 결정 */
.ba-col--before .ba-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  background-size: cover;
  background-position: center;
  background-color: #1e2d32;
}

/* 후 스택: 3열 가로 그리드 */
.ba-after-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.ba-col--after .ba-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #2a3d44;
}

/* placeholder 색상 (이미지 없을 때) */
.ba-before { background-color: #1e2d32; }
.ba-after  { background-color: #2a3d44; }

.ba-arrow-mid {
  flex-shrink: 0;
  width: 72px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.55;
}

.ba-caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.ba-caption-after {
  color: var(--accent);
}

/* ══════════════════════════════════════════
   Services — 픽바이트의 차별점 (원형 캐러셀)
══════════════════════════════════════════ */
.diff-section {
  height: auto;
  position: relative;
  z-index: 10;
  isolation: isolate;
}

.diff-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #202c2f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
}

#portfolio, #pricing, #process, #faq, #notices, #contact {
  position: relative;
  z-index: 1;
}

.diff-title-wrap {
  position: relative;
  top: auto;
  right: auto;
  text-align: center;
  width: 100%;
  padding: 60px 80px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  z-index: 20;
}

.diff-title-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.diff-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(223, 209, 192, 0.45);
  margin-bottom: 8px;
  text-align: right;
}

.diff-title {
  font-family: 'Pretendard', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #dfd1c0;
  margin: 0;
  text-align: right;
}

.diff-carousel {
  position: relative;
  width: 100%;
  flex: 1;
}

.diff-side-text {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Pretendard', sans-serif;
  font-size: 83px;
  font-weight: 700;
  color: #dfd1c0;
  line-height: 1.15;
  letter-spacing: -1px;
  white-space: pre;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.diff-card {
  position: absolute;
  width: 380px;
  left: 50%;
  top: 0;
  margin-left: -190px;
  background: rgba(30, 40, 43, 0.95);
  border: 1px solid rgba(223, 209, 192, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transform-origin: top center;
  will-change: transform, opacity;
  transition: transform 0.05s linear;
}

.diff-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: rgba(223, 209, 192, 0.06);
}

.diff-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-num {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(223, 209, 192, 0.4);
}

.diff-text {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #dfd1c0;
  line-height: 1.5;
  margin: 0;
}

/* 모바일 전용 "차별점" 가로 자동슬라이드 캐러셀 — 데스크톱에서는 숨김 (GSAP 부채꼴
   캐러셀이 .diff-carousel/.diff-card를 대신 사용함) */
.diff-mobile-carousel {
  display: none;
}
.diff-mcard {
  flex: 0 0 auto;
  width: 220px;
  height: auto;
  background: rgba(30, 40, 43, 0.95);
  border: 1px solid rgba(223, 209, 192, 0.12);
  border-radius: 6px;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   Products — 상품 소개
══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.product-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  transition: border-color 0.28s var(--ease);
}
.product-panel:hover {
  border-color: rgba(223, 209, 192, 0.4);
}

.product-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.product-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.444;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.5;
}
/* 메뉴판 탭: 설명을 카드 맨 아래(가격/[예시] 다음)로 배치하고,
   포스터 탭의 설명(.poster-desc)과 동일한 폰트 크기/스타일로 맞춤.
   [예시] 가격 목록과 설명 사이에 구분선을 추가해 시각적으로 분리함. */
#tab-video .product-desc {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.65;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(223, 209, 192, 0.15);
}
/* 카드 상단: 제목만 담고 있으므로 가격(.menu-price-formula) 위쪽 구분선은 제거 */
#tab-video .product-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.price-list {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.price-row:last-child { border-bottom: none; }

.price-qty {
  flex: 1;
  font-size: 1.19rem;
  font-weight: 400;
  color: var(--text-sub);
}
.price-amount {
  font-size: 1.29rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.save-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #000000;
  background: var(--accent); /* #dfd1c0 */
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.products-note {
  line-height: 1.75;
  text-align: left;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
}
.tab-guide-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.5;
}

.products-note .note-vat {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.products-note p {
  font-size: 0.875rem;
  color: var(--text-sub);
}

/* ══════════════════════════════════════════
   Workflow — 작업 방식
══════════════════════════════════════════ */
.workflow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
}

.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  flex-shrink: 0;
  width: 160px;
}

.wf-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(223, 209, 192, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.wf-circle svg { width: 36px; height: 36px; }

.wf-step:hover .wf-circle {
  background: rgba(223, 209, 192, 0.18);
  box-shadow: 0 0 0 6px rgba(223, 209, 192, 0.1);
}

.wf-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.wf-label-sub {
  font-size: 85%;
  opacity: 0.6;
}

.wf-arrow {
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.5;
  padding-top: 28px;
  flex-shrink: 0;
  align-self: flex-start;
  width: 44px;
  text-align: center;
}

/* Workflow Before / After (작업 방식 섹션 내) */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto 48px;
  max-width: 840px;
}

.ba-img {
  position: relative;
  height: 300px;
  border-radius: var(--r);
  background-color: #2a3a3f;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ba-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 12px;
  border-radius: 100px;
}

.wf-note {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  text-align: left;
  transition: color 0.24s;
}
.faq-q:hover    { color: var(--accent); }
.faq-q.is-open  { color: var(--accent); }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq-icon::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after  { width: 1.5px; height: 100%; top: 0; left: 50%; transform: translateX(-50%); }

.faq-q.is-open .faq-icon::before { transform: translateY(-50%) rotate(45deg); }
.faq-q.is-open .faq-icon::after  { transform: translateX(-50%) rotate(45deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-a.is-open {
  max-height: 500px;
  padding-bottom: 22px;
}
.faq-a p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   Contact / CTA
══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   Contact — 상담 신청
══════════════════════════════════════════ */
.contact-section {
  padding: 108px 0;
  background: #202c2f;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.contact-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-title {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-sub {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-desc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -4px;
}

.contact-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ── 상담 신청 폼 ── */
.contact-form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-noto);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

.form-input,
.form-textarea {
  font-family: var(--font-noto);
  font-size: 0.9rem;
  font-weight: 400;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 209, 192, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.24s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-input:focus,
.form-textarea:focus { border-color: rgba(223, 209, 192, 0.7); }

.form-textarea {
  height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-noto);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}
.form-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.form-note {
  font-family: var(--font-noto);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -4px;
}

.btn-submit {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #202c2f;
  background: var(--accent);
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.24s var(--ease), transform 0.2s var(--ease);
}
.btn-submit:hover { background: var(--accent-dk); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-status {
  font-family: var(--font-noto);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  min-height: 1.4em;
}
.form-status--success { color: #8ecf9a; }
.form-status--error   { color: #cf8e8e; }

.contact-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.429;
  color: var(--accent);
  transition: opacity 0.24s;
}
.contact-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-link:hover { opacity: 0.7; }

/* ══════════════════════════════════════════
   Footer
══════════════════════════════════════════ */
.footer {
  background: #161f22;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 80px 32px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  background: none;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-info p {
  font-family: var(--font-noto);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-top: 4px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfd1c0;
  transition: opacity 0.24s var(--ease);
}
.footer-icon:hover { opacity: 0.65; }
.footer-icon svg { width: 24px; height: 24px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 24px;
  padding-top: 20px;
  text-align: center;
}

.footer-copy {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   Portfolio Gallery
══════════════════════════════════════════ */
.portfolio-head { margin-bottom: 0; }

.pf-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.pf-title-group .section-title {
  text-align: left;
  margin-bottom: 4px;
}

.portfolio-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.btn-all-portfolio {
  flex-shrink: 0;
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 20px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.24s var(--ease);
}

.btn-all-portfolio:hover { background: rgba(223, 209, 192, 0.1); }

/* ── 포트폴리오 상단 소개 문구 ── */
.pf-intro {
  margin-bottom: 40px;
}

.pf-intro-lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pf-intro-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ── 카테고리 목록(상단) + 사진이 화면 폭을 꽉 채우는 레이아웃 ──
   예전엔 왼쪽 200px 사이드바 + 오른쪽 본문 2단 그리드였는데, 그러면 사이드바 폭만큼
   본문이 좁아지고 화면 양옆에 여백이 남는다. 사이드바를 상단 가로 탭으로 올리고,
   .pf-layout 좌우 padding도 없애 그리드가 뷰포트 끝까지 꽉 차게 했다.
   --pf-gutter는 "텍스트(탭/제목/힌트문구)는 유지하는 여백" 값 — .pf-main엔 그대로
   padding으로 쓰고, .portfolio-grid는 그 여백만큼 음수 마진을 줘서 뚫고 나가 화면
   끝까지 채운다. 모바일에서 이 값만 24px로 줄이면 아래 모든 규칙이 같이 따라간다. */
.pf-layout {
  --pf-gutter: 60px;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pf-sidebar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin: 4px 0 40px;
}

.pf-main {
  width: 100%;
  padding: 0 var(--pf-gutter);
}

/* 사진 그리드만 .pf-main의 좌우 padding을 뚫고 나가 화면 끝까지 꽉 차게 함.
   (제목/탭/힌트 문구 등 텍스트는 그대로 .pf-main의 여백을 유지) */
.portfolio-grid {
  margin-left: calc(-1 * (var(--pf-gutter) - 10px));
  margin-right: calc(-1 * (var(--pf-gutter) - 10px));
  width: calc(100% + 2 * (var(--pf-gutter) - 10px));
}

/* ── 상위 타입 탭 (사이드바 내) ── */
.pf-type-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: none;
}

.pf-type-tab {
  flex: 1 1 0;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(223, 209, 192, 0.5);
  text-align: center;
  padding: 16px 12px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.24s ease, border-color 0.24s ease;
}

.pf-type-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.pf-type-tab:hover:not(.active) {
  color: rgba(223, 209, 192, 0.75);
}

.pf-type-btn {
  font-family: var(--font-noto);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: rgba(223, 209, 192, 0.5);
  padding: 12px 8px;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.24s, border-color 0.24s;
}
.pf-type-btn:hover { color: rgba(223, 209, 192, 0.75); }
.pf-type-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── 2단계 카테고리 탭 ── */
.pf-cat-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  gap: 0;
}
.pf-cat-tabs::-webkit-scrollbar { display: none; }

.pf-cat-btn {
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 400;
  color: rgba(223, 209, 192, 0.45);
  padding: 10px 14px;
  white-space: nowrap;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  flex-shrink: 0;
  transition: color 0.24s, border-color 0.24s;
}
.pf-cat-btn:hover { color: rgba(223, 209, 192, 0.75); }
.pf-cat-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── 힌트 바 ── */
.pf-hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 14px 28px;
  background: rgba(223, 209, 192, 0.1);
  border: 1px solid rgba(223, 209, 192, 0.3);
  border-radius: 999px;
  color: #dfd1c0;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

/* ── 포트폴리오 타입 카드 ── */
.pf-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 48px auto 0;
}

.pf-type-card {
  display: block;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(223, 209, 192, 0.04);
  border: 1px solid rgba(223, 209, 192, 0.12);
  transition: transform 0.35s ease, background 0.35s ease;
  opacity: 0;
  transform: translateY(30px);
}

.pf-type-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pf-type-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: rgba(223, 209, 192, 0.06);
  overflow: hidden;
}

.pf-type-img-after,
.pf-type-img-before {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s ease;
}

.pf-type-img-before {
  opacity: 0;
}

.pf-type-card:hover .pf-type-img-before {
  opacity: 1;
}

.pf-type-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(32, 44, 47, 0.85);
  color: #dfd1c0;
  font-family: 'Pretendard', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 2;
  transition: background 0.4s ease, color 0.4s ease;
}

.pf-type-badge.is-before {
  background: #dfd1c0;
  color: #202c2f;
}

.pf-type-card-label {
  padding: 24px;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #dfd1c0;
  text-align: center;
  background: #202c2f;
  transition: background 0.35s ease, color 0.35s ease;
}

.pf-type-card:hover {
  transform: translateY(-12px);
}

.pf-type-card:hover .pf-type-card-label {
  background: #dfd1c0;
  color: #202c2f;
}

/* Badge */
.pi-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: #202c2f;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
}

.pi-badge--before {
  background: #dfd1c0;
  color: #202c2f;
}

/* Arrow button */
.pi-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #202c2f;
  padding: 0;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.pi-arrow:hover { transform: scale(1.1); background: var(--accent-dk); }
.pi-arrow svg   { width: 18px; height: 18px; }

/* ══════════════════════════════════════════
   Portfolio Page — Full Grid
══════════════════════════════════════════ */
.portfolio-grid {
  margin-top: 32px;
}

.portfolio-item {
  position: relative;
  width: calc(25% - 9px);
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.pi-after-img {
  display: block;
  width: 100%;
  height: auto;
}

.pi-hint {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════
   Lightbox
══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 501;
  transition: color 0.2s;
}

.lb-close:hover { color: #fff; }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 501;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

.lb-nav:hover { background: rgba(255, 255, 255, 0.3); color: #fff; }
.lb-nav svg   { width: 28px; height: 28px; display: block; }
.lb-prev      { left: 16px; }
.lb-next      { right: 16px; }

.lb-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  max-height: 88vh;
  padding: 24px 40px;
  margin: 0 auto;
  position: relative;
}

.lb-inner--pf {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  max-height: 88vh;
  padding: 24px 40px;
  margin: 0 auto;
  align-self: center;
}

.lb-col {
  display: flex;
  flex-direction: column;
}

#lbBeforeCol {
  flex: 0 0 30%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#lbAfterCol {
  flex: 0 0 58%;
  height: 70vh;
  max-height: 70vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lb-arrow {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: rgba(255, 255, 255, 0.85);
  z-index: 10;
  pointer-events: none;
}
.lb-arrow svg {
  width: 36px;
  height: 36px;
  display: block;
}

.lb-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.lb-label {
  display: block;
  text-align: center;
  white-space: nowrap;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.429;
  letter-spacing: 0.04em;
  color: #dfd1c0;
  background: rgba(223, 209, 192, 0.12);
  border: 1px solid rgba(223, 209, 192, 0.3);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 12px;
  align-self: center;
  flex-shrink: 0;
  z-index: 2;
}

.lb-img {
  position: relative;
  width: 100%;
  border-radius: 10px;
  background-color: transparent;
}

.lb-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 75vh;
  border-radius: 4px;
  object-fit: contain;
  margin-bottom: 6px;
}

#lbAfterCol .lb-photo-wrap {
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: visible;
  width: 100%;
  height: 100%;
}

#lbAfterCol .lb-afters,
#lbAfterCol .lb-img {
  flex: 1;
  min-height: 0;
  overflow: visible;
  position: relative;
  width: 100%;
}

#lbAfterCol .lb-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── before 그리드 컨테이너 ── */
.lb-befores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  background: transparent;
}

.lb-befores .lb-img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  min-height: 0;
}

.lb-befores .lb-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.lb-befores .wm {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 10;
}

/* ── after 컨테이너 ── */
.lb-afters {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── 포스터 / 영상 그리드 ── */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 20px;
}

.pf-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  padding: 60px 0;
}

.pf-poster-card {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  transition: transform 0.2s;
  aspect-ratio: 3 / 4;
}

.pf-poster-card:hover { transform: scale(1.02); }

.pf-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* hidden 속성이 CSS display 값에 묻히지 않도록 보장 */
.lb-simple[hidden],
.lb-inner--pf[hidden] { display: none !important; }

/* ── 포스터 단순 이미지 뷰어 ── */
.lb-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
}

.lb-simple-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 10px;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* ══════════════════════════════════════════
   Watermark Overlay
══════════════════════════════════════════ */
.wm {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 10;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
#pfpGrid .wm {
  bottom: 27px !important;
}

#lbAfterSingle .wm,
.lb-afters .wm {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 10;
}

.portfolio-item .wm,
.pf-card .wm {
  width: 18%;
  height: auto;
  object-fit: unset;
  opacity: 0.5;
}


/* ══════════════════════════════════════════
   Image Protection
══════════════════════════════════════════ */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.slide-item {
  position: relative;
}

.slide-item,
.ba-img,
.pf-card {
  position: relative;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ══════════════════════════════════════════
   Scroll Reveal
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.48s; }

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   Products — Tab Navigation
══════════════════════════════════════════ */
.products-tabs {
  width: 100%;
}

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex: 1 1 0;
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 15.9px;
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.tab-btn:focus { outline: none; }
.tab-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content[hidden] { display: none; }

/* Products — 가격표 하단 추가 비용 안내 박스 */
.price-extra-note {
  display: block;
  width: 100%; /* 카드 콘텐츠 영역 전체 폭 — 제목/가격 목록과 좌우 끝을 맞춤 */
  margin: 16px 0; /* 좌우 auto 불필요, 위아래 여백만 유지 */
  padding: 10px 8px; /* 데스크톱 한 줄 확보를 위해 좌우 여백을 살짝 좁힘 */
  background: var(--accent);
  border-radius: 8px; /* product-panel(18px)보다 살짝만 둥글게 */
  text-align: center;
}
.price-extra-note p {
  font-size: 14px; /* 기존 0.875rem(14px)에서 한 줄 유지가 가능한 한도까지만 확대 (아래 설명 참고) */
  font-weight: 600; /* 기존 굵기 그대로 유지 */
  line-height: 1.429;
  color: var(--bg);
  white-space: nowrap; /* 데스크톱/태블릿: 강제로 한 줄 유지 */
  letter-spacing: -0.03em; /* 1100px 컨테이너 기준 카드 폭에 한 줄로 들어가도록 자간을 미세하게 좁힘 */
  text-wrap: balance; /* 480px 이하에서 줄바꿈이 허용될 때, 마지막 줄에 한 단어만 남지 않도록 균형 배분 */
  word-break: keep-all; /* 480px 이하 예외 구간에서 줄바꿈될 때 어절 단위로만 끊기도록 */
  overflow-wrap: break-word; /* 지나치게 긴 토큰(숫자 등)이 있을 때 카드 밖으로 넘치지 않도록 하는 최후 안전장치 */
}
.price-extra-note strong {
  font-weight: 700;
}
/* 컨셉컷/단일컷(#tab-photo) 안내 박스만 좌우로 2px씩(총 4px) 더 넓게.
   width:100%(+box-sizing:border-box) 상태라 padding을 늘려도 바깥 폭은 그대로라
   width를 4px 늘리고 음수 margin으로 중앙 정렬을 유지하는 방식을 사용. 포스터 탭은 영향 없음. */
#tab-photo .price-extra-note {
  width: calc(100% + 4px);
  margin-left: -2px;
  margin-right: -2px;
}

/* Products — VAT per panel */
.panel-vat {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 16px;
  letter-spacing: 0.02em;
}
.menu-price-formula {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
#tab-video .price-row .price-qty,
#tab-video .price-row .price-amount {
  color: var(--text-sub);
  font-weight: 400;
  font-size: 0.9rem;
}
/* 메뉴판 탭: [예시] 텍스트와 최종 가격을 한 줄에 나란히 두지 않고,
   가격을 [예시] 텍스트 아래 줄에 2px 간격으로 배치 */
#tab-video .price-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.formula-item {
  font-size: 16.7px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.formula-item strong {
  font-size: 16.7px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.429;
}
.formula-item strong {
  color: var(--text);
}
.formula-plus {
  font-size: 18.7px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-sub);
  white-space: nowrap;
}
/* Products — Poster Cards */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.poster-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.28s var(--ease);
}
.poster-card:hover {
  border-color: rgba(223, 209, 192, 0.4);
}

.poster-card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 16px;
}

.poster-type {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.444;
  color: var(--accent);
  margin-bottom: 12px;
}

.poster-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.poster-per {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
}

.poster-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.429;
}

.poster-vat {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  margin-top: 14px;
}

.photo-note-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.photo-note-list li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.429;
  padding-left: 20px;
  position: relative;
}
.photo-note-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-sub);
}

.poster-note-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.poster-note-list li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.429;
  padding-left: 20px;
  position: relative;
}
.poster-note-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-sub);
}

/* Products — Video Tab */
.video-tab-content {
  text-align: center;
  padding: 72px 20px;
}

.video-tab-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 18px;
}

.video-tab-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

.products-tax-note {
  font-family: var(--font-noto);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 32px;
}

/* ══════════════════════════════════════════
   Notice — 안내사항
══════════════════════════════════════════ */
.notice-head {
  text-align: center;
  margin-bottom: 52px;
}
.notice-head .section-title {
  margin-bottom: 8px;
}

.notice-sub {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.429;
  color: var(--text-sub);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.notice-list {
  max-width: 800px;
  margin: 0 auto;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease);
  border-radius: 8px;
}
.notice-item:first-child { border-top: 1px solid var(--border); }
.notice-item:hover { background: rgba(223, 209, 192, 0.04); }

.notice-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: rgba(223, 209, 192, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}
.notice-icon svg {
  width: 22px;
  height: 22px;
}

.notice-body {
  flex: 1;
}

.notice-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 8px;
}

.notice-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.429;
}

/* ══════════════════════════════════════════
   Responsive — Tablet (≤ 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .workflow { gap: 0; }
  .wf-step  { width: 130px; }
  .wf-circle { width: 76px; height: 76px; }
  .wf-circle svg { width: 30px; height: 30px; }
  .wf-arrow { width: 32px; font-size: 1.4rem; }

  .diff-title-wrap { right: 40px; top: 40px; }
  .diff-card { width: 240px; }
}

/* ══════════════════════════════════════════
   Responsive — Mobile (≤ 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav        { padding: 0 20px; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-right  { gap: 14px; }
  .lang-toggle-box { height: 24px; }
  .lang-toggle-box .lang-toggle-box-btn { padding: 0 8px; font-size: 11px; }

  /* Sections */
  .section     { padding: 72px 0; }
  .contact-section { padding: 80px 0; }

  /* Hero — 상하 분할 */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-left {
    width: 100%;
    padding: calc(var(--nav-h) + 28px) 28px 36px;
    justify-content: flex-start;
  }
  .hero-content {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .hero-tagline { text-align: left; }
  .hero-right {
    flex: 0 0 42vh;
    height: 42vh;
    padding: 0 0 28px;
    gap: 14px;
  }
  .hero-brand   { font-size: 60px; }
  .hero-studio  { font-size: 13px; letter-spacing: 0.25em; }
  .hero-sub     { font-size: 16px; }
  .hero-spacer  { height: 36px; }
  .hero-tagline { font-size: 17px; }

  /* Showcase */
  .showcase-body { white-space: normal; }
  .ba-set {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .ba-col--after { flex: unset; }
  .ba-arrow-mid {
    width: 100%;
    height: 48px;
    align-self: auto;
    transform: rotate(90deg);
  }
  /* 모바일: 3열 → 1열 */
  .ba-after-stack { grid-template-columns: 1fr; }

  /* Portfolio */
  .pf-title-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pf-title-group .section-title { text-align: left; }
  .pf-type-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pf-type-card-label { padding: 10px 4px; font-size: 12px; }
  .pf-type-badge { top: 6px; left: 6px; padding: 3px 7px; font-size: 9px; letter-spacing: 0.5px; }
  .pf-layout { --pf-gutter: 24px; }
  .pf-sidebar { margin: 0 0 24px; }
  .pf-type-tab { font-size: 16px; padding: 12px 4px; }

  /* Portfolio page grid */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Lightbox */
  .lb-inner { flex-direction: column; padding: 32px 16px 24px; max-height: 90vh; overflow: visible; overflow-x: visible; width: 95vw; max-width: 95vw; }
  .lb-col { flex: unset; width: 100%; }
  #lbBeforeCol, #lbAfterCol { flex: unset; width: 100%; max-height: none; overflow: visible; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-arrow { transform: rotate(90deg); width: 100%; height: 36px; margin-top: 0; }

  /* Services — 모바일: 핀 해제, 세로 스택 */
  .diff-section { height: auto; }
  .diff-sticky {
    position: relative;
    height: auto;
    padding: 60px 24px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: visible;
  }
  /* '픽바이트의 차별점' 타이틀 텍스트 및 그 여백을 모바일에서 완전히 제거 */
  .diff-title-wrap { display: none; }
  /* WHAT MAKES US DIFFERENT — 데스크톱에서는 absolute 오버레이(83px)였는데, 모바일에서
     그대로 두면 화면 폭을 넘겨서 핀치 줌아웃 시 우측에 여백이 생기는 원인이 됐다.
     타이틀 바로 아래, 사진(캐러셀) 위쪽에 오도록 일반 흐름으로 바꾼다. */
  .diff-side-text {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    font-size: 30px;
    line-height: 1.25;
    white-space: normal;
    opacity: 1 !important;
    margin: 0 0 20px;
  }
  .diff-carousel {
    display: none;
  }
  /* 차별점 카드 — 세로 스택 대신 가로 자동슬라이드 (메인 컨셉컷/단일컷과 동일 속도) */
  .diff-mobile-carousel {
    display: block;
    width: 100%;
  }
  .diff-mobile-viewport {
    overflow: hidden;
    width: 100%;
  }
  .diff-mobile-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
  }

  /* Products — tabs: 세로 스택 대신 가로 스와이프(한 화면 안에서 보이도록) */
  .products-grid,
  .poster-grid {
    display: flex;
    grid-template-columns: unset;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .products-grid::-webkit-scrollbar,
  .poster-grid::-webkit-scrollbar {
    display: none;
  }
  .products-grid .product-panel,
  .poster-grid .product-panel,
  .poster-grid .poster-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .formula-item,
  .formula-plus {
    white-space: normal;
  }
  .menu-price-formula {
    row-gap: 4px;
  }
  /* 탭 3개가 스크롤 없이 정확히 3등분으로 한 화면에 보이도록 */
  .tab-nav { overflow-x: visible; }
  .tab-btn {
    flex: 1 1 0;
    padding: 10px 4px;
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.3;
  }
  /* 가격 항목: 가로 대신 세로로 — 품목명이 한 줄을 다 차지하고 가격/배지가 그 아래 줄에 온다 */
  .price-row { flex-wrap: wrap; row-gap: 4px; }
  .price-qty { flex-basis: 100%; white-space: nowrap; }
  .br-pc { display: none; }

  /* Notice */
  .notice-item { gap: 18px; padding: 22px 8px; }
  .notice-icon { width: 40px; height: 40px; }
  .notice-icon svg { width: 18px; height: 18px; }

  /* Workflow — 스크롤 없이 5단계 전부 한 화면에 보이도록 축소 + 중앙 정렬 */
  .workflow {
    justify-content: center;
    overflow-x: visible;
    gap: 0;
  }
  .wf-step {
    width: 52px;
    gap: 6px;
  }
  .wf-circle { width: 40px; height: 40px; }
  .wf-circle svg { width: 16px; height: 16px; }
  .wf-label { font-size: 8.5px; line-height: 1.3; }
  .wf-arrow {
    padding-top: 12px;
    width: 12px;
    font-size: 0.8rem;
  }

  /* Workflow BA */
  .ba-wrap { grid-template-columns: 1fr; }
  .ba-img  { height: 220px; }

  /* Contact buttons */
  .contact-links { flex-direction: column; gap: 16px; }

  /* Footer */
  .footer {
    padding: 40px 24px 24px;
  }
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .footer-left {
    align-items: center;
  }
  .footer-logo-img {
    object-position: center;
  }
  .footer-info {
    text-align: center;
  }
  .footer-right {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════
   Responsive — Small Mobile (≤ 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .product-panel { padding: 28px 20px; }
  /* wf-circle: 768px 구간에서 이미 5단계가 한 화면에 들어가도록 축소했으므로
     여기서 다시 키우지 않는다 (예전엔 가독성을 위해 키웠지만, 지금은 스크롤 없이
     한 화면에 맞추는 게 우선이라 충돌함) */
  .price-extra-note p { white-space: normal; } /* 좁은 화면에서만 자연스러운 줄바꿈 허용 */
}

