@charset "UTF-8";
/* 기업티클래스(떼드영 CTC) — 에디토리얼 모노크롬.
   크림지(#f8f2ea) ↔ 페이퍼(#fff) 교대, 잉크(#3a2420, 마호가니 와인브라운) 한 색.
   그림자 없음. 카드·이미지 radius 0, 버튼만 20px.
   레퍼런스(weddingweddia.com)의 리빌/헤더/히어로/푸터 시스템을 그대로 따르되
   색상·폰트·본 사이트 전용 컴포넌트(세부페이지 detail-*, 상담 consult-* 등)만 다르게 잡는다. */

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

:root {
  --ink: #3a2420;
  --accent: #a1702c;       /* 브라스 골드 — 킥커/박스룰/프로세스 넘버 등에만 아껴 쓴다 */
  --accent-on-dark: #d6a55c;
  --paper: #ffffff;
  --cream: #f8f2ea;
  --line: #e6ddd0;

  --text-on-light: #1c1512;
  --text-on-dark: #ffffff;
  --muted-on-light: #6b5b52;
  --muted-on-dark: #d9cec4;

  /* 라틴은 에디토리얼 세리프, 한글은 조선명조로 — per-glyph 폴백으로 갈라 쓴다 */
  --font-display: 'Instrument Serif', 'Chosunilbo', 'Noto Serif KR', 'Times New Roman', serif;
  --font-ui: 'Archivo', 'Wanted Sans Variable', 'Wanted Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Archivo', 'Wanted Sans Variable', 'Wanted Sans', -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;
  --font-mono: 'DM Mono', 'Wanted Sans Variable', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1280px;
  --sec-gap: 132px;
  --gap: 20px;
  --pad-x: 48px;
  --dp-radius: 6px;   /* 레퍼런스의 20px 필형 대신 구조적인 6px — 버튼/뱃지 실루엣을 다르게 */

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@font-face {
  font-family: 'Chosunilbo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }
.wrap.narrow { max-width: 720px; }
/* .text-float-img처럼 내부에 뜬(float) 요소가 있어도 컨테이너 높이가 이를 감싸도록 한다 */
.wrap { display: flow-root; }

/* ── 타이포 ─────────────────────────────────────────── */
.kicker {
  margin: 0 0 22px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  font-stretch: 112%;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.sec-ink .kicker { color: var(--accent-on-dark); }
.kicker { color: var(--accent); }

.h-xl, .h-lg, .h-md {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 44px;
  line-height: 1.12;
}
.h-xl { font-size: clamp(46px, 10vw, 152px); line-height: 1.0; }
.h-lg { font-size: clamp(31px, 5.2vw, 54px); }
.h-md { font-size: clamp(23px, 3vw, 34px); }

.lead { font-size: 20px; line-height: 1.85; margin: 0 0 8px; max-width: 46ch; }
.sec p { margin: 0 0 30px; max-width: 66ch; }
.sec p.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec p.btn-row, .sec p.kicker, .sec p.lead-xl { max-width: none; }
.sec .btn-row { margin: 56px 0 0; }

/* ── 섹션 ───────────────────────────────────────────── */
.sec { padding: var(--sec-gap) 0; transition: background-color .6s var(--ease); }
.sec-cream { background: var(--cream); color: var(--text-on-light); }
.sec-paper { background: var(--paper); color: var(--text-on-light); }
.sec-ink   { background: var(--ink);   color: var(--text-on-dark); }
.sec-ink a { color: var(--text-on-dark); }
.sec-ink .muted { color: var(--muted-on-dark); }
.muted { color: var(--muted-on-light); }

/* ── 버튼 ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: var(--dp-radius);
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.btn-ghost { background: transparent; color: var(--text-on-light); }
.sec-ink .btn { background: var(--paper); color: var(--text-on-light); border-color: var(--paper); }
.sec-ink .btn-ghost { background: transparent; color: var(--text-on-dark); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 56px 0 0; }
.btn:active { opacity: .7; }

/* ── 헤더 ───────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); transition: height .4s var(--ease), background-color .4s var(--ease); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 68px; transition: height .4s var(--ease); }
.hdr.shrink .hdr-in { height: 56px; }
.hdr.shrink { background: rgba(255,255,255,.97); }
.hdr-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.hdr-logo-1 { font-family: var(--font-display); font-size: 19px; }
.hdr-logo-2 { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; color: var(--muted-on-light); }
.hdr-nav { display: flex; gap: 26px; }
.hdr-nav a { text-decoration: none; font-size: 15px; }
.hdr-burger {
  display: none; position: relative;
  width: 40px; height: 40px;
  border: 0; cursor: pointer; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) center / 22px 2px no-repeat;
}
.hdr-burger::before, .hdr-burger::after { content: ''; position: absolute; left: 9px; width: 22px; height: 2px; background: currentColor; }
.hdr-burger::before { top: 12px; }
.hdr-burger::after { bottom: 12px; }
.mob-nav { display: none; flex-direction: column; background: var(--cream); }
.mob-nav a { padding: 14px 24px; text-decoration: none; border-top: 1px solid var(--line); }
.mob-nav.open { display: flex; }

.crumb { display: flex; gap: 8px; padding-top: 24px; font-size: 13px; color: var(--muted-on-light); max-width: var(--wrap); margin: 0 auto; }
.crumb a { text-decoration: none; }
.crumb-sep { margin: 0 2px; color: var(--line); }

.progress { position: fixed; left: 0; top: 0; z-index: 60; height: 2px; width: 0; background: var(--ink); transition: width .12s linear; }

/* ── 히어로 ──────────────────────────────────────────── */
.hero { position: relative; display: flex; align-items: flex-end; height: 92svh; min-height: 540px; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-poster, .hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { transition: opacity .6s ease; }
.hero-frame { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero.is-playing .hero-poster { opacity: 0; }
.hero.is-playing .hero-frame { opacity: 1; }
.hero-poster, .hero-frame { animation: hero-drift 26s ease-in-out infinite; transform-origin: center; }
@keyframes hero-drift { 0%,100% { transform: scale(1.1); } 50% { transform: scale(1.16) translateY(-1%); } }

.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background: linear-gradient(to top, rgba(16,16,16,.78) 0%, rgba(16,16,16,.42) 42%, rgba(16,16,16,0) 100%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; width: 100%; padding-bottom: 118px; color: var(--text-on-dark); }
.hero-type .kicker { color: var(--accent-on-dark); margin-bottom: 26px; }
.h-hero { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(54px, 12.5vw, 184px); line-height: .92; letter-spacing: -0.045em; padding-bottom: .06em; }
/* 레퍼런스는 메타 정보를 히어로 하단 우측에 타이틀과 나란히 둔다 — 여기서는 상단 우측 코너로
   분리해 하단은 타이틀 하나만 크게 앉히는 포스터형 레이아웃으로 변주한다. */
.hero-meta-wrap { position: absolute; top: 64px; left: 0; right: 0; z-index: 2; pointer-events: none; }
.hero-meta { text-align: right; max-width: 26ch; margin-left: auto; pointer-events: auto; }
/* 상단 코너에 스크림 없이 앉기 때문에 텍스트섀도로 배경과 상관없이 가독성을 확보한다 */
.hero-sub { font-size: 16px; line-height: 1.7; margin: 0 0 18px; color: rgba(255,255,255,.95); text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 16px rgba(0,0,0,.35); }
.hero-note { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; letter-spacing: .02em; margin: 0; color: rgba(255,255,255,.78); text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 16px rgba(0,0,0,.35); }

.hero-scroll { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.85)); overflow: hidden; }
.js .hero-scroll::after { content: ''; position: absolute; left: 0; top: -52px; width: 1px; height: 52px; background: var(--paper); animation: scroll-drop 2.6s var(--ease-out) infinite; }
@keyframes scroll-drop { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(104px); opacity: 0; } }

.hero-text { background: var(--cream); padding: 136px 0 118px; }
.js .hero-text .kicker, .js .hero-text h1, .js .hero-text .lead { animation: hero-rise 1s var(--ease-out) both; }
.js .hero-text h1 { animation-delay: .1s; }
.js .hero-text .lead { animation-delay: .22s; }

/* ── 세부페이지 이미지 히어로 — 사진과 타이틀을 한 화면에 결합해
   "사진이 본문 맨 위 + 콘텐츠와 한 덩어리"로 읽히게 한다 ── */
.hero-detail { position: relative; display: flex; align-items: flex-end; height: 62svh; min-height: 420px; max-height: 620px; overflow: hidden; background: var(--ink); }
.hero-detail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-drift 26s ease-in-out infinite; transform-origin: center; }
.hero-detail::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72%;
  background: linear-gradient(to top, rgba(16,16,16,.84) 0%, rgba(16,16,16,.4) 48%, rgba(16,16,16,0) 100%);
  pointer-events: none;
}
.hero-detail .wrap { position: relative; z-index: 1; padding-bottom: 56px; color: var(--text-on-dark); }
.hero-detail .kicker { color: var(--accent-on-dark); }
.hero-detail h1 { color: var(--text-on-dark); margin: 0 0 16px; }
.hero-detail .lead { color: rgba(255,255,255,.94); text-shadow: 0 1px 3px rgba(0,0,0,.4); margin: 0; }
.js .hero-detail .kicker, .js .hero-detail h1, .js .hero-detail .lead { animation: hero-rise 1s var(--ease-out) both; }
.js .hero-detail h1 { animation-delay: .1s; }
.js .hero-detail .lead { animation-delay: .22s; }
@media (max-width: 768px) { .hero-detail { height: 52svh; min-height: 360px; } }

/* ── 그리드 ─────────────────────────────────────────── */
/* 그리드 자식의 긴 한글 텍스트(word-break:keep-all)가 트랙 최소폭을 밀어내며
   가로 스크롤을 만들지 않도록 모든 카드형 그리드 자식에 min-width:0을 강제한다 */
.dp-g2, .dp-g3, .gallery-grid, .rel-grid, .related-grid, .compare-cards, .dp-split, .split-grid { min-width: 0; }
.dp-g2 > *, .dp-g3 > *, .gallery-grid > *, .rel-grid > *, .related-grid > *, .compare-cards > *, .dp-split > *, .split-grid > * { min-width: 0; }

.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 0 0 48px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin: 0 0 48px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 32px; }
.gallery-grid .fig-img { border: 1px solid var(--line); }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 10px; } }
.dp-stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: center; align-items: center; margin-top: clamp(72px, 9vw, 132px); }
.dp-split { display: grid; grid-template-columns: 42fr 58fr; gap: 80px; align-items: start; }
.dp-split.rev { grid-template-columns: 65fr 35fr; }
.dp-split.rev > *:first-child { order: 2; }
.dp-split.rev > *:last-child { order: 1; }

/* 레퍼런스는 큰 사진이 좌측에 앉는다 — 여기서는 명시적 배치로 우측에 앉혀 미러링한다 */
.gallery-5 { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(4, 140px); gap: 12px; }
.gallery-5 figure { margin: 0; overflow: hidden; }
.gallery-5 figure:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-5 figure:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.gallery-5 figure:nth-child(3) { grid-column: 1; grid-row: 3 / span 2; }
.gallery-5 figure:nth-child(4) { grid-column: 2; grid-row: 3 / span 2; }
.gallery-5 figure:last-child { grid-column: 3 / span 2; grid-row: 1 / span 4; }
.gallery-5 img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .gallery-5 { grid-template-columns: repeat(2,1fr); grid-template-rows: none; grid-auto-rows: 120px; }
  .gallery-5 figure:nth-child(1), .gallery-5 figure:nth-child(2), .gallery-5 figure:nth-child(3), .gallery-5 figure:nth-child(4) { grid-column: auto; grid-row: span 2; }
  .gallery-5 figure:last-child { grid-column: span 2; grid-row: span 3; }
}

/* ── 카드 ───────────────────────────────────────────── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 34px 30px; }
.sec-cream .card { background: var(--paper); }
.sec-paper .card { background: var(--cream); }
.card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 400; margin: 0 0 10px; }
.card p { font-size: 16px; margin: 0; color: var(--muted-on-light); }
.card-link { text-decoration: none; display: block; }
.card-link .fig-img { margin-bottom: 16px; }

.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .3px; padding: 4px 10px; border: 1px solid var(--accent); border-radius: var(--dp-radius); color: var(--accent); text-decoration: none; }
.sec-ink .badge { border-color: rgba(255,255,255,.3); color: var(--muted-on-dark); }

/* ── 박스 ───────────────────────────────────────────── */
.box { padding: 32px 34px; border-left: 2px solid var(--accent); background: var(--cream); margin: 52px 0; max-width: 74ch; }
.sec-cream .box { background: var(--paper); }
.box h3 { font-size: 17px; margin: 0 0 8px; font-family: var(--font-body); font-weight: 600; }
.box p { margin: 0; font-size: 16px; max-width: none; }

/* ── 체크리스트 ─────────────────────────────────────── */
.checks, .check-list { list-style: none; margin: 0 0 52px; padding: 0; }
.checks li, .check-list li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checks li::before, .check-list li::before { content: ''; position: absolute; left: 0; top: 22px; width: 14px; height: 14px; border: 1.5px solid var(--ink); }

.icon-list { display: grid; gap: 10px; margin: 0 0 32px; }
.icon-list > li { padding: 6px 0; font-size: 15px; }

/* ── 표 ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 0 0 60px; }
caption { text-align: left; caption-side: top; padding: 0 0 18px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-on-light); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 20px 18px 20px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }

/* ── 프로세스 / 타임라인 ────────────────────────────── */
.proc-list { display: flex; list-style: none; margin: 0 0 76px; padding: 0; }
.proc-step { flex: 1; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.proc-num { position: relative; z-index: 1; margin: 0 auto 20px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--text-on-dark); font-family: var(--font-mono); font-size: 14px; transition: transform .6s var(--ease-out), opacity .6s var(--ease); }
.js .proc-list:not(.in) .proc-num { opacity: 0; transform: scale(.86); }
.proc-step p { font-size: 15px; margin: 0; }
.proc-list.in .proc-step::after { animation: proc-line .9s var(--ease-out) both; }
@keyframes proc-line { from { width: 0; } to { width: 100%; } }

.tl { list-style: none; margin: 0 0 56px; padding: 0; border-left: 1px solid var(--line); }
.tl li { position: relative; padding: 0 0 42px 34px; }
.tl li::before { content: ''; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tl h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; margin: 0 0 6px; }
.tl p { font-size: 16px; margin: 0; }

/* ── 스텝 리스트(세부페이지 전용) ───────────────────── */
.step-list { counter-reset: step; list-style: none; margin: 0 0 56px; padding: 0; }
.step-list > li { counter-increment: step; position: relative; padding: 20px 0 20px 52px; border-top: 1px solid var(--line); }
.step-list > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.step-list > li h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 6px; font-weight: 400; }
.step-list > li p { margin: 0; color: var(--muted-on-light); font-size: 15px; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 44px 26px 0; position: relative; font-family: var(--font-body); font-size: 17px; color: inherit; line-height: 1.6; }
.faq-q::after { content: '+'; position: absolute; right: 8px; top: 18px; font-family: var(--font-mono); font-size: 20px; transition: transform .35s var(--ease); }
.faq-q[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out), opacity .35s var(--ease); opacity: 0; }
.faq-item.open .faq-a, .faq-q[aria-expanded="true"] + .faq-a { opacity: 1; }
.faq-a p { font-size: 16px; margin: 0 0 20px; color: var(--muted-on-light); }

/* ── 파트너/특집 카드 ───────────────────────────────── */
.wedia { border: 1px solid var(--ink); padding: 40px; background: var(--paper); margin: 0 0 24px; }
.sec-cream .wedia { background: var(--paper); }
.sec-paper .wedia { background: var(--cream); }
.wedia-img, .fig-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; margin: 0 0 20px; background: var(--cream); overflow: hidden; }
.wedia-img img, .fig-img img { width: 100%; height: 100%; object-fit: cover; }
.fig-img.is-portrait { aspect-ratio: 3/4; }
.wedia h3 { font-family: var(--font-display); font-size: 25px; font-weight: 400; margin: 0 0 12px; }
.wedia p { font-size: 16px; margin: 0 0 18px; }
.wedia-why { list-style: none; margin: 0 0 20px; padding: 0; }
.wedia-why li { font-size: 15px; padding: 5px 0 5px 18px; position: relative; color: var(--muted-on-light); }
.wedia-why li::before { content: '—'; position: absolute; left: 0; }

.fig { max-width: 460px; margin: 48px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.fig figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3px; color: var(--muted-on-light); margin-top: 14px; }
.fig figcaption::before { content: '— '; }
.sec-ink .fig { border-top-color: rgba(255,255,255,.18); }
.sec-ink .fig figcaption { color: var(--muted-on-dark); }
@media (min-width: 900px) { .fig { max-width: 520px; margin: 64px 0; } }

/* ── 본문 안에서 텍스트를 감싸는 플로팅 사진 — 사진이 배너처럼 분리되지 않고
   문단과 같은 흐름 안에서 좌/우로 자리 잡게 한다 ── */
.text-float-img { width: 280px; overflow: hidden; margin: 6px 0 24px 32px; }
.text-float-img.float-left { float: left; margin: 6px 32px 24px 0; }
.text-float-img.float-right { float: right; margin: 6px 0 24px 32px; }
.text-float-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.text-float-img figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3px; color: var(--muted-on-light); margin-top: 10px; }
.text-float-img figcaption::before { content: '— '; }
@media (max-width: 640px) {
  .text-float-img, .text-float-img.float-left, .text-float-img.float-right { float: none; width: 100%; max-width: 320px; margin: 0 auto 24px; }
}

/* ── 관련 페이지 ────────────────────────────────────── */
.rel-grid, .related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.rel-card { border: 1px solid var(--line); padding: 30px 26px; text-decoration: none; display: block; }
.rel-card .fig-img { margin-bottom: 16px; }
.rel-card strong { font-family: var(--font-display); font-size: 19px; font-weight: 400; display: block; }

.lead-xl { font-family: var(--font-display); font-size: clamp(21px, 2.1vw, 28px); line-height: 1.6; letter-spacing: -0.012em; max-width: 38ch; margin: 0 0 52px; padding-left: 28px; border-left: 2px solid var(--ink); }

.stat { display: block; font-family: var(--font-display); font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -.02em; transition: transform .8s var(--ease-out); }
.js .dp-stat3:not(.in) .stat { transform: translateY(10px); }
.stat-unit { font-family: var(--font-ui); font-size: 13px; letter-spacing: .06em; margin-left: 4px; }
.stat-label { font-family: var(--font-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-light); margin: 22px 0 0; }

/* ── 목차 ───────────────────────────────────────────── */
.toc { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); width: 44px; z-index: 40; display: none; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.toc.show { opacity: 1; pointer-events: auto; }
.toc-h { position: absolute; left: -9999px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.toc li { height: 12px; display: flex; align-items: center; }
.toc a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted-on-light); font-family: var(--font-ui); font-size: 11px; letter-spacing: .06em; }
.toc a::before { content: ''; display: block; width: 14px; height: 1px; background: currentColor; opacity: .45; transition: width .4s var(--ease-out), opacity .4s var(--ease); }
.toc-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease-out), opacity .35s var(--ease); }
.toc a.on::before { width: 30px; opacity: 1; background: var(--accent); }
.toc a.on { color: var(--accent); }
@media (min-width: 1400px) { .toc { display: block; } }

/* ── 세부페이지 전용 컴포넌트(레퍼런스에 없는 CTC 고유) ── */
.detail-intro { max-width: 66ch; font-size: 17px; line-height: 1.9; }
/* 세로 사진이 전체폭에 늘어나 과도하게 길어지는 것을 막기 위해 비율 고정 + object-fit으로 크롭한다 */
.detail-figure { width: 100%; aspect-ratio: 16/9; overflow: hidden; margin: 0 0 48px; background: var(--cream); }
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .detail-figure { aspect-ratio: 4/5; } }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.info-rows { border-top: 1px solid var(--line); }
.info-rows > div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-rows dt, .info-rows .k { font-family: var(--font-mono); font-size: 13px; color: var(--muted-on-light); }
.info-rows dd, .info-rows .v { margin: 0; font-size: 15px; }
.callout { background: var(--ink); color: var(--text-on-dark); padding: 32px; margin: 0 0 32px; }
.callout p { margin: 0; max-width: none; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 32px; }
.compare-cards > div { border: 1px solid var(--line); padding: 24px; }
.compare-cards h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; font-weight: 400; }
.cta-block, .cta-block-plain { padding: 56px var(--pad-x); text-align: center; }
.cta-block { background: var(--ink); color: var(--text-on-dark); }
.cta-block h2, .cta-block-plain h2 { margin: 0 0 14px; }
.cta-block p, .cta-block-plain p { margin: 0 0 24px; max-width: none; }
.editorial-col.align-left { max-width: 640px; }

.phone-cta { text-align: center; padding: 48px 24px; margin: 0 0 40px; background: var(--cream); border: 1px solid var(--line); }
.phone-cta .kicker { margin-bottom: 14px; }
.phone-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.phone-hint { margin: 14px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-on-light); }
@media (hover: hover) and (pointer: fine) {
  .phone-number { transition: color .25s var(--ease); }
  .phone-number:hover { color: var(--accent); }
}
.consult-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.consult-map { border: 1px solid var(--line); height: 320px; margin-top: 8px; overflow: hidden; }
.consult-map iframe { width: 100%; height: 100%; border: 0; }

/* ── 플로팅 / 모바일 바 ─────────────────────────────── */
/* 스티키 CTA는 .cta-block(잉크 배경)과 헷갈리지 않도록 액센트 골드로 구분한다 */
.float-cta { position: fixed; right: 28px; bottom: 28px; z-index: 40; background: var(--accent); color: var(--ink); padding: 16px 26px; border-radius: var(--dp-radius); font-family: var(--font-ui); font-weight: 700; font-size: 14px; text-decoration: none; }
.mob-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--accent); }
.mob-bar-btn { display: block; padding: 19px; text-align: center; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; }

/* ── 푸터 ───────────────────────────────────────────── */
.ft { background: var(--ink); color: var(--text-on-dark); padding: 104px 0 120px; }
.ft a { color: var(--text-on-dark); text-decoration: none; }
.ft-in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.ft-col { min-width: 0; }
.ft-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 18px; color: var(--muted-on-dark); }
.ft-dl { margin: 0; font-size: 14px; line-height: 1.9; }
.ft-dl dt { display: inline; color: var(--muted-on-dark); }
.ft-dl dt::after { content: ' '; }
.ft-dl dd { display: inline; margin: 0; }
.ft-dl dd::after { content: ''; display: block; }
.ft-ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 2.1; }
.ft-copy { max-width: var(--wrap); margin: 48px auto 0; padding: 0 24px; font-family: var(--font-mono); font-size: 11px; color: var(--muted-on-dark); }

/* ── 모션 베이스 ────────────────────────────────────── */
.js body { animation: page-in .7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

.js .stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .09s; }
.stagger.in > *:nth-child(3) { transition-delay: .18s; }
.stagger.in > *:nth-child(4) { transition-delay: .27s; }
.stagger.in > *:nth-child(5) { transition-delay: .36s; }
.stagger.in > *:nth-child(6) { transition-delay: .45s; }

.mask { display: block; overflow: hidden; }
.js .mask > span { display: block; transform: translateY(105%); transition: transform 1.05s var(--ease-out); }
.js .mask.in > span { transform: none; }

.js .kicker.reveal { transform: none; letter-spacing: .34em; transition: opacity .8s var(--ease), letter-spacing 1.1s var(--ease-out); }
.js .kicker.reveal.in { letter-spacing: .18em; }

.img-reveal { overflow: hidden; }
.js .img-reveal img { transform: scale(1.08); opacity: 0; clip-path: inset(14% 0 0 0); transition: transform 1.4s var(--ease-out), opacity .9s var(--ease), clip-path 1.2s var(--ease-out); }
.js .img-reveal.in img { transform: none; opacity: 1; clip-path: inset(0 0 0 0); }

.js .tbl-reveal tbody tr { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease-out); }
.js .tbl-reveal.in tbody tr { opacity: 1; transform: none; }
.tbl-reveal.in tbody tr:nth-child(2) { transition-delay: .07s; }
.tbl-reveal.in tbody tr:nth-child(3) { transition-delay: .14s; }
.tbl-reveal.in tbody tr:nth-child(4) { transition-delay: .21s; }
.tbl-reveal.in tbody tr:nth-child(5) { transition-delay: .28s; }
.tbl-reveal.in tbody tr:nth-child(6) { transition-delay: .35s; }
.js .tbl-reveal thead tr { position: relative; }
.js .tbl-reveal thead th { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .9s var(--ease-out); }
.js .tbl-reveal.in thead th { background-size: 100% 1px; }

.js .list-reveal > li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.js .list-reveal.in > li { opacity: 1; transform: none; }
.list-reveal.in > li:nth-child(2) { transition-delay: .06s; }
.list-reveal.in > li:nth-child(3) { transition-delay: .12s; }
.list-reveal.in > li:nth-child(4) { transition-delay: .18s; }
.list-reveal.in > li:nth-child(5) { transition-delay: .24s; }
.list-reveal.in > li:nth-child(6) { transition-delay: .30s; }
.list-reveal.in > li:nth-child(7) { transition-delay: .36s; }
.list-reveal.in > li:nth-child(8) { transition-delay: .42s; }
.js .checks li::before, .js .check-list li::before { transform: scale(.4); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s var(--ease); }
.js .list-reveal.in li::before { transform: scale(1); opacity: 1; }
.js .list-reveal.in li:nth-child(2)::before { transition-delay: .06s; }
.js .list-reveal.in li:nth-child(3)::before { transition-delay: .12s; }
.js .list-reveal.in li:nth-child(4)::before { transition-delay: .18s; }
.js .list-reveal.in li:nth-child(5)::before { transition-delay: .24s; }
.js .list-reveal.in li:nth-child(6)::before { transition-delay: .30s; }

.js .tl { background-image: linear-gradient(var(--line), var(--line)); background-size: 1px 0; background-position: 0 0; background-repeat: no-repeat; border-left-color: transparent; transition: background-size 1.4s var(--ease-out); }
.js .tl.in { background-size: 1px 100%; }
.js .tl li::before { transform: scale(0); transition: transform .55s var(--ease-out); }
.js .list-reveal.in li::before { transform: scale(1); }

.js .card-badges .badge { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease-out); }
.js .in .card-badges .badge, .js .card-badges.in .badge { opacity: 1; transform: none; }
.js .in .card-badges .badge:nth-child(2) { transition-delay: .08s; }
.js .in .card-badges .badge:nth-child(3) { transition-delay: .16s; }

.js .ft-col { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease-out); }
.js .ft-col.in { opacity: 1; transform: none; }
.js .ft-col:nth-child(2) { transition-delay: .1s; }
.js .ft-col:nth-child(3) { transition-delay: .2s; }

.js .mob-bar { transform: translateY(100%); transition: transform .45s var(--ease-out); }
.js .mob-bar.up { transform: none; }
.js .float-cta { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease-out); }
.js .float-cta.up { opacity: 1; transform: none; }

.js .hero-type > *, .js .hero-meta > * { animation: hero-rise 1.15s var(--ease-out) both; }
.js .hero-type > *:nth-child(2) { animation-delay: .13s; }
.js .hero-meta > *:nth-child(1) { animation-delay: .30s; }
.js .hero-meta > *:nth-child(2) { animation-delay: .40s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.js .par { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *, .mask > span, .img-reveal img,
  .tbl-reveal tbody tr, .list-reveal > li, .proc-list .proc-num, .hero-type > *, .hero-meta > * {
    opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
  }
  .hero-poster, .hero-frame { animation: none; transform: none; }
  .kicker.reveal { letter-spacing: .18em; }
  .faq-a { opacity: 1; }
  .hero-scroll::after { animation: none; }
  .par { transform: none !important; }
  body, .lead-xl, .checks li::before, .check-list li::before, .tl, .tl li::before,
  .card-badges .badge, .stat, .ft-col, .mob-bar, .float-cta, .tbl-reveal thead th {
    animation: none !important; transition: none !important; opacity: 1 !important;
    transform: none !important; clip-path: none !important; background-size: auto !important;
  }
  .tl { border-left-color: var(--line) !important; }
}

/* ── 호버 가드 ──────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .hdr-nav a, .ft a, .crumb a {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size .38s var(--ease-out);
  }
  .hdr-nav a:hover, .ft a:hover, .crumb a:hover { background-size: 100% 1px; }

  .card-link, .rel-card { transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease-out); }
  .card-link:hover, .rel-card:hover { border-color: var(--ink); transform: translateY(-4px); }
  .rel-card:hover { background: var(--cream); }
  .sec-paper .card-link:hover { background: var(--paper); }
  .card-link img, .rel-card img { transition: transform .7s var(--ease-out); }
  .card-link:hover img, .rel-card:hover img { transform: scale(1.03); }

  .btn { transition: opacity .25s var(--ease), transform .25s var(--ease-out); }
  .btn:hover { opacity: .84; transform: translateY(-2px); }

  .faq-q { transition: opacity .25s var(--ease); }
  .faq-q:hover { opacity: .62; }
  .mob-nav a:hover { background: var(--paper); }

  .toc a:hover { color: var(--text-on-light); }
  .toc a:hover::before { width: 30px; opacity: 1; }
  .toc a:hover .toc-label { max-width: 16ch; opacity: 1; }

  .wedia-img, .fig-img { transition: transform .8s var(--ease-out); }
  .wedia:hover .wedia-img, .fig:hover .fig-img { transform: scale(1.02); }
}

/* ── 반응형 ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --sec-gap: 92px; --pad-x: 32px; }
  .dp-split, .dp-split.rev, .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .rel-grid, .related-grid { grid-template-columns: repeat(2,1fr); }
  .ft-in { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --sec-gap: 76px; --pad-x: 24px; }
  body { padding-bottom: 64px; }
  .hdr-nav { display: none; }
  .hdr-burger { display: flex; }
  .float-cta { display: none; }
  .mob-bar { display: block; }
  .dp-g2, .dp-g3 { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .dp-split.rev { grid-template-columns: 1fr; }
  .dp-split.rev > *:first-child, .dp-split.rev > *:last-child { order: 0; }
  .rel-grid, .related-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .rel-card { padding: 18px 16px; }
  .compare-cards { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .compare-cards > div { padding: 16px; }
  .card { padding: 20px 16px; }
  .card h3 { font-size: 17px; }
  .ft-in { grid-template-columns: 1fr; gap: 32px; }
  .proc-list { flex-direction: column; gap: 10px; margin-bottom: 52px; }
  .proc-step { padding: 24px 0; }
  .proc-step::after { display: none; }
  .box { margin: 36px 0; }
  .btn-row { margin-top: 40px; }
  .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; }
  .table-wrap table { min-width: 540px; }
  .table-wrap::after { content: '→ 옆으로 넘겨 보세요'; display: block; padding: 10px 0 0; font-family: var(--font-ui); font-size: 11px; letter-spacing: .1em; color: var(--muted-on-light); }
  .br-desktop { display: none; }
  .lead { font-size: 18px; }
  .hero { height: 82svh; }
  .hero-in { padding-bottom: 64px; }
  .hero-meta-wrap { top: 88px; }
  .hero-meta { max-width: 68vw; }
  .hero-scroll { display: none; }
  .hero-text { padding: 92px 0 76px; }
}
@media (min-width: 769px) { .br-mobile { display: none; } }
@media (max-width: 480px) {
  :root { --pad-x: 20px; --sec-gap: 60px; }
  .dp-stat3 { grid-template-columns: 1fr; gap: 16px; }
  .wedia { padding: 26px; }
}
