/* ==========================================================================
   기초화장품추천(bestskincare.philosworld.com) 공통 스타일 v2
   컨셉: "PHILOS — THE SKINCARE EDIT" — Premium Beauty Desk + Skincare Edit
   Intelligent Casual Premium. 밝고 선명하지만 쇼핑몰스럽지 않다.
   캐주얼 = 말투가 쉽고 / 탐색이 쉽고 / 컬러가 명료하고 / 정보가 직관적인 것.
   컬러는 큰 편집적 면(full-bleed section)으로 쓰고, 작은 카드에 여러 색을
   흩뿌리지 않는다. 카드/그림자/pill뱃지를 기본 해법으로 쓰지 않는다.
   형제사이트 skintexture(시네마틱·와인톤·포토그래피 중심)와는
   명확히 다른 어휘 — bestskincare는 타이포그래피 중심·비비드·에디토리얼.
   ========================================================================== */

@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=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* ---- Core palette ---- */
  --paper: #F7F3EC;     /* Warm Paper — 기본 배경 67% */
  --white: #FFFDF9;     /* Porcelain — 제품/본문 영역 */
  --ink: #1A1D24;       /* 본문/타이틀 */
  --cobalt: #2F4FD3;    /* PHILOS Cobalt — 핵심 브랜드 컬러 15% */
  --cobalt-dark: #23399E;
  --navy: #17345F;      /* Deep Navy — 다크 섹션 15% */
  --navy-dark: #0F2444;
  --poppy: #C94734;     /* 레드-코랄 — 소량 포인트 3% */
  --powder: #DDE5F5;    /* Powder Blue — 보조 면 */
  --line: #D2CCC2;      /* Hairline */

  /* ---- 기존 페이지(카테고리 상세 16개)와 호환되는 매핑 ---- */
  --primary: var(--cobalt);
  --primary-dark: var(--cobalt-dark);
  --primary-light: var(--powder);
  --teal: var(--navy);
  --teal-dark: var(--navy-dark);
  --teal-light: #E7ECF5;
  --deep: var(--navy);
  --sun: var(--poppy);

  --bg: var(--white);
  --bg-alt: var(--paper);
  --bg-card: var(--white);

  --text-on-light: var(--ink);
  --text-on-light-muted: #5B574F;
  --text-on-dark: var(--white);
  --text-on-dark-muted: #C7D3EA;

  --border: var(--line);

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

  --container: 1180px;
  --canvas: 1440px;
  --shadow-hover: none;

  --font-head: 'Pretendard', sans-serif;
  --font-body: 'Pretendard', sans-serif;
  --font-editorial: 'Instrument Serif', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: -0.018em;
}

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; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.14; margin: 0; letter-spacing: -0.045em; color: var(--text-on-light); }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(2.5rem, 4.4vw, 3.25rem); font-weight: 650; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; }

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; }
.canvas { max-width: var(--canvas); margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px); }
.section { padding: 100px 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); }

/* ---------- Editorial typography ---------- */
.display-ko { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.055em; line-height: 1.02; margin: 0; }
.display-en { font-family: var(--font-editorial); font-weight: 400; letter-spacing: -0.02em; font-style: normal; }
.seo-h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.8rem, 6.6vw, 5.4rem); letter-spacing: -0.05em; line-height: 1.04; margin: 14px 0 22px; color: var(--text-on-light); }
.micro-label { display: inline-block; font-size: 0.8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.section-dark .micro-label, .on-dark.micro-label { color: var(--text-on-dark-muted); }

/* 뱃지/아이브로우 — pill 장식 대신 절제된 마이크로 라벨 텍스트 */
.card-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }
.badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-weight: 650;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt);
}
.badge-teal { color: var(--navy); }
.badge-sun { color: var(--poppy); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 650;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--text-on-dark-muted); }

.section-head { text-align: left; max-width: 780px; margin: 0 0 52px; }
.section-head p { color: var(--text-on-light-muted); font-size: 1.08rem; margin-top: 18px; }
.section-head.lead-block { text-align: left; max-width: 800px; margin-left: 0; margin-right: auto; }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- 버튼: Primary 20% / Text Link 80% ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 30px; height: 58px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.05rem; letter-spacing: 0;
  border: 2px solid transparent;
  min-height: 58px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-primary { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.btn-teal { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--cobalt); color: var(--cobalt); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); }
  .btn-teal:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
  .btn-outline:hover { background: var(--cobalt); color: #fff; }
  .card:hover { border-color: var(--cobalt); }
  .link-card:hover .link-card-img { transform: scale(1.04); }
}
.btn:active { transform: translateY(-1px); }

/* Text Link — 사이트 전반 기본 CTA */
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--line);
}
.text-link .arrow { transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { border-color: var(--cobalt); color: var(--cobalt); }
  .text-link:hover .arrow { transform: translateX(4px); }
}
.on-dark.text-link { color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- 헤더 ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.hdr-logo { display: flex; align-items: center; gap: 12px; }
.hdr-logo img { height: 28px; width: auto; display: block; }
.hdr-logo-sub { font-family: var(--font-head); font-weight: 650; font-size: 0.76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-light-muted); padding-left: 12px; border-left: 1px solid var(--line); }
.hdr-nav { display: flex; gap: 34px; }
.hdr-nav a { font-weight: 600; font-size: 0.98rem; }
.hdr-right { display: flex; align-items: center; gap: 20px; }
.hdr-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 650; font-size: 0.92rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
}
.hdr-burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-btn); background: transparent; }
.hdr-burger span, .hdr-burger::before, .hdr-burger::after { display: none; }
.hdr-burger-icon { width: 22px; 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(--paper); 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: 600; font-size: 1.25rem; border-bottom: 1px solid var(--line); }

#mob-bar { display: none; }

/* ---------- 히어로(구 슬라이더 — 상세페이지 hero-single만 유지) ---------- */
.hero-single {
  position: relative; height: 54vh; min-height: 400px; overflow: hidden;
  background-size: cover; background-position: center;
}
.hero-single::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 170px;
  background: linear-gradient(0deg, rgba(23,52,95,.78) 0%, transparent 100%);
}
.hero-single .hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 52px;
}
.hero-single .eyebrow { color: #fff; }
.hero-single h1 { color: #fff; margin-bottom: 14px; font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.hero-single .hero-sub { color: #fff; max-width: none; margin: 0; }
.hero-sub { color: var(--text-on-light-muted); font-size: 1.15rem; max-width: 620px; line-height: 1.75; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 그리드 유틸(기존 상세페이지 호환) ---------- */
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dp-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; 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(--line); overflow: hidden;
  transition: border-color .2s ease;
}
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 26px 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card-body p { color: var(--text-on-light-muted); font-size: 0.98rem; line-height: 1.7; }

.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(--line); z-index: 0;
}
.proc-num {
  position: relative; z-index: 1; margin: 0 auto 16px; width: 50px; height: 50px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--cobalt); color: #fff; font-family: var(--font-head); font-weight: 650; font-size: 1.1rem;
}
.proc-step p { font-weight: 650; 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; }
}

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

.table-wrap { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--line); }
table.dp-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--bg-card); }
table.dp-table th, table.dp-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
table.dp-table th { background: var(--paper); font-family: var(--font-head); font-weight: 650; 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(--cobalt); }
.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(--powder); }
.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(--cobalt); border: 2px solid var(--bg);
}
.tl li:last-child { padding-bottom: 0; }
.tl-time { font-family: var(--font-head); font-weight: 650; color: var(--cobalt); font-size: 0.92rem; letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; text-align: left;
  min-height: 58px;
}
.faq-q .icon { flex-shrink: 0; transition: transform .3s ease; font-size: 1.5rem; color: var(--cobalt); 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 24px; color: var(--text-on-light-muted); font-size: 1rem; line-height: 1.8; }

.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; 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(23,52,95,.88); color: #fff;
  padding: 6px 14px; border-radius: var(--radius-btn); font-family: var(--font-head); font-weight: 650; font-size: 0.85rem;
}
@media (max-width: 600px) { .ba-wrap { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card); padding: clamp(56px, 7vw, 84px) clamp(28px, 5vw, 64px);
  text-align: center;
  background: var(--navy);
  color: #fff;
}
.cta-band .micro-label { color: var(--text-on-dark-muted); margin-bottom: 16px; }
.cta-band h2 { color: #fff; margin-bottom: 30px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { color: var(--text-on-dark-muted); margin-bottom: 30px; font-size: 1.08rem; }

/* 제품 이미지가 있는 세부페이지용 비대칭 변형 */
.cta-band-grid { display: flex; align-items: center; gap: clamp(32px, 5vw, 72px); text-align: left; }
.cta-band-grid .cta-band-text { flex: 1.3; }
.cta-band-grid h2 { max-width: 480px; }
.cta-band-media { flex: 0 0 clamp(160px, 20vw, 240px); }
.cta-band-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-card); }
@media (max-width: 700px) {
  .cta-band-grid { flex-direction: column; text-align: center; }
  .cta-band-grid h2 { max-width: none; }
  .cta-band-media { width: 100%; max-width: 200px; }
}

.reveal { opacity: 0; transform: translateY(24px); 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(36px); transition: opacity .6s cubic-bezier(.16,.8,.28,1), transform .6s cubic-bezier(.16,.8,.28,1); }
.reveal.hero-reveal.in { opacity: 1; transform: translateY(0); }

/* ---- 히어로 리빌 베리에이션 (세부페이지 카테고리별로 서로 다른 진입 모션) ---- */
/* 성분·고르는법 — 초점이 맞춰지는 느낌 */
.reveal.hero-reveal-blur { opacity: 0; transform: scale(1.035); filter: blur(6px); transition: opacity .6s cubic-bezier(.16,.8,.28,1), transform .6s cubic-bezier(.16,.8,.28,1), filter .6s cubic-bezier(.16,.8,.28,1); }
.reveal.hero-reveal-blur.in { opacity: 1; transform: scale(1); filter: blur(0); }
/* 아침·저녁 순서 — 방향성 있게 밀려들어오는 느낌 */
.reveal.hero-reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .6s cubic-bezier(.16,.8,.28,1), transform .6s cubic-bezier(.16,.8,.28,1); }
.reveal.hero-reveal-left.in { opacity: 1; transform: translateX(0); }
/* 세럼·앰플 — 제품을 가까이 들여다보는 느낌 */
.reveal.hero-reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
.reveal.hero-reveal-scale.in { opacity: 1; transform: scale(1); }
/* 건성·민감성 — 자극 없이 가장 조용하게 */
.reveal.hero-reveal-soft { opacity: 0; transform: translateY(14px); transition: opacity .75s ease-out, transform .75s ease-out; }
.reveal.hero-reveal-soft.in { opacity: 1; transform: translateY(0); }
/* 50대·엄마선물 — 살짝 정착하는 듯한 온기 있는 느낌 */
.reveal.hero-reveal-warm { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.34,1.35,.64,1), transform .6s cubic-bezier(.34,1.35,.64,1); }
.reveal.hero-reveal-warm.in { opacity: 1; transform: translateY(0); }
/* 환절기·겨울 — 위에서 아래로 걷히는 느낌 */
.reveal.hero-reveal-clip { opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .5s ease-out, clip-path .65s cubic-bezier(.65,0,.35,1); }
.reveal.hero-reveal-clip.in { opacity: 1; clip-path: inset(0 0 0%); }

/* 모션 저감 설정 사용자를 위한 접근성 가드 — 모든 애니메이션/트랜지션 즉시 완료 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.counter { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--cobalt); }
.section-dark .counter { color: #fff; }

/* ---------- 푸터 ---------- */
.footer { background: var(--navy); color: var(--text-on-dark); padding: 90px 0 36px; }
.footer-mark { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-mark .display-en { display: block; font-size: clamp(3.4rem, 8vw, 6.4rem); color: #fff; line-height: 0.9; }
.footer-mark-sub { display: block; margin-top: 12px; font-family: var(--font-head); font-weight: 650; font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.footer h4 { font-family: var(--font-head); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; color: var(--text-on-dark-muted); margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 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 { display: block; padding: 8px 0; color: var(--text-on-dark-muted); font-size: 1rem; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: #fff; } }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 0.88rem; text-align: center; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   신규 에디토리얼 컴포넌트 (홈페이지 전용)
   ========================================================================== */

.full-bleed { width: 100%; }

/* 비대칭 로우 — text/media 비율 modifier */
.ed-row { display: flex; align-items: center; gap: clamp(32px, 6vw, 96px); }
.ed-row-30-70 > :first-child { flex: 0 0 30%; }
.ed-row-30-70 > :last-child { flex: 1; }
.ed-row-70-30 > :first-child { flex: 1; }
.ed-row-70-30 > :last-child { flex: 0 0 30%; }
@media (max-width: 900px) {
  .ed-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .ed-row-30-70 > *, .ed-row-70-30 > * { flex: none; width: 100%; }
}

/* ---- 01 Hero ---- */
.hero-edit { background: var(--paper); padding: clamp(140px, 18vw, 180px) 0 clamp(64px, 8vw, 96px); overflow: hidden; }
.hero-edit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.hero-edit-text .hero-poetic { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 1.7vw, 1.5rem); color: var(--text-on-light-muted); line-height: 1.5; margin: 0 0 28px; }
.hero-edit-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-on-light-muted); max-width: 480px; margin: 0 0 40px; line-height: 1.7; }
.hero-edit-media { position: relative; margin-right: clamp(-60px, -8vw, 0px); }
.hero-edit-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero-edit-tag { position: absolute; left: -18px; bottom: 28px; background: var(--white); border: 1px solid var(--line); padding: 10px 18px; font-family: var(--font-head); font-weight: 650; font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .hero-edit-grid { grid-template-columns: 1fr; }
  .hero-edit-media { margin-right: 0; order: -1; }
}

/* ---- 02 Start Here ---- */
.start-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.start-item { border-bottom: 1px solid var(--line); }
.start-item a { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 4vw, 40px) 4px; transition: background .25s ease, color .25s ease, padding-left .25s ease; }
.start-num { font-family: var(--font-editorial); font-size: 1.4rem; color: var(--text-on-light-muted); flex: 0 0 44px; }
.start-body { flex: 1; }
.start-body .micro-label { display: block; margin-bottom: 8px; }
.start-body h3 { margin-bottom: 6px; }
.start-body p { color: var(--text-on-light-muted); margin: 0; font-size: 1rem; }
.start-arrow { font-family: var(--font-head); font-size: 1.4rem; flex-shrink: 0; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .start-item a:hover { background: var(--cobalt); color: #fff; padding-left: 20px; }
  .start-item a:hover .start-body p, .start-item a:hover .micro-label, .start-item a:hover .start-num { color: rgba(255,255,255,.8); }
  .start-item a:hover .start-arrow { transform: translateX(8px); }
}

/* ---- 03 Ask Philos ---- */
.ask-philos { background: var(--cobalt); color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.ask-philos .display-ko { color: #fff; font-size: clamp(2.4rem, 4.8vw, 4rem); margin-bottom: clamp(48px, 6vw, 72px); }
.ask-list { list-style: none; margin: 0; padding: 0; }
.ask-item { border-top: 1px solid rgba(255,255,255,.22); padding: clamp(20px, 3vw, 30px) 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ask-list .ask-item:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.ask-q { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 650; font-family: var(--font-head); }
.ask-item .text-link { font-size: 1.15rem; }

/* ---- 04 Skincare Shelf (비대칭 진열대) ---- */
.shelf-track { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px); padding: 12px 4px 24px; }
.shelf-item { flex: 0 0 auto; display: block; }
.shelf-item img { object-fit: cover; }
.shelf-item .micro-label { display: block; margin-top: 14px; }
.shelf-item h3 { font-size: 1.3rem; margin-top: 4px; }
.shelf-sm img { width: 220px; height: 300px; }
.shelf-md img { width: 260px; height: 340px; }
.shelf-lg img { width: 300px; height: 400px; }
.shelf-xl img { width: 320px; height: 420px; }
.shelf-item:nth-child(even) { margin-bottom: 36px; }

/* ---- 05 Skincare 101 ---- */
.skincare-101 { background: var(--powder); padding: clamp(80px, 10vw, 130px) 0; }
.pts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.pts-item .display-en { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--cobalt); margin-bottom: 14px; }
.pts-item h3 { margin-bottom: 8px; }
.pts-item p { color: var(--text-on-light-muted); margin: 0; }
@media (max-width: 700px) { .pts-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- 06 Skin type quadrant ---- */
.quad-grid { display: grid; grid-template-columns: 1fr 1fr; }
.quad-item {
  position: relative; aspect-ratio: 16/10; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); overflow: hidden;
  background-size: cover; background-position: center; background-color: var(--navy);
}
/* 사진 위 항상 어두운 스크림 — 어떤 사진이 와도 흰 텍스트 대비를 보장 */
.quad-item::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(23,52,95,.58), rgba(23,52,95,.72));
  transition: background .3s ease;
}
.quad-item > * { position: relative; z-index: 1; }
.quad-item .display-en { font-size: clamp(2rem, 3.6vw, 3rem); color: #fff; }
.quad-item h3 { margin-top: 8px; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .quad-item.filled:hover::before { background: linear-gradient(180deg, rgba(23,52,95,.38), rgba(23,52,95,.52)); }
}
@media (max-width: 700px) { .quad-grid { grid-template-columns: 1fr; } .quad-item { aspect-ratio: 4/3; } }

/* ---- 07 Age Edit ---- */
.age-edit { display: flex; flex-direction: column; }
.age-row { display: flex; align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.age-row:last-child { border-bottom: 1px solid var(--line); }
.age-row.reverse { flex-direction: row-reverse; }
.age-row-media { flex: 0 0 38%; }
.age-row-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.age-row-text { flex: 1; }
.age-row-num { font-family: var(--font-editorial); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--cobalt); display: block; margin-bottom: 14px; }
.age-row-text .display-ko { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
@media (max-width: 800px) {
  .age-row, .age-row.reverse { flex-direction: column; align-items: flex-start; }
  .age-row-media { flex: none; width: 100%; }
}

/* ---- 08 By Concern ---- */
.concern-list { columns: 2; column-gap: 64px; list-style: none; margin: 0; padding: 0; }
.concern-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.concern-list a { display: flex; justify-content: space-between; align-items: center; padding: 20px 2px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
@media (hover: hover) and (pointer: fine) { .concern-list a:hover { color: var(--cobalt); } }
@media (max-width: 700px) { .concern-list { columns: 1; } }

/* ---- 09 The Edit (큐레이션 스프레드) ---- */
.edit-spread { padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.edit-spread-media { position: relative; min-height: 380px; }
.edit-spread-media img { position: absolute; object-fit: cover; border: 6px solid var(--white); }
.edit-spread-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.edit-spread-steps li { padding: 14px 0; border-top: 1px solid var(--line); }
.edit-spread-steps .micro-label { display: block; margin-bottom: 4px; }
.edit-spread-steps p.step-name { font-family: var(--font-head); font-weight: 650; font-size: 1.15rem; margin: 0; }

/* ---- 10 Why Philos ---- */
.why-philos { background: var(--navy); color: #fff; padding: clamp(90px, 10vw, 150px) 0; }
.why-philos .display-ko { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 32px; }
.why-sub-brands { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; margin: 36px 0 48px; }
.why-sub-brands span { font-family: var(--font-head); font-weight: 650; font-size: 1.05rem; letter-spacing: .04em; color: var(--text-on-dark-muted); }
.why-philos-media { margin: 48px 0; }
.why-philos-media img { width: 100%; max-height: 420px; object-fit: cover; }

/* ---- 12 Complete Guide index ---- */
.guide-index-group { padding: 28px 0; border-top: 1px solid var(--line); }
.guide-index-group:last-child { border-bottom: 1px solid var(--line); }
.guide-index-group h3 { font-size: 1.15rem; margin-bottom: 16px; }
.guide-index-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.guide-index-links a { font-size: 1rem; padding: 4px 0; border-bottom: 1px solid transparent; }
@media (hover: hover) and (pointer: fine) { .guide-index-links a:hover { border-color: var(--cobalt); color: var(--cobalt); } }

/* ---- 14 Ending ---- */
.philos-ending { background: var(--paper); padding: clamp(90px, 12vw, 160px) 0; text-align: left; border-top: 1px solid var(--line); }
.philos-ending .display-ko { font-size: clamp(2rem, 4vw, 3.2rem); margin: 16px 0 40px; max-width: 560px; }
.ending-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.ending-text { max-width: 480px; }
.ending-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ending-caption { margin-top: 18px; font-size: 0.82rem; letter-spacing: .05em; color: var(--text-on-light-muted); }
.ending-caption .display-en { font-size: 0.95rem; }
@media (max-width: 900px) { .ending-grid { grid-template-columns: 1fr; } .ending-media { order: -1; max-width: 320px; } }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .dp-g2 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
@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(--line);
    padding: 14px 16px; gap: 10px;
  }
  #mob-bar .btn { min-height: 56px; padding: 0 20px; flex: 1; font-size: 0.98rem; }
  body { padding-bottom: 84px; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .dp-g2, .dp-g3, .dp-g4, .dp-stat3 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   세부페이지 5단 구조 (Hero / Answer / Why / Philos Edit / Next) — 홈의
   대형 에디토리얼과 구분되는 "빠르게 답을 주는 에디터" 톤. section spacing은
   홈(150~200px)보다 좁게(88~120px), 본문 폭은 680~760px로 제한한다.
   ========================================================================== */

.dp-section { padding: clamp(64px, 8vw, 100px) 0; }
.dp-copy { max-width: 720px; }

/* ---- Hero (텍스트 중심, 이미지 없음, 홈보다 낮은 높이) ---- */
.dp-hero { padding: clamp(120px, 16vw, 150px) 0 clamp(48px, 6vw, 64px); background: var(--paper); overflow: hidden; }
.dp-hero h1.seo-h1 { font-size: clamp(1.9rem, 3vw, 2.25rem); margin: 14px 0 0; }
.dp-hero-divider { border: none; border-top: 1px solid var(--line); margin: clamp(24px, 3.6vw, 32px) 0; max-width: 760px; }
.dp-hero-hook { font-family: var(--font-head); font-weight: 650; font-size: clamp(2.375rem, 5.5vw, 4.75rem); line-height: 1.12; letter-spacing: -0.04em; margin: 0; max-width: 760px; }

.dp-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---- Answer (10초 요약) — 페이지당 1회 코발트 풀컬러 영역 ---- */
.answer-block { background: var(--cobalt); color: #fff; }
.answer-block h2 { color: #fff; }
.answer-list { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.answer-list li { border-top: 1px solid rgba(255,255,255,.28); padding-top: 16px; }
.answer-num { display: block; font-family: var(--font-editorial); font-size: 1.3rem; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.answer-list p { margin: 0; color: #fff; font-weight: 650; font-family: var(--font-head); font-size: 1.05rem; }
.answer-list span.answer-sub { display: block; margin-top: 4px; font-weight: 400; font-size: 0.92rem; color: rgba(255,255,255,.78); }
@media (max-width: 700px) { .answer-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .answer-list { grid-template-columns: 1fr; } }

/* ---- Why (핵심 이유 2~3개, 짧게) ---- */
.why-list { list-style: none; margin: 28px 0 0; padding: 0; max-width: 720px; }
.why-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list .why-mark { flex-shrink: 0; font-family: var(--font-editorial); font-size: 1.2rem; color: var(--cobalt); }
.why-list p { margin: 0; line-height: 1.7; }

/* ---- The Philos Edit (제품 1개 큐레이션) ---- */
.edit-pick { display: flex; align-items: center; gap: clamp(32px, 5vw, 64px); }
.edit-pick-media { flex: 0 0 38%; }
.edit-pick-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.edit-pick-detail-row { display: flex; gap: 8px; margin-top: 8px; }
.edit-pick-detail-row img { flex: 1 1 0; width: 100%; min-width: 0; aspect-ratio: 1/1; object-fit: cover; }
.edit-pick-body { flex: 1; }
.edit-pick-body .micro-label { display: block; margin-bottom: 10px; }
.edit-pick-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.edit-pick-body p.edit-desc { color: var(--text-on-light-muted); margin-bottom: 24px; }
.edit-pick-why { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.edit-pick-why li { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--text-on-light-muted); }
.edit-pick-why b { color: var(--cobalt); margin-right: 8px; }
@media (max-width: 800px) { .edit-pick { flex-direction: column; align-items: flex-start; } .edit-pick-media { flex: none; width: 100%; max-width: 320px; } }

/* ---- Next (관련 2 + FAQ 압축) ---- */
.next-links { display: flex; flex-direction: column; margin-bottom: 40px; }
.next-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 2px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.next-links a:last-child { border-bottom: 1px solid var(--line); }
.next-links a span.next-label { flex: 1; }
.next-links img { width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .next-links a:hover { color: var(--cobalt); } }
.dp-faq .faq-q { font-size: 1.02rem; padding: 20px 4px; min-height: auto; }

/* top-media: first body image directly under hero */
.dp-top-media { padding: clamp(24px,4vw,40px) 0 0; background: var(--paper); }
.dp-top-media figure { margin: 0; }
.dp-top-media img { display: block; width: 100%; max-height: 520px; object-fit: cover; }