:root {
  --ep-bg: #faf9f7;
  --ep-text: #1a1a1a;
  --ep-text-muted: #6b6b6b;
  --ep-border: #e5e5e5;
  --ep-radius: 10px;
  --ep-container: 960px;
}

/* 전체 페이지 기본 설정 + 종이 텍스처 배경 */
body {
  margin: 0;
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: url("https://www.transparenttextures.com/patterns/paper-fibers.png"),
              var(--ep-bg);
  background-size: 400px;
  color: var(--ep-text);
  font-size: 17px;
  line-height: 1.75;
}

/* 공통 컨테이너 */
.ep-container {
  max-width: var(--ep-container);
  margin: 0 auto;
  padding: 0 20px;
}

.ep-wide {
  max-width: 760px;
  margin: 0 auto;
}

/* HERO 영역 */
.ep-hero {
  position: relative;
  height: 78vh;
  background-image: url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

/* Hero 전체 밝게 덮는 오버레이 */
.ep-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
}

/* Hero 하단에 필름 텍스처 한 번 더 */
.ep-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.25;
  pointer-events: none;
}

.ep-hero-inner {
  position: relative;
  padding-top: 120px;
}

.ep-hero-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ep-hero-subtitle {
  margin: 0;
  font-size: 18px;
  color: var(--ep-text-muted);
}

/* 공통 섹션 */
.ep-section {
  padding: 58px 0; /* 여백 살짝 줄여서 밀도 ↑ */
}

.ep-section-alt {
  background: #ffffff;
}

.ep-section-title {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.ep-section-subtitle {
  margin: 0 0 12px;
  font-size: 22px;
}

.ep-text {
  margin: 0 0 12px;
  font-size: 17px;
}

.ep-text-narrow {
  margin: 0 auto 28px;
  max-width: 640px;
  text-align: center;
}

.ep-bigline {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
}

.ep-text-muted {
  text-align: center;
  color: var(--ep-text-muted);
}

/* 이미지 공통 스타일 */
.ep-photo {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  border-radius: var(--ep-radius);
}

.ep-photo-1 {
  background-image: url("https://images.unsplash.com/photo-1508612761958-e931d843bddb?auto=format&fit=crop&w=1200&q=80");
}

.ep-photo-2 {
  background-image: url("https://images.unsplash.com/photo-1520931737576-30c1f55b5cbe?auto=format&fit=crop&w=1200&q=80");
}

.ep-photo-3 {
  background-image: url("https://images.unsplash.com/photo-1541544741938-0af808871cc0?auto=format&fit=crop&w=1200&q=80");
}

/* 스토리 split 레이아웃 */
.ep-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.ep-reverse .ep-photo {
  order: 1;
}

/* 트리플 그리드 (In The Studio) */
.ep-triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ep-block {
  height: 260px;
  border-radius: var(--ep-radius);
  background-size: cover;
  background-position: center;
}

.ep-block-1 {
  background-image: url("https://images.unsplash.com/photo-1519074002996-a69e7ac46a42?auto=format&fit=crop&w=900&q=80");
}

.ep-block-2 {
  background-image: url("https://images.unsplash.com/photo-1526481280690-7adde8fc5d7b?auto=format&fit=crop&w=900&q=80");
}

.ep-block-3 {
  background-image: url("https://images.unsplash.com/photo-1531265726475-52ad60219627?auto=format&fit=crop&w=900&q=80");
}

/* ===== 배경 이미지/레이어 추가 구간들 ===== */

/* 스토리 1 섹션(두 번째 ep-section) 뒤 배경 */
.ep-section:nth-of-type(3) {
  position: relative;
  overflow: hidden;
}

.ep-section:nth-of-type(3)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1481277542470-605612bd2d61?auto=format&fit=crop&w=1500&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: blur(3px);
  z-index: 0;
}

.ep-section:nth-of-type(3) .ep-container {
  position: relative;
  z-index: 1;
}

/* 스토리 2 섹션(세 번째 ep-section) 뒤 배경 */
.ep-section:nth-of-type(4) {
  position: relative;
}

.ep-section:nth-of-type(4)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1501426026826-31c667bdf23d?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: right;
  opacity: 0.10;
  filter: blur(2px);
  z-index: 0;
}

.ep-section:nth-of-type(4) .ep-container {
  position: relative;
  z-index: 1;
}

/* In The Studio 섹션(네 번째 ep-section) 뒤 배경 */
.ep-section:nth-of-type(5) {
  position: relative;
}

.ep-section:nth-of-type(5)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1501436004019-8d99f2f86f40?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center bottom;
  opacity: 0.1;
  filter: blur(2px);
}

.ep-section:nth-of-type(5) .ep-container {
  position: relative;
  z-index: 1;
}

/* 푸터 */
.ep-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: var(--ep-text-muted);
}

/* 데스크톱 전용 요소 */
.ep-only-desktop {
  display: inline;
}

/* 반응형 */
@media (max-width: 900px) {
  .ep-hero-inner {
    padding-top: 96px;
  }

  .ep-hero-title {
    font-size: 32px;
  }

  .ep-section {
    padding: 52px 0;
  }

  .ep-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ep-photo {
    height: 280px;
  }

  .ep-triple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ep-hero {
    height: 70vh;
  }

  .ep-hero-inner {
    padding-top: 80px;
  }

  .ep-hero-title {
    font-size: 28px;
  }

  .ep-section {
    padding: 46px 0;
  }

  .ep-triple-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ep-only-desktop {
    display: none;
  }

  .ep-container {
    padding: 0 16px;
  }
}
