/* ==========================================================================
   팡팡펫 (PANGPANGPET) — 공통 디자인 시스템
   Warm Beige + Soft Coral
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. 디자인 토큰
   -------------------------------------------------------------------------- */
:root {
  /* 배경 */
  --bg:          #FAF6F0;   /* 웜 오프화이트 — 기본 배경 */
  --bg-warm:     #F3E9DD;   /* 베이지 — 교차 섹션 */
  --bg-deep:     #2E2622;   /* 딥 웜 브라운 — 대비 블록 */

  /* 텍스트 */
  --ink:         #2E2622;
  --ink-soft:    #6E5F55;
  --ink-mute:    #9C8B7E;
  --ink-invert:  #FAF6F0;

  /* 포인트 */
  --coral:       #E8806B;
  --coral-deep:  #CF6047;
  --coral-tint:  #FBE7E0;
  --sage:        #8FA383;   /* 보조 — 건강/자연 */
  --sage-tint:   #EAEFE5;

  /* 선 */
  --line:        #E5D9CB;
  --line-soft:   #F0E7DC;

  /* 레이아웃 */
  --wrap:        1160px;
  --gutter:      24px;
  --radius:      16px;
  --radius-lg:   26px;

  /* 모션 */
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. 리셋 & 기본
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

/* hidden 속성은 어떤 display 값보다 우선합니다.
   (display:flex/grid 를 준 요소에 hidden 을 걸면 무시되는 문제를 막습니다) */
[hidden] { display: none !important; }
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  /* 한글이 단어 중간에서 잘리지 않도록 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul  { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--coral-tint); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. 레이아웃 유틸
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section        { padding-block: clamp(64px, 9vw, 116px); }
.section--warm  { background: var(--bg-warm); }
.section--deep  { background: var(--bg-deep); color: var(--ink-invert); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.center { text-align: center; }

/* --------------------------------------------------------------------------
   4. 타이포그래피
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.section--deep .eyebrow { color: var(--coral); }

.display {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.headline {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.03em;
}

.subhead {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.lede {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.9;
  color: var(--ink-soft);
}
.section--deep .lede { color: #C9BCB2; }

.fine { font-size: 13px; line-height: 1.8; color: var(--ink-mute); }

.mark { color: var(--coral); }

/* --------------------------------------------------------------------------
   5. 버튼
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--sm { padding: 11px 22px; font-size: 14px; }

.btn .arw { font-size: 13px; transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* 텍스트 링크 */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--coral);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   6. 헤더
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

/* 브랜드 로고 — 실제 로고 이미지 사용 */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; }
@media (max-width: 820px) { .logo img { height: 32px; } }

/* 푸터 스택 로고 */
.ftr__logo { display: inline-block; margin-bottom: 16px; }
.ftr__logo img { height: 96px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.nav .ext { font-size: 11px; color: var(--ink-mute); margin-left: 2px; }


.hdr__cta { flex-shrink: 0; }

@media (max-width: 820px) {
  .hdr__inner { height: auto; flex-direction: column; gap: 10px; padding-block: 14px; }
  .nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .nav a { font-size: 12px; letter-spacing: 0.08em; }
  .hdr__cta { display: none; }
}

/* --------------------------------------------------------------------------
   7. 히어로
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #F7EDE2 0%, #FAF6F0 52%, #FBE7E0 100%);
}
.hero::after {
  content: '';
  position: absolute;
  right: -12%;
  top: -28%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(232,128,107,.20), rgba(232,128,107,0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding-block: clamp(56px, 8vw, 104px);
}

.hero__copy .display { margin-bottom: 22px; }
.hero__copy .lede    { max-width: 460px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* 히어로 비주얼 — 라이프스타일 사진 프레임 */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
.hero__disc {
  position: absolute;
  inset: -4% -6% 6% -2%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, rgba(232,128,107,.22), rgba(232,128,107,0) 70%);
}
.hero__shot {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -38px rgba(80, 52, 40, .45);
}
.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 360px; margin-inline: auto; order: -1; }
  .hero::after { width: 380px; height: 380px; right: -30%; }
}

/* --------------------------------------------------------------------------
   7-b. 사진 히어로 (하위 페이지용)
   -------------------------------------------------------------------------- */
.phero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 46vw, 580px);
  background: var(--bg-warm);
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; }
.phero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% center;   /* 오른쪽 피사체를 살리고 왼쪽을 비움 */
}
/* 텍스트 가독성용 스크림 — 왼쪽만 살짝 */
.phero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(250,246,240,.94) 0%,
    rgba(250,246,240,.86) 34%,
    rgba(250,246,240,.30) 56%,
    rgba(250,246,240,0) 74%);
}
.phero__inner { position: relative; z-index: 1; width: 100%; }
.phero__copy { max-width: 520px; }
.phero__copy .display { margin-bottom: 20px; }
.phero__copy .lede { margin-bottom: 0; }

@media (max-width: 760px) {
  .phero { min-height: 460px; align-items: flex-end; padding-bottom: 40px; }
  .phero__bg img { object-position: 68% center; }
  .phero__bg::after {
    background: linear-gradient(to top,
      rgba(250,246,240,.96) 0%,
      rgba(250,246,240,.88) 44%,
      rgba(250,246,240,.32) 72%,
      rgba(250,246,240,0) 100%);
  }
  .phero__copy { max-width: none; }
}

/* --------------------------------------------------------------------------
   8. 섹션 헤드
   -------------------------------------------------------------------------- */
.shead { max-width: 640px; margin-bottom: clamp(34px, 4vw, 56px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead .headline + .lede { margin-top: 16px; }

/* --------------------------------------------------------------------------
   9. 제품 그리드
   -------------------------------------------------------------------------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}

.pcard {
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease);
}
.pcard:hover { transform: translateY(-6px); }

.pcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-warm);
  margin-bottom: 16px;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
/* 배경 투명 제품 컷 — 잘리지 않게 여백 주고 통째로 보여줌 */
.pcard__media--cut { background: linear-gradient(160deg, #F6ECE0, #FBE7E0); }
.pcard__media--cut img { object-fit: contain; padding: 13%; }
.pcard:hover .pcard__media img { transform: scale(1.045); }

/* 이미지 로드 실패 시 나타나는 대체 표시 */
.pcard__fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(150deg, var(--bg-warm), var(--coral-tint));
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 16px;
}
.pcard__fallback span { font-size: 26px; }
.pcard.is-noimg .pcard__media img { display: none; }
.pcard.is-noimg .pcard__fallback { display: flex; }

/* 범용 이미지 실패 처리 — 히어로 / 분할 블록 등 */
img.is-broken {
  min-height: 180px;
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--bg-warm), var(--coral-tint));
  /* alt 텍스트 대신 빈 면으로 보이게 */
  color: transparent;
  font-size: 0;
}
.hero__shot img.is-broken,
.split__media img.is-broken {
  min-height: 200px;
  aspect-ratio: 1 / 1;
  height: auto;
}
.hero__shot img.is-broken { background: none; }

.tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--bg);
}
.tag--coral { background: var(--coral); color: #fff; }
.tag--sage  { background: var(--sage);  color: #fff; }

.pcard__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.pcard__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__price { display: flex; align-items: baseline; gap: 8px; }
.pcard__was {
  font-size: 13px;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.pcard__now { font-size: 16px; font-weight: 700; color: var(--coral-deep); }

@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .pgrid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   10. 분할 블록 (이미지 | 컬러 패널)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
}
.split--flip .split__panel { order: -1; }

.split__media {
  position: relative;
  background: var(--bg-warm);
  display: grid;
  place-items: center;
  padding: 40px;
}
.split__media img { max-height: 380px; width: auto; object-fit: contain; }

.split__panel {
  background: var(--coral);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4.5vw, 64px);
}
.split__panel .eyebrow { color: rgba(255,255,255,.82); }
.split__panel .lede    { color: rgba(255,255,255,.9); }
.split__panel--sage    { background: var(--sage); }
.split__panel--deep    { background: var(--bg-deep); }
.split__panel .headline + .lede { margin-top: 16px; }
.split__panel .lede + .btn      { margin-top: 30px; align-self: flex-start; }

/* 패널 안 브랜드 캐릭터 */
.panel__mascot {
  width: clamp(120px, 16vw, 168px);
  height: auto;
  margin-bottom: 14px;
  opacity: .96;
}

.split__price {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 24px;
}
.split__price small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  opacity: .78;
  text-decoration: line-through;
  letter-spacing: 0;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split--flip .split__panel { order: 0; }
  .split__media { padding: 32px; }
  .split__media img { max-height: 260px; }
}

/* --------------------------------------------------------------------------
   11. 통계 스트립
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: clamp(26px, 3.4vw, 42px) 24px;
  text-align: center;
}
.section--warm .stat { background: var(--bg-warm); }
.stat__num {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--coral-deep);
  line-height: 1.1;
}
.stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. 카드 / 스텝
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  height: 100%;
}
.section--warm .card { background: rgba(255,255,255,.62); border-color: rgba(255,255,255,.9); }
.section--deep .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }

.card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--coral-tint);
  font-size: 20px;
  margin-bottom: 18px;
}
.section--deep .card__icon { background: rgba(232,128,107,.18); }

.card__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--coral);
  margin-bottom: 12px;
}
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.card p  { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.section--deep .card p { color: #C4B7AD; }

@media (max-width: 860px) {
  .cards, .cards--2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   12-b. 후기 카드
   -------------------------------------------------------------------------- */
/* 후기 — 왼쪽 사진 + 오른쪽 후기 스택 */
.revwrap {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.revwrap__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  background: var(--bg);
}
.revwrap__photo img { width: 100%; height: 100%; object-fit: cover; }
.revwrap__list { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); }
@media (max-width: 860px) {
  .revwrap { grid-template-columns: 1fr; }
  .revwrap__photo { min-height: 260px; max-height: 320px; }
}

/* 카드 상단 이미지 */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 4 / 3; background: var(--bg-warm); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card--photo .card__body { padding: clamp(22px, 2.6vw, 30px); }
.card--photo .card__body h3 { margin-bottom: 10px; }

.review__mark {
  display: block;
  font-size: 40px;
  line-height: .8;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 18px;
}
.review__q {
  font-size: clamp(16px, 1.6vw, 17.5px);
  line-height: 1.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.review__who {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-mute);
}

/* 연구 근거 카드 (컴팩트) */
.evd { text-align: left; }
.evd__k {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--coral-deep);
  margin-bottom: 10px;
}
.evd p { font-size: 14.5px; line-height: 1.75; margin-bottom: 10px; }
.evd cite {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   13. 타임라인 / 리스트
   -------------------------------------------------------------------------- */
.tline { border-top: 1px solid var(--line); }
.tline__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.tline__k {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--coral-deep);
  padding-top: 4px;
}
.tline__v h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.tline__v p  { font-size: 15px; line-height: 1.9; color: var(--ink-soft); }
@media (max-width: 700px) { .tline__row { grid-template-columns: 1fr; gap: 8px; } }

/* --------------------------------------------------------------------------
   14. CTA 밴드
   -------------------------------------------------------------------------- */
.cta {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #F7EDE2, #FBE7E0 70%);
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.cta .headline { margin-bottom: 16px; }
.cta .lede { max-width: 520px; margin: 0 auto 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------------------------------
   15. 푸터
   -------------------------------------------------------------------------- */
.ftr {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 5vw, 64px) 36px;
  margin-top: 0;
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.ftr__brand .logo { margin-bottom: 14px; }
.ftr__brand p { font-size: 14px; color: var(--ink-soft); max-width: 300px; }

.ftr__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.ftr__col li + li { margin-top: 10px; }
.ftr__col a { font-size: 14.5px; color: var(--ink-soft); transition: color .2s var(--ease); }
.ftr__col a:hover { color: var(--coral-deep); }

.ftr__biz {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.9;
}
.ftr__copy { margin-top: 14px; font-size: 12.5px; color: var(--ink-mute); }

@media (max-width: 760px) {
  .ftr__top { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------------------
   16. 스크롤 등장 애니메이션
   -------------------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .pcard:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   17. 브랜드 스토리 — 예방의 시간차 다이어그램
   -------------------------------------------------------------------------- */
.tflow {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(28px, 4vw, 44px);
}
/* 연결선 */
.tflow::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  top: 13px;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral) 18%,
                              var(--line) 24%, var(--line) 100%);
}
.tnode { position: relative; padding-right: 18px; }
.tnode__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--ink-mute);
  position: relative; z-index: 1;
  margin-bottom: 16px;
}
.section--warm .tnode__dot { background: var(--bg-warm); }
.tnode--now .tnode__dot {
  background: var(--coral); border-color: var(--coral); color: #fff;
  box-shadow: 0 0 0 6px rgba(232,128,107,.16);
}
.tnode__k {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
.tnode--now .tnode__k { color: var(--coral-deep); }
.tnode__t {
  font-size: clamp(15px, 1.6vw, 17px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.5; margin-bottom: 8px;
}
.tnode--now .tnode__t { color: var(--coral-deep); }
.tnode__d { font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }

/* 시간차 구간 표시 */
.tgap {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.15fr 4fr;
  gap: 0;
}
.tgap__spacer {}
.tgap__bar {
  border-top: 1px dashed var(--coral);
  padding-top: 12px;
  position: relative;
}
.tgap__bar::before,
.tgap__bar::after {
  content: ''; position: absolute; top: -5px; width: 1px; height: 9px;
  background: var(--coral);
}
.tgap__bar::before { left: 0; }
.tgap__bar::after  { right: 0; }
.tgap__label {
  font-size: 13.5px; color: var(--coral-deep); font-weight: 600;
  text-align: center;
}

@media (max-width: 860px) {
  .tflow { grid-template-columns: 1fr; gap: 22px; }
  .tflow::before {
    left: 13px; right: auto; top: 6%; bottom: 6%;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--coral) 0%, var(--coral) 14%,
                                var(--line) 20%, var(--line) 100%);
  }
  .tnode { padding-right: 0; padding-left: 46px; }
  .tnode__dot { position: absolute; left: 0; top: 0; margin: 0; }
  .tgap { grid-template-columns: 1fr; margin-top: 8px; }
  .tgap__spacer { display: none; }
}

/* --------------------------------------------------------------------------
   18. 원칙 카드 (2×2)
   -------------------------------------------------------------------------- */
.prin {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.prin__c {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: clamp(28px, 3.2vw, 40px);
}
.prin__n {
  position: absolute;
  right: 18px; top: 2px;
  font-size: clamp(72px, 9vw, 104px);
  font-weight: 800;
  letter-spacing: -.06em;
  color: rgba(232,128,107,.13);
  line-height: 1;
  pointer-events: none;
}
.prin__c h3 {
  position: relative;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.45;
  margin-bottom: 12px; padding-right: 56px;
}
.prin__c p { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.prin__k {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--coral-deep);
  font-size: 13px; font-weight: 700; letter-spacing: -.01em;
}
@media (max-width: 760px) { .prin { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   19. 연구 근거 카드 — 아이콘 + 상단 액센트
   -------------------------------------------------------------------------- */
.evd {
  position: relative;
  text-align: left;
  padding-top: clamp(26px, 3vw, 34px);
  overflow: hidden;
}
.evd::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--coral);
}
.evd--a::before { background: #E8806B; }
.evd--b::before { background: #8FA383; }
.evd--c::before { background: #D9A441; }
.evd--d::before { background: #7E9BB5; }
.evd__ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--coral-tint);
  margin-bottom: 16px;
}
.evd--b .evd__ico { background: var(--sage-tint); }
.evd--c .evd__ico { background: #F7EEDC; }
.evd--d .evd__ico { background: #E8EFF5; }
.evd__ico svg { width: 21px; height: 21px; }
.evd__k {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
.evd h3 {
  font-size: clamp(15.5px, 1.7vw, 17px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.55; margin-bottom: 14px;
}
.evd cite {
  display: block; font-style: normal;
  font-size: 11.5px; line-height: 1.6; color: var(--ink-mute);
  padding-top: 12px; border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   20. 브랜드 선언 인용 카드
   -------------------------------------------------------------------------- */
.qcard {
  background: var(--coral-tint);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4vw, 52px) clamp(28px, 3.6vw, 46px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qcard__mascot {
  width: clamp(150px, 19vw, 196px);
  height: auto;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}
.qcard__q {
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 700;
  line-height: 1.72;
  letter-spacing: -.03em;
  color: var(--ink);
  position: relative;
}
/* 좌우 따옴표를 장식으로 */
.qcard__q::before,
.qcard__q::after {
  content: '';
  display: block;
  width: 30px; height: 2px;
  background: var(--coral);
  opacity: .55;
  margin: 0 auto;
}
.qcard__q::before { margin-bottom: 20px; }
.qcard__q::after  { margin-top: 20px; }
.qcard__by {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--coral-deep);
  opacity: .85;
}

/* ──────────────────────────────────────────────────────────────────────
   브랜드 스토리 티저 (index)
   위가 어두운 띠라서, 같은 어두운 사각형을 또 놓지 않습니다.
   ────────────────────────────────────────────────────────────────────── */
.bstory {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 62px -48px rgba(46,38,34,.55);
}
.bstory__txt {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(34px, 4.4vw, 62px);
}
.bstory__txt .headline { margin-top: 10px; }
.bstory__txt .lede { margin-top: 16px; color: var(--ink-soft); }
.bstory__txt .btn { margin-top: 30px; align-self: flex-start; }
.bstory__media { position: relative; min-height: 420px; }
.bstory__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: 50% 0;   /* 위는 살리고 아래를 자릅니다 */
}
@media (max-width: 820px) {
  .bstory { grid-template-columns: 1fr; }
  .bstory__media { position: relative; min-height: 0; aspect-ratio: 4/3; order: -1; }
}
