
/* ───────────────────────────────────────────────
   styles.css L6017-6188 — section--cta-ink dark CTA + poster wall + btn--cta-orange/ghost
   ─────────────────────────────────────────────── */
/* ai-video.php exclusive — focused dark CTA */
.section--cta-ink {
  padding-block: 160px;
  background: var(--ink-900, #1A1714);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.block_cta_factory__ink-inner {
  max-width: 560px;
  margin: 0;
  text-align: left;
  position: relative;
  z-index: 2;
}
.section--cta-ink .container { max-width: var(--container-max, 1280px); }

/* Netflix-style poster wall background */
.block_cta_factory__ink-wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-block: 14px;
  pointer-events: none;
  opacity: 0.85;
  filter: saturate(0.9) brightness(0.95);
}
.block_cta_factory__ink-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(26,23,20,0.96) 0%,
      rgba(26,23,20,0.92) 38%,
      rgba(26,23,20,0.55) 62%,
      rgba(26,23,20,0.22) 88%,
      rgba(26,23,20,0.55) 100%),
    linear-gradient(to bottom, rgba(26,23,20,0.55) 0%, rgba(26,23,20,0.15) 35%, rgba(26,23,20,0.15) 65%, rgba(26,23,20,0.45) 100%);
  z-index: 1;
}
.block_cta_factory__ink-wall-row {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.block_cta_factory__ink-wall-track {
  display: flex;
  gap: 12px;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: ctaWallScroll 180s linear infinite;
}
.block_cta_factory__ink-wall-row--1 .block_cta_factory__ink-wall-track {
  animation-direction: reverse;
  animation-duration: 220s;
}
.block_cta_factory__ink-wall-row--2 .block_cta_factory__ink-wall-track {
  animation-duration: 260s;
}
.block_cta_factory__ink-wall-tile {
  flex: 0 0 auto;
  width: 220px;
  height: 100%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #2a2724;
}
@keyframes ctaWallScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .block_cta_factory__ink-wall-track { animation: none; }
}
@media (max-width: 760px) {
  .block_cta_factory__ink-wall { gap: 10px; opacity: 0.28; }
  .block_cta_factory__ink-wall-tile { width: 140px; border-radius: 8px; }
}
.block_cta_factory__ink-title {
  font-family: var(--font-kr);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--white);
  margin: 0 0 24px;
}
.block_cta_factory__ink-title em {
  font-style: normal;
  color: var(--orange-700, #E8642C);
  font-weight: 800;
}
.block_cta_factory__ink-sub {
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 36px;
  max-width: 60ch;
}
.block_cta_factory__ink-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 0 40px;
}
.btn--cta-orange {
  background: var(--orange-700, #E8642C) !important;
  color: var(--white) !important;
  border-color: var(--orange-700, #E8642C) !important;
  font-weight: 700;
}
.block_cta_factory__ink-bullets {
  list-style: none;
  margin: 0; padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-kr);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.block_cta_factory__ink-bullets li::before {
  content: "—";
  margin-right: 8px;
  color: var(--orange-700, #E8642C);
}
.block_cta_factory__ink-bullets strong {
  color: var(--white);
  font-weight: 700;
  margin-left: 4px;
}
@media (max-width: 720px) {
  .section--cta-ink { padding-block: 64px; }
  .block_cta_factory__ink-title { font-size: 32px; }
  .block_cta_factory__ink-sub { font-size: 15px; }
  .block_cta_factory__ink-bullets { gap: 16px; font-size: 12.5px; }
}


/* ───────────────────────────────────────────────
   styles.css L7726-7853 — factory bottom bar 슬라이딩 sticky CTA
   ─────────────────────────────────────────────── */
/* ============================================================
   Factory bottom bar (sliding sticky CTA — production parity)
   Source: sadarifilm.com factory.css
   ============================================================ */
.bl_factory-bottombar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 2px solid #d48a8a;
  padding: 10px clamp(20px, 3vw, 40px);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bl_factory-bottombar.is_visible { transform: translateY(0); }
.bl_factory-bottombar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-900);
  font-size: 14px;
  flex: 1;
  min-width: 0;
}
.bl_factory-bottombar-left strong { font-weight: 700; }
.bl_factory-bottombar-text {
  flex: 1;
  min-width: 0;
  height: 52px;
  position: relative;
  overflow: hidden;
}
.bl_factory-bottombar-text > span {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  inset: 0;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1.4;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}
.bl_factory-bottombar-text > span.enter { transform: translateY(0); opacity: 1; }
.bl_factory-bottombar-text > span.exit  { transform: translateY(-100%); opacity: 0; }
.bl_factory-bottombar-text em { font-style: normal; font-weight: 700; }
.bl_factory-bottombar-text b  { font-weight: 400; }
.bl_factory-bottombar-text .bar-review__quote {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bl_factory-bottombar-text .bar-review__quote em {
  font-weight: 700;
  font-style: normal;
}
.bl_factory-bottombar-text .bar-review__meta {
  margin-left: 10px;
  color: var(--ink-500);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.bl_factory-bottombar-text img {
  height: 48px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
  margin: 0 6px;
  object-fit: contain;
  background: var(--white);
}
.bl_factory-bottombar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8604c;
  flex-shrink: 0;
  position: relative;
  margin-left: 12px;
  margin-right: 4px;
}
.bl_factory-bottombar-dot::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #e8604c;
  animation: bottombarPulse 2s ease-out infinite;
}
@keyframes bottombarPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(3.5); opacity: 0; }
}
.bl_factory-bottombar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.bl_factory-bottombar-cta {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .bl_factory-bottombar { flex-direction: column; padding: 8px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); gap: 4px; }
  .bl_factory-bottombar-left { font-size: 11px; gap: 6px; color: var(--ink-500); width: 100%; align-items: center; }
  .bl_factory-bottombar-dot { width: 6px; height: 6px; margin-left: 0; margin-right: 4px; flex-shrink: 0; }
  .bl_factory-bottombar-text { height: 1.4em; font-size: 11px; }
  .bl_factory-bottombar-text > span { font-size: 11px; font-weight: 400; gap: 4px; }
  .bl_factory-bottombar-text img { display: none; }
  .bl_factory-bottombar-text em { font-weight: 600; font-size: 11px; }
  .bl_factory-bottombar-right { width: 100%; }
  .bl_factory-bottombar-cta { width: 100%; text-align: center; padding: 10px; font-size: 14px; font-weight: 600; border-radius: 6px; }
}

/* ───────────────────────────────────────────────
   WP 추가 — project 랜덤 타일: 원본 비율 유지 (행 높이 고정, 폭 자동)
   ─────────────────────────────────────────────── */
.block_cta_factory__ink-wall-tile--natural {
  width: auto;
}
