/* imagetoGoods — 이미지가 굿즈가 되는 곳 (빌드 없는 정적 CSS) */
:root {
  --paper: #faf7f2;
  --paper-2: #f2ece2;
  --ink: #1f1b17;
  --ink-2: #4a433b;
  --muted: #7a7166;
  --line: #e6ded2;
  --gold: #b8873a;
  --gold-soft: #f3e6cf;
  --mint: #d7ebe3;
  --rose: #f4dfd8;
  --radius: 22px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(31, 27, 23, .04), 0 14px 40px rgba(31, 27, 23, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.65; word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.serif { font-family: "Fraunces", "Times New Roman", serif; font-weight: 500; letter-spacing: -.01em; }

/* 머리말 */
.header { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 242, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.logo em { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--gold); margin-left: 1px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); font-weight: 700; }
.menu-btn { display: none; background: none; border: 0; font-size: 24px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; }
}

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }

/* 공통 섹션 */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.lead { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 16px 0 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* 첫 화면 */
.hero { padding: 88px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); }
.hero h1 .serif { font-style: italic; color: var(--gold); }
.hero p { font-size: 18px; color: var(--ink-2); margin: 22px 0 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .tile { position: absolute; border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; font-weight: 700; }
.hero-art .tile small { display: block; font-weight: 500; color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.hero-art .t1 { inset: 0 34% 34% 0; background: var(--gold-soft); justify-content: flex-start; }
.hero-art .t2 { z-index: 1; }
.hero-art .t2 { inset: 30% 0 0 38%; background: var(--mint); }
.hero-art .t3 { width: 30%; aspect-ratio: 1; right: 6%; top: 4%; background: var(--rose); border-radius: 50%; padding: 0; align-items: center; justify-content: center; font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: clamp(18px, 2.4vw, 26px); }
.hero-art .shape { position: absolute; left: 14%; top: 14%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(184, 135, 58, .55); }
.hero-art .arrow { position: absolute; left: 44%; top: 44%; font-size: 30px; color: var(--gold); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 440px; width: 100%; margin: 0 auto; } }

/* 상품 라인 */
.line-card { display: flex; flex-direction: column; gap: 14px; padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.line-card .badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: #8a6224; }
.line-card.k .badge { background: var(--mint); color: #2f6b55; }
.line-card h3 { font-size: 26px; }
.line-card p { margin: 0; color: var(--ink-2); }
.line-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.line-card .go { margin-top: auto; font-weight: 700; }

/* 만드는 과정 */
.steps { counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: "Fraunces", serif; font-size: 30px; color: var(--gold); display: block; margin-bottom: 10px; }
.step b { display: block; font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 팝업·작가·상품 목록 */
.list-empty { padding: 34px; border-radius: 22px; border: 1px dashed var(--line); background: #fff; text-align: center; color: var(--ink-2); }
.list-empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.pop-card .when { font-weight: 700; color: var(--gold); font-size: 14px; }
.pop-card h3 { font-size: 20px; margin: 6px 0; }
.pop-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.art-card { padding: 0; overflow: hidden; }
.art-card .img { aspect-ratio: 4 / 3; background: var(--paper-2); }
.art-card .img img { width: 100%; height: 100%; object-fit: cover; }
.art-card .body { padding: 20px 22px 24px; }
.art-card h3 { font-size: 18px; }
.art-card p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.art-card a.more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.prod-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.prod-card .img { aspect-ratio: 1; background: var(--paper-2); }
.prod-card .img img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-card .cat { font-size: 12px; color: var(--muted); }
.prod-card b { font-size: 16px; }
.prod-card .price { font-weight: 700; }
.prod-card .buy { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.chips button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* 신청 폼 */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field i { color: #c0392b; font-style: normal; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 640px) { .types { grid-template-columns: 1fr; } }
.types label { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; cursor: pointer; font-weight: 600; font-size: 15px; }
.types label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.types input { margin-right: 8px; }
.types label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.drop { border: 2px dashed var(--line); border-radius: 18px; padding: 26px; text-align: center; background: #fff; cursor: pointer; color: var(--ink-2); }
.drop.over { border-color: var(--gold); background: var(--gold-soft); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.thumbs div { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(31, 27, 23, .7); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 4px; }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #2f6b55; font-weight: 700; }
.form-msg.err { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note-box { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.note-box b { color: var(--ink); }
.note-box ul { margin: 6px 0 0; padding-left: 18px; }
.okno { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .okno { grid-template-columns: 1fr; } }
.okno div { padding: 18px 20px; border-radius: 16px; font-size: 14px; }
.okno .ok { background: var(--mint); }
.okno .no { background: var(--rose); }
.okno b { display: block; margin-bottom: 6px; font-size: 15px; }
.okno ul { margin: 0; padding-left: 18px; }

/* 자주 묻는 질문 */
.faq { max-width: 780px; margin: 30px auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* 마무리 띠·하단 */
.band { background: var(--ink); color: var(--paper); border-radius: 32px; padding: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: clamp(24px, 3.4vw, 34px); }
.band p { margin: 8px 0 0; color: #cfc6b9; }
.band .btn-line { border-color: var(--paper); color: var(--paper); }
.footer { padding: 48px 0 60px; font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer a { text-decoration: underline; }
.footer .logo { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.policy { max-width: 820px; }
.policy h1 { font-size: 32px; margin-bottom: 18px; }
.policy h3 { margin: 30px 0 8px; font-size: 18px; }
.policy p, .policy li { color: var(--ink-2); font-size: 15px; }
.policy table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.policy th, .policy td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.policy th { background: var(--paper-2); }
.kakao-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: #fee500; color: #191919; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
