/*
  HEADSKINCARE — SC-058 · VIVID INK SCALP JOURNAL (v3: EDITORIAL BEAUTY / FASHION)
  40~60대 여성을 위한 고급 두피관리 브랜드 저널. 딥 잉크 + 비비드 버밀리언(희소하게, 로고·CTA 등
  핵심 지점에만) + 웜아이보리 팔레트는 유지. v2(글래스/스퀴클/스프링모션)가 "SaaS 랜딩페이지" 톤으로
  읽힌다는 진단에 따라 뷰티·에스테틱·패션 에디토리얼 톤으로 전환(2026-08-13, 사용자 요청).
  전환 방향: 글래스/필/원형아이콘버튼/큰 소프트섀도우 제거 → 헤어라인 보더+플랫/미니멀 라운드,
  포인트 컬러 노출 최소화(로고·프라이머리CTA·히어로 정도), 느리고 절제된 모션. 세리프는 미사용
  유지(직전 사용자 지시), 대신 폭넓은 자간(tracking)으로 에디토리얼 절제감 표현.
*/

:root {
  --ink: #17110D;
  --ink-soft: #3A2E27;
  --vivid: #D4321E;
  --vivid-d: #A8250F;
  --ivory: #FBF6EF;
  --ivory-line: #E7DDCF;
  --white: #FFFFFF;
  --text-muted: rgba(23,17,13,.62);
  --container: 1180px;

  /* v3: 절제된 반경 스케일(스퀴클 폐기, 헤어라인 보더 위주) */
  --radius-shell: 3px;
  --radius-core: 2px;
  --radius-pill: 3px;

  /* v3: 느리고 절제된 이징(스프링 바운스 폐기) */
  --ease-editorial: cubic-bezier(.4,0,.2,1);

  /* v3: 그림자 최소화 — 헤어라인 보더가 주 depth 수단, 그림자는 극히 미세하게만 */
  --shadow-soft: 0 1px 2px rgba(23,17,13,.05);
  --shadow-soft-lg: 0 4px 14px -6px rgba(23,17,13,.12);
  --shadow-vivid: 0 6px 16px -8px rgba(212,50,30,.35);
}

* { box-sizing: border-box; }
/* 40~60대 타깃 가독성 — 루트 폰트사이즈를 키워 rem 기반 전체 타이포를 일괄 확대 */
html { scroll-behavior: smooth; font-size: 19px; }
body {
  position: relative;
  margin: 0;
  font-family: "Noto Sans KR", "Pretendard", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-weight: 400;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 고정 그레인 오버레이 — 필름 사진 질감(에디토리얼 톤과 어울려 유지), 스크롤 컨테이너 아닌 고정 의사요소 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
}

/* 접근성: 키보드 포커스 링 */
:focus-visible { outline: 2px solid var(--vivid); outline-offset: 3px; }

/* 스킵 링크 */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--ink); color: var(--ivory); padding: 12px 20px; font-weight: 600; font-size: .88rem; transition: top .3s var(--ease-editorial); }
.skip-link:focus { top: 12px; }

.display-en { font-family: "Noto Sans KR", sans-serif; font-weight: 600; letter-spacing: .08em; }

/* v3: 필-배지 폐기 → 절제된 트래킹 라벨(패션 매거진식 스몰캡스) */
.eyebrow { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--vivid); margin: 0 0 16px; }
.closing-band .eyebrow { color: rgba(251,246,239,.7); }

/* 반복 인라인 스타일 정리용 유틸리티 */
.lede { margin-top: 16px; color: var(--text-muted); }
.lede-loose { margin-top: 20px; color: var(--text-muted); }
.lede-tight { margin-top: 4px; color: var(--text-muted); }
.text-caption { font-size: .82rem; color: var(--text-muted); margin-top: 6px; }
.link-accent { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--vivid); transition: opacity .3s var(--ease-editorial); }
.link-accent:hover { opacity: .6; }
.text-ink { color: var(--ink); }

/* 버튼 — 절제된 사각/미세 라운드, 원형 아이콘 배지 폐기, 인라인 화살표 */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 21px 44px; font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); white-space: nowrap; transition: background .5s var(--ease-editorial), border-color .5s var(--ease-editorial), color .5s var(--ease-editorial), opacity .4s var(--ease-editorial); }
@media (max-width: 480px) { .btn { padding: 17px 26px; font-size: .92rem; gap: 10px; } }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn-primary::after { content: '↗'; transition: transform .5s var(--ease-editorial); }
.btn-primary:hover { background: var(--vivid); border-color: var(--vivid); }
.btn-primary:hover::after { transform: translate(2px,-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn:active { opacity: .8; }
.btn-block { display: flex; justify-content: center; text-align: center; width: 100%; }

/* 헤더 — 매거진 마스트헤드: 글래스/필 폐기, 헤어라인 보더의 얇은 바 */
.hdr { position: sticky; top: 0; z-index: 56; background: rgba(251,246,239,.94); border-bottom: 1px solid var(--ivory-line); transition: background .4s var(--ease-editorial); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.hdr-logo { display: flex; align-items: center; gap: 14px; }
.hdr-logo-img { height: 24px; width: auto; display: block; }
.hdr-logo-divider { width: 1px; height: 26px; background: var(--ivory-line); }
.hdr-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.hdr-logo-main { font-family: "Noto Sans KR", sans-serif; font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; color: var(--ink); }
.hdr-logo-sub { margin-top: 2px; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vivid); }
.hdr-nav { display: flex; gap: 36px; }
.hdr-nav a { font-size: .84rem; font-weight: 600; letter-spacing: .04em; transition: color .3s ease; }
.hdr-nav a:hover { color: var(--vivid); }
.hdr-nav a.active { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
#mob-nav a.active { color: var(--vivid); }
.hdr-right { display: flex; align-items: center; gap: 24px; }
.hdr-shop { font-weight: 600; font-size: .82rem; letter-spacing: .08em; padding-bottom: 2px; border-bottom: 1px solid var(--ink); transition: color .3s ease, border-color .3s ease; }
.hdr-shop:hover { color: var(--vivid); border-color: var(--vivid); }

/* 햄버거 → X 모프 */
.hdr-burger { display: none; position: relative; width: 22px; height: 16px; background: none; border: none; cursor: pointer; padding: 0; }
.hdr-burger-icon { position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink); transition: transform .45s var(--ease-editorial), opacity .3s ease, top .45s var(--ease-editorial); }
.hdr-burger-icon:nth-child(1) { top: 0; }
.hdr-burger-icon:nth-child(2) { top: 7px; }
.hdr-burger-icon:nth-child(3) { top: 14px; }
.hdr-burger.active .hdr-burger-icon:nth-child(1) { top: 7px; transform: rotate(45deg); }
.hdr-burger.active .hdr-burger-icon:nth-child(2) { opacity: 0; }
.hdr-burger.active .hdr-burger-icon:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* 모바일 내비 — 전체화면 오버레이(그레인 톤에 맞춰 블러 최소화), 스태거드 리빌 유지 */
#mob-nav { display: none; }
@media (max-width: 860px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: block; }
}
@media (max-width: 480px) {
  .hdr-logo { gap: 10px; }
  .hdr-logo-img { height: 20px; }
  .hdr-logo-sub { display: none; }
}
@media (max-width: 860px) {
  #mob-nav {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    position: fixed; inset: 0; z-index: 55;
    background: var(--ivory);
    padding: 32px;
    opacity: 0; pointer-events: none;
    transition: opacity .4s var(--ease-editorial);
  }
  #mob-nav.open { opacity: 1; pointer-events: auto; }
  #mob-nav a {
    font-size: 1.4rem; font-weight: 600; letter-spacing: .02em; padding: 10px 8px;
    opacity: 0; transform: translateY(16px);
    transition: opacity .5s var(--ease-editorial), transform .5s var(--ease-editorial);
  }
  #mob-nav.open a { opacity: 1; transform: translateY(0); }
  #mob-nav.open a:nth-child(1) { transition-delay: .05s; }
  #mob-nav.open a:nth-child(2) { transition-delay: .1s; }
  #mob-nav.open a:nth-child(3) { transition-delay: .15s; }
  #mob-nav.open a:nth-child(4) { transition-delay: .2s; }
  #mob-nav.open a:nth-child(5) { transition-delay: .25s; }
  #mob-nav.open a:nth-child(6) { transition-delay: .3s; }
}
body.nav-open { overflow: hidden; }

/* 섹션 공통 — 매크로 화이트스페이스 유지 */
.section { padding: 128px 0; }
.section-alt { background: var(--white); }
.dp-copy { max-width: 760px; }
@media (max-width: 700px) { .section { padding: 68px 0; } }

/* 히어로 (홈) — 풀블리드 사진 위 초대형 오버레이 타이포 */
/* 히어로 (홈) — 비대칭 스플릿: 텍스트 패널(좌) + 독립 사진 패널(우), 오버레이/그라데이션 없음 */
.hero-full { position: relative; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.hero-full-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 64px 5vw; }
.hero-full-inner .micro-label { color: var(--vivid); }
.hero-full-title { font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 700; line-height: .98; letter-spacing: -.01em; margin: 10px 0 20px; color: var(--ink); text-wrap: balance; }
.hero-full-hook { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 400; line-height: 1.5; margin: 0 0 32px; max-width: 460px; color: var(--text-muted); }
.hero-full-media { position: relative; overflow: hidden; }
.hero-full-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: 0; transition: opacity 1.4s var(--ease-editorial); }
.hero-full-img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-full-img { transition: none; } }
@media (max-width: 860px) {
  .hero-full { grid-template-columns: 1fr; min-height: auto; }
  .hero-full-inner { padding: 56px 24px 40px; }
  .hero-full-media { height: 62vh; }
  .hero-full-title { font-size: clamp(2.1rem, 8.5vw, 3rem); }
}

/* 세부페이지 히어로 — 단일 그리드 스플릿(텍스트 좌 / 사진 우), 좌우 정렬 기준선 통일 */
.dp-section { padding: 96px 0; }
.dp-hero { padding: 72px 0 52px; }
.dp-hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 5vw; align-items: center; }
.dp-hero-copy { max-width: 560px; }
.dp-hero-divider { border: none; border-top: 1px solid var(--ivory-line); margin: 20px 0; }
.dp-hero-hook { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 400; line-height: 1.5; color: var(--text-muted); max-width: 480px; }
.dp-hero-lede { font-size: 1rem; line-height: 1.75; color: var(--ink); margin: 26px 0 32px; max-width: 460px; }
.dp-hero-media { position: relative; overflow: hidden; border-radius: var(--radius-shell); align-self: stretch; }
.dp-hero-media img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; display: block; }
@media (max-width: 780px) {
  .dp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .dp-hero-media img { min-height: 300px; }
}

/* 포토 브레이크 — 본문 중간에 넣는 전체폭 사진(매거진 스프레드 페이싱, 텍스트만 이어지는 흐름 끊기) */
.photo-break { width: 100vw; margin: 0 calc(50% - 50vw); }
.photo-break img { width: 100%; height: 440px; object-fit: cover; display: block; }
@media (max-width: 700px) { .photo-break img { height: 260px; } }
.micro-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--vivid); font-weight: 600; }
.seo-h1 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; margin: 10px 0 0; text-wrap: balance; }
.dp-divider { border: none; border-top: 1px solid var(--ivory-line); margin: 0; }

/* 브레드크럼 */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; font-size: .8rem; letter-spacing: .01em; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); font-weight: 500; transition: color .3s ease; }
.breadcrumb a:hover { color: var(--vivid); }
.breadcrumb > *:not(:first-child) { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--ivory-line); }
.breadcrumb-current { color: var(--ink); font-weight: 600; }

/* 리스트/카드 공통 */
.answer-list, .why-list, .check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.answer-list { grid-template-columns: repeat(2, 1fr); }
.answer-num { display: inline-block; font-family: "Noto Sans KR", sans-serif; font-weight: 700; color: var(--ink); font-size: 1.1rem; margin-right: 10px; }
.answer-sub { display: block; font-size: .84rem; color: var(--text-muted); margin-top: 4px; }
.why-list li, .check-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-mark { color: var(--ink); font-weight: 700; }
@media (max-width: 700px) { .answer-list { grid-template-columns: 1fr; } }

/* 프로세스 스텝 */
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 28px; border-left: 1px solid var(--ivory-line); }
.process-step { position: relative; padding: 0 0 28px 28px; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before { content: attr(data-n); position: absolute; left: -13px; top: 0; width: 24px; height: 24px; background: var(--ink); color: var(--ivory); font-size: .72rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.process-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { color: var(--text-muted); font-size: .92rem; }

/* 비교표 — 헤어라인 보더 셸(소프트섀도우 제거) */
.compare-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 480px; border-collapse: separate; border-spacing: 0; margin-top: 24px; font-size: .92rem; border: 1px solid var(--ivory-line); }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--ivory-line); border-right: 1px solid var(--ivory-line); padding: 16px 20px; text-align: left; }
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table th { background: var(--ink); color: var(--ivory); font-weight: 600; letter-spacing: .04em; border-bottom: none; }

/* 제품 픽 — 헤어라인 보더, 이미지 풀블리드(셸 패딩 폐기) */
.edit-pick { display: grid; grid-template-columns: 240px 1fr; gap: 0; align-items: stretch; background: var(--white); border: 1px solid var(--ivory-line); margin-top: 16px; }
.edit-pick img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.edit-pick > div { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.edit-pick h3 { font-size: 1.35rem; margin-bottom: 10px; }
.edit-pick p { color: var(--ink); font-weight: 500; font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; }
@media (max-width: 640px) { .edit-pick { grid-template-columns: 1fr; } .edit-pick img { height: 220px; } }

/* 내부링크 카드 (관련 페이지) — 이미지 풀블리드 룩북형, 헤어라인 보더 */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.related-grid-2 { grid-template-columns: repeat(2, 1fr); }
.related-card { display: block; border: 1px solid var(--ivory-line); background: var(--white); overflow: hidden; transition: border-color .4s var(--ease-editorial); }
.related-card:hover { border-color: var(--ink); }
.related-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s var(--ease-editorial); }
.related-card:hover img { transform: scale(1.03); }
.related-card-body { padding: 18px 16px; }
.related-card-body span { font-size: .68rem; letter-spacing: .14em; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.related-card-body h4 { font-size: 1rem; margin: 8px 0 0; }
.related-card.shop-card { background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 16px; gap: 8px; }
.related-card.shop-card h4 { color: var(--ivory); }
.related-card.shop-card span { color: var(--vivid); }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* FAQ 아코디언 — 헤어라인 구분선 리스트(3등분 카드 패턴 회피 유지) */
.faq-list { margin-top: 24px; border-top: 1px solid var(--ivory-line); }
.faq-item { border-bottom: 1px solid var(--ivory-line); }
.faq-q { padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; letter-spacing: .01em; }
.faq-q::after { content: '+'; color: var(--vivid); font-size: 1.2rem; font-weight: 400; transition: transform .35s var(--ease-editorial); }
.faq-item.open .faq-q::after { content: '–'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-editorial); }
.faq-a p { padding: 0 4px 22px; color: var(--text-muted); font-size: .94rem; }

/* AEO 카드/타임라인/통계 — 헤어라인 보더, 그림자 제거 */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; background: var(--ivory-line); border: 1px solid var(--ivory-line); }
.stat-card { padding: 32px 24px; text-align: center; background: var(--white); }
.stat-card .counter { font-family: "Noto Sans KR", sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--ink); }
.stat-card p { margin-top: 8px; font-size: .86rem; color: var(--text-muted); }
.timeline { margin-top: 24px; display: flex; flex-direction: column; border-top: 1px solid var(--ivory-line); }
.timeline-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ivory-line); }
.timeline-time { font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.def-card { background: var(--white); border-left: 2px solid var(--vivid); padding: 24px 28px; margin-top: 20px; }
.def-card p { font-size: 1rem; }
.def-card strong { color: var(--ink); }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr; } }

/* 카테고리 쇼케이스 (홈) — 헤어라인 그리드 */
.cat-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 32px; background: var(--ivory-line); border: 1px solid var(--ivory-line); }
.cat-tile { position: relative; background: var(--white); padding: 32px 24px; min-height: 152px; display: flex; flex-direction: column; justify-content: space-between; transition: background .4s var(--ease-editorial); }
.cat-tile:hover { background: var(--ivory); }
.cat-tile span { font-size: .68rem; color: var(--text-muted); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cat-tile h4 { font-size: 1rem; margin-top: 10px; }
@media (max-width: 900px) { .cat-showcase { grid-template-columns: repeat(2, 1fr); } }

/* 링크 그리드 (BY CONCERN) — idx-list와 구분되는 2열, 번호 없는 순수 텍스트 링크 */
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 28px; border-top: 1px solid var(--ivory-line); }
.link-grid-row { display: flex; justify-content: space-between; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--ivory-line); font-weight: 700; font-size: 1.15rem; color: var(--ink); transition: opacity .3s ease; }
.link-grid-row:hover { opacity: .55; }
.link-grid-row span:last-child { font-size: 1.1rem; }
@media (max-width: 640px) { .link-grid { grid-template-columns: 1fr; } }

/* 제품 콜라주 (홈 PRODUCT NOTE 전용) — 이미지 2장을 겹쳐 매거진 스프레드처럼 배치 */
.edit-pick-collage { grid-template-columns: 320px 1fr; }
.product-collage { position: relative; min-height: 320px; }
.product-collage .collage-main { position: absolute; top: 0; left: 0; width: 76%; height: 250px; object-fit: cover; }
.product-collage .collage-float { position: absolute; bottom: 0; right: 0; width: 56%; height: 190px; object-fit: cover; border: 8px solid var(--white); box-shadow: var(--shadow-soft-lg); }
@media (max-width: 640px) { .edit-pick-collage { grid-template-columns: 1fr; } .product-collage { min-height: 300px; margin-bottom: 12px; } }

/* 에디토리얼 카드 확대(SEASONAL EDIT 등) — related-card를 훨씬 크게, 서브타이틀 포함 */
.related-grid-editorial .related-card img { height: 420px; }
.related-grid-editorial .related-card-body { padding: 24px 20px; }
.related-grid-editorial .related-card-body h4 { font-size: 1.3rem; }
.related-grid-editorial .related-card-body p { margin-top: 8px; font-size: .88rem; color: var(--text-muted); }
@media (max-width: 700px) { .related-grid-editorial .related-card img { height: 280px; } }

/* 고민 덱 (홈 FIND YOUR CONCERN) — 헤어라인 그리드 카드 + 대형 워터마크 넘버, 모바일은 가로 스와이프 덱으로 전환 */
.concern-deck { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ivory-line); border: 1px solid var(--ivory-line); }
.concern-card { position: relative; background: var(--white); padding: 30px 26px 26px; min-height: 168px; display: flex; flex-direction: column; overflow: hidden; transition: background .4s var(--ease-editorial); }
.concern-card:hover { background: var(--ivory); }
.concern-card-num { position: absolute; top: -6px; right: 10px; font-size: 3.4rem; font-weight: 700; color: var(--ivory-line); line-height: 1; z-index: 0; transition: color .4s var(--ease-editorial); }
.concern-card:hover .concern-card-num { color: rgba(212,50,30,.16); }
.concern-card-label { position: relative; z-index: 1; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vivid); font-weight: 600; }
.concern-card-title { position: relative; z-index: 1; margin-top: 10px; font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.concern-card-arrow { position: relative; z-index: 1; margin-top: auto; padding-top: 18px; font-size: 1.05rem; color: var(--ink); transition: transform .4s var(--ease-editorial); }
.concern-card:hover .concern-card-arrow { transform: translateX(4px); }
.concern-deck-hint { display: none; margin-top: 14px; font-size: .76rem; letter-spacing: .04em; color: var(--text-muted); text-align: center; }
@media (max-width: 900px) { .concern-deck { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .concern-deck { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; gap: 1px; border: none; background: none; margin: 28px -24px 0; padding: 0 24px 4px; scrollbar-width: none; }
  .concern-deck::-webkit-scrollbar { display: none; }
  .concern-card { flex: 0 0 68%; scroll-snap-align: start; border: 1px solid var(--ivory-line); min-height: 152px; padding: 24px 22px 22px; }
  .concern-deck-hint { display: block; }
}

/* 시즌 로우 (홈 SEASONAL EDIT) — 좌우 반전되는 대형 미디어+카피 로우 */
.season-rows { margin-top: 32px; display: flex; flex-direction: column; gap: 1px; background: var(--ivory-line); border-top: 1px solid var(--ivory-line); border-bottom: 1px solid var(--ivory-line); }
.season-row { display: grid; grid-template-columns: 44% 1fr; background: var(--white); transition: background .4s var(--ease-editorial); }
.season-row:hover { background: var(--ivory); }
.season-row-reverse .season-row-media { order: 2; }
.season-row-reverse .season-row-text { order: 1; }
.season-row-media { overflow: hidden; }
.season-row-media img { width: 100%; height: 320px; object-fit: cover; transition: transform .6s var(--ease-editorial); }
.season-row:hover .season-row-media img { transform: scale(1.03); }
.season-row-text { padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.season-row-quote { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.4; color: var(--ink); }
@media (max-width: 760px) {
  .season-row { grid-template-columns: 1fr; }
  .season-row-reverse .season-row-media, .season-row-reverse .season-row-text { order: unset; }
  .season-row-media img { height: 220px; }
  .season-row-text { padding: 24px 24px 32px; }
}

/* 스플릿 패널 (홈 DAILY OR OCCASIONAL) — 이미지 없이 대형 타이포로 양분, 다른 섹션과 톤 차이를 줌 */
.split-panel { margin-top: 32px; display: flex; align-items: stretch; border: 1px solid var(--ivory-line); background: var(--white); }
.split-col { flex: 1; padding: 44px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transition: background .4s var(--ease-editorial); }
.split-col:hover { background: var(--ivory); }
.split-col-tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vivid); font-weight: 600; }
.split-col-word { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; color: var(--ink); margin: 2px 0; }
.split-col p { color: var(--text-muted); font-size: .94rem; max-width: 320px; }
.split-divider { width: 1px; background: var(--ivory-line); flex-shrink: 0; }
@media (max-width: 640px) {
  .split-panel { flex-direction: column; }
  .split-divider { width: 100%; height: 1px; }
  .split-col { padding: 28px 26px; }
}

/* 가이드 스트립 (홈 GUIDE) — 소형 썸네일 리스트, 다른 섹션 대비 가장 낮은 밀도로 마무리 */
.guide-strip { margin-top: 32px; border-top: 1px solid var(--ivory-line); }
.guide-strip-row { display: flex; align-items: center; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--ivory-line); transition: background .3s var(--ease-editorial); }
.guide-strip-row:hover { background: var(--white); }
.guide-strip-row img { width: 60px; height: 60px; object-fit: cover; flex-shrink: 0; }
.guide-strip-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.guide-strip-title { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.guide-strip-arrow { color: var(--ink); font-size: 1.05rem; flex-shrink: 0; transition: transform .4s var(--ease-editorial); }
.guide-strip-row:hover .guide-strip-arrow { transform: translateX(4px); }

/* 단일 플로우 (커넥터형, 항목 적을 때) */
.flow-line { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; align-items: stretch; border-top: 1px solid var(--ivory-line); border-bottom: 1px solid var(--ivory-line); }
.flow-item { flex: 1 1 160px; text-align: center; padding: 24px 12px; position: relative; }
.flow-item:not(:last-child)::after { content: '→'; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 400; }
.flow-item h4 { font-size: .95rem; }

/* 신뢰 밴드 — 연결된 흐름형(3등분 카드 아님): 헤어라인 보더 밴드 */
.trust-band { display: flex; flex-wrap: wrap; margin-top: 28px; border-top: 1px solid var(--ivory-line); border-bottom: 1px solid var(--ivory-line); }
.trust-item { flex: 1 1 220px; padding: 32px 28px; position: relative; }
.trust-item:not(:first-child) { border-left: 1px solid var(--ivory-line); }
.trust-item:nth-child(2) { padding-top: 44px; }
.trust-item:nth-child(3) { padding-top: 56px; }
.trust-item-num { display: block; font-family: "Noto Sans KR", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 10px; }
.trust-item h4 { font-size: 1.02rem; margin-bottom: 8px; }
.trust-item p { font-size: .87rem; color: var(--text-muted); }
@media (max-width: 700px) {
  .trust-item:not(:first-child) { border-left: none; border-top: 1px solid var(--ivory-line); }
  .trust-item:nth-child(2), .trust-item:nth-child(3) { padding-top: 32px; }
}

/* 컬러블록 섹션 — 스크롤 중 한 번, 포인트 컬러를 통째로 몰아써서 선명한 인상을 만드는 지점 */
.section-vivid { background: var(--vivid); }
.section-vivid .eyebrow { color: var(--ivory); }
.section-vivid h2 { color: var(--white); }
.section-vivid .trust-band { border-color: rgba(255,255,255,.3); }
.section-vivid .trust-item:not(:first-child) { border-color: rgba(255,255,255,.3); }
.section-vivid .trust-item-num, .section-vivid .trust-item h4 { color: var(--white); }
.section-vivid .trust-item p { color: rgba(255,255,255,.8); }

/* 클로징 밴드 (홈 마지막 CTA) */
.closing-band { background: var(--ink); color: var(--ivory); }
.closing-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 100px 24px; }
.closing-band h2 { color: var(--ivory); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 32px; }
.closing-band .btn-primary { background: var(--vivid); border-color: var(--vivid); }
.closing-band .btn-primary:hover { background: var(--vivid-d); border-color: var(--vivid-d); }
.closing-band-media img { width: 100%; height: 440px; object-fit: cover; }
.closing-band-caption { margin-top: 14px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,246,239,.5); }

/* 에디토리얼 스프레드 — 풀블리드 대형사진 + 펄퀏(형제사이트 SKINTEXTURE/DEPUFF식 매거진 스프레드 재구성) */
.editorial-spread { position: relative; min-height: 82vh; overflow: hidden; background: var(--ink); }
.editorial-spread img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-spread::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,17,13,0) 35%, rgba(23,17,13,.82) 100%); }
.editorial-spread-content { position: relative; z-index: 1; min-height: 82vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 64px; color: var(--ivory); }
.editorial-spread-tag { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vivid); margin-bottom: 18px; }
.editorial-spread-quote { font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.3; max-width: 760px; text-wrap: balance; }
@media (max-width: 700px) { .editorial-spread-content { padding: 40px 24px; } .editorial-spread, .editorial-spread-content { min-height: 58vh; } }
@media (max-width: 860px) {
  .closing-band .container { grid-template-columns: 1fr; gap: 32px; padding: 72px 24px; text-align: center; }
  .closing-band-media { order: -1; }
  .closing-band-media img { height: 320px; }
}

/* 스크롤 리빌 — 느리고 절제된 페이드(스프링 바운스 폐기) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-editorial), transform 1s var(--ease-editorial); }
.reveal.in { opacity: 1; transform: none; }

.reveal-scale { opacity: 0; transform: scale(.97); transition: opacity 1s var(--ease-editorial), transform 1s var(--ease-editorial); }
.reveal-scale.in { opacity: 1; transform: none; }

.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity .9s var(--ease-editorial), transform .9s var(--ease-editorial); }
.reveal-left.in { opacity: 1; transform: none; }

.reveal-right { opacity: 0; transform: translateX(24px); transition: opacity .9s var(--ease-editorial), transform .9s var(--ease-editorial); }
.reveal-right.in { opacity: 1; transform: none; }

.reveal-blur { opacity: 0; filter: blur(8px); transform: translateY(10px); transition: opacity 1s var(--ease-editorial), filter 1s var(--ease-editorial), transform 1s var(--ease-editorial); }
.reveal-blur.in { opacity: 1; filter: blur(0); transform: none; }

/* reveal-line: 한 줄짜리 텍스트 전용(예: 배지·태그). 여러 블록 자식이 섞인 컨테이너에는 쓰지 않는다 — display 변경 없이 transform만 적용해 레이아웃 흐름을 보존한다 */
.reveal-line { overflow: hidden; }
.reveal-line > * { transform: translateY(100%); transition: transform .8s var(--ease-editorial); }
.reveal-line.in > * { transform: translateY(0); }

.reveal-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-editorial); }
.reveal-draw.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right, .reveal-blur, .reveal-line > *, .reveal-draw {
    transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* 404 */
.notfound { text-align: center; padding: 140px 0; }
.notfound-links { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* 사이트맵 목록 */
.sitemap-list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; }
.sitemap-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--ivory-line); }
@media (max-width: 700px) { .sitemap-list { grid-template-columns: 1fr; } }

/* 푸터 */
.footer { background: var(--ink); color: var(--ivory); padding: 64px 0 24px; margin-top: 80px; }
.footer-mark { margin-bottom: 40px; }
.footer-mark-main { font-family: "Noto Sans KR", sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: .12em; color: var(--ivory); }
.footer-mark-sub { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--vivid); margin-top: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(251,246,239,.55); margin-bottom: 16px; font-weight: 600; }
.footer-biz p { font-size: .86rem; color: rgba(251,246,239,.8); margin-bottom: 6px; }
.footer-links a, .footer-cats a { display: block; font-size: .88rem; color: rgba(251,246,239,.85); margin-bottom: 10px; transition: color .3s ease; }
.footer-links a:hover, .footer-cats a:hover { color: var(--vivid); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(251,246,239,.15); font-size: .78rem; color: rgba(251,246,239,.5); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* 모바일 하단 고정 CTA */
#mob-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; padding: 14px 16px; background: rgba(251,246,239,.96); border-top: 1px solid var(--ivory-line); }
#mob-bar .btn { width: 100%; justify-content: center; }
@media (max-width: 640px) { #mob-bar { display: block; } body { padding-bottom: 74px; } }
