/* ==========================================================================
   50대화장품추천(50scosmetics.philosworld.com) 공통 스타일 v3
   컨셉: "PHILOS — QUIET STUDIO" — 크림 + 잉크 + 보틀그린/브라스(극소량)
   레퍼런스(ys-sample.koreajib.com) 벤치마킹: 세리프 전면 제거(산세리프만),
   숫자 라벨은 색 배지 없이 순수 텍스트로, 버튼은 아웃라인 기본(솔릭은 핵심
   구매 CTA에만 최소 사용), 이미지에는 카드 테두리·그림자를 두르지 않고
   여백만으로 분리, 섹션 간 여백을 큰 폭으로 확대해 "에디토리얼 갤러리" 톤을
   낸다. 모서리는 전부 직각(라운드 0) 그대로 유지.
   형제사이트(bestskincare=코발트 에디토리얼, skintexture=브라운 시네마틱,
   headskincare=레드 액티브, homeaesthetics=세이지 내추럴, depuff=더스티로즈
   미니멀, facemassage=라즈베리 다이나믹)와 색상·타이포·레이아웃 전부 다르다.
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
/* 풋터 브랜드 락업 전용 세리프 — 사이트 전역은 세리프 미사용 방침 유지, 이 한 곳만 예외 허용됨.
   Fraunces는 두꺼운 웨이트에서 뭉툭해 보여 하이 콘트라스트의 얇고 우아한 Playfair Display로 교체 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* ---- Core palette : 잉크 + 보틀 그린 + 브라스(무광) ---- */
  --plum: #1F3D33;        /* Bottle Green — 핵심 브랜드 컬러 */
  --plum-dark: #12241D;   /* Deep Bottle Green — 다크 섹션 */
  --plum-vivid: #2C5645;  /* hover/강조용 */
  --plum-tint: #E7ECE8;   /* 옅은 그린 틴트 */
  --gold: #8A6B35;        /* Muted Brass — 포인트 */
  --gold-dark: #6B5227;
  --gold-light: #D8C79E;
  --ivory: #F6F2EA;       /* Warm Bone — 기본 배경 */
  --paper: #EFE9DC;       /* Parchment — 보조 배경 */
  --white: #FFFFFF;
  --ink: #1B1B16;         /* 웜 차콜 블랙 */
  --ink-muted: #5C594E;
  --line: #DAD3C2;

  --primary: var(--plum);
  --primary-dark: var(--plum-dark);
  --primary-vivid: var(--plum-vivid);
  --accent: var(--gold);
  --accent-dark: var(--gold-dark);

  --bg: var(--ivory);
  --bg-alt: var(--paper);
  --bg-card: var(--white);
  --bg-deep: var(--plum-dark);

  --text-on-light: var(--ink);
  --text-on-light-muted: var(--ink-muted);
  --text-on-dark: var(--white);
  --text-on-dark-muted: #C9D3CD;

  --border: var(--line);

  /* 라운드 전면 제거 — 카드·버튼·배지·원형 마커까지 전부 직각 */
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;
  --radius-pill: 0px;

  --container: 1200px;
  --shadow-card: 0 1px 0 var(--line);
  --shadow-hover: 0 6px 18px rgba(27, 27, 22, 0.12);

  --font-body: 'Pretendard', sans-serif;
  --font-head: 'Pretendard', sans-serif;
  --font-serif: 'Pretendard', sans-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.74;
  letter-spacing: -0.015em;
}
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.18; margin: 0; letter-spacing: -0.03em; color: var(--text-on-light); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 650; }
p { font-size: 1rem; line-height: 1.82; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

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

/* ---------- 저널 타이포 ---------- */
.serif-num { font-family: var(--font-serif); font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.section-deep .eyebrow, .jr-hero .eyebrow, .jr-quote .eyebrow { color: var(--gold-light); }
.seo-h1 { font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.12; margin: 14px 0 20px; }
.lede { color: var(--text-on-light-muted); font-size: 1.12rem; line-height: 1.78; max-width: 640px; }
.section-head { max-width: 760px; margin: 0 0 68px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 버튼 / 링크 ---------- */
/* 버튼: 전부 아웃라인 기본 — 채운 색 버튼 없이 얇은 보더 + 트래킹 캡스 텍스트로
   존재감을 낸다(솔리드 필은 hover 시에만). 레퍼런스(ys-sample) 벤치마킹. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 30px; height: 52px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid transparent; background: transparent; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .1s ease; }
.btn:active { transform: scale(0.98); }
.card-link:active, .jr-rail-card:active { transform: scale(0.99); }
a:focus-visible, button:focus-visible, .faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-primary { border-color: var(--ink); color: var(--ink); }
.btn-gold { border-color: var(--gold); color: var(--gold-dark); }
.btn-outline { border-color: var(--plum); color: var(--plum); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .btn-gold:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
  .btn-outline:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
  .btn-outline-light:hover { background: rgba(255,255,255,.14); }
}
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; color: var(--plum); padding-bottom: 3px; border-bottom: 1.5px solid var(--gold); }
.text-link .arrow { transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) { .text-link:hover .arrow { transform: translateX(5px); } }
.on-dark.text-link { color: #fff; border-color: var(--gold-light); }

/* ---------- 스킵 링크(키보드/스크린리더 접근성) ---------- */
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 1000;
  background: var(--plum-dark); color: #fff; padding: 14px 22px;
  font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- 헤더 ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: rgba(246,242,234,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: 82px; }
.hdr-logo { display: flex; align-items: center; gap: 12px; }
.hdr-logo img { height: 26px; width: auto; display: block; }
.hdr-logo-sub { font-weight: 700; font-size: 0.86rem; letter-spacing: -0.01em; color: var(--gold-dark); padding-left: 12px; border-left: 1px solid var(--line); }
@media (max-width: 480px) { .hdr-logo-sub { display: none; } }
.hdr-nav { display: flex; gap: 32px; }
.hdr-nav a { font-weight: 650; font-size: 0.97rem; }
@media (hover: hover) and (pointer: fine) { .hdr-nav a:hover { color: var(--plum); } }
.hdr-nav a.active { color: var(--plum); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.hdr-right { display: flex; align-items: center; gap: 18px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); padding-bottom: 2px; border-bottom: 1px solid transparent; }
@media (hover: hover) and (pointer: fine) { .hdr-phone:hover { border-color: var(--ink); } }
.hdr-burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-pill); background: transparent; }
.hdr-burger span, .hdr-burger::before, .hdr-burger::after { display: none; }
.hdr-burger-icon { width: 22px; height: 2px; background: var(--ink); margin: 6px auto; }

#mob-nav { position: fixed; top: 82px; left: 0; right: 0; bottom: 0; z-index: 490; background: var(--ivory); 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: 18px 4px; font-weight: 650; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
#mob-bar { display: none; }

/* ==========================================================================
   홈페이지 전용 컴포넌트 (jr- 접두 = Journal 시리즈)
   ========================================================================== */

/* ---- 01 Hero: 비대칭 에디토리얼 스플릿(매거진 표지형), 대각선 컷/플로팅 뱃지 제거 ---- */
/* 다크 섹션(히어로/인용/푸터/브랜드CTA) 전용 미세 그레인 — 완전 평면 디지털 톤을 깨는 절제된 텍스처 */
.jr-hero, .jr-quote, .footer, .jr-brand-cta { position: relative; }
.jr-hero::before, .jr-quote::before, .footer::before, .jr-brand-cta::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.jr-hero > .container, .jr-quote > .container, .footer > .container, .jr-brand-cta > .container { position: relative; z-index: 1; }

.jr-hero { background: var(--plum-dark); color: #fff; padding: clamp(150px, 18vw, 190px) 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.jr-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(48px, 6vw, 88px); position: relative; z-index: 2; }
.jr-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.jr-hero .lede { color: var(--text-on-dark-muted); margin: 22px 0 40px; }
.jr-hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.jr-hero-media { position: relative; }
.jr-hero-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.jr-hero-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-dark-muted); }
@media (max-width: 900px) {
  .jr-hero-grid { grid-template-columns: 1fr; }
  .jr-hero-media { order: -1; }
  .jr-hero-media img { aspect-ratio: 4/3; max-height: clamp(280px, 46vh, 440px); width: 100%; }
}

/* ---- 01b Shop: 첫 제품은 edit-pick(대형 스플릿) 재사용, 나머지는 큰 세로 이미지 2열 그리드.
   기존 88px/64px 썸네일 리스트는 사진이 너무 작다는 피드백으로 폐기 — 모바일도 풀와이드 큰 사진 */
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
/* 홀수 개(예: 5개)일 때 마지막 줄에 카드 하나만 덜렁 남는 고아 아이템 방지 — 전체 줄을 차지하되
   이미지가 과하게 커지지 않도록 원래 카드 폭 그대로 가운데 정렬한다. diag-grid(3열, 항상 3개)는 대상 아님 */
.shop-grid:not(.diag-grid) > .shop-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 20px); margin: 0 auto; }
@media (max-width: 640px) { .shop-grid:not(.diag-grid) > .shop-card:last-child:nth-child(odd) { max-width: none; } }
.shop-card-media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shop-card-num { display: block; font-weight: 700; color: var(--ink-muted); font-size: .85rem; margin-bottom: 8px; }
.shop-card-badge { display: inline-block; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.shop-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.shop-card p { color: var(--text-on-light-muted); font-size: .96rem; margin: 0 0 14px; }
.shop-card-cta { font-weight: 700; font-size: .86rem; color: var(--plum); display: inline-flex; align-items: center; gap: 6px; }
.shop-card-cta .arrow { transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .shop-card:hover .shop-card-media img { transform: scale(1.05); }
  .shop-card:hover .shop-card-cta { color: var(--gold-dark); }
  .shop-card:hover .shop-card-cta .arrow { transform: translateX(5px); }
}
@media (max-width: 640px) { .shop-grid { grid-template-columns: 1fr; gap: 44px; } }
/* diag-grid: 가이드 상세페이지의 3열 진단형 그리드(shop-grid 스타일 재사용, 구매CTA 없이 이미지+번호+설명만) */
.diag-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .diag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .diag-grid { grid-template-columns: 1fr; } }
#shop-now .edit-pick { margin-bottom: clamp(48px, 6vw, 72px); }
@media (max-width: 800px) { #shop-now .edit-pick-media { width: 100%; max-width: none; } }

/* ---- 02 Credit line: 신뢰 지표 스트립 ---- */
/* ---- 02 Why-fit: 의미 없는 마케팅 수치 스트립 대신, 50대 화장품 선택기준 ↔ PLASTOX 대응 논리 ---- */
.jr-fit-list { border-top: 1px solid var(--line); }
.jr-fit-row { display: grid; grid-template-columns: 48px 1fr 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(28px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.jr-fit-num { font-weight: 700; color: var(--ink-muted); font-size: .95rem; padding-top: 4px; font-variant-numeric: tabular-nums; }
.jr-fit-need h3 { font-size: 1.15rem; margin-bottom: 8px; }
.jr-fit-need p { color: var(--text-on-light-muted); font-size: .96rem; margin: 0; }
.jr-fit-answer { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 40px); }
.jr-fit-tag { display: inline-block; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.jr-fit-answer p { color: var(--text-on-light-muted); font-size: .96rem; margin: 0; }
@media (max-width: 860px) {
  .jr-fit-row { grid-template-columns: 28px 1fr; }
  .jr-fit-answer { grid-column: 2; border-left: none; padding-left: 0; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
}

/* ---- 03 Category rail: 가로 스크롤 스냅 카드 ---- */
.jr-rail-wrap { padding-bottom: 4px; }
.jr-rail { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 48px; row-gap: 72px; }
.jr-rail-card { background: transparent; border-top: 1px solid var(--line); padding: 36px 0 0; transition: border-color .25s ease; }
/* 카드형 내부링크는 내부 SEO 전략상 필수 — 카테고리 인덱스도 실사진 썸네일을 단다(형제사이트 공통 관행) */
.jr-rail-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.jr-rail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) and (pointer: fine) { .jr-rail-card:hover .jr-rail-media img { transform: scale(1.05); } }
.jr-rail-num { display: block; color: var(--ink-muted); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 18px; }
.jr-rail-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.jr-rail-card p { color: var(--text-on-light-muted); font-size: 0.96rem; margin: 0 0 20px; }
.jr-rail-links { display: flex; flex-direction: column; gap: 8px; }
.jr-rail-links a { font-weight: 650; font-size: 0.94rem; color: var(--plum); display: inline-flex; align-items: center; gap: 6px; }
@media (hover: hover) and (pointer: fine) { .jr-rail-card:hover { border-color: var(--plum); } }
@media (max-width: 1024px) { .jr-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .jr-rail { grid-template-columns: 1fr; } }

/* ---- 04 Product strip: 대각선 오프셋 이미지 밴드 ---- */
.jr-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 8px 4px 28px; }
.jr-strip-item { text-align: center; }
.jr-strip-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin-bottom: 14px; }
.jr-strip-item .strip-label { font-weight: 700; font-size: 0.94rem; }
.jr-strip-item .strip-sub { font-size: 0.82rem; color: var(--text-on-light-muted); }
@media (max-width: 900px) { .jr-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .jr-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---- 05 Journal index: 카테고리 전체 인덱스(넘버 리스트) ---- */
.jr-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.jr-index-row { border-bottom: 1px solid var(--line); }
.jr-index-row a { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding: clamp(22px, 3vw, 30px) 4px; transition: background .25s ease, padding-left .25s ease; }
.jr-index-num { font-weight: 700; font-size: 1.1rem; color: var(--ink-muted); flex: 0 0 40px; letter-spacing: 0.02em; }
.jr-index-body { flex: 1; }
.jr-index-body .eyebrow { margin-bottom: 6px; }
.jr-index-body p { margin: 4px 0 0; color: var(--text-on-light-muted); font-size: 0.96rem; }
.jr-index-arrow { font-size: 1.3rem; color: var(--plum); transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) { .jr-index-row a:hover { background: var(--plum-tint); padding-left: 16px; } .jr-index-row a:hover .jr-index-arrow { transform: translateX(6px); } }

/* ---- 06 Quote band: 다크 풀쿼트 + 사업자 신뢰배지 ---- */
.jr-quote { background: var(--plum-dark); color: #fff; padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.jr-quote blockquote { margin: 0 auto; max-width: 780px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.5; }
.jr-quote-sub { max-width: 620px; margin: 26px auto 0; color: var(--text-on-dark-muted); font-size: 1rem; line-height: 1.8; }
.jr-quote-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; }
.jr-quote-badges span { font-size: 0.88rem; color: var(--text-on-dark-muted); padding: 10px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-pill); }

/* ---- 07 FAQ: 헤어라인 + 번호/질문/+ 구조, 카드·배경 없음 ---- */
.dp-faq { border-top: 1px solid var(--line); counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--line); counter-increment: faq; }
.faq-q { width: 100%; display: flex; align-items: baseline; gap: clamp(16px, 3vw, 32px); padding: clamp(26px, 3vw, 34px) 4px; font-weight: 650; font-size: 1.08rem; text-align: left; min-height: 56px; }
.faq-q::before { content: counter(faq, decimal-leading-zero); flex: 0 0 auto; font-weight: 700; font-size: .84rem; letter-spacing: .04em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.faq-q span:first-of-type { flex: 1; }
.faq-q .icon { flex-shrink: 0; transition: transform .3s ease; font-size: 1.5rem; color: var(--gold-dark); 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 clamp(26px, 3vw, 34px) calc(1.2em + clamp(16px, 3vw, 32px)); color: var(--text-on-light-muted); font-size: 1rem; line-height: 1.8; }

/* ---- 07b CTA 카드 (사이트맵 페이지 등 보조 페이지용 — 홈페이지는 jr-brand-cta로 대체됐지만
   이 클래스는 여전히 sitemap-page/index.php가 참조하므로 QA에서 누락 확인 후 복원) ---- */
.jr-cta-card { background: var(--white); border: 1.5px solid var(--gold); padding: clamp(48px, 6vw, 72px) clamp(28px, 5vw, 64px); text-align: center; box-shadow: var(--shadow-card); }
.jr-cta-card h2 { margin-bottom: 18px; }
.jr-cta-card p { color: var(--text-on-light-muted); margin-bottom: 30px; }

/* ---- 08 Brand CTA: 카드+버튼 대신 풀블리드 브랜드 스포트라이트(대형 타이포+단일 제품샷) ---- */
.jr-brand-cta { background: var(--plum-dark); color: #fff; overflow: hidden; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; }
.jr-brand-cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; min-height: clamp(300px, 28vw, 400px); position: relative; z-index: 1; }
.jr-brand-cta-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 4.5vw, 56px) 24px clamp(36px, 4.5vw, 56px) max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
.jr-brand-cta-text .eyebrow { color: var(--gold-light); }
.jr-brand-cta-text h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 560px; margin: 8px 0 18px; }
.jr-brand-cta-text p { color: var(--text-on-dark-muted); max-width: 460px; margin: 0 0 22px; }
.jr-brand-cta-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.jr-brand-cta-sub { font-size: .84rem; color: var(--text-on-dark-muted); border-bottom: 1px solid transparent; padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .jr-brand-cta-sub:hover { border-color: var(--text-on-dark-muted); } }
/* 텍스트 컬럼 높이만큼 그대로 늘어나면 제품이 사진 안에서 붕 뜨고 배경만 남는다 —
   행 전체를 채우지 않고, 세로 중앙에 작게 프레이밍된 카드로 고정한다 */
.jr-brand-cta-media { min-height: 0; align-self: center; width: min(78%, 320px); aspect-ratio: 3/4; margin-inline-start: auto; overflow: hidden; }
.jr-brand-cta-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .jr-brand-cta-grid { grid-template-columns: 1fr; min-height: 0; }
  .jr-brand-cta-text { order: 2; padding: 36px 24px 40px; }
  .jr-brand-cta-media { order: 1; width: 100%; margin-inline-start: 0; align-self: stretch; aspect-ratio: 16/9; max-height: clamp(180px, 28vh, 260px); }
}

/* ---------- 푸터 ---------- */
.footer { background: var(--plum-dark); color: var(--text-on-dark); padding-top: 4px; overflow: hidden; }

/* 워드마크가 푸터의 첫인상 — 법적고지보다 먼저 나와야 "선언 → 잔글씨" 순서의 하이엔드 리듬이 산다.
   배경 장식은 없음(플랫한 다크 배경 그대로) — .container 밖에 둬서 자연스럽게 풀블리드(화면 폭 전체)로 퍼진다. */
.footer-brand { padding: clamp(48px, 8vw, 84px) clamp(20px, 4vw, 48px); }
/* 타이포그래픽 브랜드 락업 — "50's / PHILOS / Cosmetics", 셋 다 같은 폰트·같은 크기(글씨 높이 통일)로
   맞추고 굵기·이탤릭 대비만으로 위계를 준다. 가장자리부터 가장자리까지 퍼지도록 space-between으로 배치 */
.footer-wordmark-line { display: flex; align-items: baseline; justify-content: center; gap: 0 clamp(10px, 1.6vw, 20px); flex-wrap: wrap; text-decoration: none; width: 100%; text-align: center; }
.fw-pre, .fw-main, .fw-post { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 9vw, 7.6rem); line-height: 1; letter-spacing: -0.01em; transition: color .25s ease; }
.fw-pre { font-style: italic; font-weight: 500; color: rgba(216, 199, 158, .8); }
.fw-main { font-weight: 600; color: rgba(255, 255, 255, .92); }
.fw-post { font-style: italic; font-weight: 500; color: rgba(255, 255, 255, .5); }
@media (hover: hover) and (pointer: fine) {
  .footer-wordmark-line:hover .fw-main { color: var(--gold-light); }
  .footer-wordmark-line:hover .fw-pre, .footer-wordmark-line:hover .fw-post { color: rgba(255,255,255,.85); }
}
@media (max-width: 700px) {
  .footer-wordmark-line { flex-direction: column; align-items: center; gap: 0; }
  .fw-pre, .fw-main, .fw-post { font-size: clamp(2.4rem, 13vw, 4rem); }
}

/* 세컨더리 디테일 바 — 내비게이션만, 법적고지는 아직 아님 */
.footer-detail { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.footer-detail-tag { font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.5); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-on-dark-muted); font-size: 0.9rem; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: #fff; } }

/* 가장 아래 — 사업자등록정보 등 법적고지는 가장 작은 글씨로 맨 끝에만 */
.footer-bottom { padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px 24px; }
.footer-biz-mini p { margin: 0 0 4px; color: rgba(255,255,255,.4); font-size: 0.72rem; line-height: 1.6; letter-spacing: 0; }
.footer-biz-mini a { color: rgba(255,255,255,.4); }
.footer-bottom-meta { display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.4); font-size: 0.74rem; white-space: nowrap; }
.footer-top-link { color: rgba(255,255,255,.4); font-size: 0.74rem; }
@media (hover: hover) and (pointer: fine) { .footer-top-link:hover { color: #fff; } }
@media (max-width: 768px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   상세/가이드 페이지 공통
   ========================================================================== */
.dp-section { padding: clamp(60px, 8vw, 96px) 0; }
.dp-copy { max-width: 720px; }

/* ---- 반복 인라인 스타일 정리용 유틸리티 ---- */
.mt-note { margin-top: 20px; }
.dp-divider-spaced { margin: 28px 0; }
.stat-row { margin-top: 32px; text-align: left; }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.dp-hero { padding: clamp(120px, 15vw, 148px) 0 clamp(44px, 6vw, 60px); background: var(--paper); }
.dp-hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.dp-hero .jr-index-num { font-size: 1.6rem; flex: none; }
.dp-hero h1.seo-h1 { font-size: clamp(1.9rem, 3vw, 2.35rem); margin: 10px 0 0; }
.dp-hero-hook { font-weight: 650; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.16; letter-spacing: -0.03em; margin: 18px 0 0; max-width: 760px; }
.dp-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.dp-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@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; } }

.card { position: relative; background: var(--bg-card); overflow: hidden; transition: transform .2s ease; }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.card-body { padding: 24px 16px 20px; }
.card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card-body p { color: var(--text-on-light-muted); font-size: 0.96rem; line-height: 1.7; }
.card-link { display: block; }
.card-link .card-body .eyebrow { margin-bottom: 6px; }
.card-link .card-body .next-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--plum); font-size: 0.92rem; margin-top: 12px; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-img { transform: scale(1.04); } .card-link:hover .next-arrow { color: var(--gold-dark); } }

/* ---- 단계 타임라인 (루틴/순서형 페이지) ---- */
.jr-timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gold-light); }
.jr-timeline li { position: relative; padding: 0 0 40px 34px; }
.jr-timeline li::before { content: ''; position: absolute; left: -8px; top: 4px; width: 13px; height: 13px; background: var(--plum); border: 3px solid var(--bg); }
.jr-timeline li:last-child { padding-bottom: 0; }
.jr-timeline-time { font-family: var(--font-serif); font-weight: 700; color: var(--plum); font-size: 1rem; }
.jr-timeline h3 { margin: 6px 0 8px; }
.jr-timeline p { color: var(--text-on-light-muted); margin: 0; }
/* 타임라인 스텝 이미지 — 인라인 style(border-radius 포함)로 박혀있던 걸 클래스로 통일, 라운드 0 원칙 적용 */
.jr-timeline-media { display: block; width: 100%; max-width: 420px; margin-top: 14px; }

/* ---- 비교 카드 그리드 (제품추천형 페이지) ---- */
/* 이미지는 카드 끝까지 블리드, 텍스트만 좌우+하단 패딩 (텍스트가 카드 가장자리에 그대로 붙는 글리치 수정) */
.jr-compare-card { position: relative; background: var(--bg-card); padding: 0 0 22px; }
.jr-compare-badge { position: absolute; top: 18px; right: 18px; background: var(--bg-card); border: 1px solid var(--gold); color: var(--gold-dark); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; }
.jr-compare-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 18px; }
.jr-compare-card h3 { margin: 0 16px 8px; }
.jr-compare-card p { color: var(--text-on-light-muted); font-size: 0.95rem; margin: 0 16px; }

/* ---- 체크리스트 진단형 (고민/선물형 페이지) ---- */
.jr-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jr-check li { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; font-size: 1.01rem; line-height: 1.7; }
.jr-check .chk-mark { flex-shrink: 0; width: 30px; height: 30px; background: var(--plum-tint); color: var(--plum); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.92rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); 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: 0.98rem; }
table.dp-table th { background: var(--paper); font-weight: 700; }
table.dp-table.dp-table-thumb th:first-child, table.dp-table.dp-table-thumb td.dp-table-thumb-cell { padding: 8px; width: 64px; }
.dp-table-thumb-cell img { width: 56px; height: 56px; object-fit: cover; display: block; }

.stat-block { text-align: center; }
.stat-num { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.1rem); color: var(--plum); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-on-light-muted); font-size: 0.98rem; margin-top: 8px; }

/* ---- Next (관련 링크) ---- */
.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-weight: 650; font-size: 1.08rem; }
.next-links a:last-child { border-bottom: 1px solid var(--line); }
.next-links a span.next-label { flex: 1; }
.next-links img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .next-links a:hover { color: var(--plum); } }

/* ---- 제품 큐레이션 픽 ---- */
.edit-pick { display: flex; align-items: center; gap: clamp(28px, 5vw, 60px); }
.edit-pick-media { flex: 0 0 36%; }
.edit-pick-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.edit-pick-body { flex: 1; }
.edit-pick-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.edit-pick-body p.edit-desc { color: var(--text-on-light-muted); margin-bottom: 22px; }
.edit-pick-why { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.edit-pick-why li { font-weight: 650; font-size: 0.95rem; color: var(--text-on-light-muted); }
.edit-pick-why b { color: var(--plum); 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: 300px; } }

/* ==========================================================================
   가이드(AEO/GEO 롱폼) 전용 — 좌측 스티키 목차 2단 구성 (형제사이트에 없는 구조)
   ========================================================================== */
/* 사이드바 TOC 제거 — 콘텐츠가 좁은 컬럼에 압축되지 않고 .container(1200px) 전체를 쓰도록 함.
   본문 문단만 가독폭(720px)으로 제한하고, 그리드/표/이미지 등은 컨테이너 전체 폭까지 넓게 편다. */
.guide-body > section { padding: 44px 0; border-top: 1px solid var(--line); }
.guide-body > section:first-child { padding-top: 0; border-top: none; }
.guide-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.guide-body > section > p, .guide-body > section > ul.jr-check, .guide-body > section > ol.jr-timeline, .guide-body > section > p.lede.mt-note {
  max-width: 720px;
}

/* ---------- reveal 모션 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.16,.8,.28,1), transform .6s cubic-bezier(.16,.8,.28,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* 그리드/리스트 안의 reveal 요소는 동시에 팝인하지 않고 순서대로 번지도록 단차를 둔다 */
.dp-g2 > *:nth-child(2), .dp-g3 > *:nth-child(2), .dp-g4 > *:nth-child(2), .jr-index > *:nth-child(2),
.jr-rail > *:nth-child(2), .jr-strip > *:nth-child(2), .jr-check > *:nth-child(2), .jr-timeline > *:nth-child(2), .shop-grid > *:nth-child(2), .jr-fit-list > *:nth-child(2) { transition-delay: 90ms; }
.dp-g2 > *:nth-child(3), .dp-g3 > *:nth-child(3), .dp-g4 > *:nth-child(3), .jr-index > *:nth-child(3),
.jr-rail > *:nth-child(3), .jr-strip > *:nth-child(3), .jr-check > *:nth-child(3), .jr-timeline > *:nth-child(3), .shop-grid > *:nth-child(3), .jr-fit-list > *:nth-child(3) { transition-delay: 180ms; }
.dp-g4 > *:nth-child(4), .jr-index > *:nth-child(4), .jr-rail > *:nth-child(4), .jr-strip > *:nth-child(4), .jr-check > *:nth-child(4), .jr-timeline > *:nth-child(4), .shop-grid > *:nth-child(4), .jr-fit-list > *:nth-child(4) { transition-delay: 270ms; }
.jr-rail > *:nth-child(5), .jr-strip > *:nth-child(5), .jr-check > *:nth-child(5), .jr-timeline > *:nth-child(5), .shop-grid > *:nth-child(5) { transition-delay: 360ms; }
.jr-rail > *:nth-child(6), .jr-strip > *:nth-child(6), .jr-check > *:nth-child(6) { transition-delay: 450ms; }
.jr-rail > *:nth-child(7), .jr-strip > *:nth-child(7), .jr-check > *:nth-child(7) { transition-delay: 540ms; }
.jr-rail > *:nth-child(8), .jr-check > *:nth-child(8) { transition-delay: 630ms; }
@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; }
}

/* ---------- 반응형 ---------- */
/* 의미단위 줄바꿈용 — 데스크톱/모바일에서 원하는 <br> 위치가 다를 때 사용 (QA에서 미정의 발견해 추가) */
.br-mobile { display: none; }
.br-desktop { display: inline; }
@media (max-width: 768px) { .br-mobile { display: inline; } .br-desktop { display: none; } }
@media (max-width: 1024px) { .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: 60px 0; }
}
@media (max-width: 480px) { .dp-g2, .dp-g3, .dp-g4 { grid-template-columns: 1fr; } .jr-hero-cta { flex-direction: column; align-items: stretch; } }
