@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=East+Sea+Dokdo&family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

/* ══════════════════════════════════════
   CSS VARIABLES  (original blue theme)
══════════════════════════════════════ */
:root {
  --blue:       #4D8DAD;
  --blue-lt:    #7BB4CC;
  --blue-bg:    #EEF6FA;
  --blue-dim:   rgba(77,141,173,0.15);
  --navy:       #1E3A4C;
  --dark:       #222222;
  --mid:        #6B8999;
  --light:      #AABBCC;
  --bg:         #FFFFFF;
  --bg-off:     #F8FBFC;
  --bg-gray:    #F5F5F5;
  --border:     #D4E5ED;
  --border-lt:  #E2F0F7;
  --danger:     #CC4444;
}

/* ══════════════════════════════════════
   RESET (scoped)
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.a2 {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.a2 a      { text-decoration: none; color: inherit; }
.a2 ul     { list-style: none; }
.a2 button { cursor: pointer; border: none; background: none; font-family: inherit; }
.a2 img    { max-width: 100%; display: block; }
.a2 .sns-icon img { display: inline-block; }

/* ── 검은 상단 여백 제거 ── */
body.a2         { padding-top: 0 !important; }
body.a2 #header { position: fixed; top: 0; }

/* ══════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════ */
.a2-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.a2-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--blue-lt);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

/* ══════════════════════════════════════
   FADE-UP ANIMATION
══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1      { transition-delay: 0.10s; }
.fade-up.d2      { transition-delay: 0.20s; }
.fade-up.d3      { transition-delay: 0.30s; }
.fade-up.d4      { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════════════
   ① HERO — 풀스크린 영상 배경
═══════════════════════════════════════════════════ */
.a2-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
}

.a2-hero-video { position: absolute; inset: 0; z-index: 0; }
.a2-hero-video video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}

.a2-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,18,26,0.40) 0%,
    rgba(20,45,64,0.62) 50%,
    rgba(20,45,64,0.88) 100%
  );
}

.a2-hero-body {
  position: relative; z-index: 2;
  width: 100%;
  padding: 100px 20px 64px;
  text-align: center;
}

/* eyebrow */
.a2-hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85em; font-weight: 400;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--blue-lt);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 20px;
}
.a2-hero-eyebrow::before,
.a2-hero-eyebrow::after {
  content: ''; width: 28px; height: 1px;
  background: var(--blue-lt); opacity: 0.55;
}

/* 타이틀 */
.a2-hero-title {
  font-family: 'East Sea Dokdo', cursive;
  font-size: 2.5em; font-weight: 400;
  color: #fff; line-height: 1.55; letter-spacing: 1px;
  margin-bottom: 14px;
}
.a2-hero-serif {
  font-size: 0.85em; font-weight: 300;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
}

/* SAMPLE FILMS 헤더 */
.a2-sf-label {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}
.a2-sf-label::before,
.a2-sf-label::after {
  content: ''; flex: 1; max-width: 72px; height: 1px;
  background: rgba(255,255,255,0.13);
}

/* 영상 그리드 */
.a2-samples-grid {
  display: grid;
  grid-template-columns: 1fr;   /* mobile: 1열 */
  gap: 16px;
  margin-bottom: 32px;
}

/* 배지 */
.a2-sample-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.52em; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: #fff; background: transparent;
  border: 1.5px solid rgba(255,255,255,0.75);
  padding: 2px 10px; border-radius: 20px; margin-bottom: 8px;
}
.a2-sample-badge.cinema { background: transparent; }

/* 클릭형 썸네일 */
.a2-sample-thumb {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  cursor: pointer;
}
.a2-sample-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.a2-sample-thumb:hover img { transform: scale(1.04); }
.a2-sample-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  /* background: rgba(0,0,0,0.1); */
  transition: background 0.2s;
}
.a2-sample-thumb:hover .a2-sample-play { background: rgba(0,0,0,0.38); }
.a2-sample-play i {
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s;
}
.a2-sample-thumb:hover .a2-sample-play i { transform: scale(1.12); }

/* 포트폴리오 버튼 */
.a2-hero-cta-wrap { text-align: center; }
.a2-hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 32px;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff !important;
  font-size: 13px; font-weight: 500; border-radius: 30px; letter-spacing: 0.5px;
  transition: all 0.25s;
}
.a2-hero-cta:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff !important; }
.a2-hero-cta .fa-solid {
  color: #fff !important;
}
/* 스크롤 화살표 */
.a2-scroll-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.28); font-size: 18px;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.28; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.65; }
}

/* ═══════════════════════════════════════════════════
   ② DIRECTOR
═══════════════════════════════════════════════════ */
.a2-director { background: #ffffff !important; padding: 80px 0; }

.a2-dir-grid {
  display: flex; flex-direction: column;
  align-items: center; gap: 36px;
}
.a2-dir-photo-wrap { width: 70%; max-width: 260px; }
.a2-dir-photo {
  width: 100%; border-radius: 16px;
  box-shadow: 0 20px 56px rgba(77,141,173,0.15);
  object-fit: cover; object-position: center top;
}
.a2-dir-text { width: 100%; }

.a2-dir-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 400;
  color: var(--dark); line-height: 1.6;
  margin-bottom: 22px; word-break: keep-all;
}

.a2-dir-quote-wrap {
  padding: 18px 18px 18px 26px;
  border-left: 3px solid var(--blue);
  background: var(--blue-bg);
  border-radius: 0 12px 12px 0;
  margin-bottom: 22px;
}
.a2-dir-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-style: italic;
  color: var(--dark); line-height: 1.85;
}

.a2-dir-desc {
  font-size: 14px; color: var(--mid);
  line-height: 1.95; word-break: keep-all; margin-bottom: 12px;
}
.a2-dir-desc:last-of-type { margin-bottom: 0; }

.a2-dir-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 28px;
}
.a2-stat {
  text-align: center; padding: 14px 6px;
  background: var(--blue-bg); border-radius: 12px;
}
.a2-stat-num {
  display: block;
  font-family: 'Poppins', 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--blue); line-height: 1.2; margin-bottom: 4px;
}
.a2-stat-lbl { font-size: 11px; color: var(--mid); line-height: 1.4; }

/* ═══════════════════════════════════════════════════
   ③ DIFFERENCE — 5개 개별 카드
═══════════════════════════════════════════════════ */
.a2-diff { background: var(--blue-bg); padding: 80px 0; }

.a2-diff-head { text-align: center; margin-bottom: 36px; }

.a2-diff-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400;
  color: var(--dark); margin-bottom: 8px; word-break: keep-all;
}
.a2-diff-sub { font-size: 13px; color: var(--mid); }

/* ── 5개 카드 스택 ── */
.a2-diff-cards { display: flex; flex-direction: column; gap: 14px; }

/* 개별 카드 */
.a2-diff-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(77,141,173,0.08);
  border: 1px solid var(--border-lt);
}

/* 카드 헤더 */
.a2-diff-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: #F5FAFE;
  border-bottom: 1px solid var(--border-lt);
  font-size: 0.7em; font-weight: 700; color: #3a6e8a;
}
.a2-diff-card-num {
  width: 24px; height: 24px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7em; font-weight: 700; flex-shrink: 0;
}
.a2-diff-card-icon { color: var(--blue); font-size: 15px; }

/* 카드 바디: 2열 */
.a2-diff-card-body { display: grid; grid-template-columns: 1fr 1fr; }

.a2-diff-col {
  padding: 14px 14px;
}
.a2-diff-col.mare {
  background: #fff;
  border-left: 3px solid var(--blue);
  border-right: 1px solid var(--border);
}
.a2-diff-col.other { background: #F8F8F8; }

/* 컬럼 타이틀 */
.a2-diff-col-title {
  font-size: 0.7em; font-weight: 700;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 5px;
}
.a2-diff-col.mare  .a2-diff-col-title { color: var(--blue); }
.a2-diff-col.other .a2-diff-col-title { color: #aaa; }

/* 리스트 */
.a2-diff-col ul li {
  font-size: 0.7em; line-height: 1.75;
  display: flex; align-items: flex-start; gap: 5px;
  word-break: keep-all;
}
.a2-diff-col.mare ul li          { color: var(--dark); }
.a2-diff-col.mare ul li::before  { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.a2-diff-col.other ul li         { color: #999; }
.a2-diff-col.other ul li::before { content: '✗'; color: var(--danger); flex-shrink: 0; margin-top: 1px; }

/* 주석 */
.a2-diff-note {
  display: block; font-size: 11px; font-weight: 600;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--border); word-break: keep-all;
  line-height: 1.5;
}
.a2-diff-col.mare  .a2-diff-note { color: var(--blue); }
.a2-diff-col.other .a2-diff-note { color: var(--danger); border-top-color: rgba(204,68,68,0.2); }

/* 비용 강조 */
.a2-cost { color: var(--danger) !important; font-weight: 600; }

/* 마지막 카드 CTA 행 */
.a2-diff-card-cta {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--border-lt);
  border-left: 3px solid var(--blue);
}
.a2-diff-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; width: 100%;
  background: var(--blue); color: #fff !important;
  font-size: 13px; font-weight: 600; border-radius: 8px;
  transition: background 0.2s;
}
.a2-diff-cta-btn:hover { background: #3a7191; color: #fff !important; }

/* ═══════════════════════════════════════════════════
   ④ PROCESS
═══════════════════════════════════════════════════ */
.a2-process { background: var(--bg); padding: 80px 0; }
.a2-process-head { text-align: center; margin-bottom: 48px; }

.a2-process-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400;
  color: var(--dark); word-break: keep-all;
}

/* ── 모바일: 세로 타임라인 ── */
.a2-timeline { position: relative; padding-left: 52px; }
.a2-timeline::before {
  content: ''; position: absolute;
  left: 18px; top: 18px; bottom: 18px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--blue-lt));
  border-radius: 2px;
}
.a2-step { position: relative; margin-bottom: 18px; }
.a2-step:last-child { margin-bottom: 0; }

.a2-step-dot {
  position: absolute; left: -46px; top: 16px;
  width: 36px; height: 36px;
  background: var(--bg);
  border: 2px solid var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--blue);
  box-shadow: 0 0 0 4px rgba(77,141,173,0.10);
}
.a2-step-card {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.a2-step-icon { font-size: 20px; color: var(--blue-lt); margin-bottom: 7px; }
.a2-step-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.a2-step-card p  { font-size: 13px; color: var(--mid); line-height: 1.75; word-break: keep-all; }
.a2-step-card em { font-style: normal; color: var(--blue); font-size: 12px; font-weight: 600; }

/* 선전달 배지 */
.a2-process-badge-wrap { text-align: center; margin-top: 32px; }
.a2-process-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 24px;
  background: var(--blue-bg);
  border: 1.5px solid var(--blue);
  border-radius: 30px;
  font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════
   ⑤ CTA
═══════════════════════════════════════════════════ */
.a2-cta {
  background: var(--blue-bg);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.a2-cta::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, var(--blue), var(--blue-lt), var(--blue), transparent);
}

.a2-cta-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(77,141,173,0.12);
  border: 1px solid rgba(77,141,173,0.30);
  color: var(--blue);
  font-size: 12px; font-weight: 500;
  padding: 6px 20px; border-radius: 20px;
  margin-bottom: 28px; letter-spacing: 0.5px; word-break: keep-all;
}

.a2-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 300;
  color: var(--navy); line-height: 1.8;
  margin-bottom: 44px; word-break: keep-all;
}
.a2-cta-title strong { color: var(--blue); font-weight: 600; }

/* 버튼 3개 */
.a2-cta-btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.a2-cta-btn-main {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; background: var(--blue); color: #fff !important;
  font-size: 14px; font-weight: 600; border-radius: 30px;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(77,141,173,0.25);
}
.a2-cta-btn-main:hover { background: #5A9EC0; transform: translateY(-2px); color: #fff !important; }

.a2-cta-btn-sub {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border: 1.5px solid rgba(77,141,173,0.45);
  color: var(--blue) !important;
  font-size: 14px; font-weight: 500; border-radius: 30px; transition: all 0.2s;
}
.a2-cta-btn-sub:hover {
  background: rgba(77,141,173,0.10);
  border-color: var(--blue); color: var(--navy) !important;
}

/* 긴급 문구 pulse */
.a2-cta-urgency {
  font-size: 13px; color: var(--mid);
  line-height: 1.75; word-break: keep-all;
  animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   영상 팝업 모달
═══════════════════════════════════════════════════ */
.a2-modal {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  align-items: center; justify-content: center;
}
.a2-modal.active { display: flex; }
.a2-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.90);
}
.a2-modal-box {
  position: relative; z-index: 1;
  width: 92%; max-width: 900px;
}
.a2-modal-close {
  position: absolute; top: -44px; right: 0;
  color: rgba(255,255,255,0.75); font-size: 26px;
  cursor: pointer; background: none; border: none;
  transition: color 0.2s;
}
.a2-modal-close:hover { color: #fff; }
.a2-modal-video {
  position: relative; padding-top: 56.25%;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}
.a2-modal-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}

/* ═══════════════════════════════════════════════════
   모바일 플로팅 바
═══════════════════════════════════════════════════ */
.a2-fbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 64px; background: #fff;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
  padding: 8px 16px;
  align-items: center; gap: 10px; z-index: 9000;
  opacity: 0; transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}
.a2-fbar.visible { opacity: 1; transform: translateY(0); }

.a2-fbar-kakao {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 48px; background: var(--blue);
  color: #fff; font-size: 14px; font-weight: 600; border-radius: 10px;
}
.a2-fbar-phone {
  width: 48px; height: 48px;
  background: var(--blue-bg); border: 1px solid var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.a2-fbar-phone i { color: var(--blue); font-size: 18px; }

/* ═══════════════════════════════════════════════════
   TABLET 768px+
═══════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .a2-hero-title     { font-size: 3.2em; }
  .a2-hero-body      { padding: 120px 32px 80px; }
  .a2-samples-grid   { grid-template-columns: calc(50% - 10px) calc(50% - 10px); gap: 20px; }

  .a2-dir-grid       { flex-direction: row; align-items: flex-start; gap: 52px; }
  .a2-dir-photo-wrap { width: 280px; flex-shrink: 0; }
  .a2-dir-text       { flex: 1; }
  .a2-dir-title      { font-size: 1.5em; }

  .a2-fbar           { display: flex; }
  body               { padding-bottom: 64px; }
}

/* ═══════════════════════════════════════════════════
   DESKTOP 1200px+
═══════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .a2-hero-title  { font-size: 4.2em; }
  .a2-hero-body   { padding: 80px 40px 80px; max-width: 1200px; margin: 0 auto; }

  /* 가로 타임라인 */
  .a2-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; padding-left: 0; padding-top: 52px;
  }
  .a2-timeline::before {
    top: 18px; left: 12.5%; right: 12.5%; bottom: auto;
    height: 2px; width: auto;
    background: linear-gradient(to right, var(--blue), var(--blue-lt));
  }
  .a2-step {
    margin-bottom: 0; padding: 0 12px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .a2-step-dot    { position: relative; left: auto; top: auto; transform: translateY(-52px); margin-bottom: -36px; background: var(--bg); }
  .a2-step-card   { text-align: center; width: 100%; }
  .a2-step-icon   { text-align: center; }

  /* CTA 버튼 가로 */
  .a2-cta-btns              { flex-direction: row; justify-content: center; gap: 16px; }
  .a2-cta-btn-main,
  .a2-cta-btn-sub           { flex: 0 1 220px; }

  .a2-fbar                  { display: none !important; }
  body                      { padding-bottom: 0; }
}
