/* 오세린 캘리그라피 — 캘리그라퍼 개인 홈페이지 디자인 샘플 · 회벽에 걸린 족자 구성 */
:root {
  --color-plaster: #E7E3DA;      /* 회벽 — 페이지 바탕 */
  --color-plaster-deep: #D9D3C6; /* 벽 아래 걸레받이·푸터 */
  --color-hanji: #F8F3E6;        /* 한지 — 족자 본지 */
  --color-ink: #1F1D1A;          /* 먹 — 글자 */
  --color-ink-soft: #4A4640;     /* 옅은 먹 — 보조 글자 */
  --color-inju: #C8461A;         /* 인주 주홍 — 주 버튼·지금 찍힌 도장 */
  --color-inju-deep: #A9390F;
  --color-wood: #5A3A22;         /* 족자 축 나무 */
  --color-line: #D8CDB4;         /* 한지 위 괘선 */
  --color-kakao: #FEE500;
  /* 비단 — 족자 테두리 */
  --silk-jjok: #3E5A73;
  --silk-ok: #7FA396;
  --silk-ssuk: #7C8758;
  --silk-hwang: #A9824A;
  --silk-meok: #57534D;
  --silk-maehwa: #A87575;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --brush: "Nanum Brush Script", "Pretendard Variable", cursive;
  --fs-h1: clamp(3.6rem, 2.2rem + 4.6vw, 6.2rem);
  --fs-h2: clamp(2.7rem, 2.2rem + 1.6vw, 3.7rem);
  --fs-body: 1rem;
  --ease-unroll: cubic-bezier(.55, .05, .25, 1);
  --header-h: 116px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--color-ink);
  background-color: var(--color-plaster);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .32 0 0 0 0 .28 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--color-ink); color: var(--color-hanji); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--color-inju); outline-offset: 3px; }
.ph { display: inline-block; padding: 0 6px; border: 1px dashed #A98B5A; color: #6E5530; background: rgba(169, 139, 90, .08); font-size: .94em; line-height: 1.6; }
.small { font-size: .875rem; color: var(--color-ink-soft); }
.lead { font-size: 1.08rem; font-weight: 500; }

/* 샘플 안내 띠 (고정은 /demo/_shared/sample-banner.css) */
.sample-banner { background: var(--color-ink); color: #E9E2D0; font-size: 13px; }
.sample-banner__inner { display: flex; gap: 10px; align-items: center; padding: 8px 20px; max-width: 1400px; margin: 0 auto; }
.sample-banner__tag { flex: none; padding: 1px 8px; background: var(--color-inju); color: #fff; font-size: 12px; font-weight: 700; }
.sample-banner a { color: #fff; font-weight: 600; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--inju { background: var(--color-inju); color: #fff; }
.btn--inju:hover { background: var(--color-inju-deep); }
.btn--line { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--line:hover { background: var(--color-ink); color: var(--color-hanji); }
.btn--kakao { background: var(--color-kakao); color: #191600; }
.btn--kakao:hover { background: #F0D800; }

/* 머리글 + 도장 메뉴 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--color-plaster);
  border-bottom: 1px solid rgba(31, 29, 26, .12);
}
.site-header__row { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; max-width: 1400px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.logo b span { font-weight: 500; color: var(--color-ink-soft); }
.logo__seal {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: var(--color-inju); color: #FFF4EA; font-family: var(--brush); font-size: 19px; line-height: 1;
  border-radius: 3px; transform: rotate(-4deg); white-space: nowrap; letter-spacing: -.04em;
}
.header-tel { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; color: var(--color-ink); text-decoration: none; font-weight: 700; }
.header-tel svg { width: 20px; height: 20px; }
.header-tel span { display: none; }
.header-cta { display: none; min-height: 42px; padding: 0 16px; font-size: .95rem; }

.seals { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 4px 12px 9px; max-width: 520px; margin: 0 auto; }
.seals__title { display: none; }
.seals a { display: grid; justify-items: center; gap: 2px; text-decoration: none; padding: 2px 0; }
.seals em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; font-style: normal; }
.seal {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1.5px solid rgba(200, 70, 26, .55); border-radius: 3px;
  color: #8C3A1C; font-family: var(--brush); font-size: 19px; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.seals a:hover .seal { border-color: var(--color-inju); color: var(--color-inju); }
.seals a.is-active .seal { background: var(--color-inju); border-color: var(--color-inju); color: #FFF4EA; transform: rotate(-5deg); animation: seal-press .34s ease-out; }
@keyframes seal-press { 0% { transform: scale(1.35) rotate(-5deg); opacity: .4; } 60% { transform: scale(.94) rotate(-5deg); opacity: 1; } 100% { transform: scale(1) rotate(-5deg); } }

/* 벽 위 족자 배치 */
main { padding: 18px 0 40px; }
section[id], .hero { scroll-margin-top: calc(var(--header-h) + var(--sample-banner-h, 0px) + 6px); }

.jokja {
  --jw: 760px;
  --silk: var(--silk-jjok);
  position: relative;
  width: min(var(--jw), 100% - 36px);
  margin: 0 auto 44px;
  padding-top: 46px;
}
.jokja--wide { --jw: 980px; }
.jokja--silk-jjok { --silk: var(--silk-jjok); }
.jokja--silk-ok { --silk: var(--silk-ok); }
.jokja--silk-ssuk { --silk: var(--silk-ssuk); }
.jokja--silk-hwang { --silk: var(--silk-hwang); }
.jokja--silk-meok { --silk: var(--silk-meok); }
.jokja--silk-maehwa { --silk: var(--silk-maehwa); }

/* 못 + 끈 */
.jokja__hang {
  position: absolute; top: 0; left: 50%; width: 46%; height: 46px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M3 100 50 6 97 100' fill='none' stroke='%236B5A44' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.jokja__hang::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9A938A, #4B4741 70%);
}
/* 상축 */
.jokja__top {
  display: block; position: relative; height: 11px; margin: 0 -6px;
  background: linear-gradient(#7A5234, #4C301C); border-radius: 3px;
}
/* 비단 + 한지 */
.jokja__silk {
  padding: 30px 12px 40px;
  background-color: var(--silk);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M9 1 17 9 9 17 1 9z' fill='none' stroke='%23fff' stroke-opacity='.13'/%3E%3C/svg%3E");
  box-shadow: 0 16px 26px -18px rgba(31, 29, 26, .55);
}
.jokja__paper {
  position: relative;
  padding: 30px 20px 64px;
  background-color: var(--color-hanji);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23B8A57E' stroke-opacity='.22' stroke-width='.7'%3E%3Cpath d='M10 20c14 4 22 2 34-3M80 40c8 10 20 12 30 8M30 96c10-6 20-6 28 2M110 120c12 2 20-4 26-10M60 140c6-8 16-10 26-6M130 70c4 8 2 16-4 22'/%3E%3C/g%3E%3C/svg%3E");
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .22);
}
/* 하축 + 축머리 */
.jokja__roller {
  display: block; position: relative; height: 18px; margin: 0 -2px;
  background: linear-gradient(#7A5234 0%, #5A3A22 55%, #3E2614 100%); border-radius: 9px;
  box-shadow: 0 8px 12px -8px rgba(31, 29, 26, .6);
}
.jokja__roller::before, .jokja__roller::after {
  content: ""; position: absolute; top: -3px; width: 16px; height: 24px; border-radius: 5px;
  background: linear-gradient(90deg, #E9E1CF, #BFB39A);
}
.jokja__roller::before { left: -14px; }
.jokja__roller::after { right: -14px; }

/* 낙관 */
.nakgwan { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 4px; transform: rotate(-4deg); pointer-events: none; }
.nakgwan > span {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 4px;
  background: #D2501F; color: #FFF4EA; font-family: var(--brush); font-size: 20px; line-height: 1;
  white-space: nowrap; border-radius: 2px;
}
.nakgwan > span.is-white { background: transparent; color: #D2501F; border: 2px solid #D2501F; }
.nakgwan--double { flex-direction: column; align-items: flex-end; }

/* 족자가 풀리는 움직임 — has-motion 일 때만 감는다 */
.has-motion .jokja__scroll { transition: clip-path 1.2s var(--ease-unroll); }
.has-motion .jokja__roller { transition: transform 1.2s var(--ease-unroll); }
.has-motion .jokja:not(.is-open) .jokja__scroll { clip-path: inset(0 0 calc(100% - 4px) 0); }
.has-motion .jokja:not(.is-open) .jokja__roller { transform: translateY(calc(-1 * var(--drop, 0px))); }
.has-motion .nakgwan { transition: opacity .2s 1.1s, transform .38s cubic-bezier(.3, 1.6, .5, 1) 1.1s; }
.has-motion .jokja:not(.is-open) .nakgwan { opacity: 0; transform: scale(1.7) rotate(-10deg); }
.has-motion .hero__pair .jokja__scroll, .has-motion .hero__pair .jokja__roller { transition-delay: .35s; }

/* 제목: 족자 오른쪽 세로쓰기(데스크톱), 모바일은 가로 */
.v-title {
  font-family: var(--brush); font-weight: 400; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: 0;
  margin-bottom: 18px;
}
.v-title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 8px; background: var(--color-ink); border-radius: 2px; opacity: .85; }
.section-lead { margin-bottom: 22px; color: var(--color-ink-soft); max-width: 40em; }
.section-lead strong { color: var(--color-ink); }

/* 히어로 */
.hero { display: flex; justify-content: center; align-items: flex-start; gap: 32px; padding-bottom: 6px; }
.hero > .jokja { margin-left: 0; margin-right: 0; }
.jokja--hero { --jw: 680px; flex: 0 1 auto; }
.hero__pair { display: none; }
.hero__paper { padding: 26px 22px 70px; }
.hero__kicker { font-weight: 700; color: var(--color-ink-soft); font-size: .95rem; }
.hero__title { font-family: var(--brush); font-weight: 400; font-size: var(--fs-h1); line-height: .98; letter-spacing: 0; margin: 6px 0 14px; }
.hero__lead { max-width: 30em; font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 20px; font-size: .9rem; color: var(--color-ink-soft); }
.hero__tags li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--color-ink); border-radius: 50%; vertical-align: 2px; opacity: .6; }
.hero__tools { width: 220px; margin-top: 16px; opacity: .92; }
.jokja--pair { --jw: 118px; padding-top: 46px; margin-top: 54px; }
.jokja--pair .jokja__silk { padding: 22px 9px 28px; }
.jokja--pair .jokja__paper { padding: 22px 0; display: grid; place-items: center; min-height: 430px; }
.pair-text { writing-mode: vertical-rl; font-family: var(--brush); font-size: 2.5rem; line-height: 1; letter-spacing: .04em; }

/* 소개 */
.about { display: grid; gap: 22px; }
.about__figure svg { width: 100%; border: 1px solid var(--color-line); }
.about__figure figcaption { margin-top: 6px; font-size: .85rem; color: var(--color-ink-soft); }
.about__text { display: grid; gap: 12px; }
.about__facts { display: grid; gap: 0; margin-top: 6px; border-top: 1px solid var(--color-line); }
.about__facts > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.about__facts dt { font-weight: 700; }

/* 작업 */
.works { display: grid; gap: 26px; }
.work svg { width: 100%; }
.work h3 { margin-top: 10px; font-size: 1.12rem; }
.work p { color: var(--color-ink-soft); font-size: .95rem; margin-top: 2px; }
.w-brush { font-family: var(--brush); }
.w-vert { writing-mode: vertical-rl; }

/* 시안 미리보기 */
.maker { display: grid; gap: 16px; padding: 16px; border: 1px solid var(--color-line); background: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.maker__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.maker label[for], .maker legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.maker label small { font-weight: 400; color: var(--color-ink-soft); }
.maker input[type="text"] {
  width: 100%; min-height: 50px; padding: 0 14px; font: inherit; font-size: 1.1rem;
  border: 1.5px solid var(--color-ink); background: #FFFDF8; color: var(--color-ink); border-radius: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__face { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(31, 29, 26, .35); background: #FFFDF8; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.chip input:checked + .chip__face { background: var(--color-ink); color: var(--color-hanji); border-color: var(--color-ink); }
.chip input:focus-visible + .chip__face { outline: 2px solid var(--color-inju); outline-offset: 2px; }
.f-soft { font-family: "Nanum Brush Script", var(--font); font-size: 1.4rem; font-weight: 400; }
.f-bold { font-family: "East Sea Dokdo", var(--font); font-size: 1.5rem; font-weight: 400; }
.f-cute { font-family: "Gamja Flower", var(--font); font-size: 1.1rem; font-weight: 400; }

.drafts { display: grid; gap: 14px; }
.draft__pick { display: grid; gap: 8px; width: 100%; padding: 10px; text-align: left; background: transparent; border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.draft__pick:hover { border-color: rgba(31, 29, 26, .25); }
.draft__pick[aria-pressed="true"] { border-color: var(--color-ink); background: rgba(255, 255, 255, .5); }
.draft__name { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.draft__pick[aria-pressed="true"] .draft__name::before { content: "고름"; padding: 0 6px; background: var(--color-ink); color: var(--color-hanji); font-size: .75rem; font-weight: 700; line-height: 1.7; }
.draft__stage {
  container-type: inline-size;
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background: #FBF8EF; color: var(--color-ink);
}
.draft__ink { display: block; font-size: calc(var(--fit, 14) * 1cqw); line-height: 1.05; white-space: nowrap; text-align: center; }
.draft__ink--two { display: grid; gap: .08em; }
.draft__ink--two .l1 { justify-self: start; }
.draft__ink--two .l2 { justify-self: end; padding-left: 1.2em; }
.draft__ink--vert { writing-mode: vertical-rl; white-space: pre-line; line-height: 1.25; text-align: start; inline-size: max-content; }
.draft__seal { position: absolute; left: 9%; bottom: 10%; display: grid; place-items: center; width: 10cqw; height: 10cqw; background: #D2501F; color: #FFF4EA; font-family: var(--brush); font-size: 5cqw; line-height: 1; white-space: nowrap; border-radius: 2px; }
.draft__sub { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; font-family: var(--font); font-size: 4.2cqw; color: #6E6556; }
.draft__sub:empty { display: none; }
.drafts[data-feel="soft"] .draft__ink { font-family: "Nanum Brush Script", var(--font); }
.drafts[data-feel="bold"] .draft__ink { font-family: "East Sea Dokdo", var(--font); }
.drafts[data-feel="cute"] .draft__ink { font-family: "Gamja Flower", var(--font); }
/* 쓰일 곳에 따라 바탕 */
.drafts[data-use="logo"] .draft__stage { background: #2E2B27; color: #F4EEDF; }
.drafts[data-use="logo"] .draft__seal { background: #E2C79C; color: #2E2B27; }
.drafts[data-use="wedding"] .draft__stage { background: #FBF8F1; box-shadow: inset 0 0 0 10px #FBF8F1, inset 0 0 0 11.5px #B9A57E; }
.drafts[data-use="wedding"] .draft__ink { padding-bottom: 8cqw; }
.drafts[data-use="frame"] .draft__ink { font-size: calc(var(--fit, 14) * .82cqw); }
.drafts[data-use="wedding"] .draft__ink--line, .drafts[data-use="wedding"] .draft__ink--two { font-size: calc(var(--fit, 14) * .92cqw); }
.drafts[data-use="wedding"] .draft__ink--vert { font-size: calc(var(--fit, 14) * .8cqw); }
.drafts[data-use="frame"] .draft__stage { background: #FBF8EF; box-shadow: inset 0 0 0 12px #6B4528, inset 0 0 0 22px #F1EADB; }
.has-motion .draft__ink.is-writing { animation: write-h .9s var(--ease-unroll) both; }
.has-motion .draft__ink--vert.is-writing { animation-name: write-v; }
@keyframes write-h { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes write-v { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.drafts__note { margin-top: 10px; font-size: .82rem; color: var(--color-ink-soft); }

.estimate { margin-top: 22px; display: grid; gap: 14px; padding-top: 18px; border-top: 2px solid var(--color-ink); }
.estimate dl { display: grid; gap: 0; }
.estimate dl > div { display: grid; grid-template-columns: 6em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--color-line); }
.estimate dt { font-weight: 700; }
.estimate dd { font-variant-numeric: tabular-nums; }
#est-cost { font-size: 1.15rem; font-weight: 800; }
.estimate__warn { font-size: .9rem; color: var(--color-inju-deep); font-weight: 600; }
.estimate__note { font-size: .85rem; color: var(--color-ink-soft); }
.estimate__msg { padding: 14px; background: #FFFDF8; border: 1px dashed #A98B5A; display: grid; gap: 10px; }
.estimate__label { font-weight: 700; font-size: .9rem; }
.estimate__text { font-size: .98rem; }
.estimate__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.estimate__status { min-height: 1.5em; font-size: .9rem; font-weight: 600; color: var(--silk-jjok); }

/* 과정 */
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.steps li:first-child { border-top: 1px solid var(--color-line); }
.steps__no { font-family: var(--brush); font-weight: 400; font-size: 3rem; line-height: .9; text-align: center; }
.steps h3 { font-size: 1.08rem; margin-bottom: 2px; }
.steps p { color: var(--color-ink-soft); font-size: .96rem; }

/* 비용 */
.price-list { border-top: 2px solid var(--color-ink); margin-bottom: 14px; }
.price-row { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.price-row h3 { font-size: 1.1rem; }
.price-row__what { font-size: .92rem; color: var(--color-ink-soft); }
.price-row__cost { display: flex; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.price-row__cost b { font-size: 1.15rem; }
.price-row__cost span { font-size: .9rem; color: var(--color-ink-soft); }

/* 수업 */
.klass { display: grid; gap: 22px; }
.klass__text { display: grid; gap: 12px; }
.klass__table { border-top: 1px solid var(--color-line); }
.klass__table > div { display: grid; grid-template-columns: 5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--color-line); }
.klass__table dt { font-weight: 700; }
.klass__art { width: 100%; max-width: 300px; border: 1px solid var(--color-line); }

/* 자주 묻는 것 */
.qa { border-bottom: 1px solid var(--color-line); }
.qa:first-child { border-top: 2px solid var(--color-ink); }
.qa h3 { font-size: 1.04rem; }
.qa button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 0; text-align: left; background: none; border: 0; font-weight: 700; }
.qa button::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.qa button[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-3px); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding-bottom: 14px; color: var(--color-ink-soft); }
.qa.is-open .qa__panel { grid-template-rows: 1fr; }

/* 의뢰 */
.request { display: grid; gap: 26px; }
.request__ways { display: grid; gap: 14px; }
.request__btns { display: grid; gap: 8px; }
.request__check h3, .request__place h3 { font-size: 1.08rem; margin-bottom: 10px; }
.request__check ul { display: grid; gap: 6px; }
.request__check li { position: relative; padding-left: 26px; }
.request__check li::before { content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border: 1.5px solid var(--color-ink); }
.request__place svg { width: 100%; max-width: 420px; margin-bottom: 10px; border: 1px solid var(--color-line); }

/* 푸터 */
.site-footer { background: var(--color-plaster-deep); border-top: 1px solid rgba(31, 29, 26, .12); padding: 32px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .9rem; color: var(--color-ink-soft); }
.site-footer__inner { width: min(980px, 100% - 32px); margin: 0 auto; display: grid; gap: 10px; }
.site-footer__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--color-ink); font-size: 1rem; }
.site-footer__links a { text-decoration: none; }
.site-footer__links .strong { font-weight: 800; color: var(--color-ink); }
.site-footer__credit a { font-weight: 700; color: var(--color-ink); }

/* 모바일 하단 연락 바 */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--color-ink);
}
.quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; color: var(--color-hanji); text-decoration: none; font-weight: 700; font-size: .95rem; }
.quickbar svg { width: 18px; height: 18px; }
.quickbar__kakao { background: var(--color-kakao); color: #191600 !important; }
.quickbar__cta { background: var(--color-inju); color: #fff !important; }

/* ── 넓은 화면 ─────────────────────────── */
@media (min-width: 640px) {
  .header-tel span { display: inline; }
  .jokja__silk { padding: 40px 18px 50px; }
  .jokja__paper { padding: 40px 38px 70px; }
  .works { grid-template-columns: 1fr 1fr; gap: 30px 26px; }
  .drafts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .request__btns { grid-template-columns: repeat(auto-fit, minmax(200px, auto)); justify-content: start; }
}
@media (min-width: 900px) {
  .header-cta { display: inline-flex; }
  .quickbar { display: none; }
  .site-footer { padding-bottom: 36px; }
  .paper-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
  .paper-grid > .v-title { grid-column: 2; grid-row: 1; writing-mode: vertical-rl; margin: 0; padding-left: 6px; }
  .paper-grid > .v-title::after { display: none; }
  .paper-grid > .paper-body { grid-column: 1; grid-row: 1; }
  .about { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .klass { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .request { grid-template-columns: 1.1fr 1fr; }
  .request__ways { grid-column: 1 / -1; }
  .maker { grid-template-columns: 1.2fr 1fr 1fr; align-items: end; }
  .estimate { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .estimate__warn, .estimate__note { grid-column: 1; }
  .estimate__msg { grid-column: 2; grid-row: 1 / span 3; }
  .hero__paper { padding: 34px 46px 84px; }
  .hero__tools { position: absolute; right: 70px; bottom: 30px; width: 200px; margin: 0; }
  .jokja--shift-l { left: -40px; }
  .jokja--shift-r { left: 40px; }
  main { padding-top: 26px; }
  .jokja { margin-bottom: 64px; }
}
@media (min-width: 1100px) {
  :root { --header-h: 58px; }
  .site-header { border-bottom: 1px solid rgba(31, 29, 26, .12); }
  .hero__pair { display: block; }
  /* 도장함: 오른쪽에 세로로 */
  .seals {
    position: fixed; right: 22px; top: calc(var(--header-h) + 22px);
    display: grid; grid-template-columns: 1fr; gap: 9px; padding: 12px 10px; margin: 0; max-width: none;
    background: rgba(248, 243, 230, .7); border: 1px solid rgba(31, 29, 26, .14);
  }
  .seals__title { display: block; font-size: .72rem; font-weight: 700; color: var(--color-ink-soft); text-align: center; }
  .seal { width: 46px; height: 46px; font-size: 21px; }
  .jokja { width: min(var(--jw), 100% - 220px); }
  .jokja--pair { width: var(--jw); }
}
@media (min-width: 1380px) {
  .seals a { grid-template-columns: auto 46px; align-items: center; justify-items: end; gap: 10px; }
  .seals em { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .8rem; color: var(--color-ink-soft); order: -1; }
  .seals a.is-active em { color: var(--color-ink); font-weight: 700; }
  .jokja { width: min(var(--jw), 100% - 400px); }
  .jokja--pair { width: var(--jw); }
}

/* 동작 줄이기 — 마지막 안전망 (족자는 has-motion 이 빠져 처음부터 펼쳐져 있다) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn, .chip__face, .seal, .draft__pick, .qa__panel { transition-duration: .2s !important; }
}
