:root {
  --ivory: #fbf8f3;
  --ivory-deep: #f4ede4;
  --card: #ffffff;
  --line: #e9e1d8;
  --ink: #2b2521;
  --ink-soft: #6b6157;
  --gold: #a9835a;
  --gold-deep: #8a6a45;
  --gold-tint: #f1e6d6;
  --rose: #b47b78;
  --rose-tint: #fbefee;
  --error: #b3453b;
  --error-tint: #fbe9e7;
  --ok: #3f7a5e;
  --ok-tint: #e7f3ec;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -18px rgba(43, 37, 33, 0.35);
  --maxw: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
/* `hidden` 속성은 항상 이긴다 — .btn 처럼 display 를 지정하는 클래스와 같이 붙으면
   동일 특이도에서 나중에 선언된 클래스 규칙이 UA 기본 [hidden] 규칙을 덮어써 버튼이
   JS 로 숨겼는데도 보이는 사고가 난다(관리자 주문상세 "작업 시작" 버튼에서 실측). */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, 'Malgun Gothic', system-ui, sans-serif;
  background: linear-gradient(180deg, #ffffff 0, var(--ivory) 58%, #ffffff 100%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(169, 131, 90, 0.42); outline-offset: 3px; }
/* 한국어 제목이 어절 중간에서 꺾이지 않게(예: "순간으로"의 "로"만 다음 줄로 떨어지는 문제).
   overflow-wrap 은 유지해 아주 긴 단어도 컨테이너를 넘지 않는다. */
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.14em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 헤더 ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: block;
  line-height: 1;
}
.site-brand-logo { width: 92px; height: 68px; object-fit: contain; object-position: left center; }
.brand .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.brand .sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  margin-top: 3px;
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.nav-toggle-icon { display: block; width: 18px; height: 12px; position: relative; }
.nav-toggle-icon span {
  display: block;
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 5px; }
.nav-toggle-icon span:nth-child(3) { top: 10px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ── 버튼 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { opacity: 0.88; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { opacity: 0.9; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-danger { background: var(--error); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── 히어로 ─────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 40px 0 48px;
}
.hero::before {
  content: '';
  position: absolute;
  width: min(42vw, 460px);
  aspect-ratio: 1;
  right: 1%;
  top: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 123, 120, 0.13), rgba(169, 131, 90, 0.05) 58%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hero .eyebrow {
  color: var(--gold-deep);
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
}
.hero p.lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding: 64px 0 88px; }
}

/* ── 섹션 공통 ──────────────────────────────────────────── */
section { padding: 44px 0; }
.page-intro {
  padding: 58px 0 28px;
  border-bottom: 1px solid rgba(233, 225, 216, 0.72);
}
.page-intro .section-head { margin-bottom: 0; }
.page-intro .section-head p { font-size: 15px; }
.surface-section {
  margin: 14px 0;
  padding: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 20px 55px -42px rgba(62, 48, 39, 0.5);
}
.soft-section {
  background: linear-gradient(135deg, #fff 0%, var(--ivory) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--gold-deep);
  background: var(--gold-tint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.help-grid { display: grid; gap: 14px; }
.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.help-card .help-label { color: var(--rose); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.help-card h3 { margin: 7px 0 7px; font-size: 16px; }
.help-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }
.flow-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--rose-tint);
  border: 1px solid #ead3d1;
  border-radius: var(--radius);
  color: #684b49;
  font-size: 13.5px;
}
.flow-note strong { color: var(--ink); white-space: nowrap; }
@media (min-width: 700px) {
  .help-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
  .surface-section, .soft-section { padding: 22px 18px; }
  .page-intro { padding-top: 42px; }
}
.section-head { margin-bottom: 28px; }
.section-head .eyebrow {
  color: var(--gold-deep); font-size: 12.5px; letter-spacing: 0.22em; font-weight: 700;
}
.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 34px);
  margin: 8px 0 10px;
}
.section-head p { color: var(--ink-soft); max-width: 60ch; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 32px -30px rgba(43, 37, 33, 0.7);
}
.card-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 14px;
  background: var(--gold-tint);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.price { color: var(--gold-deep); font-weight: 700; margin-top: 10px; font-size: 15.5px; }

.compare-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .compare-strip { grid-template-columns: repeat(2, 1fr); } }
.compare-strip img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; }

.steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 28px -28px rgba(43, 37, 33, 0.7);
}
.step .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; margin-bottom: 12px;
}

.notice-box {
  background: var(--gold-tint); border: 1px solid #e6d3b3; border-radius: var(--radius);
  padding: 18px 20px; font-size: 14px; color: #5c4626;
}
.notice-box ul { margin: 8px 0 0; padding-left: 18px; }
.notice-box li { margin-bottom: 6px; }

/* ── 폼 ─────────────────────────────────────────────────── */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; max-width: 640px; box-shadow: 0 24px 60px -48px rgba(43, 37, 33, 0.55);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink);
}
.field .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=number],
.field input[type=password], .field textarea, .field select {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 14px; font-size: 15px; background: #fff; color: var(--ink); font-family: inherit;
}
.field textarea { min-height: 100px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px;
}
.checkline {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft);
}
.checkline input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.field-error { color: var(--error); font-size: 12.5px; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field.has-error .field-error { display: block; }

.alert {
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; margin-bottom: 18px;
}
.alert-error { background: var(--error-tint); color: var(--error); border: 1px solid #f0c9c4; }
.alert-ok { background: var(--ok-tint); color: var(--ok); border: 1px solid #c7e3d3; }

/* ── 업로드 ─────────────────────────────────────────────── */
.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 32px 20px;
  text-align: center; background: var(--card); cursor: pointer;
}
.dropzone.drag { border-color: var(--gold); background: var(--gold-tint); }
.dropzone input[type=file] { display: none; }
.upload-summary {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0;
  font-size: 14px; color: var(--ink-soft);
}
.progress-outer {
  height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; flex: 1; min-width: 140px;
}
.progress-inner { height: 100%; background: var(--gold); width: 0%; transition: width 0.2s ease; }
.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.file-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--card); font-size: 13.5px; flex-wrap: wrap;
}
.file-row .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fsize { color: var(--ink-soft); font-size: 12.5px; }
.file-row .progress-outer { flex-basis: 100%; order: 5; }
.status-pill {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.status-pill.done { background: var(--ok-tint); color: var(--ok); }
.status-pill.pending { background: var(--gold-tint); color: var(--gold-deep); }
.status-pill.fail { background: var(--error-tint); color: var(--error); }

/* ── 표 ─────────────────────────────────────────────────── */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--ink-soft); font-weight: 600; background: #fbf8f3; }
tr:last-child td { border-bottom: none; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-received { background: #eef1f5; color: #46536b; }
.badge-in_progress { background: var(--gold-tint); color: var(--gold-deep); }
.badge-revision { background: #fdeee0; color: #b1591c; }
.badge-completed { background: var(--ok-tint); color: var(--ok); }

/* ── 푸터 ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-soft); font-size: 13px;
  margin-top: 40px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.footer-channels { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.empty-state { text-align: center; padding: 40px 16px; color: var(--ink-soft); }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(43, 37, 33, 0.48); display: none;
  align-items: center; justify-content: center; z-index: 80; padding: 16px;
  backdrop-filter: blur(5px);
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 28px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 28px 80px -28px rgba(43, 37, 33, 0.52);
}
.confirm-modal-eyebrow { margin: 0 0 8px; color: var(--gold-deep); font-size: 11px; letter-spacing: 0.2em; font-weight: 700; }
.confirm-modal-card h2 { margin: 0; font: 600 25px/1.25 'Cormorant Garamond', serif; }
.confirm-modal-message { color: var(--ink-soft); margin: 14px 0 24px; white-space: pre-line; }
.confirm-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.modal-open { overscroll-behavior: none; }

/* ── 고객 화면 공통 빠른 문의 ────────────────────────────────────────────────
   모바일에서도 세로 콘텐츠를 덮지 않도록 액션 3개가 왼쪽으로 펼쳐진다. */
.quick-contact {
  position: fixed;
  right: calc(14px + env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100vw - 28px - env(safe-area-inset-right, 0px));
}
.quick-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.quick-contact-action,
.quick-contact-trigger {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 14px 34px -12px rgba(43, 37, 33, 0.54);
}
.quick-contact-action svg { width: 23px; height: 23px; }
.quick-contact-instagram {
  color: #fff;
  background: radial-gradient(circle at 30% 105%, #feda75 0 18%, #fa7e1e 35%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
}
.quick-contact-instagram svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.quick-contact-instagram .quick-contact-dot { fill: currentColor; stroke: none; }
.quick-contact-blog { color: #fff; background: #03c75a; }
.quick-contact-n { font: 800 22px/1 Arial, sans-serif; letter-spacing: -0.08em; transform: translateX(-1px); }
.quick-contact-phone { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.quick-contact-phone svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.quick-contact-trigger {
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 18px 42px -14px rgba(43, 37, 33, 0.72);
}
.quick-contact-trigger svg {
  position: absolute;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.quick-contact-close-icon { opacity: 0; transform: rotate(-45deg) scale(0.72); }
.quick-contact.is-open .quick-contact-trigger-icon { opacity: 0; transform: rotate(45deg) scale(0.72); }
.quick-contact.is-open .quick-contact-close-icon { opacity: 1; transform: rotate(0) scale(1); }
.quick-contact-actions:not([hidden]) .quick-contact-action {
  animation: quick-contact-reveal 0.18s ease-out both;
}
.quick-contact-actions:not([hidden]) .quick-contact-action:nth-child(2) { animation-delay: 0.035s; }
.quick-contact-actions:not([hidden]) .quick-contact-action:nth-child(3) { animation-delay: 0.07s; }
@keyframes quick-contact-reveal {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.quick-contact-tooltip {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(50%) translateY(4px);
  width: max-content;
  max-width: min(150px, calc(100vw - 28px));
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(43, 37, 33, 0.92);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.quick-contact-action:hover .quick-contact-tooltip,
.quick-contact-action:focus-visible .quick-contact-tooltip {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}
/* 페이지 끝에서 푸터 링크·CTA가 고정 버튼 아래로 들어가지 않는 여유 공간. */
.has-quick-contact .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 379px) {
  .quick-contact { right: calc(10px + env(safe-area-inset-right, 0px)); gap: 7px; }
  .quick-contact-actions { gap: 6px; }
  .quick-contact-action { width: 46px; height: 46px; }
  .quick-contact-trigger { width: 54px; height: 54px; }
}

/* ── 이벤트/프로모션 저속 단방향 무한 루프 ─────────────────────────────── */
.event-loop-section { overflow: hidden; padding-bottom: 62px; }
.event-loop-shell {
  --event-gap: 18px;
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  padding: 12px 0 28px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.event-loop-track {
  display: flex;
  gap: var(--event-gap);
  width: max-content;
  will-change: transform;
  animation: event-loop-forward 44s linear infinite;
}
.event-loop-group { display: flex; gap: var(--event-gap); flex: none; }
.event-card {
  width: clamp(250px, 26vw, 332px);
  min-height: 228px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff 0%, #fffaf7 100%);
  box-shadow: 0 22px 52px -38px rgba(43, 37, 33, 0.58);
}
.event-card:nth-child(3n + 2) { background: linear-gradient(145deg, #fff 0%, var(--rose-tint) 100%); }
.event-card:nth-child(3n) { background: linear-gradient(145deg, #fff 0%, #f7f0e7 100%); }
.event-card .event-label { color: var(--rose); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.event-card h3 { margin: 24px 0 8px; font-size: 20px; }
.event-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.event-card .event-link { margin-top: 24px; color: var(--gold-deep); font-size: 13px; font-weight: 700; }
.event-loop-shell:hover .event-loop-track,
.event-loop-shell:focus-within .event-loop-track { animation-play-state: paused; }
@keyframes event-loop-forward {
  to { transform: translate3d(calc(-50% - (var(--event-gap) / 2)), 0, 0); }
}

/* ── 쇼룸 (홈 보정 전후 비교) — js/gsap-motion.js 와 짝 ──────────────────────
   기본(그리고 GSAP CDN 실패·JS 꺼짐·reduced-motion)은 세로 그리드로 전부 보인다.
   .showroom-pinned 는 데스크톱에서 JS 가 붙일 때만 — 가로 트랙 + pin 스크럽. */
.showroom-track { display: grid; gap: 14px; }
@media (min-width: 900px) { .showroom-track { grid-template-columns: repeat(3, 1fr); } }
.showroom-panel {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--gold-tint);
}
.showroom-panel img { width: 100%; height: 100%; object-fit: cover; }
.showroom-panel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
  background: linear-gradient(transparent, rgba(30, 25, 20, 0.55));
  color: #fff; font-size: 14px; letter-spacing: 0.02em;
}
.showroom-pinned .showroom-viewport { overflow: hidden; }
.showroom-pinned .showroom-track { display: flex; gap: 20px; width: max-content; }
.showroom-pinned .showroom-panel { width: min(620px, 46vw); flex: none; }

/* ── hover 마이크로 인터랙션 — 마우스 환경 + 모션 허용일 때만 ─────────────────
   터치 기기(hover:none)와 prefers-reduced-motion 에서는 정지 상태 그대로다.
   카드 hover: y -8px + 그림자 강화 + 내부 이미지 scale 1.05 (transform·opacity 만 사용). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card, .step, .showroom-panel {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .card:hover, .step:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px -20px rgba(43, 37, 33, 0.45);
  }
  .card-media img, .showroom-panel img { transition: transform 0.4s ease; }
  .card:hover .card-media img, .showroom-panel:hover img { transform: scale(1.05); }
}

/* reduced-motion: CSS 쪽 장식 전환도 제거(콘텐츠는 완료 상태로 항상 보인다). */
@media (prefers-reduced-motion: reduce) {
  .card, .step, .showroom-panel, .card-media img, .showroom-panel img, .btn,
  .quick-contact-trigger svg, .quick-contact-tooltip {
    transition: none;
  }
  .quick-contact-actions:not([hidden]) .quick-contact-action { animation: none; }
  .event-loop-shell {
    overflow-x: auto;
    margin-inline: 0;
    padding-bottom: 12px;
    mask-image: none;
    scrollbar-width: thin;
  }
  .event-loop-track { display: block; width: auto; animation: none; transform: none !important; }
  .event-loop-group:first-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-loop-group[aria-hidden="true"] { display: none; }
  .event-card { width: auto; min-height: 210px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 639px) {
  .event-loop-group:first-child { display: flex; width: max-content; }
  .event-card { width: min(82vw, 310px); }
}

/* ── 홈 레이아웃 리프레시 (원래 운영 사이트 영상 기준) ───────────────────────
   다른 고객·관리자 화면의 기존 UI 계약을 건드리지 않도록 .home-page 아래에 한정한다. */
.home-page {
  --home-gray: #c8c7c5;
  --home-paper: #f6f5f1;
  --home-soft: #ecebe7;
  --home-black: #202020;
  background: #fff;
  color: #202020;
}
.home-page .container { max-width: 1180px; }
.home-page .site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #eceae5;
  backdrop-filter: blur(8px);
}
.home-page .site-header .bar { height: 52px; }
.home-page .brand .name { font-size: 14px; font-weight: 500; letter-spacing: 0.03em; }
.home-page .brand .sub { margin-top: 2px; color: #77736d; font-size: 7px; letter-spacing: 0.24em; }
.home-page .nav-links { gap: 23px; color: #6e6b67; font-size: 12px; }
.home-page .nav-cta .btn { min-height: 32px; padding-inline: 15px; border-radius: 2px; font-size: 11px; }
.home-page .nav-toggle { width: 36px; height: 36px; border-radius: 2px; }

.home-page main { overflow: clip; }
.home-page section { padding-block: 88px; }
.home-hero {
  width: min(1180px, 100%);
  min-height: 560px;
  margin: 0 auto;
  padding: 0 !important;
  gap: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.home-hero::before { display: none; }
.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 72px 11%;
  background: var(--home-gray);
  text-align: center;
}
.home-hero .eyebrow {
  margin: 0 0 26px;
  color: #292929;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.home-hero h1 {
  margin: 0 0 23px;
  color: #171717;
  font-family: 'Cormorant Garamond', 'Pretendard', serif;
  font-size: clamp(39px, 4.5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.home-hero p.lead { max-width: 42ch; margin: 0 0 28px; color: #454545; font-size: 13px; line-height: 1.85; }
.home-hero .hero-actions { justify-content: center; }
.home-hero .btn { min-height: 42px; border-radius: 2px; padding-inline: 19px; font-size: 12px; }
.home-hero .hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 560px;
  margin: 0;
  padding: 54px 12%;
  aspect-ratio: auto;
  border-radius: 0;
  background: var(--home-paper);
  box-shadow: none;
}
.home-hero .hero-media img { width: min(100%, 410px); height: auto; max-height: 445px; object-fit: contain; }
.home-hero .hero-media figcaption { color: #77736d; font-size: 9px; letter-spacing: 0.18em; }

.brand-ribbon { overflow: hidden; background: #8c8b89; color: #fff; }
.brand-ribbon-track {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 68px);
  min-width: max-content;
  padding: 9px 24px;
  font: 500 10px/1 'Cormorant Garamond', serif;
  letter-spacing: 0.16em;
}

.home-section { width: min(1180px, 100%); margin: 0 auto; padding-inline: 20px; }
.home-section-head { margin: 0 auto 42px; text-align: center; }
.home-section-head .eyebrow { margin: 0; color: #272727; font-size: 11px; letter-spacing: 0.18em; }
.home-section-head h2 { margin: 7px 0 9px; font-size: clamp(27px, 3vw, 39px); font-weight: 500; }
.home-section-head p { max-width: 58ch; margin: 0 auto; color: #74716c; font-size: 13px; }

.event-feature { width: min(980px, 100%); margin: 0 auto 34px; overflow: hidden; background: #f1f1ef; }
.event-feature img { width: 100%; height: auto; }
.home-page .event-loop-section { padding-bottom: 96px; }
.home-page .event-loop-shell { --event-gap: 16px; margin-inline: calc(50% - 50vw); padding: 5px 0 22px; mask-image: none; }
.home-page .event-card {
  width: clamp(210px, 18vw, 248px);
  min-height: 282px;
  padding: 25px 23px 22px;
  border-color: #c8c8c5;
  border-radius: 2px;
  background: #dededc;
  box-shadow: none;
}
.home-page .event-card:nth-child(3n + 2),
.home-page .event-card:nth-child(3n) { background: #dededc; }
.event-number { align-self: center; color: #202020; font: 600 17px/1 'Cormorant Garamond', serif; }
.home-page .event-card .event-label { color: #5f5f5c; font-size: 9px; letter-spacing: 0.14em; }
.home-page .event-card h3 { margin: 9px 0 9px; font-size: 18px; font-weight: 600; }
.home-page .event-card p { color: #565653; font-size: 12px; line-height: 1.7; }
.home-page .event-card .event-link { padding-top: 16px; border-top: 1px solid #b9b9b6; color: #292929; font-size: 11px; }

.service-section { border-top: 1px solid #dad8d3; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.service-card { border: 1px solid #e1dfda; background: #fff; }
.service-card figure { aspect-ratio: 1 / 0.82; margin: 0; overflow: hidden; background: var(--home-soft); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; }
.service-card:nth-child(1) figure img { object-position: 50% 42%; }
.service-card:nth-child(2) figure img { object-position: 50% 20%; }
.service-copy { padding: 27px 29px 31px; text-align: center; }
.service-copy .service-index { margin: 0; color: #807c75; font-size: 9px; letter-spacing: 0.15em; }
.service-copy h3 { margin: 8px 0 9px; font: 500 clamp(23px, 2vw, 31px)/1.2 'Cormorant Garamond', 'Pretendard', serif; }
.service-copy > p:not(.service-index) { max-width: 42ch; margin: 0 auto; color: #6a6762; font-size: 13px; }
.text-link { display: inline-block; margin-top: 20px; padding-bottom: 3px; border-bottom: 1px solid #222; font-size: 12px; font-weight: 600; }

.poster-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  background: #f1f4f4;
}
.poster-section .home-section-head { padding-inline: 20px; }
.poster-section .showroom-viewport { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.poster-track { gap: 18px; }
.poster-panel { aspect-ratio: 1.65 / 1; border-radius: 0; background: #fff; box-shadow: none; }
.poster-panel img { object-fit: cover; object-position: top center; }
.poster-panel-detail img { object-position: 25% top; }
.poster-panel-detail-right img { object-position: 75% top; }
.home-page .poster-panel figcaption {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #222;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.home-page .poster-panel figcaption span { color: #8a8781; }
.home-page .showroom-pinned .showroom-panel { width: min(720px, 58vw); }

.order-flow-section { padding-bottom: 108px; }
.order-steps { margin: 0; padding: 0; list-style: none; }
.home-page .order-steps .step { position: relative; min-height: 225px; padding: 25px 21px; border-radius: 0; box-shadow: none; }
.home-page .order-steps .num { width: 26px; height: 26px; margin-bottom: 29px; background: #242424; font-size: 11px; }
.step-kicker { margin: 0 0 5px; color: #8b8882; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; }
.home-page .order-steps h3 { margin: 0 0 9px; font-size: 16px; }
.home-page .order-steps .step > p:last-child { margin: 0; color: #706d68; font-size: 12px; }
.order-flow-actions { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.order-flow-actions .btn { border-radius: 2px; font-size: 12px; }

.home-support { width: 100%; padding: 0 !important; background: var(--home-black); color: #fff; }
.home-support-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(1180px, 100%); margin: 0 auto; }
.support-block { min-height: 410px; padding: 78px 9%; }
.support-block + .support-block { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.support-block .eyebrow { margin: 0 0 18px; color: #c7c5c0; font-size: 10px; letter-spacing: 0.2em; }
.support-block h2 { margin: 0 0 18px; color: #fff; font: 500 clamp(28px, 3vw, 42px)/1.15 'Cormorant Garamond', 'Pretendard', serif; }
.support-block > p:not(.eyebrow) { max-width: 42ch; margin: 0 0 27px; color: #c7c5c0; font-size: 13px; }
.btn-light { background: #fff; color: #222; border-radius: 2px; }
.support-channel-links { display: flex; flex-wrap: wrap; gap: 9px; }
.support-channel-links .btn { min-height: 41px; border-radius: 2px; border-color: #fff; color: #fff; font-size: 11px; }
.support-channel-links .btn:hover { background: #fff; color: #222; }

.home-footer { margin-top: 0; border-top: 0; background: #fff; color: #77736e; }
.home-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: start; }
.home-footer .wordmark { color: #242424; font-size: 16px; letter-spacing: 0.04em; }
.home-footer p { margin: 4px 0 0; font-size: 9px; letter-spacing: 0.08em; }
.home-footer .footer-links { justify-content: flex-end; margin-top: 0; font-size: 11px; }
.home-footer .footer-channels { grid-column: 1 / -1; margin-top: 0; }
.home-footer .footer-channels .btn { min-height: 34px; padding-inline: 13px; border-radius: 2px; font-size: 10px; }
.home-footer .copyright { grid-column: 1 / -1; margin-top: 0; color: #9a9791; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card, .home-page .event-card { transition: transform 0.24s ease, box-shadow 0.24s ease; }
  .service-card:hover, .home-page .event-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -28px rgba(32, 32, 32, 0.5); }
  .service-card figure img { transition: transform 0.45s ease; }
  .service-card:hover figure img { transform: scale(1.025); }
}

@media (max-width: 899px) {
  .home-page section { padding-block: 70px; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-copy { min-height: 420px; padding: 64px 28px; }
  .home-hero .hero-media { min-height: 510px; padding: 46px 18%; }
  .home-hero .hero-media img { max-height: 400px; }
  .service-grid { gap: 16px; }
  .home-support-inner { grid-template-columns: 1fr; }
  .support-block { min-height: 0; padding: 62px 8%; }
  .support-block + .support-block { border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 0; }
}

@media (max-width: 639px) {
  .home-page section { padding-block: 58px; }
  .home-page .site-header .bar { height: 48px; }
  .home-page .brand .name { font-size: 13px; }
  .home-page .nav-cta .btn { display: none; }
  .home-page .mobile-nav a { padding-block: 12px; font-size: 13px; }
  .home-hero-copy { min-height: 390px; padding: 58px 24px; }
  .home-hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .home-hero p.lead { font-size: 12.5px; }
  .home-hero .hero-actions { width: 100%; }
  .home-hero .hero-actions .btn { flex: 1; min-width: 136px; padding-inline: 13px; }
  .home-hero .hero-media { min-height: 430px; padding: 38px 13%; }
  .home-hero .hero-media img { max-height: 335px; }
  .brand-ribbon-track { justify-content: flex-start; gap: 30px; }
  .home-section { padding-inline: 16px; }
  .home-section-head { margin-bottom: 30px; }
  .home-section-head h2 { font-size: 29px; }
  .event-feature { margin-bottom: 25px; }
  .home-page .event-loop-shell { margin-inline: -16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card figure { aspect-ratio: 1 / 0.78; }
  .service-copy { padding: 23px 21px 27px; }
  .poster-section .showroom-viewport { width: calc(100% - 32px); }
  .poster-track { gap: 12px; }
  .poster-panel { aspect-ratio: 1.2 / 1; }
  .home-page .order-steps { grid-template-columns: 1fr 1fr; }
  .home-page .order-steps .step { min-height: 218px; padding: 21px 16px; }
  .order-flow-actions .btn { width: 100%; }
  .support-block { padding: 52px 24px; }
  .support-block h2 { font-size: 31px; }
  .home-footer-inner { display: block; }
  .home-footer .footer-links { justify-content: flex-start; margin-top: 18px; }
  .home-footer .footer-channels { margin-top: 16px; }
  .home-footer .copyright { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .home-page .event-card, .service-card figure img { transition: none; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 640px) {
  .home-page .event-loop-shell { overflow: visible; margin-inline: 0; }
  .home-page .event-loop-track { display: block; width: 100%; }
  .home-page .event-loop-group:first-child { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .event-card { width: auto; min-height: 238px; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 960px) {
  .home-page .event-loop-group:first-child { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
