/* ==========================================================================
   아틀리에 로프 (Atelier Rope) — DREXLY 템플릿
   원자료: 템플릿/47 (00-디자인보드 정본 · 01-home · 02-페이지시안 · 06-mobile)
   축: 주문 제작 구성기 — 가죽·색·부속·각인 선택이 가격·제작 기간을 실제로 바꾼다.
   ========================================================================== */

:root {
  /* 색 — 00-디자인보드.png 에서 직접 채취 */
  --ground: #6a5849;        /* 보드 바탕 브라운 */
  --ground-d: #40352c;      /* 짙은 브라운 */
  --ground-dd: #2a221c;
  --paper: #f1ece4;         /* 크림 지면 */
  --paper-2: #e4dace;       /* 눌린 지면 */
  --card: #faf7f2;
  --ink: #241c16;
  --ink-2: #5b4e44;
  --muted: #8b7c6e;
  --ox: #5e1f2b;            /* 옥스블러드 */
  --ox-d: #401119;
  --brass: #a9885a;
  --line: rgba(60, 44, 34, 0.16);
  --line-soft: rgba(60, 44, 34, 0.08);
  --line-on-dark: rgba(241, 236, 228, 0.22);

  /* 의미 색 §09 — 항상 글자·기호와 함께 쓴다 */
  --ok: #3d6a4e;
  --warn: #8a5f18;
  --stop: #9d3529;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;

  --wrap: 1240px;
  --gutter: 40px;
  --section: 118px;
  --r: 2px;
  --r-lg: 6px;
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
  --shadow: 0 1px 2px rgba(42, 34, 28, 0.05), 0 14px 34px rgba(42, 34, 28, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: -0.004em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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: 400; line-height: 1.34; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

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

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

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

.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;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 15px; height: 15px; stroke-width: 1.6; }
.ico-lg { width: 28px; height: 28px; stroke-width: 1.1; }

.frame { display: block; overflow: hidden; background: var(--paper-2); }

/* --------------------------------------------------------------- 활자 */
.display-kr {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(34px, 4.9vw, 60px);
  line-height: 1.26;
  letter-spacing: -0.035em;
}
.title-kr {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.34;
  letter-spacing: -0.03em;
}
.sub-kr { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2.1vw, 25px); letter-spacing: -0.025em; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-ox { color: var(--ox); }
.eyebrow-light { color: rgba(241, 236, 228, 0.66); }
.lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2); line-height: 1.9; }
.small { font-size: 13px; color: var(--muted); line-height: 1.75; }
.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; text-align: center;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.btn-ox { background: var(--ox); color: #f6f1ea; }
.btn-ox:hover { background: var(--ox-d); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-onDark { background: transparent; color: #f1ece4; border-color: var(--line-on-dark); }
.btn-onDark:hover { background: rgba(241, 236, 228, 0.1); border-color: rgba(241, 236, 228, 0.5); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #000; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.62; pointer-events: none; }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ox);
  border-bottom: 1px solid rgba(94, 31, 43, 0.32); padding-bottom: 3px;
  transition: border-color 0.24s var(--ease);
}
.btn-text:hover { border-color: var(--ox); }
.btn-text.on-dark { color: #e8dfd2; border-bottom-color: rgba(232, 223, 210, 0.35); }

/* --------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(241, 236, 228, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(42, 34, 28, 0.06); }
.nav { display: flex; align-items: center; gap: 30px; height: 78px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; flex: none; }
.brand b { font-family: var(--serif); font-weight: 300; font-size: 21px; letter-spacing: 0.02em; }
.brand small { font-size: 9px; letter-spacing: 0.3em; color: var(--muted); margin-top: 4px; }
.navlinks { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.navlinks a {
  position: relative; font-size: 15px; color: var(--ink-2);
  padding: 6px 0; transition: color 0.24s var(--ease);
}
.navlinks a:hover { color: var(--ink); }
.navlinks a[aria-current="page"] { color: var(--ink); }
.navlinks a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ox);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-tel { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.nav-tel .ico { color: var(--ox); }

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

/* 모바일 서랍 */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 90;
  background: var(--card); border-left: 1px solid var(--line);
  padding: 22px 24px 40px; transform: translateX(100%);
  transition: transform 0.4s 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: 14px; }
.drawer-close {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--serif); font-weight: 300; font-size: 19px;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
}
.drawer nav a[aria-current="page"] { color: var(--ox); }
.drawer-extra { margin-top: 24px; display: grid; gap: 10px; }
.drawer-note { margin-top: 20px; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(36, 28, 22, 0.44);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- 섹션 */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.62) 0; }
.section-dark { background: var(--ground-d); color: #ece4d8; }
.section-dark .lead { color: rgba(236, 228, 216, 0.74); }
.section-dark .small { color: rgba(236, 228, 216, 0.55); }
.section-paper2 { background: var(--paper-2); }

.head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px 48px; align-items: end; margin-bottom: 52px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.section-dark .head { border-bottom-color: var(--line-on-dark); }
.head .eyebrow { margin-bottom: 14px; }
.head p { font-size: 15px; color: var(--ink-2); }
.section-dark .head p { color: rgba(236, 228, 216, 0.72); }
.head-single { grid-template-columns: minmax(0, 1fr); }

/* --------------------------------------------------------------- 히어로 */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; background: var(--ground-dd); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(20, 15, 12, 0.86) 0%, rgba(20, 15, 12, 0.62) 42%, rgba(20, 15, 12, 0.2) 78%);
}
.hero > .wrap { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; gap: 40px; }
.hero-copy { max-width: 560px; padding: 96px 0; color: #f4efe7; }
.hero-copy .eyebrow { color: rgba(244, 239, 231, 0.62); margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { color: rgba(244, 239, 231, 0.8); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: rgba(244, 239, 231, 0.66); }
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts .ico { color: var(--brass); }

.hero-index { margin-left: auto; display: grid; gap: 20px; text-align: right; flex: none; }
.hero-index li { font-size: 12px; letter-spacing: 0.16em; color: rgba(244, 239, 231, 0.42); }
.hero-index li b { display: block; font-weight: 500; font-size: 13px; color: rgba(244, 239, 231, 0.82); letter-spacing: 0.02em; margin-top: 4px; }

/* --------------------------------------------------------------- 소재 우선 분할 */
.mat-split { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 0; align-items: stretch; }
.mat-panel { background: var(--card); padding: clamp(36px, 4.4vw, 64px); border: 1px solid var(--line-soft); border-right: 0; }
.mat-panel h2 { margin: 14px 0 18px; }
.mat-list { margin-top: 34px; display: grid; gap: 2px; }
.mat-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.mat-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.mat-list .ico { color: var(--brass); margin-top: 4px; }
.mat-list b { display: block; font-weight: 500; font-size: 15.5px; }
.mat-list span { font-size: 13.5px; color: var(--ink-2); }

/* 앵커 재질 메모 §06 */
.mat-figure { position: relative; overflow: hidden; background: var(--ground); }
.mat-figure > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.dot {
  position: absolute; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.dot::before {
  content: ""; width: 13px; height: 13px; border-radius: 50%;
  background: rgba(250, 247, 242, 0.95); box-shadow: 0 0 0 6px rgba(250, 247, 242, 0.26);
  transition: box-shadow 0.24s var(--ease), background 0.24s var(--ease);
}
.dot:hover::before, .dot[aria-expanded="true"]::before { background: var(--brass); box-shadow: 0 0 0 8px rgba(169, 136, 90, 0.34); }
.dot-1 { top: 34%; left: 44%; }
.dot-2 { top: 66%; left: 24%; }
.dot-3 { top: 22%; left: 72%; }

.mat-note {
  position: absolute; z-index: 3; width: min(260px, 68%);
  background: rgba(250, 247, 242, 0.97); border: 1px solid var(--line-soft);
  padding: 16px 18px; border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.mat-note b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.mat-note p { font-size: 12.5px; color: var(--ink-2); line-height: 1.72; }
.mat-note-1 { top: calc(34% + 34px); left: 44%; }
.mat-note-2 { top: calc(66% - 118px); left: 24%; }
.mat-note-3 { top: calc(22% + 34px); right: 6%; left: auto; }
.js .mat-note { display: none; }
.js .mat-note.open { display: block; }

@supports (anchor-name: --a) {
  .js .dot-1 { anchor-name: --dot1; }
  .js .dot-2 { anchor-name: --dot2; }
  .js .dot-3 { anchor-name: --dot3; }
  .js .mat-note-1 { position: absolute; position-anchor: --dot1; top: anchor(bottom); left: anchor(left); }
  .js .mat-note-2 { position: absolute; position-anchor: --dot2; bottom: anchor(top); left: anchor(left); top: auto; }
  .js .mat-note-3 { position: absolute; position-anchor: --dot3; top: anchor(bottom); right: anchor(right); left: auto; }
}

/* --------------------------------------------------------------- 파티나 띠 */
.patina-band { position: relative; }
.patina-rail { position: relative; height: 2px; background: rgba(236, 228, 216, 0.18); margin: 0 0 30px; overflow: hidden; }
.patina-fill { position: absolute; inset: 0; background: var(--brass); transform: scaleX(var(--p, 0)); transform-origin: left center; }
.no-js .patina-fill, html:not(.js) .patina-fill { transform: scaleX(1); }
@supports (animation-timeline: view()) {
  .js .patina-band[data-vt="1"] .patina-fill {
    transform: scaleX(0);
    animation: patina-run linear both;
    animation-timeline: view();
    animation-range: entry 42% cover 62%;
  }
}
@keyframes patina-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.patina-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.patina-step { display: block; }
.patina-step .frame { border-radius: var(--r); aspect-ratio: 230 / 96; }
.patina-step img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.94); }
.patina-step .cap { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.patina-step .cap b { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #ece4d8; }
.patina-step .cap span { font-size: 12px; color: rgba(236, 228, 216, 0.55); }
.patina-step p { margin-top: 4px; font-size: 12.5px; color: rgba(236, 228, 216, 0.6); line-height: 1.7; }

/* --------------------------------------------------------------- 제품 열 */
.prod-row { display: grid; gap: 0; border-top: 1px solid var(--line); }
.prod {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 300px);
  gap: 36px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.prod-fig { display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-soft); height: 210px; }
.prod-fig img { max-height: 176px; width: auto; object-fit: contain; }
.prod-body h3 { font-family: var(--serif); font-weight: 300; font-size: 25px; margin-bottom: 8px; }
.prod-body .desc { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.prod-spec { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.prod-spec div { display: flex; gap: 7px; }
.prod-spec dt { color: var(--muted); }
.prod-spec dd { margin: 0; font-variant-numeric: tabular-nums; }
.prod-buy { display: grid; gap: 12px; justify-items: start; }
.prod-price { font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.prod-price small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.prod-buy .btn { width: 100%; }

/* 재고 상태 — 색 외 표기(기호·글자) 병기 §09 */
.stat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.stat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.stat-ok { color: var(--ok); }
.stat-warn { color: var(--warn); }
.stat-warn::before { border-radius: 1px; }
.stat-stop { color: var(--stop); }
.stat-stop::before { border-radius: 0; transform: rotate(45deg); }

/* --------------------------------------------------------------- 표 */
.tbl-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { min-width: 620px; font-size: 14px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl thead th { font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.tbl th[scope="row"] { font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.tbl td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, 0.5); }
.tbl-compare { min-width: 720px; }
.tbl-compare thead th { text-align: left; }
.tbl-compare .col-head { font-family: var(--serif); font-weight: 300; font-size: 17px; color: var(--ink); text-transform: none; letter-spacing: -0.02em; }
.tbl-compare .col-head img { margin-bottom: 10px; }
.tbl-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------- 수납 시뮬레이터 */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: start; }
.sim-panel { background: var(--card); border: 1px solid var(--line-soft); padding: 30px; }
.sim-panel h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.sim-items { margin-top: 22px; display: grid; gap: 8px; }
.chk { position: relative; }
.chk input {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; accent-color: var(--ox); margin: 0;
}
.chk label {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 8px 16px 8px 44px; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; background: #fff;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chk label:hover { border-color: var(--ink-2); }
.chk input:checked + label { border-color: var(--ox); background: #fdf9f6; }
.chk input:focus-visible + label { outline: 2px solid var(--ox); outline-offset: 2px; }
.chk .nm { font-size: 14.5px; font-weight: 500; }
.chk .sz { margin-left: auto; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.sim-out { border: 1px solid var(--line); background: var(--paper-2); padding: 26px 28px; }
.sim-out .eyebrow { margin-bottom: 10px; }
.sim-verdict { font-family: var(--serif); font-weight: 300; font-size: 26px; letter-spacing: -0.03em; margin-bottom: 6px; }
.sim-meter { height: 8px; background: rgba(60, 44, 34, 0.12); border-radius: 99px; overflow: hidden; margin: 18px 0 8px; }
.sim-meter i { display: block; height: 100%; background: var(--brass); width: var(--fill, 0%); transition: width 0.28s var(--ease); }
.sim-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim-fit { margin-top: 18px; display: grid; gap: 7px; font-size: 13.5px; }
.sim-fit li { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.sim-fit .ico { color: var(--ok); }
.sim-fit li[data-fit="no"] { color: var(--stop); }
.sim-fit li[data-fit="no"] .ico { color: var(--stop); }
.sim-figure { display: grid; gap: 18px; }
.sim-figure .frame { border: 1px solid var(--line-soft); }

/* --------------------------------------------------------------- 구성기 */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 52px; align-items: start; }
.cfg-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.opt { border-top: 1px solid var(--line); padding-top: 22px; }
.opt legend { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.opt legend b { font-size: 17px; font-weight: 500; }
.opt legend .step { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--brass); }
.opt > p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.opt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.opt-row-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opt-item { position: relative; }
.opt-item input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt-item label {
  display: flex; flex-direction: column; gap: 3px; justify-content: center;
  min-height: 76px; padding: 13px 15px 13px 15px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.opt-item label:hover { border-color: var(--ink-2); }
.opt-item input:checked + label { border-color: var(--ox); box-shadow: inset 0 0 0 1px var(--ox); }
.opt-item input:focus-visible + label { outline: 2px solid var(--ox); outline-offset: 2px; }
.opt-item .nm { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
/* 선택 상태는 색만이 아니라 글자로도 알린다 §09 */
.opt-item .nm::after {
  content: ""; margin-left: auto; font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--ox);
}
.opt-item input:checked + label .nm::after { content: "선택됨"; }
.opt-item .mt { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.opt-item .chip { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.14); flex: none; }

.engrave-field { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 340px; }
.engrave-field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.engrave-field input {
  /* size 속성이 만드는 자동 최소폭을 지운다 — 320px 에서 페이지 전체가 가로로 밀렸다 */
  width: 100%; min-width: 0;
  min-height: 50px; padding: 0 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.engrave-field input:focus { outline: 2px solid var(--ox); outline-offset: 1px; }

/* 각인 고지 — 항상 보인다. JS 는 강조만 바꾼다 */
.caution {
  margin-top: 20px; display: flex; gap: 13px; padding: 16px 18px;
  border: 1px solid rgba(157, 53, 41, 0.3); border-left: 3px solid var(--stop);
  background: rgba(157, 53, 41, 0.05); border-radius: var(--r);
}
.caution .ico { color: var(--stop); margin-top: 3px; }
.caution b { display: block; font-size: 14px; font-weight: 600; color: var(--stop); margin-bottom: 4px; }
.caution p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.caution.is-on { background: rgba(157, 53, 41, 0.11); border-color: rgba(157, 53, 41, 0.55); }

/* 구성기 미리보기 */
.cfg-preview { position: sticky; top: 100px; border: 1px solid var(--line); background: var(--card); }
.cfg-stage { position: relative; display: grid; place-items: center; height: 300px; background: var(--paper-2); overflow: hidden; }
.cfg-tile { position: absolute; inset: 0; isolation: isolate; }
.cfg-tile img { width: 100%; height: 100%; object-fit: cover; }
.cfg-tile .tint { position: absolute; inset: 0; background: var(--tint, #7a6350); mix-blend-mode: color; }
.cfg-tile .tint2 { position: absolute; inset: 0; background: var(--tint2, rgba(0, 0, 0, 0)); }
.cfg-bag { position: relative; z-index: 2; filter: drop-shadow(0 16px 26px rgba(30, 22, 18, 0.42)); }
.cfg-bag img { max-height: 232px; width: auto; }
.cfg-plate {
  position: absolute; z-index: 3; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 2px;
  background: linear-gradient(135deg, #c6a771, #9a7c4c);
  color: #2c2114; font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  box-shadow: 0 4px 12px rgba(30, 22, 18, 0.32);
}
.cfg-plate[hidden] { display: none; }

.cfg-sum { padding: 24px 26px 26px; }
.cfg-sum h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.cfg-list { display: grid; gap: 9px; font-size: 13.5px; }
.cfg-list li { display: flex; gap: 14px; align-items: baseline; border-bottom: 1px dotted var(--line); padding-bottom: 8px; }
.cfg-list dt, .cfg-list .k { color: var(--muted); flex: none; width: 78px; font-size: 12.5px; }
.cfg-list .v { color: var(--ink); flex: 1; }
.cfg-list .d { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.cfg-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.cfg-total .k { font-size: 13px; color: var(--ink-2); }
.cfg-total .v { font-size: 27px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cfg-meta { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.cfg-meta div { display: flex; justify-content: space-between; gap: 12px; }
.cfg-meta .num { font-weight: 500; color: var(--ink); }
.cfg-sum .btn { margin-top: 18px; }
.cfg-sum .small { margin-top: 10px; }

/* --------------------------------------------------------------- 탭 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.tab {
  min-height: 48px; padding: 0 20px; background: none; border: 0; cursor: pointer;
  font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--ink-2); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ox); font-weight: 500; }
.tabpanel { display: block; }
.tabpanel[hidden] { display: none; }
.tabpanel + .tabpanel { margin-top: 56px; }
.js .tabpanel + .tabpanel { margin-top: 0; }

.mat-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mat-detail .frame { border: 1px solid var(--line-soft); }
.mat-detail h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.mat-detail .lead { margin-bottom: 24px; }
.mat-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mat-facts div { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.mat-facts dt { width: 110px; flex: none; color: var(--muted); }
.mat-facts dd { margin: 0; color: var(--ink-2); }

/* --------------------------------------------------------------- 아코디언 */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; min-height: 68px; display: flex; align-items: center; gap: 16px;
  padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 500;
}
.acc-trigger .ico { margin-left: auto; color: var(--muted); transition: transform 0.3s var(--ease); }
.acc-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--ox); }
.acc-panel { padding: 0 0 24px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.acc-panel p + p, .acc-panel p + ul, .acc-panel ul + p { margin-top: 12px; }
.acc-panel ul li { position: relative; padding-left: 15px; }
.acc-panel ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 1px; background: var(--brass); }
.js .acc-panel { display: none; }
.js .acc-item.open .acc-panel { display: block; }

/* --------------------------------------------------------------- 절차 3단 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.section-dark .steps { border-top-color: var(--line-on-dark); }
.steps li { padding: 30px 34px 30px 0; border-right: 1px solid var(--line); }
.section-dark .steps li { border-right-color: var(--line-on-dark); }
.steps li:last-child { border-right: 0; padding-right: 0; }
.steps li + li { padding-left: 34px; }
.steps .n { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--brass); }
.steps h3 { font-family: var(--serif); font-weight: 300; font-size: 22px; margin: 10px 0 10px; }
.steps p { font-size: 13.5px; color: var(--ink-2); }
.section-dark .steps p { color: rgba(236, 228, 216, 0.68); }

/* --------------------------------------------------------------- 성질 고지 */
.honest { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.honest div { padding: 24px 26px 24px 0; border-right: 1px solid var(--line-soft); }
.honest div:last-child { border-right: 0; }
.honest b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.honest p { font-size: 13.5px; color: var(--ink-2); }
.honest .tagline { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--brass); margin-bottom: 10px; }

/* --------------------------------------------------------------- 폼 */
.form-wrap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 52px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field label .req { color: var(--ox); margin-left: 3px; }
.control {
  width: 100%; min-height: 52px; padding: 13px 15px; font: inherit; font-size: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea.control { min-height: 130px; resize: vertical; line-height: 1.7; }
.control:focus { outline: none; border-color: var(--ox); box-shadow: 0 0 0 3px rgba(94, 31, 43, 0.1); }
.field .err { display: none; font-size: 12.5px; color: var(--stop); }
.field.invalid .control { border-color: var(--stop); box-shadow: 0 0 0 3px rgba(157, 53, 41, 0.12); }
.field.invalid .err { display: flex; align-items: center; gap: 5px; }
.agree { position: relative; padding-left: 30px; min-height: 44px; display: flex; align-items: center; }
.agree input { position: absolute; left: 0; top: 12px; width: 18px; height: 18px; accent-color: var(--ox); margin: 0; }
.agree label { font-size: 13.5px; color: var(--ink-2); cursor: pointer; line-height: 1.7; }
.agree.invalid label { color: var(--stop); }
.form-side { background: var(--card); border: 1px solid var(--line-soft); padding: 30px; }
.form-side h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.form-side dl { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.form-side dl > div { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.form-side dt { width: 84px; flex: none; color: var(--muted); font-size: 12.5px; }
.form-side dd { margin: 0; color: var(--ink-2); }
.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- 띠 CTA */
.band { background: var(--ground); color: #f0e9de; }
.band .inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 56px 0; }
.band h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(23px, 2.6vw, 32px); margin-bottom: 8px; }
.band p { font-size: 14px; color: rgba(240, 233, 222, 0.72); }
.band .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------- 모바일 구매 독 */
.buy-dock {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
  background: rgba(250, 247, 242, 0.97); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(42, 34, 28, 0.09);
  align-items: center; gap: 14px;
}
.buy-dock .amt { display: grid; line-height: 1.3; }
.buy-dock .amt small { font-size: 11px; color: var(--muted); }
.buy-dock .amt b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-dock .btn { margin-left: auto; }

/* --------------------------------------------------------------- 푸터 */
.site-footer { background: var(--ground-dd); color: rgba(238, 231, 220, 0.78); padding: 76px 0 34px; font-size: 13.5px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(238, 231, 220, 0.14); }
.foot-brand b { font-family: var(--serif); font-weight: 300; font-size: 22px; color: #f2ece2; display: block; }
.foot-brand small { display: block; font-size: 9px; letter-spacing: 0.3em; color: rgba(238, 231, 220, 0.45); margin: 6px 0 18px; }
.foot-brand p { line-height: 1.9; color: rgba(238, 231, 220, 0.62); }
.foot-col h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(238, 231, 220, 0.45); margin-bottom: 16px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { color: rgba(238, 231, 220, 0.78); transition: color 0.2s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-legal { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: rgba(238, 231, 220, 0.45); line-height: 1.9; }
.foot-legal .biz { flex: 1 1 100%; }
.foot-legal a { color: rgba(238, 231, 220, 0.62); }
.foot-legal a:hover { color: #fff; }

/* --------------------------------------------------------------- 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 130;
  transform: translate(-50%, 18px);
  min-width: 260px; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 11px;
  padding: 14px 20px; background: var(--ink); color: #f6f1ea;
  border-radius: var(--r); font-size: 13.5px; line-height: 1.6;
  box-shadow: 0 14px 34px rgba(36, 28, 22, 0.3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: var(--brass); }

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

/* =============================================================== 반응형 */
@media (max-width: 1180px) {
  :root { --wrap: 1024px; --gutter: 32px; --section: 100px; }
  .navlinks { gap: 22px; }
  .cfg { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 36px; }
  .prod { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 240px); gap: 26px; }
}

@media (max-width: 1024px) {
  .navlinks, .nav-tel, .nav-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { height: 68px; gap: 16px; }
  .nav-actions { margin-left: auto; }
  .mat-split { grid-template-columns: minmax(0, 1fr); }
  .mat-panel { border-right: 1px solid var(--line-soft); }
  .mat-figure > img { min-height: 340px; }
  .sim { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cfg { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  /* 모바일은 「무엇을 만드는지」를 먼저 보여 주고 선택을 아래에 둔다.
     합계는 하단 구매 독이 계속 들고 있으므로 아래로 내려가도 보인다. */
  .cfg-preview { position: static; order: -1; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mat-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .hero-index { display: none; }
}

@media (max-width: 860px) {
  :root { --section: 78px; }
  .head { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 34px; }
  .prod { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding: 26px 0; }
  .prod-fig { height: 150px; }
  .prod-fig img { max-height: 122px; }
  .prod-buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; display: grid; align-items: center; gap: 12px; }
  .prod-buy .btn { width: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li + li { padding-left: 0; }
  .steps li:last-child { border-bottom: 0; }
  .patina-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .honest div { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .band .inner { padding: 44px 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 30px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 64px 0 56px; }
  .hero > .wrap { display: block; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 15, 12, 0.72) 0%, rgba(20, 15, 12, 0.86) 60%); }
  .mat-panel { padding: 30px 22px; }
  .mat-figure > img { min-height: 260px; }
  .mat-note { width: min(240px, 84%); }
  .dot-3 { left: auto; right: 8%; }
  .mat-note-3 { right: 4%; }
  .sim-panel { padding: 22px 18px; }
  .cfg-stage { height: 250px; }
  .cfg-bag img { max-height: 190px; }
  .cfg-sum { padding: 20px; }
  .tab { padding: 0 14px; font-size: 14px; }
  .prod-price { font-size: 21px; }
  .band .acts { width: 100%; }
  .band .acts .btn { flex: 1 1 auto; }
  .toast { bottom: 92px; }
  body.has-dock { padding-bottom: 82px; }
  body.has-dock .buy-dock { display: flex; }
}

@media (max-width: 400px) {
  .brand b { font-size: 19px; }
  .opt-row { grid-template-columns: minmax(0, 1fr); }
  .patina-row { grid-template-columns: minmax(0, 1fr); }
  .buy-dock { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .buy-dock .btn { padding: 0 16px; }
}

@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; }
  .patina-fill { animation: none !important; transform: scaleX(1) !important; }
}

@media print {
  .site-header, .drawer, .scrim, .toast, .buy-dock { display: none !important; }
  body { background: #fff; }
}

/* =============================================================== 마무리 보정 */
.hero-index a { color: inherit; border-bottom: 1px solid rgba(244, 239, 231, 0.28); padding-bottom: 2px; }
.hero-index a:hover { border-bottom-color: var(--brass); }

.prod-body h2, .prod-body h3 { font-family: var(--serif); font-weight: 300; font-size: 25px; margin-bottom: 8px; }

.tbl-compare .col-head { vertical-align: bottom; }
.tbl-compare .col-head img { width: 88px; height: auto; margin-bottom: 10px; }

.mat-detail .frame img { width: 100%; height: auto; }
.sim-figure .frame { max-width: 360px; }
.sim-figure .frame img { width: 100%; height: auto; }

.cfg-bag { display: block; }
.cfg-bag[hidden] { display: none; }
.cfg-tile { display: block; }
.cfg-list .v { min-width: 0; }
.engrave-field input:disabled { background: var(--paper-2); color: var(--muted); cursor: not-allowed; }

.section-dark .acc { border-top-color: var(--line-on-dark); }
.section-dark .acc-item { border-bottom-color: var(--line-on-dark); }
.section-dark .acc-panel { color: rgba(236, 228, 216, 0.72); }
.section-dark .acc-trigger .ico { color: rgba(236, 228, 216, 0.55); }
.section-dark .acc-trigger[aria-expanded="true"] .ico { color: var(--brass); }
.section-dark .acc-panel ul li::before { background: var(--brass); }

.cfg-stage img, .patina-step img, .mat-figure > img { -webkit-user-drag: none; user-select: none; }
.mat-figure > img { pointer-events: none; }
