/*
Theme Name: Sungyeol
Theme URI: https://sungyeol.com
Description: [v2.5.2] 안성열 대표(믿는구석) 개인 포트폴리오 사이트 전용 워드프레스 테마. Before/After 섹션 제거, "시작 배경 + 클라이언트 동기" 섹션 신규 도입. ACF 필드 10개(before/after)에서 2개(background_context/client_motivation)로 단순화.
Author: 안성열 (믿는구석)
Author URI: https://believe-corner.com
Version: 2.5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sungyeol
Tags: portfolio, business, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ============================================================================
   sungyeol.com — sungyeol theme v1.0
   안성열 대표 개인 포트폴리오 사이트 전용 테마
   기준 시안: HTML v23
   ============================================================================ */

/* === GLOBAL RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #0a0a0f;
  color: #e8e8f0;
  font-family: 'Noto Sans KR', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 800;
  line-height: 1.4;
  color: #e8e8f0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* === WP CORE === */
.alignleft   { float: left;  margin: 0 24px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide,
.alignfull   { max-width: 100%; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* === COMMON LAYOUT === */
.sy-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.sy-wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
}
.sy-section { padding: 96px 0; }
.sy-section.bg2 { background: #111118; }
.sy-section.bg3 { background: #16161f; }

/* === BUTTONS === */
.sy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sy-btn:hover { transform: translateY(-2px); }
.sy-btn-kakao { background: #FEE500; color: #0a0a0f; }
.sy-btn-kakao:hover { box-shadow: 0 8px 24px rgba(254, 229, 0, 0.25); }
.sy-btn-gold { background: #C9A84C; color: #0a0a0f; }
.sy-btn-gold:hover { box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3); }
.sy-btn-line {
  background: transparent;
  color: #C9A84C;
  border: 1.5px solid #C9A84C;
}
.sy-btn-line:hover { background: rgba(201, 168, 76, 0.1); }
.sy-btn-teal {
  background: transparent;
  color: #4ECDC4;
  border: 1.5px solid #4ECDC4;
}
.sy-btn-teal:hover { background: rgba(78, 205, 196, 0.1); }

/* === NAVIGATION === */
.sy-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}
.sy-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sy-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sy-logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}
.sy-logo-sub-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.sy-logo-sub-link:hover { opacity: 0.7; }
.sy-logo-sub-link:hover .sy-logo-sub { color: #C9A84C; }
.sy-logo-name {
  color: #C9A84C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.sy-logo-sub {
  color: #7a7a9a;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  margin-top: 2px;
  transition: color 0.2s ease;
}
.sy-nav-links {
  display: flex;
  gap: 36px;
}
.sy-nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a8a8b8;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.sy-nav-links a:hover { color: #e8e8f0; }
.sy-nav-links a.active { color: #C9A84C; }

/* === FINAL CTA (공통) === */
.sy-final {
  text-align: center;
  padding: 120px 0;
  background: #0a0a0f;
}
.sy-final-head {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: #e8e8f0;
  line-height: 1.5;
  margin-bottom: 24px;
}
.sy-final-head .accent { color: #C9A84C; }
.sy-final-sub {
  font-size: 1.08rem;
  color: #a8a8b8;
  margin-bottom: 40px;
}
.sy-final-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === AI 크레딧 박스 === */
.sy-credit {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(78, 205, 196, 0.04) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 1104px;
  margin: 0 auto 64px;
}
.sy-credit-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #C9A84C;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.sy-credit-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e8e8f0;
  margin-bottom: 12px;
}
.sy-credit-desc {
  font-size: 0.95rem;
  color: #a8a8b8;
  line-height: 1.7;
  margin-bottom: 16px;
}
.sy-credit-tools {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: #4ECDC4;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* === FOOTER === */
.sy-footer {
  background: #000;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sy-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.sy-footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: #7a7a9a;
  letter-spacing: 0.05em;
}
.sy-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.sy-footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: #a8a8b8;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.sy-footer-links a:hover { color: #C9A84C; }
.sy-footer-biz {
  font-size: 0.78rem;
  color: #5a5a7a;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}
.sy-footer-company-link {
  color: #C9A84C;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.sy-footer-company-link:hover { opacity: 0.7; text-decoration: underline; }
.sy-footer-info-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sy-footer-info-link:hover { color: #a8a8b8; }

/* === 카카오 플로팅 위젯 === */
.sy-kakao-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #FEE500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: transform 0.2s ease;
  font-size: 1.5rem;
}
.sy-kakao-float:hover { transform: scale(1.1); }

/* ============================================================================
   HERO BACKGROUND IMAGE 헬퍼 (9개 페이지 공통)
   페이지별 클래스(.hm-hero ~ .ct-hero)의 background-image는
   functions.php의 sy_hero_bg_inline() 에서 ACF 'hero_bg_image' 필드를 읽어
   <head>에 동적 주입됩니다.
   ============================================================================ */
.sy-hero-bg {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 480px;
  padding: 100px 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 768px) {
  .sy-hero-bg {
    min-height: 420px;
    padding: 32px 0;
  }
}

/* 오버레이 */
.sy-hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 15, 0);
  pointer-events: none;
  z-index: 1;
}
.sy-hero-overlay-none::before   { background: rgba(10, 10, 15, 0.0); }
.sy-hero-overlay-light::before  { background: rgba(10, 10, 15, 0.55); }
.sy-hero-overlay-medium::before {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.85) 100%);
}
.sy-hero-overlay-strong::before {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.95) 100%);
}
.sy-hero-bg > * {
  position: relative;
  z-index: 2;
}

/* 페이지별 Hero background-position (얼굴 잘림 방지) */
.hm-hero { background-position: center 30%; }
.ab-hero { background-position: center 25%; }
.cr-hero { background-position: center 30%; }
.lc-hero { background-position: center 30%; }
.sy-hero { background-position: center 35%; }
.pf-hero { background-position: center 35%; }
.pd-hero { background-position: center 30%; }
.bl-hero { background-position: center 35%; }
.ct-hero { background-position: center 35%; }
@media (max-width: 768px) {
  .hm-hero, .ab-hero, .cr-hero, .lc-hero, .sy-hero,
  .pf-hero, .pd-hero, .bl-hero, .ct-hero {
    background-position: center 25% !important;
  }
}

/* === FADE-IN 애니메이션 (페이지별 클래스 모두 지원) === */
.hm-fade, .ab-fade, .cr-fade, .lc-fade,
.sf-fade, .pf-fade, .pd-fade, .bl-fade, .ct-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hm-fade.is-visible, .ab-fade.is-visible, .cr-fade.is-visible,
.lc-fade.is-visible, .sf-fade.is-visible, .pf-fade.is-visible,
.pd-fade.is-visible, .bl-fade.is-visible, .ct-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PC 최적화 배너 — v2.2부터 제거됨 (모바일 최적화 완료) === */
.sy-pc-notice { display: none !important; }

/* === 모바일 공통 (v2.2 — 완전 최적화) === */
@media (max-width: 768px) {
  /* 공통 컨테이너 */
  .sy-wrap, .sy-wrap-narrow { padding: 0 20px; }
  .sy-section { padding: 56px 0; }

  /* === NAV — 2줄 구조 === */
  .sy-nav {
    position: sticky !important;
    top: 0 !important;
    height: auto;
  }
  .sy-nav-inner {
    padding: 12px 20px;
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  /* 1줄: 로고 영역 (가운데 정렬) */
  .sy-logo {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 2px;
  }
  .sy-logo-wrap {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 2px;
  }
  .sy-logo-name { font-size: 1rem; }
  .sy-logo-sub { font-size: 0.66rem; }

  /* 2줄: NAV 링크 — grid 4+3 균등 배치 (가로 스크롤 없음) */
  .sy-nav-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 8px;
    width: 100%;
    overflow: visible;
    flex-wrap: wrap;
  }
  .sy-nav-links li {
    display: flex;
    justify-content: center;
  }
  .sy-nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 4px;
    white-space: nowrap;
    text-align: center;
    width: 100%;
  }

  /* === 푸터 === */
  .sy-credit {
    margin-left: 20px;
    margin-right: 20px;
    padding: 28px 20px;
  }
  .sy-credit-title { font-size: 1.1rem; }
  .sy-credit-desc { font-size: 0.88rem; }
  .sy-credit-tools { font-size: 0.76rem; }
  .sy-footer { padding: 36px 0 24px; }
  .sy-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .sy-footer-links {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .sy-footer-links a { font-size: 0.78rem; }
  .sy-footer-biz {
    font-size: 0.72rem;
    line-height: 1.7;
    text-align: center;
    padding-top: 18px;
  }
  .sy-footer-copy { font-size: 0.76rem; }

  /* === 카카오 플로팅 === */
  .sy-kakao-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
    font-size: 1.25rem;
  }

  /* === Final CTA === */
  .sy-final { padding: 72px 0; }
  .sy-final-head { font-size: 1.45rem; line-height: 1.45; margin-bottom: 16px; }
  .sy-final-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .sy-final-btns { gap: 10px; }
  .sy-btn { padding: 12px 20px; font-size: 0.85rem; }

  /* === Hero 공통 모바일 최적화 === */
  .sy-hero-bg {
    height: 480px !important;
    max-height: 480px !important;
    padding: 24px 0 !important;
  }
}

/* === 작은 모바일 (375px 이하 — iPhone SE 등) === */
@media (max-width: 380px) {
  .sy-nav-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 2px 4px;
  }
  .sy-nav-links a { font-size: 0.72rem; padding: 6px 2px; }
}

/* === Gutenberg 호환 (블로그 게시물 본문) === */
.entry-content {
  color: #e8e8f0;
  line-height: 1.85;
}
.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 {
  color: #C9A84C;
  margin-top: 2.4em;
  margin-bottom: 1.8em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  font-size: 1.45em;
  font-weight: 800;
  line-height: 1.45;
}
.entry-content h3 {
  color: #C9A84C;
  margin-top: 2.2em;
  margin-bottom: 1.5em;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
}
.entry-content h4 {
  color: #C9A84C;
  margin-top: 2em;
  margin-bottom: 1.2em;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.55;
}
/* 헤딩 바로 다음에 오는 p 첫 줄은 추가 여백 살짝 */
.entry-content h2 + p,
.entry-content h3 + p,
.entry-content h4 + p {
  margin-top: 0.2em;
}
.entry-content a { color: #C9A84C; text-decoration: underline; }
.entry-content blockquote {
  border-left: 3px solid #C9A84C;
  padding: 12px 20px;
  margin: 1.5em 0;
  background: rgba(201, 168, 76, 0.04);
  font-style: italic;
}
.entry-content code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.9em;
  color: #4ECDC4;
}
.entry-content pre {
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 20px;
  overflow-x: auto;
  margin: 1.5em 0;
}

/* ============================================================================
   PORTFOLIO LIST (archive-portfolio.php)
   ============================================================================ */
.pf-hero { padding: 160px 0 120px; background: #0a0a0f; text-align: center; }
.pf-hero-inner { max-width: 920px; margin: 0 auto; }
.pf-hero-label {
  display: inline-block; padding: 18px 32px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px; margin-bottom: 36px;
}
.pf-hero-label-en {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 700; color: #C9A84C;
  letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 8px; opacity: 0.85;
}
.pf-hero-label-kr {
  display: block; font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem; font-weight: 700; color: #C9A84C; line-height: 1.5;
}
.pf-hero-h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800; line-height: 1.3; color: #e8e8f0;
  margin-bottom: 20px; letter-spacing: -0.015em;
}
.pf-hero-h1 .accent { color: #C9A84C; }
.pf-hero-subtxt {
  font-size: 1.05rem; color: #a8a8b8; line-height: 1.85; margin-bottom: 32px;
}
.pf-counter {
  display: inline-flex; padding: 16px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; flex-wrap: wrap; justify-content: center;
}
.pf-counter-item {
  padding: 0 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.pf-counter-item:last-child { border-right: none; }
.pf-counter-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: #C9A84C; line-height: 1;
}
.pf-counter-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 600; color: #a8a8b8;
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px;
}

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pf-card {
  display: block; background: #16161f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.pf-card.is-clickable:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.pf-card.is-disabled { cursor: not-allowed; opacity: 0.85; }

.pf-card-thumb {
  position: relative; width: 100%; aspect-ratio: 16/10;
  background: #0a0a0f; overflow: hidden;
}
.pf-card-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.pf-card.is-clickable:hover .pf-card-thumb img { transform: scale(1.05); }
.pf-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16161f 0%, #1a1a25 100%);
  color: #5a5a7a; font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em;
  text-align: center; padding: 0 12px;
}
.pf-card-thumb-placeholder.confidential {
  background: repeating-linear-gradient(
    -45deg, #16161f, #16161f 14px,
    rgba(201,168,76,0.04) 14px, rgba(201,168,76,0.04) 28px
  );
  color: #7a7a9a;
}

.pf-card-body { padding: 24px 24px 28px; }
.pf-card-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  border-radius: 4px; text-transform: uppercase; margin-bottom: 18px;
}
.pf-card-status.completed {
  background: rgba(201,168,76,0.12); color: #C9A84C;
  border: 1px solid rgba(201,168,76,0.3);
}
.pf-card-status.completed::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #C9A84C;
}
.pf-card-status.progress {
  background: rgba(78,205,196,0.12); color: #4ECDC4;
  border: 1px solid rgba(78,205,196,0.3);
}
.pf-card-status.progress::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ECDC4;
  animation: pf-pulse 2s ease-in-out infinite;
}
.pf-card-status.confidential {
  background: rgba(255,255,255,0.04); color: #7a7a9a;
  border: 1px solid rgba(255,255,255,0.1);
}
.pf-card-status.confidential::before { content: '🔒'; font-size: 0.85rem; }
@keyframes pf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.pf-card-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.18rem; font-weight: 800; color: #e8e8f0;
  margin-bottom: 14px; line-height: 1.4; letter-spacing: -0.01em;
}
.pf-card.is-disabled .pf-card-title { color: #a8a8b8; }
.pf-card-desc {
  font-size: 0.92rem; color: #a8a8b8; line-height: 1.7; margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pf-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Montserrat', sans-serif; font-size: 0.78rem; color: #7a7a9a;
}
.pf-card-meta-info {
  display: flex; gap: 10px; flex-wrap: wrap; letter-spacing: 0.04em;
}
.pf-card-meta-info span:not(:last-child)::after {
  content: '·'; margin-left: 10px; color: #5a5a7a;
}
.pf-card-meta-arrow {
  color: #C9A84C; font-size: 1rem; transition: transform 0.3s ease;
}
.pf-card.is-clickable:hover .pf-card-meta-arrow { transform: translateX(4px); }

@media (max-width: 1024px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .pf-hero { padding: 56px 0 56px; }
  .pf-hero-label { padding: 14px 22px; margin-bottom: 32px; }
  .pf-hero-label-en { font-size: 0.65rem; letter-spacing: 0.18em; }
  .pf-hero-label-kr { font-size: 0.88rem; }
  .pf-hero-h1 { font-size: 1.85rem; line-height: 1.35; }
  .pf-counter-item { padding: 0 16px; }
  .pf-grid { grid-template-columns: 1fr; gap: 20px; }
  .pf-card-body { padding: 20px 20px 24px; }
}

/* ============================================================================
   BLOG LIST (page-blog.php)
   ============================================================================ */
.bl-hero { padding: 160px 0 120px; background: #0a0a0f; text-align: center; }
.bl-hero-inner { max-width: 920px; margin: 0 auto; }
.bl-hero-label {
  display: inline-block; padding: 18px 32px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px; margin-bottom: 36px;
}
.bl-hero-label-en {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 700; color: #C9A84C;
  letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 8px; opacity: 0.85;
}
.bl-hero-label-kr {
  display: block; font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem; font-weight: 700; color: #C9A84C; line-height: 1.5;
}
.bl-hero-h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800; line-height: 1.3; color: #e8e8f0;
  margin-bottom: 20px; letter-spacing: -0.015em;
}
.bl-hero-h1 .accent { color: #C9A84C; }
.bl-hero-subtxt {
  font-size: 1.05rem; color: #a8a8b8; line-height: 1.85;
}

.bl-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 48px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bl-cat-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bl-cat-btn {
  padding: 8px 18px; background: transparent;
  border: 1px solid rgba(255,255,255,0.1); color: #a8a8b8;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  border-radius: 100px; cursor: pointer;
  transition: all 0.2s ease;
}
.bl-cat-btn:hover { border-color: rgba(78,205,196,0.4); color: #4ECDC4; }
.bl-cat-btn.is-active {
  background: rgba(78,205,196,0.12);
  border-color: #4ECDC4; color: #4ECDC4;
}
.bl-cat-btn .count { margin-left: 6px; font-size: 0.78rem; color: #7a7a9a; }
.bl-cat-btn.is-active .count { color: #4ECDC4; opacity: 0.8; }

.bl-search { position: relative; width: 280px; max-width: 100%; }
.bl-search-input {
  width: 100%; padding: 10px 16px 10px 40px;
  background: #16161f; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: #e8e8f0; font-size: 0.92rem;
  transition: border-color 0.2s ease;
}
.bl-search-input:focus { outline: none; border-color: #C9A84C; }
.bl-search-input::placeholder { color: #5a5a7a; }
.bl-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #7a7a9a; font-size: 0.92rem; pointer-events: none;
}

.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bl-card {
  display: block; background: #16161f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.bl-card.is-hidden { display: none; }
.bl-card.bl-card-placeholder {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}
.bl-card.bl-card-placeholder:hover {
  transform: none;
  border-color: rgba(255,255,255,0.07);
  box-shadow: none;
}
.bl-card.bl-card-placeholder::after {
  content: '연재 예정';
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(10,10,15,0.85);
  border: 1px solid rgba(201,168,76,0.3);
  color: #C9A84C;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.bl-card-thumb {
  position: relative; width: 100%; aspect-ratio: 16/10;
  background: #0a0a0f; overflow: hidden;
}
.bl-card-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.bl-card:hover .bl-card-thumb img { transform: scale(1.05); }
.bl-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16161f 0%, #1a1a25 100%);
  color: #5a5a7a; font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; text-align: center;
}

.bl-card-body { padding: 24px 24px 28px; }
.bl-card-cat {
  display: inline-block; padding: 5px 12px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; border-radius: 100px;
  margin-bottom: 14px; border: 1px solid;
}
.bl-card-cat.cat-marketing {
  background: rgba(201,168,76,0.1); color: #C9A84C;
  border-color: rgba(201,168,76,0.3);
}
.bl-card-cat.cat-industry {
  background: rgba(78,205,196,0.1); color: #4ECDC4;
  border-color: rgba(78,205,196,0.3);
}
.bl-card-cat.cat-lecture {
  background: rgba(155,89,182,0.12); color: #c39bd3;
  border-color: rgba(155,89,182,0.3);
}
.bl-card-cat.cat-management {
  background: rgba(255,154,108,0.1); color: #ff9a6c;
  border-color: rgba(255,154,108,0.3);
}

/* === 글 0개 빈 상태 === */
.bl-no-posts {
  max-width: 720px;
  margin: 60px auto 80px;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, rgba(78,205,196,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 16px;
  text-align: center;
}
.bl-no-posts-icon {
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 20px;
}
.bl-no-posts-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: #e8e8f0; margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.bl-no-posts-sub {
  font-size: 0.98rem; color: #a8a8b8;
  line-height: 1.85; margin: 0 0 32px;
}
.bl-no-posts-cats {
  margin-top: 36px;
  padding: 28px 28px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-align: left;
}
.bl-no-posts-cats strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: #C9A84C; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.bl-no-posts-cats ul {
  list-style: none; padding: 0; margin: 0;
}
.bl-no-posts-cats li {
  padding: 10px 0;
  font-size: 0.95rem; color: #d8d8e0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bl-no-posts-cats li:last-child { border-bottom: none; }
.bl-no-posts-cat-desc {
  font-weight: 400;
  color: #888892;
  font-size: 0.88rem;
}

@media (max-width: 768px) {
  .bl-no-posts { padding: 40px 20px; margin: 40px 0 60px; }
  .bl-no-posts-icon { font-size: 2.4rem; }
  .bl-no-posts-title { font-size: 1.25rem; }
  .bl-no-posts-cats { padding: 20px 18px; }
}
.bl-card-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.15rem; font-weight: 800; color: #e8e8f0;
  margin-bottom: 14px; line-height: 1.4; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card-desc {
  font-size: 0.92rem; color: #a8a8b8; line-height: 1.7; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card-meta {
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; color: #7a7a9a; letter-spacing: 0.04em;
}

.bl-empty {
  text-align: center; padding: 80px 24px;
  color: #7a7a9a; font-size: 1rem; display: none;
}
.bl-empty.is-visible { display: block; }
.bl-empty strong { color: #C9A84C; }

.bl-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 64px; flex-wrap: wrap;
}
.bl-pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.1);
  color: #a8a8b8; font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  border-radius: 6px; text-decoration: none;
  transition: all 0.2s ease;
}
.bl-pagination .page-numbers:hover { border-color: rgba(201,168,76,0.4); color: #C9A84C; }
.bl-pagination .page-numbers.current {
  background: #C9A84C; border-color: #C9A84C; color: #0a0a0f;
}

@media (max-width: 1024px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .bl-hero { padding: 56px 0 56px; }
  .bl-hero-label { padding: 14px 22px; margin-bottom: 32px; }
  .bl-hero-h1 { font-size: 1.85rem; }
  .bl-filter-bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .bl-search { width: 100%; }
  .bl-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================================
   PORTFOLIO DETAIL (single-portfolio.php)
   ============================================================================ */
.pd-crumb {
  padding: 100px 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; color: #7a7a9a; letter-spacing: 0.04em;
}
.pd-crumb a { color: #a8a8b8; transition: color 0.2s; }
.pd-crumb a:hover { color: #C9A84C; }
.pd-crumb-sep { margin: 0 10px; color: #5a5a7a; }

.pd-hero {
  padding: 100px 0 60px;
  background: #0a0a0f;
  text-align: center;
  min-height: 520px;
}
/* Hero 그라데이션 (배경 이미지 대신) — 은은한 보라 다크 톤 */
.pd-hero.pd-hero-gradient {
  background: linear-gradient(135deg,
    #0a0a0f 0%,
    #15131f 35%,
    #1c1828 65%,
    #15131f 100%
  );
  position: relative;
  overflow: hidden;
}
.pd-hero.pd-hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.pd-hero.pd-hero-gradient::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(78,205,196,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.pd-hero.pd-hero-gradient .sy-wrap-narrow { position: relative; z-index: 1; }
.pd-hero-inner { max-width: 820px; margin: 0 auto; }

/* === 사진 세로 스택 패널 (미팅 / 결과물) === */
.pd-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.pd-photo-item {
  margin: 0;
  background: #16161f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pd-photo-item:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-2px);
}
.pd-photo-wrap {
  position: relative;
  width: 100%;
  background: #0a0a0f;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.pd-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pd-photo-item:hover .pd-photo-wrap img { transform: scale(1.02); }
.pd-photo-cap {
  padding: 16px 24px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.92rem;
  color: #c8c8d0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .pd-photo-stack { gap: 20px; }
  .pd-photo-cap { padding: 12px 18px; font-size: 0.85rem; }
}
.pd-hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(201,168,76,0.12);
  color: #C9A84C; border: 1px solid rgba(201,168,76,0.3);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.15em;
  border-radius: 4px; text-transform: uppercase; margin-bottom: 28px;
}
.pd-hero-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #C9A84C;
}
.pd-hero-h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.3; color: #e8e8f0;
  margin-bottom: 24px; letter-spacing: -0.015em;
}
.pd-hero-h1 .accent { color: #C9A84C; }
.pd-hero-subtxt {
  font-size: 1.05rem; color: #a8a8b8; line-height: 1.85; margin-bottom: 36px;
}
.pd-hero-meta {
  display: flex; justify-content: center; padding: 20px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; flex-wrap: wrap; gap: 0;
}
.pd-meta-item {
  padding: 0 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.pd-meta-item:first-child { padding-left: 0; }
.pd-meta-item:last-child { border-right: none; padding-right: 0; }
.pd-meta-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 600; color: #7a7a9a;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
}
.pd-meta-value {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.92rem; font-weight: 700; color: #e8e8f0;
}

.pd-hero-image-section { padding: 0 0 80px; background: #0a0a0f; }
.pd-hero-image {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.pd-hero-image img { width: 100%; height: auto; display: block; }
.pd-image-placeholder {
  background: linear-gradient(135deg, #16161f 0%, #1a1a25 100%);
  padding: 80px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 280px;
}
.pd-image-placeholder strong {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 800; color: #C9A84C;
  letter-spacing: 0.2em; margin-bottom: 14px;
}
.pd-image-placeholder span {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.88rem; color: #7a7a9a; line-height: 1.7;
}

.pd-sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.pd-sec-label {
  display: inline-block; color: #4ECDC4;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.25em; font-weight: 700;
  margin-bottom: 18px; text-transform: uppercase;
}
.pd-sec-h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800; line-height: 1.4; color: #e8e8f0; margin-bottom: 16px;
}
.pd-sec-sub {
  font-size: 1rem; color: #a8a8b8; line-height: 1.85;
}

/* Before/After */
.pd-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pd-ba-col {
  padding: 32px 28px;
  background: #16161f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}
.pd-ba-col.after { border-color: rgba(201,168,76,0.3); }
.pd-ba-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 20px;
}
.pd-ba-col.before .pd-ba-label { color: #7a7a9a; }
.pd-ba-col.after .pd-ba-label { color: #C9A84C; }
.pd-ba-list { list-style: none; padding: 0; margin: 0; }
.pd-ba-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem; line-height: 1.7;
  position: relative; padding-left: 18px;
}
.pd-ba-list li:last-child { border-bottom: none; }
.pd-ba-col.before .pd-ba-list li { color: #a8a8b8; }
.pd-ba-col.before .pd-ba-list li::before {
  content: '·'; position: absolute; left: 0; color: #5a5a7a;
}
.pd-ba-col.after .pd-ba-list li { color: #e8e8f0; }
.pd-ba-col.after .pd-ba-list li::before {
  content: '✓'; position: absolute; left: 0; color: #C9A84C; font-weight: 700;
}

/* 4단계 진행 — 간소화 버전 */
.pd-step-list { display: flex; flex-direction: column; gap: 32px; max-width: 760px; margin: 0 auto; }
.pd-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 28px; background: #16161f;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
  transition: border-color 0.3s ease;
}
.pd-step:hover { border-color: rgba(201,168,76,0.3); }
.pd-step-num-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201,168,76,0.12); border: 2px solid #C9A84C;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: #C9A84C;
}
.pd-step-content {}
.pd-step-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 10px;
}
.pd-step-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 700; color: #4ECDC4;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.pd-step-name {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.15rem; font-weight: 800; color: #e8e8f0;
}
.pd-step-week {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 600; color: #7a7a9a;
  letter-spacing: 0.08em; margin-left: auto;
}
.pd-step-lead {
  font-size: 0.95rem; color: #c8c8d0; line-height: 1.75;
}

/* Result Box */
.pd-result-box {
  margin-top: 56px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(78,205,196,0.03) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 12px;
}
.pd-result-head {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.05rem; font-weight: 800; color: #C9A84C;
  margin-bottom: 18px;
}
.pd-result-list { list-style: none; padding: 0; margin: 0; }
.pd-result-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem; color: #d8d8e0; line-height: 1.75;
}
.pd-result-list li:last-child { border-bottom: none; }
.pd-result-list li strong { color: #e8e8f0; }

/* External CTA */
.pd-external-cta {
  margin-top: 56px; padding: 36px 28px; text-align: center;
  background: rgba(78,205,196,0.04);
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 12px;
}
.pd-external-cta-domain {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 700; color: #4ECDC4;
  letter-spacing: 0.2em; margin-bottom: 14px;
}
.pd-external-cta h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.25rem; font-weight: 800; color: #e8e8f0;
  line-height: 1.5; margin-bottom: 12px;
}
.pd-external-cta p {
  font-size: 0.92rem; color: #a8a8b8; margin-bottom: 24px; line-height: 1.7;
}

.pd-nav-cases {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap; gap: 16px;
}
.pd-nav-back {
  color: #C9A84C; font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95rem; font-weight: 700; transition: transform 0.2s ease;
}
.pd-nav-back:hover { transform: translateX(-4px); }

.pd-fade {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.pd-fade.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .pd-crumb { padding: 24px 0 12px; }
  .pd-hero { padding: 16px 0 48px; }
  .pd-hero-h1 { font-size: 1.6rem; line-height: 1.4; }
  .pd-hero-subtxt { font-size: 0.95rem; }
  .pd-hero-meta { padding: 12px 8px; gap: 4px; }
  .pd-meta-item { padding: 8px 10px; flex: 1 0 40%; border-right: none; }
  .pd-meta-value { font-size: 0.85rem; }
  .pd-hero-image-section { padding: 0 0 48px; }
  .pd-image-placeholder { padding: 48px 24px; min-height: 200px; }
  .pd-ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .pd-ba-col { padding: 24px 20px; }
  .pd-step { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .pd-step-num-circle { width: 48px; height: 48px; font-size: 1rem; }
  .pd-sec-h2 { font-size: 1.4rem; }
  .pd-result-box { padding: 28px 20px; }
  .pd-external-cta { padding: 28px 20px; }
  .pd-external-cta h3 { font-size: 1.1rem; }
}

/* fade animations 공통 */
.pf-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.pf-fade.is-visible { opacity: 1; transform: translateY(0); }
.bl-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.bl-fade.is-visible { opacity: 1; transform: translateY(0); }

/* Hero 영역의 fade 클래스는 첫 진입 시 즉시 보이게 — IntersectionObserver 실패 대비 안전망 */
.pd-hero .pd-fade,
.pd-hero-image-section .pd-fade {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================================================
   v2.4.0 — 포트폴리오 고객군 필터 & 뱃지 (정부지원사업 / 기업 / 개인)
   ============================================================================ */

/* 필터 탭 */
.pf-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 48px;
  padding: 0;
}
.pf-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #a8a8b8 !important;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  letter-spacing: -0.005em;
}
.pf-filter-tab:hover {
  color: #e8e8f0 !important;
  border-color: rgba(201,168,76,0.45);
  background: rgba(201,168,76,0.06);
}
.pf-filter-tab.is-active {
  color: #0a0a0f !important;
  background: #C9A84C !important;
  border-color: #C9A84C !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .pf-filter {
    gap: 6px;
    margin: 0 0 32px;
    padding: 0 8px;
  }
  .pf-filter-tab {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* 카드 뱃지 (status + client_type 가로 정렬) */
.pf-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.pf-card-clienttype {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ECDC4;
  background: rgba(78,205,196,0.10);
  border: 1px solid rgba(78,205,196,0.30);
  border-radius: 4px;
  letter-spacing: -0.005em;
}

/* 카드 내부 마진 정리 — .pf-card-status가 margin-bottom 가졌을 경우 중복 방지 */
.pf-card-tags .pf-card-status {
  margin-bottom: 0;
}

/* 상세 페이지 hero 뱃지 (status + client_type) */
.pd-hero-tags {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.pd-hero-tags .pd-hero-status {
  margin-bottom: 0;
}
.pd-hero-clienttype {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4ECDC4;
  background: rgba(78,205,196,0.10);
  border: 1px solid rgba(78,205,196,0.30);
  border-radius: 4px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .pd-hero-tags { gap: 6px; margin-bottom: 20px; }
  .pd-hero-clienttype { padding: 5px 10px; font-size: 0.68rem; }
}

/* ============================================================================
   v2.5.0 — Before/After → 시작 배경 & 클라이언트 동기 섹션
   ============================================================================ */

/* 시작 배경 섹션 */
.pd-background-box {
  background: #16161f;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
}

.pd-background-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #e8e8f0;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.pd-background-context {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95rem;
  color: #a8a8b8;
  line-height: 1.85;
  margin-bottom: 32px;
}

.pd-background-quote {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #C9A84C;
  border-left: 3px solid #C9A84C;
  padding-left: 20px;
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pd-background-box {
    padding: 32px 24px;
  }
  .pd-background-title {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }
  .pd-background-context {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .pd-background-quote {
    font-size: 0.95rem;
    padding-left: 16px;
  }
}

/* Before/After 섹션 제거됨 (v2.5.0) — 관련 CSS (.pd-ba-*) 삭제 가능 */
