/* 도서출판 북두 — R03 Camino 구성 재해석 (올리브 여백 · 큰 세리프 상호 · 흩어진 사진 · 얇은 금테 버튼) */
/* 첫 화면 큰 글자 전용 서브셋 (도서출판북두꿈을펼치는곳 · Noto Serif KR 400 · 4KB, 미리 불러옴 → LCP) */
@font-face { font-family: 'BukduHero'; src: url('/assets/fonts/hero-serif.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+acf3, U+afc8, U+b294, U+b3c4, U+b450, U+bd81, U+c11c, U+c744, U+cd9c, U+ce58, U+d310, U+d3bc; }
:root {
  --olive: #26301f; --olive-d: #1b2316; --olive-l: #33402a;
  --cream: #f2ede1; --paper: #f4efe4; --paper-2: #ebe4d4; --ink: #1e1f1a; --ink-2: #4a4b42; --muted: #6c6b5f;
  --gold: #c8a46b; --gold-l: #e3cfa6; --gold-d: #765524; --line: rgba(30, 31, 26, .14); --line-l: rgba(242, 237, 225, .18);
  --serif: 'Noto Serif KR', 'AppleMyungjo', 'Nanum Myeongjo', 'Batang', serif;
  --latin: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hd: 76px; --w: 1200px; --pad: clamp(20px, 5vw, 56px);
  --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); }
body { margin: 0; background: var(--olive); color: var(--ink); font: 400 17px/1.75 var(--sans); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { display: block; overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--olive-d); padding: 10px 16px; border-radius: var(--r); font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-l); color: var(--ink); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }

.wrap { width: min(100% - var(--pad) * 2, var(--w)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--pad) * 2, 820px); }
.sec { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.paper { background: var(--paper); color: var(--ink); }
.paper-2 { background: var(--paper-2); color: var(--ink); }
.olive { background: var(--olive); color: var(--cream); }
.olive-deep { background: var(--olive-d); color: var(--cream); }
.muted { color: var(--muted); }
.olive .muted, .olive-deep .muted { color: rgba(242, 237, 225, .62); }

/* 글자 */
.eyebrow { font: 500 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow em { font: italic 500 19px/1 var(--latin); letter-spacing: .02em; text-transform: none; color: var(--gold-d); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.olive .eyebrow, .olive-deep .eyebrow, .olive .eyebrow em, .olive-deep .eyebrow em, .phero .eyebrow, .phero .eyebrow em, .night .eyebrow, .night .eyebrow em { color: var(--gold); }
.h2 { font: 400 clamp(30px, 4.4vw, 52px)/1.25 var(--serif); letter-spacing: -.025em; }
.sec-hd { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-hd-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.olive .sec-lead, .olive-deep .sec-lead { color: rgba(242, 237, 225, .74); }
.sec-lead a { color: inherit; font-weight: 600; }
.lead-p { font: 400 21px/1.75 var(--serif); margin-bottom: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }
.link .ic { transition: transform .35s var(--ease); }
.link:hover .ic { transform: translateX(4px); }

/* 버튼 */
.btn { --bg: transparent; --fg: currentColor; --bd: currentColor; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 16px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s var(--ease), background-color .3s, color .3s, border-color .3s; -webkit-tap-highlight-color: transparent; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--gold)); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::after { transform: none; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 17px; }
.btn-pri { --bg: var(--olive); --fg: var(--cream); --bd: var(--olive); --fill: var(--olive-l); }
.btn-gold { --bg: var(--gold); --fg: var(--olive-d); --bd: var(--gold); --fill: var(--gold-l); }
.btn-ring { --fg: var(--gold-l); --bd: rgba(200, 164, 107, .7); --fill: var(--gold); letter-spacing: .14em; }
.btn-ring:hover { color: var(--olive-d); }
.btn-line { --fill: var(--ink); }
.btn-line:hover { color: var(--paper); }
.olive .btn-line:hover, .olive-deep .btn-line:hover, .hd .btn-line:hover { color: var(--olive-d); }
.hd .btn-line { --fill: var(--gold); --bd: rgba(242, 237, 225, .45); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.btns.center { justify-content: center; }
.magnet { will-change: transform; }

/* 머리 */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hd); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); color: var(--cream); transition: background-color .4s, transform .45s var(--ease), height .3s; }
.hd.is-solid { background: rgba(27, 35, 22, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 64px; }
.hd.is-hide { transform: translateY(-100%); }
.hd-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hd-mark { width: 40px; height: 40px; color: var(--gold); transition: transform .8s var(--ease); }
.hd-logo:hover .hd-mark { transform: rotate(-12deg) scale(1.06); }
.hd-name { font: 600 21px/1 var(--serif); letter-spacing: .04em; display: flex; align-items: baseline; gap: 6px; }
.hd-name small { font-size: 12px; font-weight: 400; letter-spacing: .1em; opacity: .75; }
.hd-r { display: flex; align-items: center; gap: 18px; }
.hd-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; letter-spacing: .03em; opacity: .9; }
.hd-tel:hover { opacity: 1; color: var(--gold-l); }
.hd-menu { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 9px; padding: 0; }
.hd-menu i { display: block; width: 40px; height: 1px; background: var(--cream); transition: transform .5s var(--ease), width .4s var(--ease); }
.hd-menu i:last-child { width: 28px; margin-left: auto; }
.hd-menu:hover i:last-child { width: 40px; }
.hd-menu[aria-expanded="true"] i:first-child { transform: translateY(5px) rotate(20deg); }
.hd-menu[aria-expanded="true"] i:last-child { width: 40px; transform: translateY(-5px) rotate(-20deg); }

/* 전체 메뉴 */
.mn { position: fixed; inset: 0; z-index: 55; background: var(--olive-d); color: var(--cream); display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding: calc(var(--hd) + 24px) var(--pad) 40px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - var(--pad) - 24px) calc(var(--hd) / 2)); transition: clip-path .8s var(--ease-io), visibility 0s .8s; visibility: hidden; }
.mn.is-open { clip-path: circle(150% at calc(100% - var(--pad) - 24px) calc(var(--hd) / 2)); transition: clip-path .8s var(--ease-io); visibility: visible; }
.mn[hidden] { display: grid; }
.mn-sky { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .06; pointer-events: none; }
.mn-list li { overflow: hidden; }
.mn-list a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; text-decoration: none; transform: translateY(110%); transition: transform .7s var(--ease) calc(.1s + var(--i) * .05s), color .3s; }
.mn.is-open .mn-list a { transform: none; }
.mn-no { font: italic 500 18px/1 var(--latin); color: var(--gold); min-width: 28px; }
.mn-t { font: 400 clamp(30px, 5vw, 56px)/1.3 var(--serif); letter-spacing: -.02em; position: relative; }
.mn-t::after { content: ''; position: absolute; left: 0; bottom: 4px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.mn-list a:hover .mn-t::after, .mn-list a[aria-current] .mn-t::after { transform: scaleX(1); transform-origin: left; }
.mn-list a:hover { color: var(--gold-l); }
.mn-info { border-left: 1px solid var(--line-l); padding-left: 40px; opacity: 0; transform: translateY(20px); transition: opacity .6s .35s, transform .6s var(--ease) .35s; }
.mn.is-open .mn-info { opacity: 1; transform: none; }
.mn-k { font-size: 12px; letter-spacing: .14em; color: var(--gold); margin: 26px 0 6px; }
.mn-k:first-child { margin-top: 0; }
.mn-tel { font: 400 32px/1.2 var(--serif); text-decoration: none; }
.mn-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.mn-links a { text-decoration: none; border-bottom: 1px solid var(--line-l); }
body.is-locked { overflow: hidden; }

/* 첫 화면 (R03) */
.hero { position: relative; min-height: max(100svh, 680px); background: var(--olive); color: var(--cream); display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--hd) + 20px) var(--pad) 90px; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); z-index: -1; pointer-events: none; }
.sky-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .22; animation: draw 4.5s var(--ease-io) .6s forwards; }
.sky-stars use { opacity: .5; transform-box: fill-box; transform-origin: center; animation: twinkle 4.2s ease-in-out var(--d) infinite; }
.sky-dust circle { opacity: .35; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { opacity: .38; transform: scale(.82); } 50% { opacity: .95; transform: scale(1.08); } }
.hp { position: absolute; z-index: 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.hp img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.hp:hover img { transform: scale(1.12); }
.hero .hp-1 { width: 25vw; max-width: 400px; aspect-ratio: 4 / 3; top: calc(var(--hd) + 8px); right: 7vw; }
.hero .hp-2 { width: 17vw; max-width: 260px; aspect-ratio: 3 / 4; left: 0; top: 34%; }
.hero .hp-3 { width: 22vw; max-width: 340px; aspect-ratio: 4 / 3; right: 0; bottom: 0; }
.hero-c { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-t { display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.hero-pre { font: 400 clamp(15px, 1.5vw, 20px)/1 'BukduHero', var(--serif); letter-spacing: .6em; margin-right: -.6em; color: var(--gold-l); margin-bottom: clamp(6px, 1.5vw, 18px); }
.hero-name { font: 400 clamp(120px, 21vw, 300px)/.98 'BukduHero', var(--serif); letter-spacing: -.02em; color: var(--cream); text-shadow: 0 10px 60px rgba(0, 0, 0, .25); }
.hero-sub { font: 400 clamp(22px, 2.6vw, 36px)/1.3 'BukduHero', var(--serif); color: var(--gold); margin-top: clamp(12px, 2vw, 22px); letter-spacing: .04em; }
.hero-rule { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); margin: 26px 0 22px; }
.hero-lead { max-width: 520px; color: rgba(242, 237, 225, .8); font-size: 16px; line-height: 1.8; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.hero-cta .btn { min-height: 58px; padding: 0 40px; font-size: 15px; }
.hero-tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--gold-l); font-size: 15px; letter-spacing: .06em; border-bottom: 1px solid transparent; }
.hero-tel:hover { border-color: currentColor; }
.hero-open { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(242, 237, 225, .62); letter-spacing: .04em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); position: relative; }
[data-open].is-open .dot { background: #8fc27a; }
[data-open].is-open .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.hero-down { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: rgba(242, 237, 225, .5); font: italic 500 15px/1 var(--latin); letter-spacing: .1em; z-index: 2; }
.hero-down i { width: 1px; height: 40px; background: linear-gradient(var(--gold) 50%, transparent 50%) 0 0 / 1px 200%; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* 이야기 */
.story-t { font: 400 clamp(26px, 3.6vw, 44px)/1.6 var(--serif); letter-spacing: -.02em; max-width: 1000px; }
[data-fill] .ch { color: rgba(30, 31, 26, .16); transition: color .3s; }
[data-fill] .ch.on { color: var(--ink); }
.vals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.vals li { padding: 30px 26px 10px 0; border-right: 1px solid var(--line); padding-left: 22px; }
.vals li:first-child { padding-left: 0; }
.vals li:last-child { border-right: 0; }
.v-no { font: italic 500 22px/1 var(--latin); color: var(--gold-d); }
.vals h3 { font: 600 19px/1.4 var(--serif); margin: 16px 0 10px; }
.vals p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* 흐르는 글자 */
.mq { position: relative; border-block: 1px solid var(--line-l); padding: 22px 0; overflow: hidden; margin-top: calc(clamp(84px, 11vw, 150px) * -1); margin-bottom: clamp(70px, 9vw, 120px); }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq-track > div { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.mq-track span { font: 400 clamp(36px, 5vw, 64px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(242, 237, 225, .45); white-space: nowrap; transition: color .4s; }
.mq-track span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.mq-track .ic { color: var(--gold); width: 22px; height: 22px; fill: currentColor; }
.mq.is-paused .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-pause { position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-l); background: var(--olive); display: flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.mq-pause i { width: 2px; height: 11px; background: var(--cream); }
.mq.is-paused .mq-pause i:first-child { width: 0; height: 0; border-left: 9px solid var(--cream); border-block: 6px solid transparent; background: none; }
.mq.is-paused .mq-pause i:last-child { display: none; }

/* 장르 목록 */
.genres { border-top: 1px solid var(--line-l); }
.gr { position: relative; border-bottom: 1px solid var(--line-l); }
.gr-a { display: grid; grid-template-columns: 60px minmax(120px, 1.2fr) 120px 2fr 48px; align-items: center; gap: 24px; padding: 28px 0; text-decoration: none; position: relative; z-index: 1; }
.gr-a::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--olive-l); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.gr-a:hover::before, .gr-a:focus-visible::before { transform: scaleY(1); }
.gr-no { font: italic 500 20px/1 var(--latin); color: var(--gold); }
.gr-t { font: 400 clamp(40px, 5.4vw, 72px)/1 var(--serif); letter-spacing: -.02em; transition: transform .5s var(--ease), color .3s; }
.gr-a:hover .gr-t { transform: translateX(14px); color: var(--gold-l); }
.gr-b { font-size: 14px; letter-spacing: .1em; color: var(--gold); }
.gr-d { color: rgba(242, 237, 225, .72); font-size: 16px; }
.gr-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.gr-a:hover .gr-go { background: var(--gold); border-color: var(--gold); color: var(--olive-d); transform: rotate(-45deg); }
.gr-ph { display: none; }
.gr-float { position: fixed; left: 0; top: 0; width: 260px; aspect-ratio: 4 / 5; z-index: 40; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease); overflow: hidden; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.gr-float.is-on { opacity: 1; }
.gr-float img { width: 100%; height: 100%; object-fit: cover; }

/* 이런 분께 */
.auds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.au { background: #fbf8f1; border: 1px solid var(--line); padding: 34px 28px 32px; border-radius: var(--r); position: relative; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.au:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(38, 48, 31, .45); border-color: rgba(200, 164, 107, .6); }
.au-star { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--gold); margin-bottom: 26px; transition: transform .8s var(--ease); }
.au-star .ic { fill: currentColor; width: 18px; height: 18px; }
.au:hover .au-star { transform: rotate(180deg); }
.au h3 { font: 600 20px/1.45 var(--serif); margin-bottom: 12px; }
.au p { font-size: 15.5px; color: var(--ink-2); }

/* 3D 책 — 여섯 단계 */
.steps-sec { position: relative; height: 640vh; }
.bk-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hd) + 10px) var(--pad) 28px; overflow: hidden; }
.bk-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: min(100%, var(--w)); margin: 0 auto; flex-wrap: wrap; }
.bk-hd .eyebrow { width: 100%; margin-bottom: 6px; }
.bk-count { font: italic 500 22px/1 var(--latin); color: var(--gold); }
.bk-count b { font-size: 44px; font-weight: 500; }
.bk { --bw: min(34vw, 410px, calc((100svh - 300px) / 1.36)); --bh: calc(var(--bw) * 1.36); position: relative; width: calc(var(--bw) * 2); height: var(--bh); margin: auto; perspective: 3200px; align-self: center; transform: translateX(calc(var(--bw) * -.5 * (1 - var(--open, 0)))); transition: transform .9s var(--ease); }
.bk-pg { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(calc(var(--f, 0) * -180deg)); z-index: calc(20 - var(--i)); }
.bk-pg.is-flipped { z-index: calc(30 + var(--i)); }
.bk-front, .bk-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.bk-front { background: #fbf8f0; color: var(--ink); padding: clamp(22px, 3.2vw, 46px); display: flex; flex-direction: column; border-radius: 0 3px 3px 0; box-shadow: inset 18px 0 30px -18px rgba(0, 0, 0, .25), 4px 10px 30px -10px rgba(0, 0, 0, .4);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .06), transparent 12%); }
.bk-back { transform: rotateY(180deg); background: #efe8da; border-radius: 3px 0 0 3px; box-shadow: inset -18px 0 30px -18px rgba(0, 0, 0, .3); }
.bk-back img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.bk-end { height: 100%; display: grid; place-items: center; font: 400 28px/1 var(--serif); color: var(--gold-d); }
.bk-no { font: italic 500 clamp(44px, 6vw, 84px)/1 var(--latin); color: var(--gold); }
.bk-t { font: 600 clamp(22px, 2.6vw, 34px)/1.3 var(--serif); margin: auto 0 12px; letter-spacing: -.02em; }
.bk-s { font: 400 clamp(15px, 1.4vw, 18px)/1.6 var(--serif); color: var(--gold-d); margin-bottom: 14px; }
.bk-d { font-size: clamp(13.5px, 1.15vw, 15.5px); color: var(--ink-2); line-height: 1.75; }
.bk-folio { margin-top: 22px; font: italic 14px/1 var(--latin); color: var(--muted); align-self: flex-end; }
.bk-cover .bk-front { background: var(--olive); color: var(--cream); align-items: center; justify-content: center; text-align: center; box-shadow: inset 14px 0 24px -14px rgba(0, 0, 0, .55), 6px 18px 50px -12px rgba(0, 0, 0, .7); background-image: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 9%), radial-gradient(circle at 70% 20%, rgba(200, 164, 107, .14), transparent 60%); border: 1px solid rgba(200, 164, 107, .3); }
.bk-mark { width: 40%; aspect-ratio: 1; color: var(--gold); }
.bk-ct { font: 400 clamp(28px, 3.4vw, 46px)/1.2 var(--serif); margin-top: 26px; }
.bk-cs { font-size: 13px; letter-spacing: .3em; color: var(--gold); margin-top: 14px; }
.bk-hint { position: absolute; bottom: 26px; font: italic 15px/1 var(--latin); color: rgba(242, 237, 225, .55); letter-spacing: .04em; }
.bk-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -1px 0; background: rgba(0, 0, 0, .25); opacity: var(--open, 0); z-index: 60; pointer-events: none; }
.bk-dots { display: flex; justify-content: center; gap: 10px; }
.bk-dots li { width: 24px; height: 2px; background: var(--line-l); transition: background .4s, width .4s var(--ease); }
.bk-dots li.on { background: var(--gold); width: 40px; }
.steps-alt { display: none; }
.st { display: grid; grid-template-columns: 70px 1fr; gap: 10px 24px; padding: 30px 0; border-top: 1px solid var(--line-l); align-items: start; }
.st-no { font: italic 500 34px/1 var(--latin); color: var(--gold); }
.st-t { font: 600 23px/1.4 var(--serif); }
.st-s { color: rgba(242, 237, 225, .8); margin-top: 4px; }
.st-d { color: rgba(242, 237, 225, .66); font-size: 15.5px; margin-top: 10px; max-width: 560px; }
.sts .st { grid-template-columns: 70px 1fr minmax(220px, 34%); }
.st-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }

/* 견적 다섯 가지 */
.qf-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.qf-in .sec-hd { position: sticky; top: calc(var(--hd) + 30px); margin-bottom: 0; }
.qfs { border-top: 1px solid var(--line); counter-reset: q; }
.qfs li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.qfs li::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold-d); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.qfs li:hover::after { transform: scaleX(1); }
.qf-no { grid-row: span 2; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font: italic 500 20px/1 var(--latin); color: var(--gold-d); }
.qfs b { font: 600 20px/1.4 var(--serif); }
.qfs span:last-child { color: var(--ink-2); font-size: 15.5px; }

/* 도서 카드 */
.bks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.bkc { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.bkc-cv { position: relative; aspect-ratio: 3 / 4.2; background: var(--paper-2); overflow: hidden; border-radius: 2px 6px 6px 2px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .55), inset 4px 0 8px -4px rgba(0, 0, 0, .3); transform: perspective(900px) rotateY(0); transform-origin: left; transition: transform .7s var(--ease), box-shadow .7s; }
.bkc:hover .bkc-cv { transform: perspective(900px) rotateY(-16deg); box-shadow: 18px 30px 50px -24px rgba(0, 0, 0, .6); }
.bkc-cv img { width: 100%; height: 100%; object-fit: cover; }
.bkc-ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--olive); color: var(--gold); padding: 20px; text-align: center; font: 400 22px/1.4 var(--serif); border: 1px solid rgba(200, 164, 107, .35); }
.olive .bkc-ph { background: var(--olive-l); }
.bkc-meta { font-size: 13px; color: var(--gold); letter-spacing: .08em; }
.paper .bkc-meta { color: var(--gold-d); }
.bkc-t { font: 600 19px/1.4 var(--serif); }
.bkc-a { font-size: 14.5px; opacity: .75; }
.bkc-p { font-weight: 700; font-size: 16px; }
.bkc-sold { font-size: 13px; color: var(--muted); }
.empty { color: var(--muted); padding: 40px 0; }
.empty-lg { text-align: center; padding: 70px 0; font: 400 22px/1.7 var(--serif); grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-lg .ic { width: 64px; height: 64px; color: var(--gold); }
.empty-lg .link { font: 600 16px/1 var(--sans); margin-top: 8px; }

/* 소식 카드 */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pc { display: flex; flex-direction: column; text-decoration: none; background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.pc:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(38, 48, 31, .5); border-color: rgba(200, 164, 107, .6); }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--olive); display: grid; place-items: center; color: var(--gold); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc:hover .pc-img img { transform: scale(1.06); }
.pc-img .ic { width: 56px; height: 56px; }
.pc-b { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--olive); color: var(--gold-l); }
.cat-release { background: var(--gold); color: var(--olive-d); }
.cat-note { background: transparent; color: var(--gold-d); border: 1px solid var(--gold); }
.pc-new { color: #b4532a; font-weight: 700; font-size: 12px; }
.pc-t { font: 600 20px/1.45 var(--serif); }
.pc-s { font-size: 15px; color: var(--ink-2); }
.pc-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--gold-d); }
.pc-go .ic { transition: transform .35s var(--ease); }
.pc:hover .pc-go .ic { transform: translateX(5px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 18px; cursor: pointer; font-size: 15px; min-height: 42px; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--olive); color: var(--cream); border-color: var(--olive); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-in .sec-hd { position: sticky; top: calc(var(--hd) + 30px); }
.fqs { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 19px/1.5 var(--serif); }
.fq summary::-webkit-details-marker { display: none; }
.fq summary i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .45s var(--ease), background .3s; }
.fq summary i::before, .fq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; translate: -50% -50%; }
.fq summary i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.fq[open] summary i { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.fq[open] summary i::after { transform: rotate(0); }
.fq summary:hover { color: var(--gold-d); }
.fq-a { padding: 0 50px 26px 0; color: var(--ink-2); }
.fq[open] .fq-a { animation: fqin .5s var(--ease); }
@keyframes fqin { from { opacity: 0; transform: translateY(-8px); } }

/* 밤하늘 CTA */
.night { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: center; text-align: center; color: var(--cream); overflow: hidden; padding: 120px 0; isolation: isolate; }
.night { background: radial-gradient(120% 80% at 50% 0%, #2d3a26 0%, var(--olive-d) 55%, #141a10 100%); }
.night-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.night::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--olive-d)); pointer-events: none; }
.night-sky { position: relative; display: block; width: min(86vw, 640px); margin: 0 auto 8px; color: var(--gold); overflow: visible; }
.cs-line, .cs-next { fill: none; stroke: var(--gold-l); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 2.6s var(--ease-io); }
.cs-next { stroke-dasharray: .02 .02; stroke: var(--gold); transition-delay: 2.4s; transition-duration: 1.2s; }
.night.is-in .cs-line, .night.is-in .cs-next { stroke-dashoffset: 0; }
.cs-stars circle { fill: var(--cream); opacity: .2; transition: opacity .6s; }
.night.is-in .cs-stars circle { opacity: 1; }
.night.is-in .cs-stars circle:nth-child(1) { transition-delay: .1s; } .night.is-in .cs-stars circle:nth-child(2) { transition-delay: .45s; } .night.is-in .cs-stars circle:nth-child(3) { transition-delay: .8s; }
.night.is-in .cs-stars circle:nth-child(4) { transition-delay: 1.15s; } .night.is-in .cs-stars circle:nth-child(5) { transition-delay: 1.5s; } .night.is-in .cs-stars circle:nth-child(6) { transition-delay: 1.85s; } .night.is-in .cs-stars circle:nth-child(7) { transition-delay: 2.2s; }
.cs-you { opacity: 0; transition: opacity .8s 3.4s; }
.night.is-in .cs-you { opacity: 1; }
.cs-you circle { fill: var(--gold); }
.cs-pulse { transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.cs-you text { fill: var(--gold-l); font: 400 18px var(--serif); letter-spacing: .1em; }
.night-c { position: relative; z-index: 1; }
.night-c .eyebrow { justify-content: center; }
.night-c .eyebrow::before { display: none; }
.night-t { font: 400 clamp(32px, 5vw, 62px)/1.35 var(--serif); letter-spacing: -.02em; }
.night-p { margin-top: 18px; color: rgba(242, 237, 225, .78); font-size: 18px; }

/* 푸터 */
.ft { background: var(--olive-d); color: var(--cream); padding: clamp(70px, 9vw, 120px) 0 110px; position: relative; overflow: hidden; }
.ft-in { width: min(100% - var(--pad) * 2, var(--w)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 60px; }
.ft-word { font: 400 clamp(90px, 13vw, 180px)/1 var(--serif); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(200, 164, 107, .6); clip-path: inset(0 0 0 0); position: relative; display: inline-block; }
.ft-word::after { content: '북두'; position: absolute; inset: 0; color: var(--gold); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease-io) .2s; }
.ft.is-in .ft-word::after { clip-path: inset(0 0 0 0); }
.ft-word { transition: -webkit-text-stroke-color .6s 1.9s; }
.ft.is-in .ft-word { -webkit-text-stroke-color: transparent; }
.ft-slogan { font: 400 22px/1.4 var(--serif); color: var(--gold-l); margin: 24px 0 30px; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-content: start; padding-top: 18px; }
.ft-cols p { font-size: 15px; color: rgba(242, 237, 225, .75); margin-bottom: 6px; }
.ft-cols a { text-decoration: none; }
.ft-cols a:hover { color: var(--gold-l); }
.ft-k { font-size: 12px !important; letter-spacing: .16em; color: var(--gold) !important; margin-bottom: 14px !important; }
.ft-bt { width: min(100% - var(--pad) * 2, var(--w)); margin: 60px auto 0; padding-top: 26px; border-top: 1px solid var(--line-l); display: grid; gap: 10px; font-size: 13.5px; color: rgba(242, 237, 225, .55); }
.ft-biz { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-legal a { text-decoration: none; }
.ft-legal b { color: var(--cream); font-weight: 600; }
.ft-legal a:hover { color: var(--gold-l); }
.ft-made a { color: var(--gold-l); text-decoration: none; border-bottom: 1px solid rgba(200, 164, 107, .5); }
.ft-made a:hover { color: var(--gold); }

/* 모바일 하단 바 */
.dock { display: none; }

/* 띠배너·팝업 */
.ban { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 50; background: var(--gold); color: var(--olive-d); border-radius: 999px; padding: 6px 8px 6px 22px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); animation: banin .6s var(--ease); }
.ban[hidden] { display: none; }
.ban a { font-weight: 600; font-size: 15px; text-decoration: none; }
.ban button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(27, 35, 22, .12); cursor: pointer; font-size: 20px; line-height: 1; }
@keyframes banin { from { transform: translateY(30px); opacity: 0; } }
.pop { border: 0; padding: 0; border-radius: 6px; max-width: min(92vw, 420px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.pop::backdrop { background: rgba(20, 26, 16, .6); backdrop-filter: blur(3px); }
.pop form { padding: 0 0 22px; }
.pop-img img { width: 100%; }
.pop-t { font: 600 22px/1.4 var(--serif); padding: 26px 26px 8px; }
.pop-b { padding: 0 26px; white-space: pre-line; color: var(--ink-2); }
.pop-a { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 26px 0; }

/* 하위 페이지 머리 */
.phero { position: relative; min-height: 62svh; display: grid; place-items: center; text-align: center; background: var(--olive); color: var(--cream); padding: calc(var(--hd) + 60px) var(--pad) 80px; overflow: hidden; isolation: isolate; }
.phero-sm { min-height: 44svh; }
.phero-c { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.phero .eyebrow::before { display: none; }
.ph-t { font: 400 clamp(46px, 8vw, 110px)/1.1 var(--serif); letter-spacing: -.03em; }
.ph-s { font: 400 clamp(18px, 2vw, 24px)/1.5 var(--serif); color: var(--gold); margin-top: 18px; }
.phero .hp-s1 { width: 22vw; max-width: 340px; aspect-ratio: 16 / 10; top: calc(var(--hd) + 8px); right: 4vw; }
.phero .hp-s2 { width: 14vw; max-width: 210px; aspect-ratio: 3 / 4; left: 0; bottom: 10%; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.toc a { border: 1px solid var(--line-l); border-radius: 999px; padding: 9px 18px; text-decoration: none; font-size: 14px; transition: background .3s, color .3s; }
.toc a:hover { background: var(--gold); color: var(--olive-d); border-color: var(--gold); }

/* 소개 */
.name-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.name-l p + p { margin-top: 14px; color: var(--ink-2); }
.name-l .h2 { margin-bottom: 30px; }
.name-r img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.name-r figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.name-r .ic { width: 28px; height: 28px; color: var(--gold-d); }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-l); }
.ways li { padding: 34px 26px 10px; border-right: 1px solid var(--line-l); }
.ways li:first-child { padding-left: 0; }
.ways li:last-child { border-right: 0; }
.w-no { font: 400 34px/1 var(--serif); color: var(--gold); }
.ways h3 { font: 600 20px/1.4 var(--serif); margin: 22px 0 12px; }
.ways p { font-size: 15.5px; color: rgba(242, 237, 225, .72); }
.info { border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: 14px; letter-spacing: .12em; color: var(--gold-d); padding-top: 6px; }
.info dd { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.info dd span { color: var(--ink-2); font-size: 15.5px; }
.big-tel { font: 400 clamp(28px, 3.6vw, 40px)/1.2 var(--serif); text-decoration: none; letter-spacing: .01em; }
.big-tel:hover { color: var(--gold-d); }
.open-now { display: inline-flex; align-items: center; gap: 8px; }

/* 출판 안내 */
.gds { display: grid; gap: 70px; }
.gd { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.gd:nth-child(even) .gd-img { order: 2; }
.gd-img { overflow: hidden; }
.gd-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.4s var(--ease); }
.gd:hover .gd-img img { transform: scale(1.05); }
.gd h3 { font: 400 clamp(40px, 5vw, 64px)/1.1 var(--serif); margin-bottom: 18px; }
.gd p { color: var(--ink-2); font-size: 18px; margin-bottom: 22px; max-width: 460px; }
.sts { position: relative; }
.sts .st { position: relative; }
.ready-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.ready { display: grid; gap: 14px; }
.ready li { display: flex; gap: 18px; padding: 22px 24px; background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--r); }
.ready .ic { width: 26px; height: 26px; color: var(--gold-d); margin-top: 3px; }
.ready b { display: block; font: 600 18px/1.4 var(--serif); margin-bottom: 4px; }
.ready span { color: var(--ink-2); font-size: 15.5px; }
.note-link { grid-column: 2; }
.cta-band { padding: 90px 0; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; }

/* 상담 예약 폼 */
.rv-in { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.rv-side { position: sticky; top: calc(var(--hd) + 30px); display: grid; gap: 34px; }
.rv-prog { display: grid; gap: 4px; border-left: 1px solid var(--line); }
.rv-prog li { display: flex; align-items: center; gap: 14px; padding: 12px 0 12px 20px; color: var(--muted); position: relative; transition: color .3s; }
.rv-prog li::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--olive); transform: scaleY(0); transition: transform .5s var(--ease); }
.rv-prog li span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: italic 500 16px/1 var(--latin); transition: background .3s, color .3s, border-color .3s; }
.rv-prog li.is-now { color: var(--ink); font-weight: 600; }
.rv-prog li.is-now::before { transform: scaleY(1); }
.rv-prog li.is-done span { background: var(--olive); border-color: var(--olive); color: var(--gold-l); }
.rv-prog li.is-skip { opacity: .4; text-decoration: line-through; }
.rv-call { padding: 26px; background: var(--olive); color: var(--cream); border-radius: var(--r); display: grid; gap: 8px; justify-items: start; }
.rv-call .big-tel { font-size: 28px; color: var(--cream); }
.rv-call .btn { margin-top: 10px; }
.rv { display: grid; gap: 26px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 5px; }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; font-weight: 600; transition: color .4s; }
.seg input:checked + span { color: var(--cream); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.seg-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--olive); border-radius: 999px; transition: transform .5s var(--ease); }
.seg:has(input[value="quote"]:checked) .seg-pill { transform: translateX(100%); }
.seg-help { color: var(--ink-2); font-size: 15.5px; margin-top: -10px; }
.fs { border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 36px); margin: 0; background: #fbf8f1; transition: border-color .3s, box-shadow .4s; min-width: 0; }
.fs:focus-within { border-color: rgba(200, 164, 107, .8); box-shadow: 0 20px 40px -30px rgba(38, 48, 31, .5); }
.fs[hidden] { display: none; }
.fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 600 22px/1.3 var(--serif); margin-bottom: 22px; }
.fs legend small { font: 400 14px var(--sans); color: var(--muted); }
.fs legend + * { clear: both; }
.fs-no { width: 34px; height: 34px; border-radius: 50%; background: var(--olive); color: var(--gold-l); display: grid; place-items: center; font: italic 500 18px/1 var(--latin); }
.fs-q { font-weight: 600; margin: 20px 0 10px; }
.fs-q:first-of-type { margin-top: 0; }
.fs-help { font-size: 14.5px; color: var(--gold-d); margin-top: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15.5px; transition: background .25s, color .25s, border-color .25s, transform .15s var(--ease); }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt:active span { transform: scale(.96); }
.opts-sm .opt span { min-height: 42px; padding: 0 14px; font-size: 14.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 4px; }
.grid2 > * { min-width: 0; }
.fld { display: grid; gap: 8px; margin-top: 18px; }
.grid2 .fld { margin-top: 0; }
.fld > span { font-weight: 600; font-size: 15.5px; }
.fld small { font-weight: 400; color: var(--muted); }
.req { font-size: 11px; font-weight: 700; color: #a8432a; margin-left: 4px; letter-spacing: .04em; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 16.5px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.fld select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231e1f1a' stroke-width='1.6' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 42px; }
.fld textarea { resize: vertical; line-height: 1.7; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(200, 164, 107, .35); }
.fld input.is-bad { border-color: #a8432a; box-shadow: 0 0 0 3px rgba(168, 67, 42, .15); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.drop { margin-top: 18px; border: 1px dashed rgba(140, 106, 53, .6); border-radius: 6px; background: #fff; transition: background .3s, border-color .3s; position: relative; }
.drop.is-over { background: #f7f0df; border-color: var(--gold-d); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 22px; cursor: pointer; }
.drop label .ic { width: 26px; height: 26px; color: var(--gold-d); }
.drop label span { width: 100%; font-size: 14px; color: var(--muted); padding-left: 38px; }
.drop:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.drop-list { padding: 0 22px; }
.drop-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; position: relative; z-index: 2; }
.drop-list button { border: 0; background: none; cursor: pointer; color: #a8432a; font-size: 14px; min-height: 32px; }
.drop-list:not(:empty) { padding-bottom: 8px; }
.agree { margin-top: 22px; display: grid; gap: 8px; }
.chk { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.chk input { width: 22px; height: 22px; accent-color: var(--olive); flex: none; }
.agree-d summary { cursor: pointer; font-size: 14px; color: var(--muted); padding-left: 34px; }
.agree-d p { font-size: 14px; color: var(--ink-2); padding: 12px 0 0 34px; line-height: 1.8; }
.agree-d b { color: var(--ink); margin-right: 4px; }
.hp-f { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rv-submit { display: grid; gap: 14px; justify-items: start; }
.rv-err { color: #a8432a; font-weight: 600; min-height: 1.5em; }
.rv-bar { width: 100%; height: 3px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.rv-bar i { display: block; height: 100%; width: 0; background: var(--gold-d); transition: width .3s; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.done { grid-column: 2; text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; outline: none; }
.done[hidden] { display: none; }
.done-ic { width: 96px; height: 96px; margin-bottom: 10px; }
.done-ic circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 230; stroke-dashoffset: 230; animation: dash .9s var(--ease) forwards; }
.done-ic path { fill: none; stroke: var(--olive); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: dash .5s var(--ease) .7s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* 책 상세·주문 */
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 40px; padding-top: calc(var(--hd) - 40px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.book-sec, .post-sec, .pay-sec { padding-top: calc(var(--hd) + 60px); }
.bd { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.bd-cv { position: sticky; top: calc(var(--hd) + 30px); }
.bd-cv .bkc-cv { transform: perspective(1000px) rotateY(-10deg); box-shadow: 24px 40px 60px -30px rgba(0, 0, 0, .55); }
.bd-meta { color: var(--gold-d); font-size: 14px; letter-spacing: .08em; }
.bd-t { font: 400 clamp(34px, 4.6vw, 56px)/1.2 var(--serif); margin: 10px 0 8px; letter-spacing: -.02em; }
.bd-a { font-size: 18px; color: var(--ink-2); }
.bd-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
.bd-spec div { background: var(--paper); padding: 14px 16px; }
.bd-spec dt { font-size: 12.5px; color: var(--muted); }
.bd-spec dd { font-weight: 600; }
.bd-price { font: 400 34px/1 var(--serif); }
.bd-price small { font-size: 16px; margin-left: 4px; }
.bd-body { margin-top: 26px; }
.order { margin-top: 36px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 6px; background: #fbf8f1; }
.order h2 { font: 600 22px/1.3 var(--serif); margin-bottom: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 50%; }
.qty input { width: 56px; text-align: center; border: 0; min-height: 46px; font-size: 17px; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.sum { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.sum p { display: flex; justify-content: space-between; }
.sum .sum-t { font-weight: 700; font-size: 19px; }
.pm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm .opt span { width: 100%; justify-content: center; gap: 8px; min-height: 56px; border-radius: 6px; }

/* 글 */
.post-hd { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 36px; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.post-t { font: 400 clamp(32px, 4.4vw, 50px)/1.3 var(--serif); margin: 16px 0 12px; letter-spacing: -.02em; }
.post-s { font-size: 19px; color: var(--ink-2); }
.post-img { margin-bottom: 36px; }
.prose { font-size: 18px; line-height: 1.95; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font: 600 24px/1.4 var(--serif); margin: 2em 0 .7em; }
.prose ul { list-style: none; margin: 0 0 1.3em; display: grid; gap: 6px; }
.prose li { padding-left: 22px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .85em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prose a { color: var(--gold-d); font-weight: 600; }
.post-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 50px 0 40px; padding: 30px; background: var(--olive); color: var(--cream); border-radius: 6px; align-items: center; justify-content: space-between; }
.post-cta p { font: 400 20px/1.5 var(--serif); }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; }
.post-nav a { text-decoration: none; }
.post-nav small { display: block; color: var(--muted); font-size: 13px; }
.post-next { text-align: right; }

/* 결제 */
.pay { background: #fbf8f1; border: 1px solid var(--line); border-radius: 8px; padding: clamp(26px, 4vw, 48px); }
.pay .h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 22px; }
.pay-tbl { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.pay-tbl th, .pay-tbl td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pay-tbl th { width: 34%; font-weight: 500; color: var(--muted); }
.pay-total { font: 400 30px/1 var(--serif); }
.bank { background: var(--olive); color: var(--cream); border-radius: 6px; padding: 24px; display: grid; gap: 8px; margin: 18px 0; }
.bank b { font: 400 24px/1.3 var(--serif); color: var(--gold-l); letter-spacing: .02em; }
.copy { justify-self: start; }
.pay-state { display: inline-flex; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--paper-2); }
.pay-state.ok { background: #e4efd9; color: #2f5a1d; }
.pay-note { font-size: 14.5px; color: var(--muted); margin-top: 16px; }

/* 법적 문서 */
.legal { font-size: 16px; }
.legal h2 { font: 600 21px/1.4 var(--serif); margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal ol { list-style: decimal; padding-left: 22px; display: grid; gap: 8px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.tbl-wrap { overflow-x: auto; margin: 10px 0 14px; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--paper-2); }
.legal-dl > div { display: grid; grid-template-columns: 160px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { color: var(--muted); }
.legal-dl [hidden] { display: none; }

/* 404 */
.nf { min-height: 90svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.nf-in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf-mark { width: 120px; height: 120px; color: var(--gold); animation: floaty 6s ease-in-out infinite; }
.nf p { color: rgba(242, 237, 225, .75); max-width: 460px; }
@keyframes floaty { 50% { transform: translateY(-12px) rotate(-4deg); } }

/* 등장 모션 (JS 가 있을 때만 숨김 — 첫 화면에는 쓰지 않음) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.js [data-split] .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--l, 0) * 90ms); }
.js [data-split].is-in .ln > span { transform: none; }
.js .sec-hd .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .2s; }
.js .sec-hd.is-in .eyebrow::before { transform: none; }

/* 반응형 */
@media (max-width: 1080px) {
  .vals { grid-template-columns: repeat(3, 1fr); }
  .vals li:nth-child(3) { border-right: 0; }
  .vals li:nth-child(4) { padding-left: 0; }
  .auds { grid-template-columns: repeat(2, 1fr); }
  .bks { grid-template-columns: repeat(3, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .ways li:nth-child(2) { border-right: 0; }
  .ways li:nth-child(3) { padding-left: 0; }
  .gr-a { grid-template-columns: 44px minmax(110px, 1fr) 2fr 44px; }
  .gr-b { display: none; }
}
@media (max-width: 860px) {
  :root { --hd: 64px; }
  .hd-tel, .hd-cta { display: none; }
  .hd-mark { width: 34px; height: 34px; }
  .mn { grid-template-columns: 1fr; align-content: start; gap: 30px; }
  .mn-info { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-l); padding-top: 26px; }
  .qf-in, .faq-in, .name-in, .ready-in, .rv-in, .bd { grid-template-columns: 1fr; }
  .qf-in .sec-hd, .faq-in .sec-hd, .rv-side, .bd-cv { position: static; }
  .note-link { grid-column: auto; }
  .rv-side { order: 2; }
  .rv-prog { display: none; }
  .done { grid-column: auto; }
  .posts { grid-template-columns: 1fr 1fr; }
  .gd, .gd:nth-child(even) { grid-template-columns: 1fr; }
  .gd:nth-child(even) .gd-img { order: 0; }
  .sts .st { grid-template-columns: 54px 1fr; }
  .sts .st-img { grid-column: 2; }
  .bd-cv { max-width: 320px; }
  .ft-in { grid-template-columns: 1fr; gap: 40px; }
  /* 3D 책: 한 쪽씩 */
  .bk { --bw: min(80vw, 380px); width: var(--bw); transform: none; }
  .bk-pg { left: 0; width: 100%; }
  .bk-back { display: none; }
  .bk-pg.is-flipped { opacity: 0; transition: opacity .3s .15s; }
  .bk-spine { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; padding-bottom: 72px; }
  .hero { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--hd) + 56px) 0 0; min-height: 0; }
  .hero-c { order: 1; padding: 0 var(--pad); }
  .hero .hp-1 { width: 46vw; top: calc(var(--hd) - 4px); right: -8vw; opacity: .55; }
  .hero .hp-2 { display: none; }
  .hero .hp-3 { order: 2; position: relative; right: auto; bottom: auto; width: calc(100% - 32px); max-width: none; aspect-ratio: 16 / 10; margin: 44px 0 0 32px; align-self: flex-end; }
  .sky-lines { display: none; }
  .hero-name { font-size: clamp(110px, 34vw, 150px); }
  .hero-pre { letter-spacing: .4em; margin-right: -.4em; }
  .hero-lead { font-size: 15px; }
  .hero-down { display: none; }
  .vals { grid-template-columns: 1fr; }
  .vals li { border-right: 0; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 0 10px; }
  .vals li h3 { margin: 0 0 6px; }
  .vals li p { grid-column: 2; }
  .gr-a { grid-template-columns: 36px 1fr 40px; gap: 6px 14px; padding: 22px 0; }
  .gr-d { grid-column: 2 / -1; font-size: 15px; }
  .gr-t { font-size: 44px; }
  .gr-go { width: 40px; height: 40px; grid-row: 1; grid-column: 3; }
  .auds { grid-template-columns: 1fr; }
  .bks { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .posts { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .ways li { border-right: 0; padding: 26px 0; border-bottom: 1px solid var(--line-l); }
  .info > div { grid-template-columns: 1fr; gap: 6px; }
  .grid2, .pm { grid-template-columns: 1fr; }
  .phero .hp-s1 { width: 46vw; right: -8vw; opacity: .7; }
  .phero .hp-s2 { width: 28vw; left: -6vw; opacity: .6; }
  .fq summary { font-size: 17.5px; }
  .fq-a { padding-right: 0; }
  .sec-hd-row { flex-direction: column; align-items: flex-start; }
  .post-cta { flex-direction: column; align-items: flex-start; }
  .post-nav { grid-template-columns: 1fr; }
  .post-next { text-align: left; }
  .ft { padding-bottom: 130px; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .legal-dl > div { grid-template-columns: 1fr; }
  .mq-track span { font-size: 38px; }
  .ban { bottom: 84px; }
  .dock { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset: auto 0 0; z-index: 45; background: rgba(27, 35, 22, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-l); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; color: var(--cream); text-decoration: none; font-size: 13px; }
  .dock a[hidden] { display: none; }
  .dock .ic { width: 22px; height: 22px; }
  .dock-main { background: var(--gold); color: var(--olive-d) !important; font-weight: 700; }
  .dock a:active { opacity: .8; }
}
@media (max-width: 400px) {
  .ft-cols { grid-template-columns: 1fr; }
  .bks { grid-template-columns: 1fr 1fr; }
}

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .steps-sec { height: auto; }
  .bk-sticky { display: none; }
  .steps-alt { display: block; padding: 90px 0; }
  .js [data-reveal], .js [data-split] .ln > span { opacity: 1; transform: none; }
  [data-fill] .ch { color: inherit; }
  .mq-track { animation: none; }
  .gr-float { display: none; }
  .sky-lines path, .cs-line, .cs-next { stroke-dashoffset: 0; }
}
.no-book .steps-sec { height: auto; }
.no-book .bk-sticky { display: none; }
.no-book .steps-alt { display: block; padding: 90px 0; }
