/* ==========================================================================
   라벨르 웨딩 스튜디오 — DREXLY 템플릿
   시안(2026-08-11, 3번 묶음)의 색·활자·조판을 옮긴 단일 스타일시트.
   레이아웃 원형: Editorial + Masonry + Full-bleed
   ========================================================================== */

:root {
  /* 색 — 디자인보드 정본 */
  --burgundy: #5b0e1a;
  --burgundy-deep: #430a13;
  --burgundy-tint: rgba(91, 14, 26, 0.06);
  --champagne: #e7d7c3;
  --ivory: #fbf5f0;
  --taupe: #8a6f61;
  --sand: #bfa68f;
  --sand-soft: #d9c8b5;
  --white: #ffffff;

  --ink: #2a2225;
  --ink2: #5f4f49;
  --muted: #7a655c;
  --line: rgba(91, 14, 26, 0.16);
  --line-soft: rgba(138, 111, 97, 0.22);
  --line-faint: rgba(138, 111, 97, 0.13);
  --on-champagne: #6f5a50;
  --danger: #a32a2a;
  --ok: #3f6b4a;

  /* 글꼴 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Playfair Display", "Noto Serif KR", Georgia, "Times New Roman", serif;
  --serif-kr: "Noto Serif KR", "Playfair Display", Georgia, serif;

  /* 조판 — 8px 체계 */
  --wrap: 1240px;
  --gutter: 40px;
  --section: 120px;
  --sp1: 8px;
  --sp2: 16px;
  --sp3: 24px;
  --sp4: 32px;
  --sp6: 48px;
  --sp8: 64px;

  --radius: 2px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(64, 34, 28, 0.05);
  --shadow: 0 2px 6px rgba(64, 34, 28, 0.06), 0 18px 44px rgba(64, 34, 28, 0.08);
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);

  --z-header: 60;
  --z-scrim: 80;
  --z-drawer: 90;
  --z-toast: 130;
  --z-modal: 200;
}

/* --------------------------------------------------------------- 기본 */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: -0.005em;
  /* 한국어는 어절 단위로 끊는다 — "3F"·"휴무"가 갈라지지 않게 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.34; letter-spacing: -0.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 300;
  background: var(--burgundy);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
}
.skip:focus { left: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-sm { width: 17px; height: 17px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }

/* 공통 활자 */
.eyebrow {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 18px;
}
.h-kr { font-family: var(--serif-kr); font-weight: 500; }

h1.h-kr { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.035em; }
h2.h-kr { font-size: clamp(24px, 2.5vw, 36px); }
.section h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }

.lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--ink2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--burgundy); color: var(--white); }
.btn-primary:hover { background: var(--burgundy-deep); }
.btn-primary:active { background: #35070e; }
.btn-primary[aria-disabled="true"],
.btn-primary:disabled { background: var(--sand-soft); color: #fff; cursor: not-allowed; }

.btn-ghost { background: transparent; color: var(--burgundy); border-color: var(--line); }
.btn-ghost:hover { background: var(--burgundy-tint); border-color: var(--burgundy); }

.btn-light { background: var(--ivory); color: var(--burgundy); }
.btn-light:hover { background: var(--white); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--burgundy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.28s var(--ease), gap 0.28s var(--ease);
}
.btn-text:hover { border-color: var(--burgundy); gap: 14px; }

/* --------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(251, 245, 240, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-faint); background: rgba(251, 245, 240, 0.97); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp4);
  min-height: 78px;
}
.brand { display: block; margin-right: auto; }
.brand-kr {
  display: block;
  font-family: var(--serif-kr);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--burgundy);
}
.brand-en {
  display: block;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 2px;
}

.navlinks { display: flex; gap: 34px; }
.navlinks a {
  position: relative;
  font-size: 15px;
  color: var(--ink2);
  padding: 6px 0;
  transition: color 0.28s var(--ease);
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--burgundy);
  transform: scaleX(0);
  transition: transform 0.32s var(--ease);
}
.navlinks a:hover { color: var(--burgundy); }
.navlinks a:hover::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { color: var(--burgundy); font-weight: 600; }
.navlinks a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink2);
  transition: color 0.28s var(--ease);
}
.nav-tel:hover { color: var(--burgundy); }
.nav-tel .ico { color: var(--burgundy); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  color: var(--burgundy);
  cursor: pointer;
}

/* 모바일 서랍 */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  z-index: var(--z-drawer);
  background: var(--ivory);
  border-left: 1px solid var(--line-faint);
  padding: 22px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-faint); border-radius: var(--radius);
  color: var(--burgundy); cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-family: var(--serif-kr);
  font-size: 19px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-faint);
}
.drawer-nav a[aria-current="page"] { color: var(--burgundy); }
.drawer-chev { color: var(--taupe); display: inline-flex; }
.drawer-contact { margin-top: 26px; display: grid; gap: 10px; }
.drawer-contact .btn { justify-content: flex-start; }
.drawer-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: rgba(42, 34, 37, 0.44);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.42s var(--ease), visibility 0.42s;
}
.scrim.open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- 히어로 (홈) */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  align-items: stretch;
  background: var(--ivory);
  border-bottom: 1px solid var(--line-faint);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 4vw, 60px) clamp(56px, 7vw, 104px)
    max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero-copy h1 {
  font-family: var(--serif-kr);
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.26;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-copy .lead { margin-top: 22px; max-width: 26em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-meta {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-faint);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.hero-media { display: grid; overflow: hidden; min-height: 380px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 34%; }

/* --------------------------------------------------------------- 기록 띠 */
.stats { background: var(--champagne); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  padding: 46px 0 44px;
  text-align: center;
  border-left: 1px solid rgba(138, 111, 97, 0.24);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1;
  color: var(--burgundy);
}
.stat b i { font-style: normal; font-size: 0.62em; }
.stat span {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--on-champagne);
}
.stat em { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--ink2); }

/* --------------------------------------------------------------- 섹션 머리 */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp4);
  margin-bottom: var(--sp6);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-faint);
}
.sec-head-center {
  justify-content: center;
  text-align: center;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: var(--sp6);
}
.sec-head-center .eyebrow { margin-bottom: 14px; }

/* --------------------------------------------------------------- 홈 · 이야기 */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.story-copy h2 { margin-bottom: 22px; }
.story-copy p + p { margin-top: 16px; }
.story-copy p { color: var(--ink2); }
.story-copy .btn-text { margin-top: 30px; }
.story-media img { width: 100%; height: auto; }
.story-media figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* --------------------------------------------------------------- 홈 · 모자이크 */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(150px, 20.5vw, 292px));
  gap: 16px;
}
.mos {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand-soft);
}
.mos-lead { grid-row: span 2; }
.mos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.mos:hover img { transform: scale(1.045); }
.mos-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 20px 16px;
  background: linear-gradient(to top, rgba(38, 12, 17, 0.72), rgba(38, 12, 17, 0));
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mos:hover .mos-cap, .mos:focus-visible .mos-cap { opacity: 1; transform: none; }
.mos-cap b { display: block; font-family: var(--serif-kr); font-size: 16px; font-weight: 500; }
.mos-cap i { font-style: normal; font-size: 12px; letter-spacing: 0.06em; opacity: 0.82; }

/* --------------------------------------------------------------- 버건디 CTA 띠 */
.cta-band { background: var(--burgundy); color: var(--ivory); }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(56px, 6vw, 88px);
}
.cta-copy h2 { color: var(--ivory); }
.cta-rule { display: block; width: 46px; height: 1px; background: rgba(251, 245, 240, 0.55); margin: 24px 0; }
.cta-copy p { color: rgba(251, 245, 240, 0.86); max-width: 30em; }
.cta-copy .btn { margin-top: 32px; }
.cta-media img { width: 100%; height: auto; }

/* --------------------------------------------------------------- 홈 · 진행 순서 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.step {
  padding: 30px 26px 0 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step + .step { padding-left: 26px; }
.step + .step::before {
  content: "";
  position: absolute;
  left: 0; top: 30px; bottom: 6px;
  width: 1px;
  background: var(--line-faint);
}
.step-no {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 14px;
}
.step h3 { font-family: var(--serif-kr); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink2); }

/* --------------------------------------------------------------- 페이지 머리 */
.page-head {
  padding: clamp(52px, 6vw, 92px) 0 clamp(36px, 4vw, 56px);
  background: var(--ivory);
}
.page-head h1 { margin-bottom: 20px; }
.head-rule { display: block; width: 44px; height: 2px; background: var(--burgundy); }
.page-lead { margin-top: 26px; font-size: clamp(15px, 1.2vw, 18px); color: var(--ink2); }

/* --------------------------------------------------------------- 포트폴리오 */
.gallery-sec { padding-top: clamp(28px, 3vw, 44px); }
.gal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
/* 가로 스크롤 무드 줄이 격자 칸을 밀어내지 않게 최소폭을 푼다 */
.gal-rail, .gal-main { min-width: 0; }
.rail-inner { position: sticky; top: 104px; min-width: 0; }
.rail-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.mood-list { display: flex; flex-direction: column; }
.mood {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 4px 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-faint);
  font-size: 15px;
  color: var(--ink2);
  text-align: left;
  cursor: pointer;
  transition: color 0.26s var(--ease);
}
.mood:hover { color: var(--burgundy); }
.mood[aria-pressed="true"] { color: var(--burgundy); font-weight: 600; }
.mood-n { font-family: var(--serif); font-size: 12px; color: var(--muted); }
.mood[aria-pressed="true"] .mood-n { color: var(--burgundy); }

.rail-fields { display: block; }
.rail-field { margin-top: 24px; }
.rail-field > label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.select-wrap { position: relative; display: block; }
.select-wrap select {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 0 40px 0 14px;
  background: var(--white);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
}
.select-wrap select:focus-visible { border-color: var(--burgundy); }
.select-chev {
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--taupe);
  pointer-events: none;
}
.rail-reset {
  margin-top: 22px;
  min-height: 44px;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid var(--line-faint);
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}
.rail-reset:hover { color: var(--burgundy); }

.gal-count {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.masonry { columns: 4; column-gap: 18px; }
.tile { break-inside: avoid; margin: 0 0 18px; }
.tile-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand-soft);
  cursor: zoom-in;
  overflow: hidden;
}
.tile-btn img { width: 100%; height: auto; transition: transform 0.9s var(--ease), opacity 0.4s var(--ease); }
.tile-btn:hover img { transform: scale(1.04); opacity: 0.92; }
.tile-zoom {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251, 245, 240, 0.92);
  color: var(--burgundy);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.tile-btn:hover .tile-zoom, .tile-btn:focus-visible .tile-zoom { opacity: 1; transform: none; }
.tile figcaption { padding-top: 10px; }
.tile figcaption b { display: block; font-family: var(--serif-kr); font-size: 15px; font-weight: 500; }
.tile figcaption span { display: block; font-size: 12.5px; color: var(--muted); }

.gal-skeleton { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 4px; }
.gal-skeleton[hidden] { display: none; }
.gal-skeleton span {
  display: block;
  height: 240px;
  background: linear-gradient(100deg, var(--sand-soft) 30%, rgba(231, 215, 195, 0.55) 50%, var(--sand-soft) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.3s linear infinite;
}
.gal-skeleton span:nth-child(2) { height: 300px; }
.gal-skeleton span:nth-child(3) { height: 210px; }
.gal-skeleton span:nth-child(4) { height: 270px; }
@keyframes shimmer { to { background-position: -300% 0; } }

.gal-empty {
  padding: 72px 24px;
  text-align: center;
  border: 1px solid var(--line-faint);
  background: var(--white);
}
.gal-empty[hidden] { display: none; }
.gal-empty .ico { width: 34px; height: 34px; margin: 0 auto 18px; color: var(--taupe); }
.gal-empty b { font-family: var(--serif-kr); font-size: 18px; font-weight: 500; }
.gal-empty p + p { margin-top: 8px; font-size: 14.5px; color: var(--ink2); }
.gal-empty .btn { margin-top: 26px; }

.gal-more { margin-top: 22px; text-align: center; }
.gal-more[hidden] { display: none; }
.gal-more .btn { min-width: 260px; }

/* 라이트박스 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  padding: 84px 28px 44px;
  background: rgba(29, 9, 13, 0.95);
}
.lightbox[hidden] { display: none; }
.lb-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  color: rgba(251, 245, 240, 0.9);
}
.lb-count { font-family: var(--serif); font-size: 14px; letter-spacing: 0.12em; }
.lb-close, .lb-nav {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(251, 245, 240, 0.09);
  border: 1px solid rgba(251, 245, 240, 0.22);
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.26s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(251, 245, 240, 0.2); }
.lb-nav { justify-self: center; }
.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 0;
  height: 100%;
}
.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 210px);
  width: auto; height: auto;
  object-fit: contain;
  background: var(--sand-soft);
}
.lb-figure figcaption { text-align: center; color: var(--ivory); }
.lb-figure figcaption b { display: block; font-family: var(--serif-kr); font-size: 17px; font-weight: 500; }
.lb-figure figcaption span { font-size: 13px; color: rgba(251, 245, 240, 0.7); }

/* --------------------------------------------------------------- 패키지 비교표 */
.compare { padding-top: clamp(28px, 3vw, 44px); }
.table-scroll { overflow-x: auto; }
.pkg-table { width: 100%; min-width: 760px; }
.pkg-table .col-label { width: 210px; }
.pkg-table thead th {
  vertical-align: top;
  padding: 26px 20px 24px;
  text-align: center;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.pkg-table thead th.is-best { background: var(--white); border-bottom-color: var(--burgundy); }
.pkg-th { position: relative; }
.pkg-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 14px;
  background: var(--burgundy);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 10.5px;
  letter-spacing: 0.2em;
}
.pkg-en {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--burgundy);
}
.pkg-kr { display: block; margin-top: 4px; font-family: var(--serif-kr); font-size: 15px; font-weight: 500; color: var(--ink2); }
.pkg-price {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
}
.pkg-price i { font-style: normal; font-size: 14px; margin-left: 2px; font-family: var(--sans); color: var(--ink2); }
.pkg-th .pkg-note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); font-weight: 400; }

.pkg-table tbody th {
  display: table-cell;
  padding: 15px 18px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink2);
  border-bottom: 1px solid var(--line-faint);
  white-space: nowrap;
}
.pkg-table tbody th .ico { display: inline-block; vertical-align: -3px; margin-right: 8px; color: var(--taupe); }
.pkg-table tbody td {
  padding: 15px 18px;
  text-align: center;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-faint);
}
.pkg-table tbody td.is-best { background: rgba(91, 14, 26, 0.045); font-weight: 600; color: var(--burgundy); }
.pkg-table tbody tr:hover td { background: rgba(231, 215, 195, 0.28); }
.pkg-table tbody tr:hover td.is-best { background: rgba(91, 14, 26, 0.075); }
.pkg-table tfoot td { padding: 22px 12px 0; }
.pkg-table tfoot td.is-best { background: rgba(91, 14, 26, 0.045); padding-bottom: 22px; }

.pkg-notes { margin-top: 26px; display: grid; gap: 6px; }
.pkg-notes li { position: relative; padding-left: 14px; font-size: 13.5px; color: var(--muted); }
.pkg-notes li::before { content: "·"; position: absolute; left: 3px; }

/* 모바일 패키지 행 + 바텀시트 */
.pkg-mobile { display: none; }
.pkg-row { padding: 22px 0; border-bottom: 1px solid var(--line-faint); }
.pkg-row:first-child { border-top: 1px solid var(--line); }
.pkg-row-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pkg-row-head .pkg-en { display: inline; font-size: 13px; }
.pkg-row-head .pkg-kr { display: inline; font-size: 19px; color: var(--ink); }
.pkg-row.is-best { background: rgba(91, 14, 26, 0.04); padding: 22px 18px; }
.pkg-row-note { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.pkg-row-price { margin: 10px 0 16px; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.pkg-row-price i { font-style: normal; font-size: 14px; font-family: var(--sans); color: var(--ink2); }

.sheet-scrim {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(42, 34, 37, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.34s var(--ease), visibility 0.34s;
}
.sheet-scrim.open { opacity: 1; visibility: visible; }
.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-modal);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--ivory);
  border-radius: 14px 14px 0 0;
  padding: 12px 22px 30px;
  transform: translateY(100%);
  transition: transform 0.38s var(--ease);
  box-shadow: 0 -12px 40px rgba(42, 20, 24, 0.22);
}
.sheet[hidden] { display: none; }
.sheet.open { transform: none; }
.sheet-grip { width: 44px; height: 4px; border-radius: 2px; background: var(--sand-soft); margin: 0 auto 16px; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sheet-head .pkg-en { font-size: 12px; }
.sheet-close {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-faint); border-radius: var(--radius);
  color: var(--burgundy); cursor: pointer;
}
.sheet-price { margin: 10px 0 20px; font-family: var(--serif); font-size: 26px; color: var(--burgundy); }
.sheet-list { margin: 0 0 24px; display: grid; gap: 0; }
.sheet-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-faint); }
.sheet-list dt { font-size: 14px; color: var(--muted); }
.sheet-list dd { margin: 0; font-size: 14.5px; font-weight: 600; text-align: right; }

/* --------------------------------------------------------------- 혜택 줄 */
.perk-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line-faint);
}
.perk { padding: 40px 28px; text-align: center; border-left: 1px solid var(--line-faint); }
.perk:first-child { border-left: 0; }
.perk .ico { width: 28px; height: 28px; margin: 0 auto 18px; color: var(--burgundy); }
.perk h3 { font-family: var(--serif-kr); font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.perk p { font-size: 13.5px; color: var(--ink2); }

/* --------------------------------------------------------------- 아코디언 */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-aside h2 { margin-bottom: 14px; }
.faq-aside p { color: var(--ink2); font-size: 14.5px; }
.faq-aside .btn-text { margin-top: 22px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line-faint); }
.acc-h { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 16px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--serif-kr);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.26s var(--ease);
}
.acc-trigger:hover { color: var(--burgundy); }
.acc-chev { color: var(--taupe); transition: transform 0.34s var(--ease); }
.acc-trigger[aria-expanded="true"] { color: var(--burgundy); }
.acc-trigger[aria-expanded="true"] .acc-chev { transform: rotate(180deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.acc-item.open .acc-panel { max-height: 340px; }
.acc-panel p { padding: 0 4px 24px; font-size: 14.5px; color: var(--ink2); }

/* --------------------------------------------------------------- 옅은 CTA */
.cta-soft { background: var(--champagne); }
.cta-soft-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(44px, 5vw, 72px);
}
.cta-soft-media img { width: 100%; height: auto; }
.cta-soft-copy p { margin-top: 16px; color: var(--ink2); max-width: 30em; }
.cta-soft-copy .btn { margin-top: 28px; }

/* --------------------------------------------------------------- 브랜드 */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.split-rev { background: var(--white); }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p { color: var(--ink2); }
.split-copy p + p { margin-top: 16px; }
.split-media img { width: 100%; height: auto; }

.promise { margin-top: 28px; display: grid; gap: 2px; }
.promise li {
  display: grid;
  grid-template-columns: 22px auto minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line-faint);
  font-size: 14.5px;
}
.promise .ico { color: var(--burgundy); align-self: center; }
.promise b { font-weight: 600; }
.promise span { color: var(--ink2); }

.strength-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.strength-row li { text-align: center; padding-top: 26px; border-top: 1px solid var(--line); }
.strength-row .ico { width: 28px; height: 28px; margin: 0 auto 18px; color: var(--burgundy); }
.strength-row h3 { font-family: var(--serif-kr); font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.strength-row p { font-size: 13.5px; color: var(--ink2); }

.history { background: var(--white); }
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.history-aside h2 { margin-bottom: 14px; }
.history-aside p { font-size: 14.5px; color: var(--ink2); }
.timeline { position: relative; padding-left: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 34px);
  padding: 22px 0;
  border-top: 1px solid var(--line-faint);
  position: relative;
}
.tl-item:first-child { border-top: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-size: 20px; color: var(--burgundy); letter-spacing: 0.04em; }
.tl-body h3 { font-family: var(--serif-kr); font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.tl-body p { font-size: 14px; color: var(--ink2); }

.studio-strip {
  display: grid;
  grid-template-columns: 1.16fr 1fr 1.3fr;
  gap: clamp(18px, 2.6vw, 40px);
  align-items: start;
}
.studio img { width: 100%; height: auto; }
.studio figcaption { padding-top: 16px; }
.studio figcaption b { display: block; font-family: var(--serif-kr); font-size: 17px; font-weight: 500; }
.studio figcaption span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink2); }
.studio figcaption em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--muted); }
.st-b { margin-top: clamp(24px, 4vw, 56px); }
.st-c { margin-top: clamp(10px, 2vw, 24px); }

/* --------------------------------------------------------------- 상담 */
.intro-sec { padding-top: clamp(28px, 3vw, 44px); padding-bottom: 0; }
.intro-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-faint);
  padding: clamp(22px, 2.6vw, 34px);
}
.intro-media img { width: 100%; height: 340px; object-fit: cover; }
.intro-copy h2 { margin-bottom: 16px; }
.intro-copy > p { color: var(--ink2); }
.intro-facts { margin: 24px 0 28px; display: grid; gap: 2px; }
.intro-facts li {
  display: grid;
  grid-template-columns: 20px 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-faint);
  font-size: 14.5px;
}
.intro-facts .ico { color: var(--burgundy); }
.intro-facts b { font-weight: 600; }
.intro-facts span { color: var(--ink2); }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.form-aside h2 { margin-bottom: 14px; }
.form-aside > p { color: var(--ink2); font-size: 14.5px; }
.aside-tel {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-faint);
  display: grid;
  gap: 10px;
}
.aside-tel p { font-size: 13px; color: var(--muted); }
.aside-tel .btn { justify-content: flex-start; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line-faint);
  padding: clamp(24px, 3vw, 44px);
}
.fs + .fs { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line-faint); }
.fs legend {
  font-family: var(--serif-kr);
  font-size: 17px;
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: 22px;
}
.field { margin-bottom: 20px; }
.field > label, .field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 8px;
}
.req { color: var(--burgundy); margin-left: 2px; }
.opt { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 12.5px; }

.control {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
textarea.control { min-height: 116px; resize: vertical; line-height: 1.7; }
.control::placeholder { color: #9a8981; }
.control:hover { border-color: var(--sand); }
.control:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(91, 14, 26, 0.09); }
.field.invalid .control { border-color: var(--danger); background: #fdf6f5; }
.field-error { display: none; margin-top: 7px; font-size: 13px; color: var(--danger); }
.field.invalid .field-error { display: flex; align-items: center; gap: 6px; }
.field.invalid .field-error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1px solid var(--danger); border-radius: 50%; font-size: 10px; font-weight: 700; flex: none; }
.field-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.counter { margin-top: 7px; text-align: right; font-size: 12.5px; color: var(--muted); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot {
  position: relative;
  min-height: 48px;
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--serif);
  letter-spacing: 0.04em;
  color: var(--ink2);
  cursor: pointer;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--burgundy); color: var(--burgundy); }
.slot[aria-checked="true"] { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.slot:disabled { background: #f2ece6; color: #b3a49b; cursor: not-allowed; }
.slot-x { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0; }

.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill, .check-pill { position: relative; display: block; }
.radio-pill input, .check-pill input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
}
.radio-pill label, .check-pill label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--white);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink2);
  cursor: pointer;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease), background 0.24s var(--ease);
}
.radio-pill label:hover, .check-pill label:hover { border-color: var(--sand); }
.radio-pill input:checked + label,
.check-pill input:checked + label {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: rgba(91, 14, 26, 0.05);
  font-weight: 600;
}
.radio-pill input:focus-visible + label,
.check-pill input:focus-visible + label { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.radio-pill .ico { color: currentColor; }

.field-agree {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-faint);
  margin-bottom: 26px;
}
.field-agree input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--burgundy);
  margin: 0;
  cursor: pointer;
}
.field-agree label { margin: 0; font-size: 14px; font-weight: 400; color: var(--ink2); cursor: pointer; }
.agree-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.agree-more:hover { color: var(--burgundy); }
.field-agree .field-error { grid-column: 1 / -1; margin-top: 0; }
.field-agree.invalid label { color: var(--danger); }

.form-foot { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

.form-done { text-align: center; padding: 26px 8px 12px; }
.form-done[hidden] { display: none; }
.form-done .ico { width: 40px; height: 40px; margin: 0 auto 20px; color: var(--ok); }
.form-done h3 { font-size: 22px; margin-bottom: 12px; }
.form-done p { color: var(--ink2); }
.done-sub { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.done-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 오시는 길 */
.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line-faint); margin-bottom: 32px; }
.tab {
  min-height: 48px;
  padding: 0 22px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.tab:hover { color: var(--burgundy); }
.tab[aria-selected="true"] { color: var(--burgundy); font-weight: 600; border-bottom-color: var(--burgundy); }
.tabpanel[hidden] { display: none; }
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.map-box { border: 1px solid var(--line-faint); background: #f1e9e0; }
.minimap { display: block; width: 100%; height: auto; font-family: var(--sans); }
.map-info h3 { font-size: 21px; margin-bottom: 18px; }
.map-info ul { display: grid; gap: 2px; }
.map-info li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-faint);
  font-size: 14.5px;
  color: var(--ink2);
}
.map-info .ico { color: var(--burgundy); }
.map-info a:hover { color: var(--burgundy); }
.map-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------- 푸터 */
.site-footer { background: var(--burgundy); color: rgba(251, 245, 240, 0.9); margin-top: 0; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(48px, 5vw, 76px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.foot-brand .brand-kr { color: var(--ivory); font-size: 21px; }
.foot-tag { margin-top: 10px; font-size: 13.5px; color: rgba(251, 245, 240, 0.66); }
.foot-social { margin-top: 26px; display: grid; gap: 4px; }
.foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(251, 245, 240, 0.78);
  padding: 4px 0;
  transition: color 0.24s var(--ease);
}
.foot-social a:hover { color: var(--ivory); }
.foot-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.foot-branch h2 {
  font-family: var(--serif-kr);
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(251, 245, 240, 0.2);
}
.foot-branch p { font-size: 13px; color: rgba(251, 245, 240, 0.72); line-height: 1.7; }
.foot-branch a { font-family: var(--serif); letter-spacing: 0.04em; }
.foot-branch a:hover { color: var(--ivory); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 22px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(251, 245, 240, 0.18);
  font-size: 12.5px;
  color: rgba(251, 245, 240, 0.6);
}
.foot-copy { margin-left: auto; }
.foot-legal { display: flex; gap: 18px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--ivory); }

/* --------------------------------------------------------------- 하단 고정 CTA (모바일) */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  gap: 8px;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 245, 240, 0.97);
  border-top: 1px solid var(--line-faint);
  backdrop-filter: blur(8px);
}
.mcta-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--burgundy);
  flex: none;
}
.mcta-book { flex: 1; min-height: 48px; }

/* --------------------------------------------------------------- 맨 위로 */
.to-top {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 75;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--burgundy);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------- 토스트 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: var(--z-toast);
  transform: translate(-50%, 18px);
  min-width: 280px;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 34px rgba(42, 34, 37, 0.26);
  opacity: 0;
  visibility: hidden;
  /* 알림일 뿐이므로 아래 제출 버튼을 가로막지 않는다 */
  pointer-events: none;
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease), visibility 0.34s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: var(--champagne); }

/* --------------------------------------------------------------- 등장 */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* =============================================================== 반응형 */
@media (max-width: 1180px) {
  :root { --wrap: 1024px; --section: 100px; }
  .navlinks { gap: 24px; }
  .nav-tel { display: none; }
  .masonry { columns: 3; }
  .gal-skeleton { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; --section: 88px; }
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .brand-en { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy {
    order: 2;
    padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(44px, 5vw, 64px);
  }
  .hero-media { order: 1; min-height: 0; aspect-ratio: 16 / 11; }
  .hero-media img { object-position: 52% 30%; }
  .story-grid, .split-grid, .cta-grid, .cta-soft-grid, .faq-layout, .history-layout, .form-layout, .map-grid { grid-template-columns: minmax(0, 1fr); }
  .split-rev .split-media { order: 2; }
  .intro-card { grid-template-columns: minmax(0, 1fr); }
  .intro-media img { height: 240px; }
  .gal-layout { grid-template-columns: minmax(0, 1fr); }
  .rail-inner { position: static; }
  .rail-title { display: none; }
  .mood-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .mood-list::-webkit-scrollbar { display: none; }
  .mood {
    flex: none;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line-faint);
    border-radius: 999px;
    white-space: nowrap;
  }
  .mood[aria-pressed="true"] { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
  .mood[aria-pressed="true"] .mood-n { color: rgba(251, 245, 240, 0.8); }
  .rail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .rail-field { margin-top: 16px; }
  .rail-reset { width: auto; border-top: 0; padding: 0 2px; }
  .studio-strip { grid-template-columns: 1fr 1fr; }
  .st-b, .st-c { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; }
  .step, .step + .step { padding: 26px 0 0; }
  .step + .step::before { display: none; }
  .strength-row, .perk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk:nth-child(3), .perk:nth-child(4) { border-top: 1px solid var(--line-faint); }
  .perk:nth-child(odd) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .masonry { columns: 2; }
  .gal-skeleton { grid-template-columns: repeat(2, 1fr); }
  .foot-branches { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --section: 68px; }
  body { font-size: 15.5px; padding-bottom: 72px; }
  .mobile-cta { display: flex; }
  .to-top { bottom: 90px; right: 16px; }
  .toast { bottom: 88px; min-width: 0; }
  .site-footer { padding-bottom: 0; }

  .stat-row { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(138, 111, 97, 0.24); padding: 26px 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 16px; text-align: left; }
  .stat:first-child { border-top: 0; }
  .stat b { grid-row: span 2; font-size: 34px; }
  .stat span { margin-top: 0; }
  .stat em { margin-top: 0; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* 세로 사진은 좁은 화면에서도 세로로 — 눕히면 구도가 잘린다 */
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 32vw); gap: 10px; }
  .mos-lead { grid-column: span 1; grid-row: span 2; }
  .mos-cap { opacity: 1; transform: none; padding: 30px 14px 12px; }

  .steps { grid-template-columns: 1fr; gap: 24px 0; }
  .step, .step + .step { padding: 22px 0 0; }

  .strength-row, .perk-row { grid-template-columns: 1fr; }
  .perk { border-left: 0; border-top: 1px solid var(--line-faint); padding: 30px 20px; }
  .perk:first-child { border-top: 0; }
  .strength-row li { padding-top: 22px; }

  /* 표를 접는 화면에서는 값을 먼저 보이고 주석을 뒤로 돌린다 */
  .compare .wrap { display: flex; flex-direction: column; }
  .table-scroll { display: none; }
  .pkg-mobile { display: block; order: 2; }
  .pkg-notes { order: 3; margin-top: 26px; }

  .studio-strip { grid-template-columns: 1fr; gap: 30px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-year { font-size: 17px; }

  .field-agree { grid-template-columns: 22px minmax(0, 1fr); }
  .agree-more { grid-column: 2; justify-content: flex-start; }
  .form-card { padding: 22px 18px 26px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tablist { overflow-x: auto; scrollbar-width: none; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 0 16px; }

  .lightbox { grid-template-columns: 1fr; padding: 72px 16px 96px; }
  .lb-nav { position: fixed; bottom: 24px; width: 52px; height: 52px; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { left: calc(50% + 10px); }
  .lb-figure img { max-height: calc(100vh - 240px); }

  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 26px; }
  .foot-copy { margin-left: 0; }
}

/* 좁은 화면 머리띠 — 상호가 두 줄로 갈라지지 않게 CTA 는 하단 고정 막대에 맡긴다 */
@media (max-width: 620px) {
  .nav { gap: 12px; min-height: 68px; }
  .brand-kr { font-size: 16.5px; white-space: nowrap; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn { display: none; }
  .nav-tel {
    display: inline-flex;
    width: 44px; height: 44px;
    justify-content: center;
    border: 1px solid var(--line-faint);
    border-radius: var(--radius);
  }
  .nav-tel span { display: none; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .radio-pill label, .check-pill label { padding: 0 14px; font-size: 14px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .done-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .drawer, .scrim, .to-top, .toast, .mobile-cta, .lightbox, .sheet, .sheet-scrim { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
}
