/* ==========================================================================
   새결 한복 (SAEGYEOL HANBOK) — DREXLY 템플릿
   색·활자·질감은 00-디자인보드.png 에서 직접 읽었다.
     먹빛 #171714 · 비취 #385549 · 단청 #69160d · 한지 #ece4da
     CTA 짙은 비취 #0d392b(01-home 「컬렉션 보기」·02 「구매하기」 실측)
     푸터 띠 #0e1a16(02-페이지시안 하단 실측)
   조판 원형: 한지 Editorial + 겹침 Layer(프롬프트 04절).
   ========================================================================== */

:root {
  /* ── 색: 브랜드 ── */
  --ink: #171714;          /* 먹빛 */
  --ink-2: #46433c;
  --ink-3: #78726a;
  --jade: #385549;         /* 비취 */
  --jade-deep: #0d392b;    /* 버튼·강조 */
  --jade-press: #072319;
  --dancheong: #69160d;    /* 단청 */
  --dancheong-soft: #9c3a2a;

  /* ── 색: 중립(한지 계열) ── */
  --hanji: #ece4da;
  --hanji-2: #e4dcd2;
  --paper: #f7f2eb;
  --paper-2: #fbf8f3;
  --night: #0e1a16;
  --night-2: #0b0b09;
  --line: rgba(23, 23, 20, 0.14);
  --line-soft: rgba(23, 23, 20, 0.08);
  --line-dark: rgba(236, 228, 218, 0.18);

  /* ── 색: 의미(색만으로 전하지 않는다 — 반드시 글자·아이콘 병기) ── */
  --ok: #0d392b;
  --ok-bg: rgba(13, 57, 43, 0.08);
  --warn: #8a5a12;
  --warn-bg: rgba(138, 90, 18, 0.1);
  --stop: #69160d;
  --stop-bg: rgba(105, 22, 13, 0.08);

  /* ── 활자 ── */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --latin: "Cormorant Garamond", "Gowun Batang", Georgia, serif;

  /* ── 조판 ── */
  --wrap: 1200px;
  --gutter: 40px;
  --section: 116px;
  --r: 2px;
  --r-lg: 3px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --shadow: 0 1px 1px rgba(23, 23, 20, 0.04), 0 14px 30px rgba(23, 23, 20, 0.06);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: -0.006em;
  color: var(--ink);
  background-color: var(--hanji);
  /* 한지 결 — 이미지 없이 아주 옅은 세로결 두 겹으로 만든다 */
  background-image:
    repeating-linear-gradient(90deg, rgba(23, 23, 20, 0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(23, 23, 20, 0.014) 0 1px, transparent 1px 5px),
    radial-gradient(120% 60% at 15% 0%, rgba(255, 253, 249, 0.7), transparent 60%);
  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.4; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--jade-deep); outline-offset: 3px; }

.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; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--jade-deep); 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); }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 15px; height: 15px; stroke-width: 1.5; }
.ico-lg { width: 28px; height: 28px; stroke-width: 1.05; }

/* --------------------------------------------------------------- 활자 계층 */
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.32;
  letter-spacing: -0.035em;
}
.page-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.34;
  letter-spacing: -0.035em;
}
.stitle {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.44;
  letter-spacing: -0.03em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.028em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--latin);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--jade);
}
.eyebrow::before {
  content: ""; width: 16px; height: 2px; background: var(--dancheong); flex: none;
}
.lede { font-size: 16.5px; color: var(--ink-2); line-height: 1.85; }
.note { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }
.num {
  font-family: var(--latin);
  font-size: 13px; letter-spacing: 0.18em; color: var(--ink-3);
}
em.mark { font-style: normal; color: var(--dancheong); }
b.kw { font-weight: 600; color: var(--ink); }

.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section-band { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-band + .section { padding-top: var(--section); }
.shead { max-width: 720px; margin-bottom: 46px; display: grid; gap: 16px; }
.shead-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 46px;
}
.shead-row .shead { margin-bottom: 0; }

/* --------------------------------------------------------------- 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--bd, var(--jade-deep));
  background: var(--bg, var(--jade-deep));
  color: var(--fg, #fff);
  border-radius: var(--r);
  font-size: 14.5px; 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:hover { --bg: var(--jade-press); --bd: var(--jade-press); }
.btn:active { transform: translateY(1px); }
.btn-line { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-line:hover { --bg: transparent; --fg: var(--jade-deep); --bd: var(--jade-deep); }
.btn-dark { --bg: transparent; --fg: #f2ece3; --bd: rgba(242, 236, 227, 0.45); }
.btn-dark:hover { --bg: #f2ece3; --fg: var(--night-2); --bd: #f2ece3; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--jade-deep);
  border-bottom: 1px solid transparent;
  transition: gap 0.28s var(--ease), border-color 0.28s var(--ease);
}
.tlink:hover { gap: 12px; border-bottom-color: var(--jade-deep); }

/* --------------------------------------------------------------- 상태 표식 */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--cl, var(--line));
  background: var(--cbg, transparent);
  color: var(--cl, var(--ink-2));
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
}
.chip .ico { width: 13px; height: 13px; stroke-width: 1.7; }
.chip-ok { --cl: var(--ok); --cbg: var(--ok-bg); }
.chip-warn { --cl: var(--warn); --cbg: var(--warn-bg); }
.chip-stop { --cl: var(--stop); --cbg: var(--stop-bg); }

/* --------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(236, 232, 226, 0.93);
  backdrop-filter: saturate(140%) blur(9px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 24px rgba(23, 23, 20, 0.05); }
.nav { display: flex; align-items: center; gap: 34px; min-height: 76px; }
.brand { display: grid; gap: 1px; flex: none; }
.brand-kr {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  letter-spacing: -0.04em; color: var(--ink);
}
.brand-en {
  font-family: var(--latin); font-size: 10.5px; letter-spacing: 0.3em;
  color: var(--jade); text-transform: uppercase;
}
.navlinks { display: flex; align-items: center; gap: 30px; margin-right: auto; }
.navlinks a {
  position: relative; font-size: 14.5px; color: var(--ink-2); padding: 6px 0;
  transition: color 0.26s var(--ease);
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--dancheong); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease);
}
.navlinks a:hover { color: var(--ink); }
.navlinks a:hover::after, .navlinks a[aria-current="page"]::after { transform: none; }
.navlinks a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-tel {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--latin); font-size: 16px; letter-spacing: 0.04em; color: var(--ink-2);
}
.nav-tel .ico { color: var(--jade); }
.nav-tel:hover { color: var(--jade-deep); }
.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(330px, 88vw); z-index: 90;
  background: var(--paper-2); border-left: 1px solid var(--line);
  padding: 22px 24px 40px; overflow-y: auto;
  display: flex; flex-direction: column;
  transform: translateX(101%);
  transition: transform 0.4s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.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: 700; font-size: 19px; letter-spacing: -0.03em;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
  min-height: 44px; display: flex; align-items: center;
}
.drawer nav a[aria-current="page"] { color: var(--dancheong); }
.drawer-cta { margin-top: 24px; display: grid; gap: 10px; }
.drawer-cta .btn { justify-content: flex-start; }
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(11, 11, 9, 0.46);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- 홈 히어로 */
.hero {
  position: relative; overflow: hidden;
  background: var(--night-2);
  color: #efe8de;
}
.hero::after {
  /* 먹 번짐 — 디자인보드 우측 먹 자국의 번안 */
  content: ""; position: absolute; right: -6%; top: -18%;
  width: 46%; padding-bottom: 46%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 85, 73, 0.5), rgba(11, 11, 9, 0) 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 0 46px; align-items: center;
  padding: 92px 0 96px;
}
.hero-rail { display: grid; gap: 12px; justify-items: center; align-self: start; padding-top: 12px; }
.hero-rail .num { color: rgba(239, 232, 222, 0.72); }
.hero-rail i { display: block; width: 1px; height: 66px; background: rgba(239, 232, 222, 0.3); }
.hero-rail span { width: 5px; height: 5px; border-radius: 50%; background: rgba(239, 232, 222, 0.35); }
.hero-copy { display: grid; gap: 24px; max-width: 540px; }
.hero-copy .eyebrow { color: #b6c9bd; }
.hero-copy .eyebrow::before { background: var(--dancheong-soft); }
.hero-title { color: #f4eee5; }
.hero-copy p { color: rgba(239, 232, 222, 0.8); font-size: 16px; }
.hero-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin-top: 10px;
  padding-top: 22px; border-top: 1px solid rgba(239, 232, 222, 0.18);
  font-size: 13px; color: rgba(239, 232, 222, 0.66);
}
.hero-facts b { display: block; font-family: var(--latin); font-size: 21px; font-weight: 500; color: #efe8de; letter-spacing: 0.02em; }
.hero-figure { position: relative; justify-self: end; }
.hero-figure img { width: 100%; height: auto; filter: saturate(0.96); }
.hero-figure figcaption {
  position: absolute; left: -18px; bottom: 22px;
  background: rgba(11, 11, 9, 0.72); border-left: 2px solid var(--dancheong-soft);
  padding: 8px 14px; font-size: 12.5px; color: rgba(239, 232, 222, 0.86);
}
/* 매듭 선 그리기 — 페이지 서명 연출 */
.knot {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(420px, 62vw); height: 76px; z-index: 2;
}
.knot path { fill: none; stroke: rgba(198, 168, 120, 0.8); stroke-width: 1; stroke-linecap: round; }

/* --------------------------------------------------------------- 페이지 히어로 */
.phero { background: var(--night); color: #eee7dd; overflow: hidden; position: relative; }
/* 원자료가 축소본이라 사진을 억지로 늘리지 않는다 —
   오른쪽 칸을 사진의 실치수(auto)에 맞춰 빈칸이 생기지 않게 짠다. */
.phero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px; align-items: center; padding: 72px 0 76px;
}
.phero-copy { display: grid; gap: 18px; max-width: 620px; }
.phero .eyebrow { color: #b6c9bd; }
.phero .eyebrow::before { background: var(--dancheong-soft); }
.page-title { color: #f3ece2; }
.phero-copy p { color: rgba(238, 231, 221, 0.78); font-size: 15.5px; }
.phero-meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px;
}
.phero-meta .chip { --cl: rgba(238, 231, 221, 0.8); --cbg: rgba(238, 231, 221, 0.07); }
.phero-figure { justify-self: end; position: relative; }
.phero-figure img { width: 100%; height: auto; }
.phero-figure::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(238, 231, 221, 0.18);
}

/* --------------------------------------------------------------- 역산 레일 */
.plan { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: 54px; align-items: start; }
.plan-form {
  display: grid; gap: 22px; padding: 30px 30px 32px;
  background: var(--paper-2); border: 1px solid var(--line);
  position: sticky; top: 100px;
}
.plan-form legend { padding: 0; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.plan-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease), background 0.24s var(--ease);
}
.chips label:hover { border-color: var(--jade); color: var(--ink); }
.chips input:checked + label {
  background: var(--jade-deep); border-color: var(--jade-deep); color: #fff; font-weight: 600;
}
.chips input:focus-visible + label { outline: 2px solid var(--jade-deep); outline-offset: 2px; }

.plan-out { display: grid; gap: 26px; }
.plan-set { display: grid; gap: 20px; }
.plan-set[hidden] { display: none; }
.plan-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--warn); background: var(--warn-bg);
  color: var(--warn); font-size: 13.5px; line-height: 1.75;
}
.plan-alert[hidden] { display: none; }
.plan-alert .ico { flex: none; margin-top: 5px; }
.plan-set-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.plan-set-head h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.plan-set-head .note { font-size: 13px; }

.rail { display: grid; gap: 0; position: relative; }
.rail-step {
  display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 20px;
  padding: 16px 0 18px 0; border-top: 1px solid var(--line-soft); position: relative;
}
.rail-step:first-child { border-top: 1px solid var(--line); }
.rail-step:last-child { border-bottom: 1px solid var(--line); }
.rail-d {
  font-family: var(--latin); font-size: 19px; letter-spacing: 0.05em;
  color: var(--dancheong); padding-top: 2px;
}
.rail-step.is-day .rail-d { color: var(--jade-deep); font-weight: 600; }
.rail-body { display: grid; gap: 5px; }
.rail-t { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.rail-date { font-size: 13px; color: var(--jade); font-weight: 600; letter-spacing: -0.01em; }
.rail-body p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.rail-tail { font-size: 13.5px; color: var(--ink-3); }
.rail-step.is-day { background: rgba(13, 57, 43, 0.05); }
.rail-step.is-day .rail-d, .rail-step.is-day .rail-t { color: var(--jade-deep); }
.rail-step.is-day > * { padding-left: 12px; }
.rail-step.is-late .rail-d, .rail-step.is-late .rail-date { color: var(--warn); }

/* 면 안쪽 이동 */
.subnav {
  position: relative;
  display: flex; gap: 9px; flex-wrap: wrap;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.subnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2);
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.subnav a:hover { border-color: var(--jade-deep); color: var(--jade-deep); }

.legend { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 26px; }

/* 맞춤 공정 — 먹선이 그어지는 세로 레일 */
.craft { position: relative; padding-left: 46px; }
.craft-list { display: grid; gap: 0; }
.craft-line {
  position: absolute; left: 5px; top: 14px; bottom: 42px; width: 1px;
  background: var(--jade); transform-origin: top center;
}
.craft-step { position: relative; padding: 0 0 40px; }
.craft-step::before {
  content: ""; position: absolute; left: -46px; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--hanji); border: 1.5px solid var(--jade-deep);
}
.section-band .craft-step::before { background: var(--paper); }
.craft-step:last-child { padding-bottom: 0; }
.craft-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.craft-head h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.craft-head .num { color: var(--dancheong); }
.craft-step p { font-size: 14.5px; color: var(--ink-2); max-width: 620px; }
.craft-step .dl { margin-top: 12px; }
/* 데스크톱에서는 설명과 세부 항목을 좌우로 벌려 가로폭을 쓴다 */
@media (min-width: 1025px) {
  .craft-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: 16px 48px; align-items: start; }
  .craft-head { grid-column: 1 / -1; }
  .craft-step p { max-width: none; }
  .craft-step .dl { margin-top: 0; padding-left: 30px; border-left: 1px solid var(--line-soft); }
}

/* --------------------------------------------------------------- 대조 스프레드 */
.spread { border-top: 1px solid var(--ink); }
.spread-row {
  display: grid; grid-template-columns: 148px minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.spread-row > * { padding: 20px 24px; }
.spread-key {
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: rgba(23, 23, 20, 0.035); letter-spacing: -0.01em;
}
.spread-a { border-left: 1px solid var(--line-soft); }
.spread-b { border-left: 1px solid var(--line-soft); background: rgba(13, 57, 43, 0.035); }
.spread-row.spread-head > * { padding-top: 26px; padding-bottom: 22px; }
.spread-head h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; margin-bottom: 5px; }
.spread-head p { font-size: 13.5px; color: var(--ink-3); }
.spread-row p, .spread-row li { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.spread-row li + li { margin-top: 4px; }

/* --------------------------------------------------------------- 표 */
/* overflow-x 상자는 반드시 position:relative — 아니면 320px 에서 페이지가 통째로 밀린다 */
.tablewrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
table.tbl { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
table.tbl caption { text-align: left; font-size: 13.5px; color: var(--ink-3); padding-bottom: 12px; }
table.tbl th, table.tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
table.tbl thead th {
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.02em; border-bottom: 1px solid var(--ink); white-space: nowrap;
}
table.tbl tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.tbl td { color: var(--ink-2); }
table.tbl .won { font-family: var(--latin); font-size: 16px; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
table.tbl tbody tr:hover { background: rgba(23, 23, 20, 0.022); }
.tbl-narrow { min-width: 480px; }

/* 정의 목록 */
.dl { display: grid; gap: 8px; }
.dl div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; font-size: 13.5px; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; color: var(--ink-2); }

/* --------------------------------------------------------------- 컬렉션 */
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.look { display: grid; gap: 16px; }
.look:nth-child(2) { margin-top: 46px; }
.look:nth-child(3) { margin-top: 22px; }
.look-fig { position: relative; display: block; overflow: hidden; background: var(--hanji-2); aspect-ratio: 4 / 5; }
.look-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.look:hover .look-fig img { transform: scale(1.035); }
.look-no {
  position: absolute; left: 0; top: 0; z-index: 1;
  background: var(--night-2); color: #efe8de;
  font-family: var(--latin); font-size: 12px; letter-spacing: 0.16em;
  padding: 5px 11px;
}
.look-body { display: grid; gap: 7px; }
.look-body h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.look-body h3 small { font-family: var(--latin); font-size: 13px; letter-spacing: 0.14em; color: var(--ink-3); margin-left: 7px; }
.look-body .look-sub { font-size: 14px; color: var(--ink-2); }
.look-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.look-price { font-family: var(--latin); font-size: 17px; color: var(--ink); letter-spacing: 0.02em; }

/* 상품 행(컬렉션 면) — 카드 격자를 반복하지 않는다 */
.items { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.item {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.item-fig { display: block; overflow: hidden; background: var(--hanji-2); aspect-ratio: 3 / 4; }
.item-fig img { width: 100%; height: 100%; object-fit: cover; }
.item-main { display: grid; gap: 10px; }
.item-main h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; }
.item-main h3 small { font-family: var(--latin); font-size: 13px; letter-spacing: 0.14em; color: var(--ink-3); margin-left: 8px; }
.item-main .item-desc { font-size: 14.5px; color: var(--ink-2); }
.item-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.item-side { display: grid; gap: 12px; padding-left: 30px; border-left: 1px solid var(--line-soft); justify-items: start; }
.item-price { display: grid; gap: 2px; }
.item-price .won { font-family: var(--latin); font-size: 25px; letter-spacing: 0.02em; }
.item-price .unit { font-size: 12.5px; color: var(--ink-3); }

/* 색동 구성 — 아이콘 줄 */
.saek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; border: 1px solid var(--line); background: var(--line-soft); }
.saek li { background: var(--paper-2); padding: 22px 14px; display: grid; gap: 9px; justify-items: center; text-align: center; }
.saek .ico { color: var(--jade-deep); }
.saek b { font-size: 13.5px; font-weight: 700; }
.saek span { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

/* --------------------------------------------------------------- 격식 눈금 */
.scale { display: grid; gap: 0; }
.scale-bar { position: relative; height: 2px; background: var(--line); margin: 34px 0 0; }
.scale-bar i {
  position: absolute; top: -5px; width: 2px; height: 12px; background: var(--jade-deep);
}
.scale-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.scale-col { padding-top: 26px; display: grid; gap: 11px; }
.scale-col h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.scale-col .num { color: var(--dancheong); }
.scale-col p { font-size: 14px; color: var(--ink-2); }
.scale-col ul { display: grid; gap: 5px; }
.scale-col li { font-size: 13.5px; color: var(--ink-3); padding-left: 13px; position: relative; }
.scale-col li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 1px; background: var(--jade); }

/* --------------------------------------------------------------- 세로 문구 */
.vquote {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 400;
  font-size: 17px; line-height: 2.1; letter-spacing: 0.12em;
  color: var(--ink-2); height: 300px; margin: 34px 0 0;
}

/* --------------------------------------------------------------- 소재 */
.mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.mat { display: grid; gap: 14px; }
.mat-fig { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--hanji-2); }
.mat-fig img { width: 100%; height: 100%; object-fit: cover; }
.mat h3 { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.mat p { font-size: 14px; color: var(--ink-2); }

.care-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.care-box { padding: 28px 30px 30px; background: var(--paper-2); border: 1px solid var(--line); display: grid; gap: 14px; }
.care-box h3 { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; }
.care-box.yes h3 .ico { color: var(--ok); }
.care-box.no h3 .ico { color: var(--stop); }
.care-box ul { display: grid; gap: 10px; }
.care-box li { font-size: 14px; color: var(--ink-2); padding-left: 17px; position: relative; }
.care-box li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--jade); }
.care-box.no li::before { background: var(--dancheong); }

/* --------------------------------------------------------------- 아코디언 */
.acc { border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; min-height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 4px; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em;
  transition: color 0.26s var(--ease);
}
.acc-btn:hover { color: var(--jade-deep); }
.acc-btn .ico { color: var(--ink-3); transition: transform 0.36s var(--ease), color 0.26s var(--ease); }
.acc-btn[aria-expanded="true"] { color: var(--jade-deep); }
.acc-btn[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--jade-deep); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.4s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 4px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.acc-panel p + p { padding-top: 0; margin-top: -10px; }
/* JS 가 있을 때만 접는다 — 스크립트가 없으면 전부 펼쳐진 완성본이 된다 */
.js .acc-panel { grid-template-rows: 0fr; }
.js .acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* --------------------------------------------------------------- 폼 */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr); gap: 54px; align-items: start; }
.form-card { padding: 34px 36px 36px; background: var(--paper-2); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--dancheong); }
.control {
  width: 100%; min-height: 50px; padding: 13px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  font: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.control::placeholder { color: #a49d94; }
.control:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px rgba(56, 85, 73, 0.14); }
textarea.control { min-height: 122px; resize: vertical; line-height: 1.75; }
select.control {
  appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378726a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field.invalid .control { border-color: var(--dancheong); box-shadow: 0 0 0 3px rgba(105, 22, 13, 0.1); }
.err { display: none; font-size: 12.5px; color: var(--dancheong); }
.err .ico { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.field.invalid .err { display: block; }
.counter { text-align: right; font-size: 12px; color: var(--ink-3); }

.agree { display: flex; align-items: center; gap: 10px; margin: 20px 0 18px; flex-wrap: wrap; }
.agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.agree label {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 13.5px; color: var(--ink-2); cursor: pointer;
}
.agree .box {
  width: 20px; height: 20px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: transparent;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.agree input:checked + label .box { background: var(--jade-deep); border-color: var(--jade-deep); color: #fff; }
.agree input:focus-visible + label .box { outline: 2px solid var(--jade-deep); outline-offset: 2px; }
.agree .tlink { font-size: 13px; min-height: 44px; }

.aside-card { padding: 30px 30px 32px; border: 1px solid var(--line); background: rgba(13, 57, 43, 0.04); display: grid; gap: 18px; }
.aside-card h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.aside-list { display: grid; gap: 14px; }
.aside-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 14px; color: var(--ink-2); }
.aside-list .ico { color: var(--jade-deep); margin-top: 3px; }
.aside-list b { display: block; color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- 공방 정보 */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.shop-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.shop-facts div {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px;
}
.shop-facts dt { color: var(--ink-3); font-size: 13.5px; }
.shop-facts dd { margin: 0; color: var(--ink-2); }
.shop-fig { position: relative; }
.shop-fig img { width: 100%; height: auto; }

/* --------------------------------------------------------------- 띠 CTA */
.band {
  background: var(--night); color: #ece4da;
  padding: 60px 0 62px;
}
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.band h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 2.4vw, 28px); color: #f3ece2; margin-bottom: 10px; }
.band p { font-size: 14.5px; color: rgba(236, 228, 218, 0.74); }
.band-acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------- 푸터 */
.site-footer { background: var(--night-2); color: rgba(236, 228, 218, 0.72); padding: 66px 0 30px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr)); gap: 40px; padding-bottom: 44px; }
.foot-brand { display: grid; gap: 14px; }
.foot-brand .brand-kr { color: #f0e9df; }
.foot-brand .brand-en { color: rgba(182, 201, 189, 0.85); }
.foot-brand p { font-size: 13.5px; line-height: 1.9; }
.foot-brand .foot-tel { font-family: var(--latin); font-size: 22px; color: #f0e9df; letter-spacing: 0.04em; }
.foot-col { display: grid; gap: 12px; align-content: start; }
.foot-col h2 {
  font-family: var(--latin); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(182, 201, 189, 0.9);
}
.foot-col a { font-size: 13.5px; min-height: 26px; display: inline-flex; align-items: center; transition: color 0.24s var(--ease); }
.foot-col a:hover { color: #f0e9df; }
.foot-legal {
  border-top: 1px solid var(--line-dark); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(236, 228, 218, 0.5);
}
.foot-legal p { line-height: 1.9; }
.foot-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal nav a { min-height: 26px; display: inline-flex; align-items: center; }
.foot-legal nav a:hover { color: #f0e9df; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink-2); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease), color 0.24s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--jade-deep); border-color: var(--jade-deep); }

/* --------------------------------------------------------------- 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 120;
  transform: translate(-50%, 16px);
  min-width: 270px; max-width: calc(100vw - 36px);
  display: flex; align-items: center; gap: 11px;
  padding: 14px 20px; background: var(--night-2); color: #f0e9df;
  border-left: 2px solid var(--dancheong-soft);
  font-size: 14px; box-shadow: 0 16px 36px rgba(11, 11, 9, 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: #b6c9bd; }

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

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

/* 매듭·먹선 그리기 — 기본값은 「이미 그려진 상태」다.
   JS 가 없거나 스크롤 연동을 지원하지 않아도 선은 온전히 보인다. */
.js .draw-line { stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); transition: stroke-dashoffset 1.5s var(--ease); }
.js .drawn .draw-line { stroke-dashoffset: 0; }
.js .craft-line { transform: scaleY(0); transition: transform 1.3s var(--ease); }
.js .craft-line.drawn { transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .draw-host .draw-line {
      transition: none;
      animation: draw-in linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 42%;
    }
    .js .craft-line.draw-host {
      transition: none;
      animation: grow-y linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 58%;
    }
  }
}
@keyframes draw-in { from { stroke-dashoffset: var(--len, 900); } to { stroke-dashoffset: 0; } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* =============================================================== 반응형 */
@media (max-width: 1180px) {
  :root { --wrap: 1024px; --section: 100px; --gutter: 32px; }
  .navlinks { gap: 22px; }
  .hero-inner { grid-template-columns: 36px minmax(0, 1fr) minmax(0, 0.8fr); gap: 0 32px; }
  .plan { gap: 38px; }
  .form-wrap { gap: 36px; }
  .shop { gap: 38px; }
  .item { grid-template-columns: 148px minmax(0, 1fr) minmax(0, 0.7fr); gap: 26px; }
}

@media (max-width: 1024px) {
  .navlinks, .nav-tel { display: none; }
  .menu-btn { display: flex; }
  .nav { min-height: 68px; gap: 16px; }
  .brand { margin-right: auto; }
  .vquote { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 62px 0 70px; }
  .hero-rail { display: none; }
  .hero-figure { justify-self: start; max-width: 420px; }
  .hero-copy { max-width: none; }
  .phero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 54px 0 58px; }
  .phero-figure { justify-self: start; max-width: 320px; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .looks { gap: 26px; }
  .look:nth-child(2), .look:nth-child(3) { margin-top: 0; }
  .mats { gap: 22px; }
  .saek { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .care-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .scale-cols { gap: 24px; }
}

@media (max-width: 760px) {
  :root { --section: 68px; --gutter: 20px; }
  body { font-size: 15.5px; }
  .section { padding: var(--section) 0; }
  .shead { margin-bottom: 30px; }
  .shead-row { margin-bottom: 30px; gap: 16px; }
  .hero-inner { padding: 44px 0 56px; gap: 30px; }
  .hero-figure { max-width: none; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .knot { width: 96px; height: 52px; }
  .phero-inner { padding: 40px 0 44px; }
  .phero-figure { max-width: none; }

  /* 모바일: 1과업 1화면 — 상품은 사진 위·정보 아래로 다시 쌓는다(프롬프트 08절) */
  .looks { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .items { border-top: 0; }
  .item {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px; padding: 22px 0;
  }
  .item-side {
    grid-column: 1 / -1; padding-left: 0; border-left: 0;
    border-top: 1px solid var(--line-soft); padding-top: 14px;
    grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  }
  .item-side .btn { justify-self: end; }

  .spread-row { grid-template-columns: minmax(0, 1fr); }
  .spread-row > * { padding: 14px 16px; }
  .spread-key { background: var(--ink); color: var(--hanji); }
  .spread-a, .spread-b { border-left: 0; }
  .spread-a { border-bottom: 1px solid var(--line-soft); }
  .spread-a::before, .spread-b::before {
    display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--jade); margin-bottom: 4px;
  }
  .spread-row:not(.spread-head) .spread-a::before { content: "대여"; }
  .spread-row:not(.spread-head) .spread-b::before { content: "구매"; }

  .rail-step { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rail-d { font-size: 16px; }
  .craft { padding-left: 30px; }
  .craft-line { left: 3px; }
  .craft-step::before { left: -32px; }

  .scale-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scale-col { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
  .scale-bar { display: none; }
  .saek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mats { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .form-card { padding: 24px 20px 26px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-form { padding: 22px 20px 24px; }
  .aside-card { padding: 24px 20px 26px; }
  .care-box { padding: 22px 20px 24px; }
  .band { padding: 44px 0 46px; }
  .band-inner { gap: 24px; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .site-footer { padding: 46px 0 26px; }
  .dl div { grid-template-columns: 86px minmax(0, 1fr); gap: 10px; }
  .shop-facts div { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* 320px 실측: 브랜드 + 채촌 예약 + 햄버거가 9px 넘쳤다. 셋을 함께 줄인다. */
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .site-header .brand-en { display: none; }
  .site-header .brand-kr { font-size: 19px; }
  .nav { gap: 10px; min-height: 62px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { padding: 0 12px; font-size: 12.5px; }
}

@media (max-width: 380px) {
  .item { grid-template-columns: minmax(0, 1fr); }
  .item-fig { max-width: 160px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
}

@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; }
  /* 스크롤로만 그려지는 선은 최종 상태로 즉시 보여 준다 */
  .js .draw-line { stroke-dashoffset: 0 !important; }
  .js .craft-line { transform: none !important; }
}

@media print {
  .site-header, .drawer, .scrim, .to-top, .toast, .band-acts, .hero-acts { display: none !important; }
  body { background: #fff; }
}
