/* ==========================================================================
   피부탄력관리 — PLASTOX 타임리턴 (elasticity.philosworld.com)
   2026-09-28 구매전환형 리디자인: 컨테이너·타이포·팔레트를 신규 브리프 기준으로 통일
   (팔레트는 공식 BI 확정값이 아닌 작업용 제안값 — claims-review.md 참조, 운영사 확인 대기)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  color-scheme: only light;

  /* 2026-09-28 3차 리디자인: 와인+에메랄드 2색 조합이 촌스럽다는 피드백 → 단일 액센트
     (딥 틸/피콕그린 1색)로 축소. --burgundy 변수명은 유지하되 값은 틸로 교체(대규모
     변수명 치환 대신 값만 교체). 라운드 전면 제거, 여백 확대는 유지. 공식 BI 확정 전 제안값. */
  --ink: #14131A;
  --ink-soft: #201A22;
  --burgundy: #0B4A52;
  --burgundy-deep: #073338;
  --deepgreen: #0B4A52;
  --deepgreen-deep: #073338;

  --bg: #FFFFFF;
  --bg-panel: #F5F5F4;
  --bg-panel-2: #ECECEA;
  --border: #DEDEDC;
  --accent-soft: #EAF3F3;

  --text-on-light: #14131A;
  --text-on-dark: #FBFAF9;
  --text-muted: #56555C;

  --font-heading: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 0px;
  --radius-sm: 0px;

  /* 컨테이너/그리드 토큰 — 컴포넌트 덩어리 간 여백 확대 */
  --container: 80rem;
  --gutter: 1.25rem;
  --gap: clamp(1.75rem, 3vw, 3rem);
  --section-pad: clamp(5rem, 8vw, 9rem);
  --block-gap: clamp(2.5rem, 5vw, 4.5rem);
  --reading: 38rem;

  --proc-badge: 48px;
  --proc-badge-radius: 0px;
  --proc-line: 2px;

  --sticky-h: 64px;
  --shadow-1: 0 1px 2px rgba(25,24,32,.06), 0 8px 24px rgba(25,24,32,.06);
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }
@media (min-width: 64rem) { :root { --gutter: 3rem; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
@media (max-width: 768px) { body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); font-size: 17px; } }

img { max-width: 100%; height: auto; display: block; }
.photo img, .card img, .hero img, .ch-media img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; height: auto;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; margin: 0 0 .5em; color: var(--ink); line-height: 1.22; }
h1 { font-size: clamp(2.375rem, 5.2vw, 5rem); line-height: 1.15; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.375rem, 1.6vw, 1.75rem); font-weight: 700; }
.hero-hook { font-size: clamp(1.6875rem, 3.2vw, 2.875rem); font-weight: 700; line-height: 1.24; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
small, .text-sm { font-size: .94rem; }

:where(a,button,[role="button"],summary,.dp-cta,nav a,.ft-quicklinks a) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
  touch-action: manipulation;
}

.wrap {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--container); margin-inline: auto;
}
.section { padding-block: var(--section-pad); }
.section-head { margin-block-end: clamp(1.75rem, 3vw, 3rem); }
.reading { max-width: var(--reading); }
.flow > * + * { margin-block-start: 1.25rem; }

.tr-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start;
}
.tr-grid > * { min-width: 0; }
@media (max-width: 1024px) { .tr-grid { grid-template-columns: 1fr; } }

.tr-page :is(h1,h2,h3,p,li,dt,dd,a,button) { word-break: keep-all; overflow-wrap: anywhere; }
.tr-page :is(h1,h2,h3) { text-wrap: balance; }
.tr-page p { text-wrap: pretty; }
section[id] { scroll-margin-top: 7rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--burgundy); display: inline-block; position: relative; padding-bottom: 14px; margin-bottom: 14px;
}
.eyebrow::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: currentColor; }
.eyebrow.on-dark::after { background: currentColor; opacity: .8; }
.eyebrow.on-dark { color: #8FC9CE; }

.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; align-items: center; }
@media (max-width: 768px) { .dp-g2, .dp-g3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dp-stat3 { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1.125rem;
  border: 1px solid transparent; min-height: 56px; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--burgundy-deep); transform: translateY(-2px); }
  .btn-outline:hover { background: var(--ink); color: #fff; }
  .btn-on-dark:hover { background: var(--burgundy); color: #fff; }
  .card:hover .card-media img { transform: scale(1.04); }
  .link-card:hover .lc-title { color: var(--burgundy); }
  .top-line:hover::after { transform: scaleX(1); }
}
.btn:active { transform: scale(.97); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; padding: 18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header[data-scrolled="1"] { background: rgba(247,246,245,.94); backdrop-filter: none; box-shadow: var(--shadow-1); padding: 10px 0; }
.hdr-brand { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-brand strong { font-family: var(--font-heading); font-size: 1.3rem; letter-spacing: .02em; }
.hdr-logo__tagline { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); font-variant: small-caps; margin-top: 3px; }
[data-hdr="dark"] .hdr-brand, [data-hdr="dark"] .hdr-brand strong { color: #fff; }
[data-hdr="dark"] .hdr-logo__tagline { color: rgba(255,255,255,.72); }
.site-header[data-scrolled="1"] .hdr-brand, .site-header[data-scrolled="1"] .hdr-brand strong { color: var(--ink); }
.site-header[data-scrolled="1"] .hdr-logo__tagline { color: var(--text-muted); }

.hdr-nav { display: flex; gap: 28px; align-items: center; }
.hdr-nav a { font-size: .94rem; font-weight: 600; }
@media (max-width: 768px) { .hdr-nav { display: none; } }

.hdr-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: none; }
.hdr-burger span { width: 22px; height: 2px; background: currentColor; }
@media (max-width: 768px) { .hdr-burger { display: flex; } }
[data-hdr="dark"] .hdr-burger { color: #fff; }
.site-header[data-scrolled="1"] .hdr-burger { color: var(--ink); }

#mob-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff;
  transform: translateX(100%); transition: transform .35s ease; padding: 100px 32px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
#mob-nav.is-open { transform: translateX(0); }
#mob-nav a { font-size: 1.3rem; font-family: var(--font-heading); color: #fff; }

/* ---------- Hero (Ken Burns crossfade, archetype H2) ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92dvh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: hero-kenburns 15s ease-in-out infinite; }
.hero-slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
@keyframes hero-kenburns {
  0% { opacity: 0; transform: scale(1); }
  4% { opacity: 1; }
  30% { opacity: 1; transform: scale(1.08); }
  34% { opacity: 0; }
  100% { opacity: 0; }
}
.hero-copy { position: relative; z-index: 2; padding: 48px 0 72px; width: 100%; }
.hero-copy-card {
  max-width: 38.75rem; background: rgba(22,21,26,.55); padding: 32px 36px; border-radius: var(--radius);
}
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero full-bleed (형제사이트 참조 — 풀블리드 이미지+오버레이 카피) ----------
   2026-09-28 4차 리디자인: 좌우 스플릿형 대신 풀블리드 히어로로 재변경(사용자 지시,
   skintexture/depuff/homeaesthetics 참조). 이미지 전면 색상 오버레이는 금지 규칙이라
   텍스트 영역(하단)에만 국소 그라데이션 스크림을 준다. */
.hero-full { position: relative; min-height: 92vh; min-height: 92dvh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-full-bg { position: absolute; inset: 0; }
.hero-full-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); animation: hero-settle 1.1s ease forwards; }
.hero-full-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, rgba(20,19,26,.92), rgba(20,19,26,0)); pointer-events: none; }
.hero-full-content { position: relative; z-index: 2; width: 100%; padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 104px); }
.hero-full .eyebrow { color: #fff; opacity: .9; }
.hero-full h1 { color: #fff; font-size: clamp(3rem, 8vw, 6.25rem); line-height: 1.05; margin-bottom: 20px; }
.hero-full-hook { font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: rgba(255,255,255,.92); max-width: 40rem; margin-bottom: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; padding: 0; list-style: none; }
.hero-tags a { color: rgba(255,255,255,.82); font-weight: 700; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .hero-tags a:hover { color: #fff; } }
.hero-full-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-full-actions .hs-secondary-link { color: #fff; }
@media (max-width: 768px) {
  .hero-full { min-height: 86vh; min-height: 86dvh; }
  .hero-full-scrim { height: 68%; }
}

/* ---------- Hero split (제품 좌우 배치형, 신규 — .hero와 별개 컴포넌트) ----------
   2026-09-28 레이아웃 붕괴 수정: 암시적 그리드에서 grid-row:1/-1 스팬이 브라우저마다
   다르게 해석되어 텍스트 사이 간격이 무너지는 문제 발생 → 명시적 2행(grid-template-rows)
   + 텍스트를 top/bottom 두 그룹으로 나눠 스팬 대상 행을 확정하는 구조로 재작성. */
.hero-split {
  display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto;
  column-gap: clamp(2rem, 4vw, 4rem); row-gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hs-text-top { grid-column: 1; grid-row: 1; align-self: end; }
.hs-text-bottom { grid-column: 1; grid-row: 2; align-self: start; }
.hs-media { grid-column: 2; grid-row: 1 / 3; }
.hs-media-frame { position: relative; width: 100%; height: 100%; min-height: 24rem; overflow: hidden; }
.hs-media-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); animation: hero-settle .9s ease forwards; }
@keyframes hero-settle { to { transform: scale(1); } }
.hs-eyebrow { display: block; margin-bottom: 16px; }
.hs-h1 { margin-bottom: 16px; }
.hs-hook { margin-bottom: 0; }
.hs-desc { color: var(--text-muted); font-size: 1.1rem; margin: 0 0 20px; }
.hs-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.hs-secondary-link { font-weight: 700; color: var(--burgundy); }
.hs-quicklinks { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.hs-quicklinks a { font-size: .92rem; font-weight: 700; color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) { .hs-quicklinks a:hover, .hs-secondary-link:hover { color: var(--burgundy); } }

@media (max-width: 1024px) {
  /* 모바일 우선순위: H1 → 후킹 → 사진 → 주버튼 → 보조설명(브리프 12절) — 3행 세로 스택 */
  .hero-split { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 24px; }
  .hs-text-top { grid-column: 1; grid-row: 1; align-self: auto; }
  .hs-media { grid-column: 1; grid-row: 2; }
  .hs-text-bottom { grid-column: 1; grid-row: 3; }
  .hs-media-frame { min-height: 0; aspect-ratio: 3/2; }
}

/* ---------- Cards (fixed columns, equal height) ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; grid-auto-rows: 1fr;
}
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .card-grid { grid-template-columns: 1fr; } }
.card-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .card-grid.grid-2 { grid-template-columns: 1fr; } }

.card, .link-card {
  margin: 0; display: flex; flex-direction: column; height: 100%; min-width: 0;
  background: #fff; color: var(--text-on-light); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.lc-figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.card-media, .lc-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-media img, .lc-media img { transition: transform .5s ease; }
.card-body, .lc-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.card-title, .lc-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { color: var(--text-muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--burgundy); }
.card-cta { background: var(--ink); color: #fff; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.card-cta .card-title { color: #fff; -webkit-line-clamp: 3; }

.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.badge { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 0; background: var(--bg-panel-2); color: var(--ink); white-space: nowrap; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- Process / timeline (변형 금지 구역 — 구조·수치 그대로) ---------- */
.proc-list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1 1 0; min-width: 0; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 0;
  top: calc(var(--proc-badge)/2 - var(--proc-line)/2);
  left: 50%; width: 100%; height: var(--proc-line); background: var(--border);
}
.proc-num {
  position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge);
  margin: 0 auto 12px; border-radius: var(--proc-badge-radius);
  background: var(--burgundy); color: #fff; font-weight: 700; font-family: var(--font-heading);
  display: flex; align-items: center; justify-content: center;
}
/* 스텝 콘텐츠 카드 — 배지·연결선(위 변형금지 구역)은 그대로 두고 콘텐츠 표현만 카드로 교체 */
.proc-card {
  position: relative; z-index: 1; background: #fff; color: var(--text-on-light);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: 20px 16px 18px; min-height: 104px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.proc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--burgundy); border-radius: var(--radius) var(--radius) 0 0;
}
.proc-step__title { display: block; font-size: .95rem; font-weight: 700; }
.proc-step__meta { display: block; margin-top: 2px; font-size: .82rem; color: var(--burgundy); font-weight: 700; }
@media (max-width: 1024px) {
  .proc-list { flex-direction: column; gap: 32px; }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 16px); text-align: left; }
  .proc-num { position: absolute; left: 0; top: 0; margin: 0; }
  .proc-card { min-height: 0; padding: 14px 16px; text-align: left; }
  .proc-step:not(:last-child)::after {
    top: var(--proc-badge); left: calc(var(--proc-badge)/2 - var(--proc-line)/2);
    width: var(--proc-line); height: calc(100% + 32px);
  }
}

/* ---------- Comparison / checklist / cost table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.dp-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; color: var(--text-on-light); }
table.dp-table caption { text-align: left; padding: 14px 18px; font-weight: 700; background: var(--bg-panel); color: var(--text-on-light); }
table.dp-table th, table.dp-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; font-size: .95rem; color: var(--text-on-light); }
table.dp-table th { background: var(--bg-panel); font-family: var(--font-heading); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: #fff; color: var(--text-on-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.checklist li::before { content: ''; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 0; background: var(--deepgreen); }

.callout { border-left: 4px solid var(--burgundy); background: var(--bg-panel); color: var(--text-on-light); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- 제품 비교 2패널 (5열 표 대체) ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 768px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-panel {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
}
.compare-panel .cp-media { aspect-ratio: 4/3; overflow: hidden; }
.compare-panel .cp-media img { width: 100%; height: 100%; object-fit: cover; }
.compare-panel .cp-body { padding: 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.compare-panel .cp-step { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--burgundy); background: var(--accent-soft); padding: 3px 10px; border-radius: 0; align-self: flex-start; margin-bottom: 8px; }
.compare-panel h3 { margin-bottom: 4px; }
.cp-specs { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 14px; }
.cp-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.cp-specs dt, .cp-specs .cp-k { color: var(--text-muted); }
.cp-specs .cp-v { font-weight: 700; text-align: right; }
.cp-feature { color: var(--text-muted); font-size: .95rem; margin: 4px 0 14px; }
.cp-link { margin-top: auto; font-weight: 700; color: var(--burgundy); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 사용 안내 2단계 (효능 단계 아님 — 순서 표시용) ---------- */
.usage-2step { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: 44rem; margin-inline: auto; }
@media (max-width: 768px) { .usage-2step { grid-template-columns: 1fr; } }
.usage-2step .us-arrow { color: var(--text-muted); font-size: 1.6rem; }
@media (max-width: 768px) { .usage-2step .us-arrow { transform: rotate(90deg); justify-self: center; } }
.us-card { background: #fff; color: var(--text-on-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-1); }
.us-card .us-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 0; background: var(--burgundy); color: #fff; font-weight: 700; font-size: .85rem; margin-bottom: 10px; }

/* ---------- 구매 판단 정보 (4/8 컬럼) ---------- */
.evidence-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.evidence-row:last-child { border-bottom: none; }
.evidence-row .ev-fact { flex: 0 0 40%; font-weight: 700; }
.evidence-row .ev-reason { flex: 1; color: var(--text-muted); }

/* ---------- 더 알아보기: 단일 실링크 가이드 카드 ---------- */
.guide-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); color: var(--text-on-light);
}
@media (max-width: 768px) { .guide-card { grid-template-columns: 1fr; } }
.guide-card .gc-media { aspect-ratio: 4/3; overflow: hidden; }
.guide-card .gc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guide-card .gc-body { padding: clamp(24px,4vw,48px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.guide-card .gc-link { font-weight: 700; color: var(--burgundy); display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .guide-card:hover .gc-media img { transform: scale(1.04); } }

/* ---------- FAQ (details/summary — JS 없이도 동작) ---------- */
.faq-native { border-top: 1px solid var(--border); }
.faq-native details { border-bottom: 1px solid var(--border); }
.faq-native summary {
  list-style: none; cursor: pointer; padding: 22px 0; min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.05rem;
}
.faq-native summary::-webkit-details-marker { display: none; }
.faq-native summary::after { content: '+'; font-size: 1.5rem; color: var(--burgundy); flex-shrink: 0; transition: transform .25s ease; }
.faq-native details[open] summary::after { transform: rotate(45deg); }
.faq-native summary:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.faq-native .faq-a-body { padding: 0 0 24px; font-size: 1.02rem; color: var(--text-muted); }

/* ---------- FAQ accordion (구 버전 — /skin-elasticity-essence/ 등 다른 페이지 호환용) ---------- */
dl { margin: 0; }
.faq-item { border-bottom: 1px solid var(--border); margin: 0; }
.faq-item dt { margin: 0; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; font-size: 1.05rem; font-weight: 700; font-family: var(--font-heading); display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--burgundy); transition: transform .3s ease; }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--text-muted); }
.faq-a p { padding-bottom: 20px; }

/* ---------- Trust band / stats ---------- */
.trust-band { background: var(--ink); color: var(--text-on-dark); }
.trust-band .stat-num { font-family: var(--font-heading); font-size: clamp(2.6rem, 6vw, 4.5rem); color: #fff; }
.trust-band .stat-label { color: rgba(255,255,255,.75); font-size: .92rem; margin-top: 6px; }

/* ---------- Dark full-bleed section (필수 A2) ---------- */
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
/* 다크 섹션 안의 흰 카드(.card/.callout 등)는 밝은 배경용 색을 강제로 되돌린다 */
.section-dark .card-title, .section-dark .lc-title, .section-dark .callout h3 { color: var(--text-on-light); }
.section-dark .text-muted { color: rgba(255,255,255,.72); }

/* ---------- Artwork macro panel (모티프 M8) ---------- */
.macro-panel { position: relative; border-radius: var(--radius); overflow: hidden; }
.macro-panel img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.macro-caption { position: absolute; left: 24px; bottom: 24px; background: rgba(22,21,26,.62); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-size: .85rem; }

/* ---------- CTA banner (5-layer) ---------- */
.cta-banner { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(110,30,54,.55), transparent 55%);
}
.cta-bg-img { position: absolute; inset: 0; z-index: 0; }
.cta-bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: .34; aspect-ratio: auto; }
.cta-inner { position: relative; z-index: 1; padding: 96px 0; text-align: left; }
.cta-inner h2 { color: #fff; max-width: 40rem; }
.cta-sub { color: rgba(255,255,255,.82); max-width: 35rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-assurance { display: block; margin-top: 22px; color: rgba(255,255,255,.6); font-size: .82rem; }

/* ---------- Footer (좌측 클러스터) ---------- */
.site-footer { background: var(--bg-panel); border-top: 1px solid var(--border); padding: 64px 0 24px; }
.site-footer .ft-word {
  font-family: var(--font-heading); font-size: clamp(3rem, 14vw, 9rem); color: var(--bg-panel-2);
  margin: 0 0 24px; line-height: .9; user-select: none;
}
.site-footer .ft-in {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left;
}
.ft-h { font-size: 15px; font-weight: 700; margin-bottom: 12px; font-family: var(--font-heading); }
.ft-biz { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .86rem; color: var(--text-muted); margin: 0; }
.ft-biz dt { font-weight: 700; color: var(--ink); }
.ft-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-ul a { font-size: .92rem; }
.ft-bottom { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 16px; font-size: .82rem; color: var(--text-muted); }
@media (max-width: 768px) {
  .site-footer .ft-in { grid-template-columns: 1fr; text-align: left; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Floating CTA / mobile sticky bar ---------- */
.float-cta {
  position: fixed; z-index: 80; right: 20px;
  bottom: calc(var(--sticky-h) + 16px + env(safe-area-inset-bottom));
  background: var(--burgundy); color: #fff; padding: 14px 22px; border-radius: 0;
  font-weight: 700; box-shadow: var(--shadow-1); display: none;
}
.mob-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.mob-bar-btn { display: flex; width: 100%; justify-content: center; background: var(--burgundy); color: #fff; padding: 14px; border-radius: var(--radius-sm); font-weight: 700; min-height: 52px; }
@media (max-width: 768px) { .float-cta { display: inline-flex; } .mob-bar { display: block; } }
.mob-bar.is-hidden { display: none; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-stagger] > *, .hero-slide { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  * { animation-duration: .001s !important; }
}

/* ---------- Misc keyframes (예산 하한 3종 이상) ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes underline-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.top-line { position: relative; }
.top-line::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }

.section > .wrap > .eyebrow[data-reveal] { animation: none; }

/* ---------- Aspect helpers ---------- */
.ratio-16-9 { aspect-ratio: 16/9; overflow: hidden; }
.ratio-16-9 img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Breakpoints (480 / 768 / 1024 / 1151 고정) ---------- */
@media (max-width: 1151px) {
  .wrap { padding-inline: 20px; }
}
@media (max-width: 1024px) {
  .card-grid.grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { min-height: 84vh; min-height: 84dvh; }
  .hero-copy-card { padding: 24px; max-width: 100%; }
  .cta-inner { padding: 64px 0; }
  .section-dark .dp-stat3 { gap: 20px; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* ---------- 의미단위 줄바꿈 (데스크톱/모바일 분기) ---------- */
.br-mobile { display: none; }
.br-desktop { display: inline; }
@media (max-width: 768px) {
  .br-desktop { display: none; }
  .br-mobile { display: inline; }
}
