/* ==========================================================================
   피부결관리(skintexture.philosworld.com) 공통 스타일
   컨셉: "40~60대 여성을 위한 고급 백화점 스킨케어 브랜드의 공식 Skin Care Journal"
   — BOLD PRESTIGE SKINCARE = 큰 타이포 + 높은 대비 + 선명한 브랜드컬러(앰버/코냑)
     + 프리미엄 포토그래피 + 단순한 UI + 넉넉한 여백.
   컬러 톤은 PLASTOX 타임리턴 라인의 실제 패키징(앰버글라스+매트블랙+화이트 타이포)을
   출발점으로 삼는다 — 앰버(주색) + 매트블랙(딥 섹션) + 코냑(포인트).
   미니멀 패션 에디토리얼(작은 글씨·얇은 폰트·저대비·회색 일색)도,
   홈쇼핑 랜딩페이지(뱃지 난발·플로팅 위젯·그라데이션 버튼)도 아니다.
   코냑 포인트는 전체 UI의 5% 이하로만 — 큰 면적(버튼 등)에는 절대 쓰지 않는다.
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600&display=swap');

:root {
  /* 브랜드 컬러: 앰버(주색) + 매트 블랙(딥 섹션) + 차콜(텍스트). 코냑은 극소량 포인트만 */
  --primary: #7A4315;        /* Mahogany Amber — 주 브랜드 컬러 */
  --primary-vivid: #A85C1E;  /* Vivid Copper Amber — hover/강조 */
  --primary-light: #F1DFC7;
  --deep: #14110E;           /* Matte Black — 다크 섹션/푸터 배경 */
  --champagne: #C8935A;      /* Cognac 포인트 전용, UI 면적의 5% 이하로만 사용 */
  --champagne-dark: #8C5A2A; /* 밝은 배경 위 텍스트용(명도대비 확보) */

  --bg: #FFFDFC;              /* White */
  --bg-alt: #F8F1E4;          /* Warm Ivory */
  --bg-card: #FFFFFF;

  --text-on-light: #201C18;   /* Warm Charcoal */
  --text-on-light-muted: #5C544B; /* Secondary — WCAG AA 4.5:1 이상 확보한 톤 */
  --text-on-dark: #FFFDFC;
  --text-on-dark-muted: #D9CFC2;

  --border: #E6DAC5;

  --radius-card: 4px;
  --radius-btn: 3px;

  --container: 1360px;
  --shadow-hover: 0 4px 14px rgba(36, 31, 32, 0.12);

  --font-head: 'Pretendard', sans-serif;
  --font-body: 'Pretendard', sans-serif;
  --font-serif: 'Noto Serif KR', serif; /* 매거진 디스플레이 헤드라인 전용 — 본문/SEO 타이틀에는 쓰지 않는다 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; overflow-x: hidden; } /* 18px 기준 — 본문 가독성 우선 */

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
  font-size: 1rem; /* 18px */
  line-height: 1.75;
}

body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

/* 타이포 스케일 — 크게, 진하게. 300 이하 얇은 굵기는 쓰지 않는다(400~700만 사용) */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; margin: 0; letter-spacing: -0.02em; color: var(--text-on-light); }
h1 { font-weight: 700; font-size: clamp(2.1rem, 6vw, 4.4rem); letter-spacing: -0.03em; word-break: keep-all; overflow-wrap: normal; } /* 공백 없는 복합키워드 타이틀이 한 줄에 들어오도록 상한을 보수적으로 잡는다 */
h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; } /* 메인과 톤을 맞추는 세리프 디스플레이 — 약 29px~48px */
h3 { font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.6rem); } /* 카드/메뉴 타이틀: 약 20px~26px */

p { font-size: 1rem; line-height: 1.8; }

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* 의미단위 줄바꿈 */
.br-mobile { display: none; }
.br-desktop { display: inline; }
@media (max-width: 768px) {
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--deep); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-muted); }

/* 라벨(eyebrow) — 큰 면적이 아닌 얇은 라인 하나로만 포인트 */
.eyebrow {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
}
.section-dark .eyebrow { color: var(--champagne); border-bottom-color: var(--champagne); }

/* 좌측 정렬 — 센터 정렬은 랜딩페이지 신호라 기사형 페이지에는 쓰지 않는다(메인 매거진 톤에 맞춤) */
.section-head { text-align: left; max-width: 880px; margin: 0 0 52px; }
.section-head p { color: var(--text-on-light-muted); font-size: 1.08rem; margin-top: 16px; }
/* 긴 본문 문단(설명형)은 가운데 정렬이 가독성을 해치므로 좌측 정렬로 전환 */
.section-head.lead-block { text-align: left; max-width: 920px; margin-left: auto; margin-right: auto; }
.section-head.lead-block .eyebrow { display: block; }

/* ---------- 버튼 — 크고 명확하게, 그라데이션·장식 없이 색 하나로 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 40px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -0.01em;
  border: 2px solid transparent;
  min-height: 60px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-gold { background: var(--primary-vivid); color: #fff; border-color: var(--primary-vivid); } /* 골드 버튼 폐지 — 비비드버건디로 대체 */
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--primary-vivid); border-color: var(--primary-vivid); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
  .btn-gold:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
  .btn-outline:hover { background: var(--primary); color: #fff; }
  .card:hover { border-color: var(--primary); }
  .link-card:hover .link-card-img { transform: scale(1.04); }
}
.btn:active, .card:active { transform: translateY(-1px); }

/* ---------- 헤더 ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,253,252,0.94);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.hdr-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; }
.hdr-logo-img { height: 20px; width: auto; display: block; }
.hdr-logo-sub { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.03em; color: var(--text-on-light-muted); }
.hdr-nav { display: flex; gap: 36px; }
.hdr-nav a { font-weight: 600; font-size: 1rem; }
.hdr-right { display: flex; align-items: center; gap: 16px; }
.hdr-phone {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; border: 2px solid var(--primary);
  padding: 13px 24px; border-radius: var(--radius-btn);
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  transition: background .2s ease, border-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hdr-phone:hover { background: var(--primary-vivid); border-color: var(--primary-vivid); }
}
.hdr-burger { display: none; width: 48px; height: 48px; border-radius: var(--radius-btn); background: var(--bg-alt); }
.hdr-burger::before, .hdr-burger::after { display:none; }
.hdr-burger-icon { display: block; width: 24px; height: 2px; background: var(--text-on-light); margin: 6px auto; }

#mob-nav {
  position: fixed; top: 84px; left: 0; right: 0; bottom: 0; z-index: 490;
  background: var(--bg); transform: translateX(100%); transition: transform .3s ease;
  padding: 32px 24px; overflow-y: auto;
}
#mob-nav.open { transform: translateX(0); }
#mob-nav a { display: block; padding: 20px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; border-bottom: 1px solid var(--border); }

#mob-bar { display: none; }

/* ---------- 히어로 (메인) — 순수 이미지 슬라이드(텍스트 없음) + 아래 별도 인트로 섹션의 대형 타이포 2단 구성 ---------- */
.hero-media { position: relative; height: 88vh; min-height: 520px; max-height: 880px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }

.hero-intro { padding: 120px 24px 100px; text-align: center; }
.hero-intro-inner { max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 24px;
}
.hero-intro h1 { margin-bottom: 26px; }
.hero-sub { color: var(--text-on-light-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 36px; line-height: 1.75; }
.hero-divider { display: block; width: 64px; height: 3px; background: var(--primary); margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* 단일 히어로(상세페이지용) */
.hero-single {
  position: relative; height: 56vh; min-height: 420px; overflow: hidden;
  background-size: cover; background-position: center;
}
.hero-single::after {
  /* 사진 밝기와 무관하게 텍스트가 항상 읽히도록 하단 65%를 그라디언트 스크림으로 덮는다 */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,12,10,.82) 0%, rgba(15,12,10,.5) 40%, rgba(15,12,10,.08) 68%, transparent 100%);
}
.hero-single .hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 56px;
}
.hero-single .hero-badge { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-single h1 { color: #fff; margin-bottom: 16px; font-size: clamp(2.4rem, 5.5vw, 4rem); text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-single .hero-sub { color: #fff; max-width: none; margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.4); }

/* ---------- 그리드 유틸 ---------- */
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dp-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; align-items: center; }
@media (max-width: 1024px) { .dp-g3, .dp-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .dp-g2, .dp-g3, .dp-g4 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dp-stat3 { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- 카드 — 큰 장식 없이 얇은 보더로만 ---------- */
.card {
  background: var(--bg-card); border-radius: var(--radius-card);
  border: 1px solid var(--border); overflow: hidden;
  transition: border-color .2s ease;
}
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 28px 26px; }
.card-body h3 { margin-bottom: 12px; }
.card-body p { color: var(--text-on-light-muted); font-size: 1rem; line-height: 1.7; }

.card-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 8px; } }
/* 뱃지 — 상자·배경 없이 짧은 텍스트 라벨 하나로만, 뱃지 과다 사용 지양 */
.badge {
  display: inline-block;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-on-light-muted);
}
.badge-gold { color: var(--champagne-dark); }
.badge-primary { color: var(--primary); }

/* 내부링크 카드(실사진 썸네일 필수) */
.link-card { display: block; }
.link-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.link-card-img-wrap { overflow: hidden; }

/* ---------- 프로세스/타임라인 ---------- */
.proc-list { display: flex; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; left: 50%; width: 100%; height: 2px;
  background: var(--border); z-index: 0;
}
.proc-num {
  position: relative; z-index: 1; margin: 0 auto 16px; width: 52px; height: 52px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.proc-step p { font-weight: 700; font-size: 1.05rem; }
.proc-step span.proc-desc { display: block; color: var(--text-on-light-muted); font-size: 0.95rem; margin-top: 8px; }
@media (max-width: 768px) {
  .proc-list { flex-direction: column; gap: 12px; }
  .proc-step { padding: 24px 0; }
  .proc-step::after { display: none; }
}

/* ---------- 체크리스트 / 비교표 / 타임라인(AEO) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 20px 22px;
  font-size: 1.02rem; line-height: 1.7;
}
.checklist .chk-mark {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}

.table-wrap { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--border); }
table.dp-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--bg-card); }
table.dp-table th, table.dp-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 1rem; }
table.dp-table th { background: var(--bg-alt); font-family: var(--font-head); font-weight: 700; color: var(--text-on-light); }

.stat-block { text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--primary); }
.stat-label { color: var(--text-on-light-muted); font-size: 1rem; margin-top: 8px; }

.tl { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--primary-light); }
.tl li { position: relative; padding: 0 0 36px 32px; }
.tl li::before {
  content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary); border: 2px solid var(--bg);
}
.tl li:last-child { padding-bottom: 0; }
.tl-time { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-align: left;
  min-height: 60px;
}
.faq-q .icon { flex-shrink: 0; transition: transform .3s ease; font-size: 1.5rem; color: var(--primary); font-weight: 400; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 26px; color: var(--text-on-light-muted); font-size: 1.02rem; line-height: 1.8; }

/* ---------- Before/After (정적 배치, 슬라이더 아님) ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: var(--radius-card); overflow: hidden; }
.ba-wrap figure { margin: 0; position: relative; }
.ba-wrap img { aspect-ratio: 4/3; object-fit: cover; }
.ba-wrap figcaption {
  position: absolute; left: 14px; top: 14px; background: rgba(20,17,14,.85); color: #fff;
  padding: 6px 14px; border-radius: var(--radius-btn); font-family: var(--font-head); font-weight: 700; font-size: 0.88rem;
}
@media (max-width: 600px) { .ba-wrap { grid-template-columns: 1fr; } }

/* ---------- CTA 배너 — 단색 버건디, 장식 없이 ---------- */
.cta-band {
  border-radius: var(--radius-card); padding: 80px 40px; text-align: center;
  background: var(--deep);
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: var(--text-on-dark-muted); margin-bottom: 34px; font-size: 1.1rem; }

/* ---------- 스크롤 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

.reveal.hero-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.16,.8,.28,1), transform 1s cubic-bezier(.16,.8,.28,1); }
.reveal.hero-reveal.in { opacity: 1; transform: translateY(0); }

@keyframes hero-drift {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.06) translateY(-10px); }
}
.hero-slide.active { animation: hero-drift 12s ease-in-out infinite; }

/* ---------- 매거진 스프레드 전용 리빌(요소 성격별로 서로 다른 움직임) ---------- */
.reveal-up { opacity: 0; transform: translateY(52px); transition: opacity 1s cubic-bezier(.16,.8,.28,1), transform 1s cubic-bezier(.16,.8,.28,1); }
.reveal-up.in { opacity: 1; transform: translateY(0); }

.reveal-img { opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.16,.8,.28,1); }
.reveal-img.in { opacity: 1; transform: scale(1); }

/* 텍스트/캡션 열이 한 줄씩 순서대로 떠오르는 리빌 — 동일 페이드업 반복을 피하기 위한 변형 */
.reveal-line > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-line.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: .02s; }
.reveal-line.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .12s; }
.reveal-line.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .22s; }
.reveal-line.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .32s; }
.reveal-line.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .42s; }
.reveal-line.in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .52s; }
.reveal-line.in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: .62s; }

/* 숫자·뱃지·인디케이터 — 스케일+페이드 (탄성 이징으로 텍스트 리빌과 다른 리듬을 준다) */
.reveal-scale { opacity: 0; transform: scale(.82); transition: opacity .6s ease, transform .7s cubic-bezier(.34,1.56,.64,1); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* 언더라인·디바이더·진행선 — 왼쪽에서 그려지는 드로우인 */
.reveal-draw { position: relative; overflow: hidden; }
.reveal-draw::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: var(--bg); transform: scaleX(1); transform-origin: right; transition: transform .8s cubic-bezier(.65,0,.35,1) .1s; }
.reveal-draw.on-dark::after { background: var(--deep); }
.reveal-draw.in::after { transform: scaleX(0); }

/* 좌우 슬라이드 — 이미지/캡션에 방향성을 주는 변형 */
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,.8,.28,1); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,.8,.28,1); }
.reveal-right.in { opacity: 1; transform: translateX(0); }

/* 흐림→포커스 — 대형 사진 전용, 스케일만으로는 단조로울 때 */
.reveal-blur { opacity: 0; filter: blur(14px); transform: scale(1.04); transition: opacity 1s ease, filter 1.1s ease, transform 1.1s cubic-bezier(.16,.8,.28,1); }
.reveal-blur.in { opacity: 1; filter: blur(0); transform: scale(1); }

/* ---------- COVER 진입 애니메이션(스크롤 아닌 로드 시퀀스) ---------- */
@keyframes coverIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes coverDrift { 0% { transform: scale(1.1); } 100% { transform: scale(1.02); } }
.cover-media img { animation: coverDrift 10s cubic-bezier(.16,.8,.28,1) both; }
.masthead { animation: coverIn .9s cubic-bezier(.16,.8,.28,1) .15s both; }
.cover-title { animation: coverIn 1.1s cubic-bezier(.16,.8,.28,1) .4s both; }
.cover-seo { animation: coverIn 1s cubic-bezier(.16,.8,.28,1) .78s both; }
.cover-foot { animation: coverIn 1s cubic-bezier(.16,.8,.28,1) 1.02s both; }
@keyframes scrollHint { 0%, 100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(6px); } }
.cover-scroll { animation: scrollHint 2.2s ease-in-out 1.6s infinite; }
@media (prefers-reduced-motion: reduce) {
  .cover-media img, .masthead, .cover-title, .cover-seo, .cover-foot, .cover-scroll { animation: none; }
}

/* ---------- 카운터 ---------- */
.counter { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--text-on-light); }
.section-dark .counter { color: var(--champagne); }

/* ---------- 푸터 ---------- */
.footer { background: var(--deep); color: var(--text-on-dark); padding: 80px 0 36px; }
.footer h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.92rem; color: var(--champagne); margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; }
.footer-biz p { margin: 0 0 10px; color: var(--text-on-dark-muted); font-size: 1rem; line-height: 1.75; }
.footer-links a, .footer-cats a { display: block; padding: 9px 0; color: var(--text-on-dark-muted); font-size: 1.02rem; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); font-size: 0.9rem; text-align: center; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   매거진 에디토리얼 스프레드 (메인 페이지 전용) — "THE TEXTURE ISSUE"
   PHILOS가 발행하는 피부결 디지털 매거진 한 호(issue)처럼 구성한다.
   01~14 순차 섹션 번호를 붙이지 않는다. 스프레드마다 서로 다른 비대칭 구성을 쓴다.
   SEO 타이틀(h2/h3, 작게·본문 폰트)과 에디토리얼 헤드라인(큰 세리프)을 분리한다.
   ========================================================================== */

.seo-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text-on-light-muted); }
.on-dark .seo-title { color: var(--text-on-dark-muted); }
.display-headline { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; color: var(--text-on-light); }
.on-dark .display-headline { color: #fff; }
.spread-tag { display: inline-block; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); padding-bottom: 12px; }
.on-dark .spread-tag { color: var(--champagne); }
/* 시각화 컴포넌트 — 라벨 아래 짧은 선이 왼쪽에서 그려지는 인디케이터 */
.spread-tag::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 28px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.65,0,.35,1) .15s; }
.spread-tag.in::after, .in .spread-tag::after { transform: scaleX(1); }
.editorial-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--primary); }
.editorial-link .arrow { transition: transform .2s ease; }
.on-dark .editorial-link { color: var(--champagne); }
@media (hover: hover) and (pointer: fine) { .editorial-link:hover .arrow { transform: translateX(6px); } }

/* ---------- COVER ---------- */
.cover { position: relative; min-height: 100vh; overflow: hidden; background: var(--deep); color: #fff; display: flex; flex-direction: column; }
.cover-media { position: absolute; inset: 0; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.5) 0%, rgba(20,17,14,.18) 34%, rgba(20,17,14,.4) 66%, rgba(20,17,14,.86) 100%); }
.masthead { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; padding: 32px 24px; margin-top: 84px; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.92rem; }
.masthead-issue { color: var(--text-on-dark-muted); letter-spacing: 0.16em; font-size: 0.78rem; text-align: right; line-height: 1.6; }
.cover-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 24px; }
.cover-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(3.2rem, 9vw, 8rem); line-height: 0.98; letter-spacing: -0.01em; max-width: 900px; }
.cover-seo { margin-top: 28px; }
.cover-seo h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--champagne); }
.cover-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 24px 56px; gap: 24px; }
.cover-tagline { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: rgba(255,255,255,.92); max-width: 420px; }
.cover-scroll { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.2em; font-size: 0.74rem; color: var(--text-on-dark-muted); writing-mode: vertical-rl; }

/* ---------- SPREAD 공통 여백 ---------- */
.spread { padding: 168px 0; }
.spread-alt { background: var(--bg-alt); }
.spread-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 80px; }

/* ---------- BREATH (풀블리드 사진, 타이포가 이미지 안으로 침범하는 캡션) ---------- */
.breath { position: relative; height: 84vh; min-height: 480px; max-height: 860px; overflow: hidden; }
.breath img { width: 100%; height: 100%; object-fit: cover; }
/* 사진이 밝아도 캡션이 항상 읽히도록 하단부를 스크림으로 어둡게 깔아준다 */
.breath::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,12,10,.5) 0%, rgba(15,12,10,.22) 30%, rgba(15,12,10,.04) 58%, transparent 100%); pointer-events: none; }
/* 사진 밝기·크롭과 무관하게 항상 읽히도록 캡션 자체에 반투명 패널을 깐다(그라디언트만으로는 모바일 크롭에서 보장 안 됨) */
.breath-caption { position: absolute; left: 8%; bottom: 10%; max-width: 360px; z-index: 2; background: rgba(15,12,10,.58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 22px 26px; border-radius: var(--radius-card); }
.breath-caption.right { left: auto; right: 8%; text-align: right; }
.breath-caption .spread-tag { color: var(--champagne); margin-bottom: 14px; display: block; }
.breath-caption .display-headline { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; }

/* ---------- SPREAD 01 · WHY TEXTURE (비대칭 타이포, 카드 없음) ---------- */
.why-grid { display: grid; grid-template-columns: 7fr 5fr; column-gap: 40px; min-height: 56vh; }
.why-lead .display-headline { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.3; }
.why-support { margin-top: 200px; max-width: 380px; justify-self: end; }
.why-support p { color: var(--text-on-light-muted); font-size: 1.08rem; line-height: 1.85; }
.why-vertical { display: flex; justify-content: flex-end; gap: 22px; margin-top: 88px; }
.why-vertical span { writing-mode: vertical-rl; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.08em; color: var(--text-on-light-muted); }
.why-more { margin-top: 48px; }
/* 세부페이지 인트로용 축약 버전 — 문단이 하나뿐이라 세로 오프셋을 줄인다 */
.why-grid.compact { min-height: 0; }
.why-grid.compact .why-support { margin-top: 8px; max-width: 440px; }

/* ---------- SPREAD 02 · TEXTURE STUDY (다크 배경, 계단식 리듬) ---------- */
.tstudy { background: var(--deep); color: #fff; padding: 168px 0; }
.tstudy-item { max-width: 620px; padding: 52px 0; border-top: 1px solid rgba(255,255,255,.16); }
.tstudy-item:first-child { border-top: none; padding-top: 0; }
.tstudy-item:nth-child(2) { margin-left: auto; text-align: right; }
.tstudy-item:nth-child(3) { margin-left: 14%; }
.tstudy-num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--champagne); line-height: 1; margin-bottom: 16px; }
.tstudy-item h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.tstudy-item p { color: var(--text-on-dark-muted); font-size: 1.04rem; line-height: 1.8; }

/* ---------- SPREAD 03 · THE JOURNAL (매거진 목차, 카드/리스트 아님) ---------- */
.contents-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.contents-item { display: block; padding: 40px 0 40px 0; border-top: 1px solid var(--border); transition: padding-left .35s ease, border-color .35s ease; }
.contents-item:nth-child(even) { margin-top: 72px; }
.contents-top { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.contents-num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text-on-light-muted); transition: color .3s ease; }
.contents-tag { font-family: var(--font-head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.18em; color: var(--primary); }
.contents-headline { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; color: var(--text-on-light); margin-bottom: 20px; transition: color .3s ease; }
.contents-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contents-seo { font-family: var(--font-head); font-weight: 700; font-size: 0.94rem; color: var(--text-on-light-muted); }
.contents-page { font-family: var(--font-head); font-size: 0.78rem; color: var(--text-on-light-muted); opacity: .65; }
@media (hover: hover) and (pointer: fine) {
  .contents-item:hover { padding-left: 14px; border-color: var(--primary); }
  .contents-item:hover .contents-headline, .contents-item:hover .contents-num { color: var(--primary); }
}

/* ---------- SPREAD 04 · AGE & TEXTURE (패션 에디토리얼 챕터, 카드 아님) ---------- */
.age-chapter { padding: 168px 0 0; }
.age-head { max-width: var(--container); margin: 0 auto; padding: 0 24px 72px; }
.age-row-a { display: grid; grid-template-columns: 3fr 9fr; min-height: 74vh; }
.age-row-a .age-text { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 56px 40px 56px 24px; }
.age-row-a .age-media { order: 2; overflow: hidden; }
.age-row-b { display: grid; grid-template-columns: 7fr 5fr; min-height: 62vh; }
.age-row-b .age-media { order: 1; overflow: hidden; }
.age-row-b .age-text { order: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; padding: 56px 24px 56px 40px; }
.age-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,.8,.28,1); }
@media (hover: hover) and (pointer: fine) { .age-row-a:hover .age-media img, .age-row-b:hover .age-media img { transform: scale(1.045); } }
.age-num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.8rem, 6vw, 5.4rem); color: var(--primary); line-height: 1; margin-bottom: 20px; }
.age-text .display-headline { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.4; margin: 14px 0 22px; }

/* ---------- SPREAD 05 · THE RITUAL (3개의 서로 다른 화면) ---------- */
.ritual-screen { min-height: 88vh; display: flex; }
.ritual-a { background: var(--bg-alt); align-items: center; }
.ritual-a .ritual-inner { display: grid; grid-template-columns: 7fr 5fr; align-items: center; width: 100%; max-width: var(--container); margin: 0 auto; padding: 64px 24px; gap: 40px; }
.ritual-a .ritual-media { justify-self: end; width: 78%; aspect-ratio: 3/4; overflow: hidden; }
.ritual-b { position: relative; align-items: flex-end; }
.ritual-b .ritual-media { position: absolute; inset: 0; }
.ritual-b::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,17,14,.1) 0%, rgba(20,17,14,.55) 55%, rgba(20,17,14,.88) 100%); }
.ritual-b .ritual-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px 96px; color: #fff; display: flex; justify-content: flex-end; }
.ritual-b .ritual-text { max-width: 440px; text-align: right; }
.ritual-c { background: var(--deep); color: #fff; position: relative; align-items: center; }
.ritual-c .ritual-media { position: absolute; inset: 0; opacity: .5; }
.ritual-c .ritual-inner { position: relative; z-index: 2; width: 100%; max-width: 640px; margin: 0 auto; text-align: center; padding: 0 24px; }
.ritual-media img { width: 100%; height: 100%; object-fit: cover; }
.ritual-num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.ritual-label { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.2em; font-size: 0.82rem; margin: 12px 0 22px; }
.ritual-line { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.42; }

/* ---------- SPREAD 06 · PHILOS APPROACH (철학이 제품보다 먼저) ---------- */
.approach-intro { max-width: 620px; margin: 0 auto 96px; text-align: center; }
.approach-intro .display-headline { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.55; }
.approach-item { display: grid; border-top: 1px solid var(--border); padding: 64px 0; align-items: center; }
.approach-item:last-child { border-bottom: 1px solid var(--border); }
.approach-item.la { grid-template-columns: 7fr 5fr; }
.approach-item.lb { grid-template-columns: 4fr 8fr; }
.approach-item.lb .approach-media { order: 1; }
.approach-item.lb .approach-text { order: 2; }
.approach-media { overflow: hidden; }
.approach-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s cubic-bezier(.16,.8,.28,1); }
@media (hover: hover) and (pointer: fine) { .approach-item:hover .approach-media img { transform: scale(1.045); } }
.approach-text { display: flex; flex-direction: column; justify-content: center; padding: 0 48px; }
.pstory-brand { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--champagne-dark); font-size: 0.9rem; margin-bottom: 10px; }
.approach-text .display-headline { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.4; margin-bottom: 16px; }
/* 세 번째 오브젝트는 좌우분할이 아니라 풀블리드+오버랩 캡션으로 리듬을 깬다 */
.approach-item.full { display: block; position: relative; padding: 0; border: none !important; overflow: hidden; min-height: 72vh; }
.approach-item.full .approach-media { position: absolute; inset: 0; }
.approach-item.full .approach-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.approach-item.full::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,14,.85) 0%, rgba(20,17,14,.28) 48%, transparent 76%); }
.approach-item.full .approach-text { position: relative; z-index: 2; color: #fff; max-width: 460px; padding: 56px 48px; justify-content: flex-end; }
.approach-item.full .approach-text .display-headline { color: #fff; }
.approach-item.full .pstory-brand { color: var(--champagne); }
.approach-item.full .approach-text p { color: rgba(255,255,255,.85); }
.approach-item.full .editorial-link { color: var(--champagne); }

/* ---------- READER QUESTIONS (기존 .faq-item 재사용, 폰트만 확대) ---------- */
.faq-large .faq-q { font-size: 1.3rem; padding: 32px 4px; }
.faq-large .faq-a p { font-size: 1.08rem; }

/* ---------- BACK COVER (풀블리드, 기존 방향 유지) ---------- */
.cending { position: relative; height: 82vh; min-height: 520px; overflow: hidden; }
.cending img { width: 100%; height: 100%; object-fit: cover; }
.cending::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,14,.76) 0%, rgba(20,17,14,.18) 55%, transparent 100%); }
.cending-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; text-align: center; padding: 0 24px 80px; }
.cending-mark { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.2em; color: var(--champagne); font-size: 1rem; margin-bottom: 24px; }
.cending-text { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.45; margin-bottom: 36px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .dp-g2 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .cover-title { font-size: clamp(2.8rem, 11vw, 5.5rem); }
  .why-grid { grid-template-columns: 1fr; }
  .why-support { margin-top: 40px; max-width: none; justify-self: start; }
  .why-vertical { display: none; }
  .tstudy-item:nth-child(2) { margin-left: 0; text-align: left; }
  .tstudy-item:nth-child(3) { margin-left: 0; }
  .contents-grid { grid-template-columns: 1fr; }
  .contents-item:nth-child(even) { margin-top: 0; }
  .age-row-a, .age-row-b { grid-template-columns: 1fr; min-height: 0; }
  .age-row-a .age-text, .age-row-b .age-text { order: 1; padding: 40px 24px; align-items: flex-start; text-align: left; }
  .age-row-a .age-media, .age-row-b .age-media { order: 2; height: 52vh; }
  .ritual-a .ritual-inner { grid-template-columns: 1fr; gap: 24px; }
  .ritual-a .ritual-media { justify-self: stretch; width: 100%; aspect-ratio: 4/3; }
  .ritual-b .ritual-inner { justify-content: flex-start; }
  .ritual-b .ritual-text { text-align: left; }
  .approach-item, .approach-item.la, .approach-item.lb { grid-template-columns: 1fr; }
  .approach-item.lb .approach-media, .approach-item.lb .approach-text { order: initial; }
  .approach-text { padding: 32px 0 0; }
}
@media (max-width: 768px) {
  .hdr-nav, .hdr-phone { display: none; }
  .hdr-burger { display: flex; align-items: center; justify-content: center; flex-direction: column; }
  #mob-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 480;
    background: var(--bg-card); border-top: 1px solid var(--border);
    padding: 14px 16px; gap: 10px;
  }
  #mob-bar .btn { min-height: 56px; padding: 16px 24px; }
  body { padding-bottom: 84px; }
  .hero-media { height: 58vh; }
  .hero-intro { padding: 88px 24px 64px; }
  .section { padding: 64px 0; }

  .masthead { padding: 24px 20px; font-size: 0.8rem; }
  .cover-body { padding: 0 20px; }
  .cover-foot { padding: 0 20px 40px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cover-scroll { writing-mode: horizontal-tb; }
  .spread { padding: 96px 0; }
  .spread-head { margin-bottom: 48px; }
  .why-lead .display-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
  .tstudy { padding: 96px 0; }
  .tstudy-item { padding: 36px 0; }
  .contents-item { padding: 28px 0; }
  .age-chapter { padding: 96px 0 0; }
  .age-head { padding: 0 20px 48px; }
  .ritual-screen { min-height: 0; padding: 72px 0; }
  .ritual-a .ritual-inner { padding: 0 20px; }
  .ritual-b .ritual-inner { padding: 0 20px 56px; }
  .approach-item { padding: 40px 0; }
  .approach-text { padding: 24px 0 0; }
  .cending { height: 68vh; }
}
@media (max-width: 480px) {
  .dp-g2, .dp-g3, .dp-g4, .dp-stat3 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}

/* 히어로 바로 아래 대표 이미지 */
.top-media-section { padding: 40px 0 0; }
.top-media { margin: 0; max-width: 960px; margin-inline: auto; }
.top-media-img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 12px; }
@media (max-width: 768px) { .top-media-section { padding: 24px 0 0; } .top-media-img { max-height: 320px; } }
