/* ==========================================================================
   엠앤와이픽스 — 욕실수납장교체 (bcc.mnyfixworld.com)
   "Studio Noir" — 다크 에디토리얼 + 패럴렉스. 실측 기반 색/폰트/래디우스는
   standardhomerepair 계열 Noir & Gold 커스텀 테마(다크 #141414, 골드
   #C9A227, Pretendard, pill 버튼 999px, 섹션패딩 clamp)를 유지하되, 텍스트
   중심 반복 섹션 대신 패럴렉스 히어로·스크럽 전후비교·마퀴·비대칭 에디토리얼
   레이아웃으로 스튜디오 포트폴리오 느낌을 낸다.
   ========================================================================== */

@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');
}

:root {
  --dark: #141414;
  --darker: #0a0a0a;
  --gold: #C9A227;
  --gold-light: #E6C66E;
  --gold-ink: #8a6d15; /* 밝은 배경 위 골드 텍스트용 — 원색 골드는 흰/크림 배경 대비 2.2~2.4:1로 WCAG AA 미달, 이 톤은 4.5:1 이상 */
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --text-on-light: #141414;
  --text-on-dark: #ffffff;
  --muted-on-light: #63665f;
  --muted-on-dark: #b8b3a6;
  --border-light: #e6e1d3;
  --border-dark: #2a2a2a;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 4px;
  --radius-pill: 999px;
  --max: 1360px;
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  --sec-pad: clamp(64px, 11vw, 156px);
  --gutter: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
@media (max-width: 768px) { body { padding-bottom: 64px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; position: relative; }
section { padding: var(--sec-pad) 0; position: relative; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted-on-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  color: var(--gold-ink); text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold-ink); display: inline-block; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .eyebrow::before { background: var(--gold-light); }

/* 섹션 배경 초대형 인덱스 넘버 (스튜디오 모티프) */
.sec-num {
  position: absolute; top: clamp(-10px, 2vw, 10px); right: var(--gutter);
  font-size: clamp(3.4rem, 10vw, 8rem); font-weight: 900; line-height: 1;
  color: rgba(20,20,20,.045); letter-spacing: -0.02em; z-index: 0; pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.section-dark .sec-num { color: rgba(255,255,255,.05); }
.sec-content { position: relative; z-index: 1; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 1rem 2.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--gold); color: var(--darker); }
.btn-outline-dark { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,.35); }
.btn-outline-light { background: transparent; color: var(--text-on-light); border-color: var(--border-light); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-3px); }
  .btn-primary:hover { background: var(--gold-light); }
  .btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-light); }
  .btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
}
.btn:active { transform: translateY(0); }

/* ---------- 스크롤 진행바 ---------- */
#progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; z-index: 300; }

/* ---------- 헤더 ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.hdr.scrolled { background: rgba(10,10,10,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-dark); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); max-width: var(--max); margin: 0 auto; }
.hdr-logo { font-weight: 800; font-size: 1.05rem; color: var(--text-on-dark); letter-spacing: -.01em; }
.hdr-logo span { color: var(--gold); }
.hdr-nav { display: flex; gap: 30px; }
.hdr-nav a { color: var(--muted-on-dark); font-size: .88rem; font-weight: 600; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .hdr-nav a:hover { color: var(--gold-light); } }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.hdr-cta { background: var(--gold); color: var(--darker); padding: .65rem 1.3rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem; }
.hdr-burger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.hdr-burger span { width: 22px; height: 2px; background: var(--text-on-dark); }

#mob-nav {
  display: flex; position: fixed; inset: 0; width: 100%;
  background: var(--darker); z-index: 200; padding: 100px 32px 32px;
  flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
#mob-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
#mob-nav a { color: var(--text-on-dark); font-size: 1.7rem; font-weight: 800; padding: 14px 0; border-bottom: 1px solid var(--border-dark); letter-spacing: -.02em; }
#mob-nav .btn { align-self: flex-start; margin-top: 24px; }

/* ---------- 패럴렉스 히어로 ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.hero-layers { position: absolute; inset: -12% -6%; }
.hero-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; will-change: transform; }
.hero-layer.active { opacity: 1; }
.hero-layer img { width: 100%; height: 100%; object-fit: cover; animation: hero-drift 18s ease-in-out infinite; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.9) 0%, rgba(8,8,8,.35) 42%, transparent 68%); z-index: 2; }
.hero-index { position: absolute; top: clamp(90px,14vh,140px); right: var(--gutter); z-index: 3; color: var(--muted-on-dark); font-size: .82rem; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero-content { position: relative; z-index: 3; width: 100%; padding: 0 var(--gutter) clamp(56px,9vw,110px); max-width: var(--max); margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(20,20,20,.7); border: 1px solid rgba(212,175,55,.4); color: var(--gold-light); padding: 8px 16px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; margin-bottom: 24px; }
.hero h1, .hero-display { color: var(--text-on-dark); max-width: 16ch; font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: .98; }
.hero-sub { color: var(--muted-on-dark); font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 48ch; margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.diagonal-cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(24px,4vw,64px)), 0 100%); margin-bottom: calc(-1 * clamp(24px,4vw,64px)); position: relative; z-index: 2; }

br.br-mobile { display: none; }
br.br-desktop { display: inline; }
@media (max-width: 768px) {
  br.br-mobile { display: inline; }
  br.br-desktop { display: none; }
}

/* ---------- 섹션 공통 ---------- */
.section-dark { background: var(--dark); color: var(--text-on-dark); }
.section-dark p { color: var(--muted-on-dark); }
.section-cream { background: var(--cream); }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 에디토리얼 비대칭 2단 ---------- */
.editorial { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px,5vw,72px); align-items: center; }
.editorial.rev { grid-template-columns: 7fr 5fr; }
.editorial.rev .editorial-media { order: 2; }
.editorial-media img { border-radius: var(--radius-lg); }
.editorial-media { position: relative; }
@media (max-width: 900px) {
  .editorial, .editorial.rev { grid-template-columns: 1fr; }
  .editorial.rev .editorial-media { order: 0; }
}

/* ---------- 그리드 (인라인 고정그리드 금지 → 클래스로만) ---------- */
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: end; }
@media (max-width: 768px) { .dp-g2, .dp-g3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dp-stat3 { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 카드 ---------- */
.card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 30px; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(20,20,20,.1); }
}
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(201,162,39,.12); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px; font-size: .95rem; }
.section-dark .card-icon { background: rgba(230,198,110,.16); color: var(--gold-light); }

.photo-card { display: block; border-radius: var(--radius-md); overflow: hidden; position: relative; background: var(--dark); aspect-ratio: 4/3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .photo-card:hover img { transform: scale(1.06); } }
.photo-card-label { position: absolute; left: 12px; bottom: 12px; background: rgba(10,10,10,.75); color: var(--text-on-dark); font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill); }

/* ---------- 카드 뱃지 (flex, 모바일 세로 스택) ---------- */
.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; background: rgba(201,162,39,.12); color: var(--gold-ink); }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- Before/After 정적(슬라이더 없이 나열할 때용) ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.ba-item img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; top: 12px; left: 12px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 800; letter-spacing: .04em; z-index: 4; }
.ba-tag.before { background: rgba(10,10,10,.78); color: #fff; }
.ba-tag.after { background: var(--gold); color: var(--darker); left: auto; right: 12px; }
@media (max-width: 600px) { .ba-wrap { grid-template-columns: 1fr; } }

/* ---------- 스크럽 전후비교 (데스크톱 전용 · sticky + scroll clip-path, 완전 전환 후 정지 구간 확보) ---------- */
.pin-reveal { display: none; }
@media (min-width: 769px) {
  .pin-reveal { display: block; height: 230vh; position: relative; background: var(--dark); }
  .pin-reveal-inner { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: var(--dark); }
  .pin-reveal-inner::before {
    content: 'SCROLL TO COMPARE'; color: var(--muted-on-dark); font-size: .78rem; font-weight: 700;
    letter-spacing: .22em; margin-bottom: 28px;
  }
  .pin-media { position: relative; width: min(84vw, 980px); aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
  .pin-media .pin-before, .pin-media .pin-after { position: absolute; inset: 0; }
  .pin-media .pin-before img, .pin-media .pin-after img { width: 100%; height: 100%; object-fit: cover; }
  .pin-media .pin-after { clip-path: inset(0 100% 0 0); }
  .pin-tags { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; z-index: 2; }
  .pin-caption { margin-top: 28px; text-align: center; color: var(--muted-on-dark); font-size: .95rem; max-width: 44ch; }
}
@media (prefers-reduced-motion: reduce) { .pin-reveal { display: none; } }

/* pin-reveal(데스크톱 스크럽)과 짝을 이루는 모바일 대체 섹션은 데스크톱에서 중복 노출되지 않도록 숨긴다 */
@media (min-width: 769px) { .ba-fallback { display: none; } }

/* ---------- 드래그 전후비교 슬라이더 (모바일 전용 · touchmove 구현) ---------- */
.ba-slider { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-slider-after { z-index: 1; }
.ba-slider .ba-slider-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--gold); z-index: 3; transform: translateX(-50%); pointer-events: none; }
.ba-slider-handle::after {
  content: '\21C6'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--darker);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.ba-slider .ba-tag { z-index: 4; }
.ba-slider-hint {
  text-align: center; font-size: .82rem; color: var(--muted-on-light); margin-top: 12px;
}
.section-dark .ba-slider-hint { color: var(--muted-on-dark); }

/* ---------- 마퀴 ---------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--dark); padding: 26px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.marquee-track { display: inline-flex; gap: 56px; animation: marquee 24s linear infinite; }
.marquee-track span { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 800; color: var(--muted-on-dark); letter-spacing: -.01em; }
.marquee-track span.accent { color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- 빅 쿼트 ---------- */
.big-quote { font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.32; letter-spacing: -.015em; max-width: 22ch; }
.big-quote span { color: var(--gold-ink); }
.section-dark .big-quote span { color: var(--gold-light); }

/* ---------- 진행절차 (연결선은 .proc-step 기준, gap 금지) ---------- */
.proc-list { display: flex; list-style: none; margin: 0; padding: 0; align-items: flex-start; }
.proc-step { flex: 1; position: relative; padding: 0 10px; text-align: center; }
.proc-step:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: 50%; width: 100%; height: 1px; background: var(--border-light); z-index: 0; }
.section-dark .proc-step:not(:last-child)::after { background: var(--border-dark); }
.proc-num { position: relative; z-index: 1; margin: 0 auto 14px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--dark); color: var(--gold-light); font-weight: 800; font-size: 1.1rem; }
.section-dark .proc-num { background: var(--gold); color: var(--darker); }
.proc-card {
  position: relative; z-index: 1; background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 20px 16px 18px; text-align: left;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.section-dark .proc-card { background: rgba(255,255,255,.05); border-color: var(--border-dark); }
@media (hover: hover) and (pointer: fine) {
  .proc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,20,20,.08); }
}
.proc-card h4 { margin-bottom: 8px; font-size: 1.02rem; }
.proc-card p { font-size: .88rem; line-height: 1.65; margin: 0; }
.section-dark .proc-card p { color: var(--muted-on-dark); }
@media (max-width: 768px) {
  .proc-list { flex-direction: column; gap: 14px; }
  .proc-step { padding: 0; }
  .proc-step::after { display: none; }
  .proc-num { margin: 0 0 10px; }
  .proc-card { text-align: left; }
}

/* ---------- 통계 카운터 ---------- */
.stat-num { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -.02em; }
.stat-label { font-size: .88rem; color: var(--muted-on-dark); margin-top: 10px; }

/* ---------- FAQ 아코디언 ---------- */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem; color: var(--text-on-light); }
.faq-q .plus { font-size: 1.3rem; color: var(--gold-ink); transition: transform .3s var(--ease-out); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a-inner { padding-bottom: 24px; color: var(--muted-on-light); }

/* ---------- 체크리스트 ---------- */
.check-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.check-list li:last-child { border-bottom: none; }
.check-mark { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--darker); display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; }

/* ---------- 비교표 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-light); font-size: .92rem; }
th { background: var(--cream); font-weight: 800; color: var(--text-on-light); }
td { color: var(--muted-on-light); }
tr:last-child td { border-bottom: none; }

/* ---------- 타임라인 ---------- */
.tl { position: relative; padding-left: 32px; border-left: 2px solid var(--border-light); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -38px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }

/* ---------- 내부링크 카드 (실사진 썸네일) ---------- */
.link-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); }
.link-card img { aspect-ratio: 16/9; object-fit: cover; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-card:hover img { transform: scale(1.05); } }
.link-card-body { padding: 20px 22px; }
.link-card-body h4 { margin-bottom: 6px; }
.link-card-body span { font-size: .85rem; color: var(--gold-ink); font-weight: 700; }
.section-dark .link-card-body span { color: var(--gold-light); }

/* ---------- CTA 밴드 ---------- */
.cta-band { background: var(--dark); color: var(--text-on-dark); text-align: center; padding: var(--sec-pad) 0; }
.cta-band p { color: var(--muted-on-dark); }
.cta-band .btn-primary { margin-top: 8px; }

/* ---------- 푸터 ---------- */
.ftr { background: var(--darker); color: var(--muted-on-dark); padding: 60px 0 30px; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.ftr h5 { color: var(--text-on-dark); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.ftr-biz p { font-size: .88rem; margin: 0 0 6px; color: var(--muted-on-dark); }
.ftr ul li { margin-bottom: 10px; }
.ftr ul a { font-size: .9rem; color: var(--muted-on-dark); }
@media (hover: hover) and (pointer: fine) { .ftr ul a:hover { color: var(--gold-light); } }
.ftr-bottom { border-top: 1px solid var(--border-dark); padding-top: 20px; font-size: .8rem; color: #555; }
@media (max-width: 1024px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .ftr-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 모바일 스티키 CTA ---------- */
#mob-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--dark); border-top: 1px solid var(--border-dark); padding: 10px var(--gutter); gap: 10px; }
#mob-bar a { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius-pill); font-weight: 700; font-size: .92rem; }
#mob-bar .m-call { background: var(--gold); color: var(--darker); }
@media (max-width: 768px) { #mob-bar { display: flex; } }

#float-cta { position: fixed; right: 28px; bottom: 28px; z-index: 150; background: var(--gold); color: var(--darker); padding: 14px 22px; border-radius: var(--radius-pill); font-weight: 800; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
@media (max-width: 768px) { #float-cta { display: none; } }

/* ---------- 스크롤 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(44px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-right.in { opacity: 1; transform: translateX(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 110ms); }

@keyframes hero-drift { 0%, 100% { transform: scale(1.04) translateY(0); } 50% { transform: scale(1.1) translateY(-1.4%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right { transition: none; opacity: 1; transform: none; }
  .hero-layer img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 반응형 브레이크포인트 ---------- */
@media (max-width: 1024px) {
  .editorial, .editorial.rev { gap: 32px; }
}
@media (max-width: 768px) {
  section { padding: clamp(48px, 12vw, 76px) 0; }
  .hdr { position: sticky; background: rgba(10,10,10,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-dark); }
  .hdr-nav { display: none; }
}
@media (max-width: 480px) {
  .dp-stat3, .dp-g2, .dp-g3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
