/* 강사모 유기견 시음악관 — 공개 화면 */
:root {
  --ivory: #F7F3EA;
  --paper: #FCFAF5;
  --ink: #252525;
  --ink-2: #4a4843;
  --muted: #6f6a60;
  --line: #e6e2d8;
  --green: #234E43;
  --green-2: #1a3b33;
  --green-soft: #e6ece7;
  --sand: #efe8d8;
  --serif: "Noto Serif KR", "Noto Serif CJK KR", "AppleMyungjo", "Nanum Myeongjo", serif;
  --sans: "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --radius: 4px;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.35; margin: 0 0 .6em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.serif { font-family: var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 22px; border-radius: var(--radius); border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font: 600 16px/1.3 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: #000; color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-buy { background: var(--green); border-color: var(--green); color: #fff; }
.btn-buy:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.btn-lg { min-height: 56px; padding: 12px 30px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.btn-row.center { justify-content: center; }
.link-more { font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* 상단 유틸 바 + 헤더 */
.topbar { background: #1e1e1e; color: #cfcbc2; font-size: 12.5px; }
.topbar-in { max-width: var(--wrap); display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar ul { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #e9e5dc; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-label { color: #9fd0bf; font-weight: 700; letter-spacing: .04em; }
.topbar-left li + li { position: relative; padding-left: 18px; }
.topbar-left li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: #555; }
.topbar-buy { font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-in { max-width: var(--wrap); display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; line-height: 1.2; flex: none; }
.brand-ko { font-family: var(--serif); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand-en { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; padding: 26px 0 24px; border-bottom: 2px solid transparent; letter-spacing: -.01em; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--green); color: var(--green); }
.nav-buy { display: none; }
.head-search { position: relative; flex: none; width: 210px; }
.head-search input { width: 100%; height: 40px; border: 1px solid #cfcac0; border-radius: 999px; padding: 0 40px 0 16px; font: 13.5px var(--sans); background: #fff; color: var(--ink); }
.head-search input:focus { outline: none; border-color: var(--green); }
.head-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; flex: none; }
.nav-toggle .bar { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* 섹션 공통 */
.section { padding: 84px 0; }
.section.tight { padding: 40px 0 72px; }
.section.soft { background: var(--sand); }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: .3em; }
.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.sec-lead { color: var(--ink-2); max-width: 640px; }
.sub-h { font-size: 22px; margin: 56px 0 20px; }
.h-mid { font-size: clamp(22px, 2.8vw, 28px); }
.h-small { font-size: 19px; margin-bottom: 14px; }
.lead { font-size: 1.12em; color: var(--ink-2); }
.page-head { padding: 56px 0 30px; background: #f4f2ed; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: .3em; }

/* ① 히어로 */
.hero { padding: 64px 0 88px; background: radial-gradient(ellipse at 80% 30%, #efe7d4 0%, var(--ivory) 60%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kicker { font: 600 14px/1 var(--sans); letter-spacing: .14em; color: var(--green); margin-bottom: 22px; }
.hero-title { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.22; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero-sub { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); color: var(--ink-2); margin-bottom: 26px; }
.hero-line { font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); font-weight: 700; color: var(--green); padding-left: 16px; border-left: 3px solid var(--green); margin-bottom: 22px; }
.hero-intro { color: var(--ink-2); max-width: 520px; }
.hero-by { font-weight: 600; margin-bottom: 4px; }
.hero-count { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.hero-count b { color: var(--green); font-size: 1.1em; }
.hero-book { display: flex; justify-content: center; }
.book-3d { display: block; width: min(360px, 80%); transform: perspective(1200px) rotateY(-9deg); box-shadow: 18px 22px 40px rgba(37, 37, 37, .22), 2px 2px 0 rgba(0,0,0,.05); transition: transform .4s ease; border-radius: 2px 4px 4px 2px; overflow: hidden; background: #fff; }
.book-3d:hover { transform: perspective(1200px) rotateY(-3deg); }
.book-3d img { width: 100%; }

/* ② 오늘의 작품 */
.today-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); }
.today-img { background: var(--sand); min-height: 320px; }
.today-img img { width: 100%; height: 100%; object-fit: cover; }
.today-body { padding: 40px 44px; }
.poem-title { font-size: clamp(24px, 3vw, 32px); }
.poem-title.big { font-size: clamp(30px, 5vw, 46px); }
.poem { font-family: var(--serif); font-size: 18.5px; line-height: 2.05; color: var(--ink); margin: 24px 0 30px; }
.poem .stanza { margin: 0 0 1.6em; }
.poem.small { font-size: 16.5px; line-height: 1.9; }
.poem-clip { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.poem-more { font-family: var(--sans); font-size: 15px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.work-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.work-meta .no { color: var(--green); font-weight: 700; }

/* 플레이어 */
.player { margin: 0 0 24px; padding: 16px 18px; background: var(--green-soft); border-radius: var(--radius); border: 1px solid #cfdcd3; }
.player figcaption { font-size: 14.5px; margin-bottom: 10px; color: var(--green-2); font-weight: 600; }
.player figcaption .muted { font-weight: 400; }
.player audio { width: 100%; height: 44px; }
.player-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; margin-right: 4px; }
.player-empty { color: var(--muted); font-size: 15px; background: var(--sand); border-color: var(--line); }
.player-empty .player-icon { background: #b8b09e; }
.player.is-playing { border-color: var(--green); box-shadow: 0 0 0 2px rgba(35, 78, 67, .15); }

/* ③ 전시실 */
.room-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.room-card a { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 26px 22px; color: var(--ivory); text-decoration: none; border-radius: var(--radius); overflow: hidden; transition: transform .2s; }
.room-card a:hover { transform: translateY(-4px); color: #fff; }
.room-1 a { background: #2c3a36; } .room-2 a { background: #234E43; } .room-3 a { background: #4b5148; } .room-4 a { background: #6b5a43; }
.room-card a::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border: 1px solid rgba(247,243,234,.18); border-radius: 50%; }
.room-num { font-size: 12.5px; letter-spacing: .14em; opacity: .75; margin-bottom: 14px; }
.room-title { font-family: var(--serif); font-size: 23px; line-height: 1.35; margin-bottom: 10px; }
.room-theme { font-size: 14.5px; opacity: .88; line-height: 1.6; }
.room-range { margin-top: auto; padding-top: 18px; font-size: 13px; opacity: .8; border-top: 1px solid rgba(247,243,234,.25); }

/* 작품 카드 */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-grid.one { grid-template-columns: minmax(0, 360px); }
.work-card a { display: block; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; height: 100%; transition: border-color .15s, box-shadow .15s; }
.work-card a:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(37,37,37,.08); }
.work-card-img { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.work-card-img img { width: 100%; height: 100%; object-fit: cover; }
.work-card-body { padding: 18px 20px 20px; }
.work-card h3 { font-size: 20px; margin-bottom: 8px; }
.work-music { font-size: 13.5px; margin: 0; }
.work-music.on { color: var(--green); font-weight: 600; }
.work-music.off { color: var(--muted); }

/* ④ 책 */
.book-sec { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-in { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.book-cover img { width: 100%; box-shadow: 14px 18px 36px rgba(37,37,37,.2); }
.book-cover.big { max-width: 380px; }
.book-name { font-family: var(--serif); font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.book-title { font-size: clamp(30px, 4.6vw, 48px); }
.book-spec { color: var(--muted); font-size: 15px; }
.price { font-size: 15px; margin: 18px 0 0; }
.price span { color: var(--muted); margin-right: 6px; }
.price b { font-size: 26px; font-family: var(--serif); }
.price small { color: var(--muted); }
.buy-note { font-family: var(--serif); color: var(--green); font-weight: 700; }
.donation { font-size: 14.5px; background: var(--green-soft); padding: 10px 14px; border-radius: var(--radius); }
.pv-thumbs { list-style: none; padding: 0; margin: 18px 0 4px; display: flex; gap: 10px; }
.pv-thumbs img { width: 92px; height: 130px; object-fit: cover; border: 1px solid var(--line); }
.book-hero { padding: 56px 0 72px; background: var(--paper); border-bottom: 1px solid var(--line); }

/* ⑤ 작가 */
.author-in { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.author-photo { width: 240px; height: 300px; object-fit: cover; border-radius: var(--radius); }
.author-photo.big { width: 260px; height: 330px; }
.author-photo-ph { display: grid; place-items: center; background: var(--green); color: var(--ivory); font-family: var(--serif); font-size: 72px; }
.author-quote { margin: 0 0 18px; padding: 0; font-family: var(--serif); font-size: 18px; line-height: 1.95; }
.author-quote p { margin-bottom: 1.1em; }
.author-name .sep { color: var(--line); margin: 0 4px; }
.author-name { font-weight: 700; }

/* ⑥ 감상 */
.heart-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.heart-list.one-col { grid-template-columns: 1fr; }
.heart { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-family: var(--serif); font-size: 16.5px; line-height: 1.85; }
.heart p:last-child { margin: 0; }
.heart-by { font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.empty-state { text-align: center; background: var(--paper); border: 1px dashed #cfc7b4; border-radius: var(--radius); padding: 48px 24px; }
.empty-state.small { padding: 28px 18px; }
.empty-state p:first-child { font-family: var(--serif); font-size: 19px; font-weight: 700; }

/* 전시실 목록 */
.room-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.room-tabs a { padding: 9px 16px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }
.room-tabs a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab-num { font-weight: 700; opacity: .7; }
.tab-count { font-size: 12.5px; opacity: .7; }
.search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.search input[type=search] { flex: 1 1 260px; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.chk input { width: 18px; height: 18px; accent-color: var(--green); }
.result-count { color: var(--muted); font-size: 14.5px; }
.room-desc { margin-bottom: 26px; color: var(--ink-2); }

/* 작품 상세 */
.work { padding: 36px 0 40px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumb a { color: var(--muted); }
.work-head { text-align: center; margin-bottom: 32px; }
.work-no { font: 700 14px/1 var(--sans); color: var(--green); letter-spacing: .18em; }
.work-from { color: var(--muted); font-size: 15px; }
.work-figure { margin: 0 auto 40px; max-width: 980px; padding: 0 20px; }
.work-figure img { width: 100%; max-height: 560px; object-fit: cover; }
.work .poem { font-size: 19px; margin: 0 0 40px; }
.work-music, .commentary, .share-box, .work-hearts { margin-bottom: 40px; }
.commentary { background: var(--paper); border-left: 3px solid var(--green); padding: 22px 26px; }
.lyrics summary { cursor: pointer; font-weight: 600; color: var(--green); }
.share-box { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.share-box .btn-row { justify-content: center; }
.copy-done { min-height: 1.4em; color: var(--green); font-size: 14.5px; margin: 0; }
.book-callout { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 26px; margin-bottom: 44px; }
.book-callout img { box-shadow: 6px 8px 18px rgba(37,37,37,.18); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; }
.pager a span { display: block; font: 500 12.5px/1.6 var(--sans); color: var(--muted); }
.pager .next { text-align: right; grid-column: 2; }
.pager a:hover { border-color: var(--green); }

/* 도서 소개 */
.prose p { margin-bottom: 1.1em; }
.sign { text-align: right; font-family: var(--serif); font-weight: 700; }
.check-list, .dot-list { padding: 0; list-style: none; margin: 0 0 18px; }
.check-list li { padding: 10px 0 10px 34px; border-bottom: 1px solid #ddd3bf; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.dot-list li { padding-left: 16px; position: relative; margin-bottom: 8px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.pv-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pv-open { border: 1px solid var(--line); padding: 0; background: #fff; cursor: zoom-in; width: 100%; }
.pv-cap { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.pv-dialog { border: 0; padding: 0; max-width: min(92vw, 900px); background: transparent; }
.pv-dialog::backdrop { background: rgba(0,0,0,.8); }
.pv-dialog img { max-height: 86vh; width: auto; margin: 0 auto; }
.pv-close { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 22px; background: #fff; border: 0; border-radius: var(--radius); font: 600 15px var(--sans); cursor: pointer; }
.toc { list-style: none; padding: 0; margin: 0; }
.toc li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #d9cfba; }
.toc-part { font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--green); }
.toc strong { display: block; font-family: var(--serif); font-size: 19px; }
.toc .muted { font-size: 14.5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col.wide-left { grid-template-columns: 1.1fr .9fr; }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { padding: 11px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 92px; color: var(--muted); font-weight: 500; }
.buy-guide { background: var(--green-soft); padding: 30px; border-radius: var(--radius); }
.faq details { border-bottom: 1px solid #d9cfba; padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 10px; }
.steps b { display: block; font-family: var(--serif); }

/* 마음 남기기 */
.heart-form { display: grid; gap: 8px; background: var(--paper); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.heart-form label:not(.chk) { font-weight: 600; font-size: 15.5px; margin-top: 8px; }
.heart-form input:not([type=checkbox]), .heart-form select, .heart-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.heart-form textarea { font-family: var(--serif); line-height: 1.8; }
.heart-form .btn { margin-top: 12px; }
.req { font-size: 12px; color: var(--green); font-weight: 700; margin-left: 4px; }
.hint { font-size: 13.5px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 14px; font-size: 15.5px; }
.notice.ok { background: var(--green-soft); border: 1px solid #b8cdbf; }
.notice.err { background: #f8e9e4; border: 1px solid #e3c2b6; color: #7a2e17; }
.paging { display: flex; gap: 6px; flex-wrap: wrap; }
.paging a { min-width: 40px; min-height: 40px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--paper); }
.paging a[aria-current="page"] { background: var(--ink); color: #fff; }
.policy h2 { font-size: 19px; margin-top: 1.6em; }

/* 하단 */
.site-footer { background: var(--ink); color: #cfcabe; padding: 56px 0 64px; font-size: 14px; line-height: 1.75; }
.site-footer a { color: #e8e3d6; }
.footer-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.footer-title { font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--ivory); margin-bottom: 6px; }
.footer-sns { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-info p { margin: 0 0 4px; }
.footer-note { margin-top: 12px !important; color: #a9a497; }
.copyright { margin-top: 12px !important; color: #8f8a7e; font-size: 13px; }

/* 하단 고정 구매 바 (모바일) */
.buybar { display: none; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-book { order: -1; }
  .book-3d { width: min(250px, 62%); transform: none; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .heart-list { grid-template-columns: 1fr 1fr; }
  .today-card { grid-template-columns: 1fr; }
  .today-img { min-height: 0; aspect-ratio: 16 / 10; }
  .book-in { grid-template-columns: 220px 1fr; gap: 32px; }
}

@media (max-width: 1440px) { .head-search { display: none; } }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 20px 22px; gap: 12px; display: none; box-shadow: 0 16px 30px rgba(0,0,0,.08); max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 15px 0 !important; border-bottom: 1px solid var(--line) !important; font-size: 16.5px !important; }
  .nav-buy { display: inline-flex; min-height: 48px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 36px 0 56px; }
  .hero-title { font-size: 34px; }
  .btn-row .btn { flex: 1 1 100%; }
  .room-grid { grid-template-columns: 1fr; }
  .room-card a { min-height: 0; }
  .work-grid, .heart-list { grid-template-columns: 1fr; }
  .today-body { padding: 26px 20px; }
  .book-in, .author-in, .two-col, .two-col.wide-left { grid-template-columns: 1fr; gap: 28px; }
  .book-cover { max-width: 220px; margin: 0 auto; }
  .author-photo, .author-photo.big { width: 160px; height: 200px; }
  .poem, .work .poem { font-size: 18px; line-height: 2; }
  .work-figure { padding: 0; }
  .book-callout { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; }
  .book-callout .btn-row .btn { flex: 1 1 100%; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .pv-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .toc li { grid-template-columns: 40px 1fr; }
  .toc .link-more { grid-column: 2; }
  .footer-in { grid-template-columns: 1fr; gap: 20px; }

  /* 본문을 가리지 않는 하단 구매 바 */
  .has-buybar { padding-bottom: 76px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 250, 245, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06); }
  .buybar img { width: 34px; height: 48px; object-fit: cover; flex: none; }
  .buybar-text { flex: 1; min-width: 0; line-height: 1.35; }
  .buybar-text strong { display: block; font-family: var(--serif); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-text span { font-size: 12px; color: var(--muted); }
  .buybar .btn { min-height: 44px; padding: 8px 16px; font-size: 15px; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .book-3d { transform: none; }
}


/* ===== 메인 (갤러리형) ===== */
.more { font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--green); }
.home .eyebrow { margin-bottom: 10px; }

.g-hero { background: #f4f2ed; border-bottom: 1px solid var(--line); }
.g-hero-in { max-width: var(--wrap); display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; align-items: stretch; }
.g-banner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 440px; padding: 56px 0 56px 4px; color: var(--ink); text-decoration: none; overflow: hidden; }
.g-banner::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: #ebe6db; left: -120px; bottom: -120px; }
.g-banner::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #efe2d6; right: 60px; top: -80px; opacity: .8; }
.g-banner-text { position: relative; z-index: 1; }
.g-kicker { font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: .04em; margin-bottom: 18px; }
.g-title { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.25; color: #1f3a33; margin-bottom: 16px; letter-spacing: -.02em; }
.g-sub { font-size: 17px; color: var(--ink-2); margin-bottom: 6px; }
.g-line { font-size: 15.5px; color: var(--ink-2); margin-bottom: 30px; }
.g-arrow { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); transition: background .2s, color .2s; }
.g-banner:hover .g-arrow { background: var(--green); color: #fff; }
.g-banner-art { position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center; }
.g-banner-art { justify-content: center; }
.g-banner-art img { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 160px 160px 4px 4px; }
.g-count { position: absolute; left: 4px; bottom: 22px; margin: 0; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; z-index: 1; }

.g-side { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 48px 0 48px 56px; }
.g-quote { margin: 0; }
.g-quote-label { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: var(--green); margin-bottom: 14px; }
.g-quote-label::after { content: ""; width: 36px; height: 1px; background: var(--green); opacity: .5; }
.g-quote blockquote { margin: 0 0 12px; position: relative; padding-left: 0; }
.g-quote blockquote p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 31px); font-weight: 800; line-height: 1.5; letter-spacing: -.02em; margin: 0; color: #1c1c1c; }
.g-quote figcaption { font-size: 14px; color: var(--ink-2); }
.g-quote figcaption span { color: #c9c2b4; margin: 0 6px; }
.g-find { display: flex; gap: 14px; align-items: center; }
.g-search { position: relative; flex: 1; }
.g-search input { width: 100%; height: 46px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 0 36px 0 2px; font: 15px var(--sans); color: var(--ink); }
.g-search input:focus { outline: none; border-bottom-color: var(--green); }
.g-search button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink); cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; }
.g-all { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.g-all:hover { background: var(--ink); color: #fff; }
.g-pick { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.g-pick-h { font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.g-pick-btn { border: 0; background: #f1efea; color: var(--ink-2); font: 600 13px var(--sans); padding: 7px 12px; border-radius: 4px; cursor: pointer; }
.g-pick-btn:hover { background: #e7e3da; }
.g-pick-work { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--ink); text-decoration: none; min-width: 0; }
.g-pick-work strong { font-family: var(--serif); font-size: 17px; line-height: 1.4; }
.g-pick-work small { color: var(--muted); font-size: 12.5px; }
.g-tag { font-size: 10.5px; letter-spacing: .1em; color: var(--muted); border: 1px solid #d5d0c5; border-radius: 999px; padding: 1px 10px; }
.g-pick-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; }
.g-pick.is-changing .g-pick-work, .g-pick.is-changing .g-pick-img { opacity: .2; transition: opacity .15s; }

.g-row { padding: 56px 0 8px; }
.g-row-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: stretch; }
.g-news { display: grid; grid-template-columns: 150px 1fr; gap: 0; }
.g-news-h { padding-right: 24px; border-right: 1px solid var(--line); }
.g-news-h h2 { font-family: var(--sans); font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.g-news-list { list-style: none; margin: 0; padding: 0 0 0 26px; }
.g-news-list li { font-size: 15px; line-height: 1.6; padding: 3px 0; }
.g-news-list a { display: flex; gap: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.g-news-list a:hover span { text-decoration: underline; }
.g-news-list time { flex: none; color: #9a958a; font-size: 14px; }
.g-news-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-info { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #f7f1ec; padding: 26px 30px; color: var(--ink); text-decoration: none; }
.g-info strong { display: block; font-size: 17px; color: #1f3a33; margin-bottom: 6px; }
.g-info p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.g-circle { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #1f3a33; display: grid; place-items: center; color: #1f3a33; font-size: 18px; transition: background .2s, color .2s; }
.g-info:hover .g-circle { background: #1f3a33; color: #fff; }

.g-sec { padding: 72px 0; }
.g-sec.soft { background: #f8f7f3; border-top: 1px solid #efece5; border-bottom: 1px solid #efece5; }
.g-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid #cfcac0; }
.g-head h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0; }
.g-head .eyebrow { margin-bottom: 8px; }

/* 4개의 문 — 절제된 톤 */
.home .room-grid { gap: 14px; }
.home .room-card a { min-height: 230px; border-radius: 2px; }
.home .room-num { letter-spacing: .08em; }

.g-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.g-col-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #cfcac0; }
.g-col-h h2 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin: 0; }
.g-author { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: start; }
.g-author img { width: 104px; height: 134px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.g-author-txt { font-family: var(--serif); font-size: 15.5px; line-height: 1.85; margin-bottom: 10px; }
.g-author-name { font-size: 13.5px; font-weight: 700; margin: 0; }
.g-author-name span { color: #c9c2b4; font-weight: 400; margin: 0 4px; }
.g-hearts { list-style: none; margin: 0; padding: 0; }
.g-hearts li { padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--line); }
.g-hearts li:last-child { border: 0; margin: 0; }
.g-hearts p { font-family: var(--serif); font-size: 15.5px; line-height: 1.8; margin-bottom: 6px; }
.g-hearts small, .g-empty { color: var(--muted); font-size: 13.5px; }
.g-empty { line-height: 1.9; }
.g-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.g-steps li { counter-increment: s; position: relative; padding: 0 0 16px 40px; }
.g-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--serif); font-weight: 800; color: var(--green); font-size: 17px; }
.g-steps b { display: block; font-size: 15px; }
.g-steps span { font-size: 13.5px; color: var(--muted); }
.work-grid.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* 맨 아래: 책 판매 */
.g-book { background: #1f2a27; color: #e9e5dc; padding: 80px 0; }
.g-book-in { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; max-width: 1000px; }
.g-book-cover img { width: 100%; box-shadow: 18px 22px 44px rgba(0,0,0,.35); }
.g-book .eyebrow { color: #9fd0bf; }
.g-book h2 { color: #fff; font-size: 28px; margin-bottom: 14px; }
.g-book .book-name { color: #fff; }
.g-book .book-spec { color: #b6b1a6; }
.g-book-sum { color: #d8d3c8; }
.g-book-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.g-book .price { margin: 0; }
.g-book .price span, .g-book .price small { color: #b6b1a6; }
.g-book .price b { color: #fff; }
.g-book .btn-row { margin: 0; }
.g-book .btn-buy { background: #e9e5dc; border-color: #e9e5dc; color: #1f2a27; }
.g-book .btn-buy:hover { background: #fff; border-color: #fff; color: #1f2a27; }
.g-book .btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.g-book .btn-line:hover { background: #fff; color: #1f2a27; }
.g-book .buy-note { color: #9fd0bf; margin-top: 14px; }
.g-book .pv-thumbs img { border-color: rgba(255,255,255,.2); }

@media (max-width: 1100px) {
  .g-hero-in { grid-template-columns: 1fr; }
  .g-side { padding: 8px 0 44px; }
  .g-row-in { grid-template-columns: 1fr; }
  .g-cols { grid-template-columns: 1fr 1fr; }
  .work-grid.four { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .topbar-left li:first-child { display: none; }
  .topbar-left li + li { padding-left: 0; } .topbar-left li + li::before { display: none; }
  .topbar ul { gap: 12px; }
  .topbar-right li:nth-child(2) { display: none; }
  .header-in { min-height: 64px; }
  .site-nav { inset: 64px 0 auto 0; max-height: calc(100vh - 64px); }
  .brand-ko { font-size: 18px; }
  .g-banner { grid-template-columns: 1fr 120px; min-height: 0; padding: 36px 0 52px; gap: 12px; }
  .g-banner-art img { border-radius: 50%; }
  .g-title { font-size: 28px; }
  .g-line { margin-bottom: 20px; }
  .g-quote blockquote p { font-size: 23px; }
  .g-find { flex-direction: column; align-items: stretch; }
  .g-all { justify-content: center; }
  .g-pick { grid-template-columns: 1fr auto; padding: 18px; }
  .g-pick-left { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .g-pick-h { margin: 0; }
  .g-pick-work { align-items: flex-start; text-align: left; }
  .g-pick-img { width: 64px; height: 64px; }
  .g-news { grid-template-columns: 1fr; }
  .g-news-h { border-right: 0; padding: 0; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #cfcac0; margin-bottom: 12px; }
  .g-news-list { padding: 0; }
  .g-news-list a { flex-direction: column; gap: 0; }
  .g-sec { padding: 52px 0; }
  .g-head { flex-direction: column; align-items: flex-start; }
  .g-cols { grid-template-columns: 1fr; gap: 44px; }
  .work-grid.four { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home .room-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .home .room-card a { min-height: 170px; padding: 18px 16px; }
  .home .room-title { font-size: 18px; }
  .home .room-theme { font-size: 13px; }
  .work-grid.four .work-card h3 { font-size: 16px; }
  .work-grid.four .work-card-body { padding: 12px; }
  .g-book { padding: 56px 0; }
  .g-book-in { grid-template-columns: 1fr; gap: 32px; }
  .g-book-cover { max-width: 200px; margin: 0 auto; }
  .g-book-buy .btn-row { width: 100%; }
}

/* 작가의 말 + 작가 사진 */
.g-quote { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.g-quote-photo { display: block; }
.g-quote-photo img { width: 150px; height: 188px; object-fit: cover; object-position: center 15%; border-radius: 75px 75px 4px 4px; background: #e9e5dc; box-shadow: 0 10px 24px rgba(37,37,37,.12); }
.g-quote figcaption strong { color: var(--ink); }
@media (max-width: 640px) {
  .g-quote { grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
  .g-quote-photo img { width: 96px; height: 122px; border-radius: 48px 48px 4px 4px; }
  .g-quote blockquote p { font-size: 20px; }
}
.author-photo { object-position: center 15%; }
@media (min-width: 641px) {
  .g-quote { grid-template-columns: 128px 1fr; gap: 24px; }
  .g-quote-photo img { width: 128px; height: 164px; border-radius: 64px 64px 4px 4px; }
  .g-quote blockquote p { font-size: clamp(20px, 1.75vw, 24px); line-height: 1.55; }
}

/* 로고 */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand-name { display: flex; flex-direction: column; }
.footer-title { display: flex; align-items: center; gap: 10px; }
.footer-title img { width: 40px; height: 40px; opacity: .9; }
@media (max-width: 640px) { .brand-logo { width: 38px; height: 38px; } .brand { gap: 9px; } }

/* ===== 인트로 모션 ===== */
.intro { display: none; }
.intro.is-on { outline: none; display: block; position: fixed; inset: 0; z-index: 300; background: #0b0d0c; color: #f3efe6; overflow: hidden; }
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro-stage { position: absolute; inset: 0; overflow: hidden; }
.intro-frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: var(--ox, 65%) var(--oy, 50%); animation: introKen 16s ease-out forwards; }
.intro-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; filter: grayscale(.45) brightness(.82) blur(10px); animation: introImg 3.2s ease-out .2s forwards; }
@keyframes introImg { to { opacity: 1; filter: grayscale(.45) brightness(.82) blur(0); } }
@keyframes introKen { from { transform: scale(1.1); } to { transform: scale(1); } }

.intro-gleam { position: absolute; width: 5vmin; height: 5vmin; margin: -3.4vmin 0 0 -2.5vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 65%); opacity: 0; animation: introGleam 3s ease-in-out 2.2s infinite; }
@keyframes introGleam { 0%, 100% { opacity: 0; transform: scale(.7); } 45% { opacity: .9; transform: scale(1.1); } }

.intro-tear { position: absolute; width: 1.9vmin; min-width: 13px; aspect-ratio: 2 / 3; margin-left: max(-.95vmin, -6.5px); opacity: 0; transform-origin: 50% 0; filter: drop-shadow(0 0 3px rgba(255,255,255,.35)); }
.intro-tear svg { width: 100%; height: 100%; display: block; }
.intro-tear.t1 { animation: introTear 5.2s cubic-bezier(.45,0,.55,1) 2.6s forwards; }
.intro-tear.t2 { animation: introTear 5.2s cubic-bezier(.45,0,.55,1) 7.4s forwards; }
@keyframes introTear {
  0%   { opacity: 0; transform: translateY(0) scale(.2); }
  18%  { opacity: 1; transform: translateY(0) scale(.85); }
  34%  { opacity: 1; transform: translateY(.6vmin) scale(1, 1.08); }
  80%  { opacity: .95; transform: translateY(var(--fall, 16vmin)) scale(.95, 1.12); }
  100% { opacity: 0; transform: translateY(calc(var(--fall, 16vmin) * 1.25)) scale(.7); }
}
.intro-trail { position: absolute; width: 2px; margin-left: -1px; height: var(--fall, 16vmin); transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(to bottom, rgba(230,242,248,.55), rgba(230,242,248,.15) 70%, rgba(230,242,248,0)); filter: blur(.4px); animation: introTrail 4.4s ease-in 3.4s forwards; border-radius: 2px; }
@keyframes introTrail { 0% { transform: scaleY(0); opacity: .9; } 70% { transform: scaleY(1); opacity: .8; } 100% { transform: scaleY(1); opacity: .45; } }

.intro-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,9,.88) 0%, rgba(8,10,9,.62) 34%, rgba(8,10,9,0) 62%), linear-gradient(0deg, rgba(8,10,9,.55), rgba(8,10,9,0) 30%); }
.intro-text { position: absolute; left: max(6vw, 24px); top: 50%; transform: translateY(-50%); max-width: min(560px, 46vw); }
.intro-line, .intro-title, .intro-sub, .intro-enter { opacity: 0; animation: introRise 1.6s cubic-bezier(.2,.7,.2,1) var(--d, 1s) forwards; }
@keyframes introRise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.intro-line { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 24px); line-height: 1.75; color: #e7e1d4; margin: 0 0 .5em; letter-spacing: -.01em; }
.intro-title { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.25; color: #fff; margin: 34px 0 14px; letter-spacing: -.02em; }
.intro-sub { font-size: clamp(14.5px, 1.2vw, 16.5px); color: #bfb9ad; letter-spacing: .02em; margin: 0 0 34px; }
.intro-enter { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; font: 600 15.5px var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .25s, color .25s; }
.intro-enter:hover, .intro-enter:focus-visible { background: #fff; color: #111; }
.intro-skip { position: absolute; right: 22px; top: 18px; z-index: 2; background: rgba(0,0,0,.25); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px; font: 500 13px var(--sans); cursor: pointer; }
.intro-skip:hover { color: #fff; border-color: #fff; }
.intro.is-out { animation: introOut 1s ease forwards; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

@media (max-width: 760px) {
  .intro-shade { background: linear-gradient(0deg, rgba(8,10,9,.96) 0%, rgba(8,10,9,.88) 40%, rgba(8,10,9,.35) 56%, rgba(8,10,9,0) 66%); }
  .intro-text { left: 22px; right: 22px; top: auto; bottom: 7vh; transform: none; max-width: none; }
  .intro-title { margin-top: 18px; }
  .intro-line { font-size: 17px; }
  .intro-enter { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-frame, .intro-img, .intro-gleam, .intro-line, .intro-title, .intro-sub, .intro-enter, .intro-tear.t2 { animation: none !important; opacity: 1; filter: grayscale(.45) brightness(.82); transform: none; }
  .intro-line, .intro-title, .intro-sub, .intro-enter { filter: none; }
  .intro-tear.t1 { animation: none; opacity: 1; transform: translateY(calc(var(--fall, 16vmin) * .5)); }
  .intro-trail { animation: none; transform: scaleY(.5); opacity: .6; }
  .intro-tear.t2, .intro-gleam { display: none; }
}

/* 전시실 카드: 시집 그림 배경 */
.room-card.has-img a { background-image: linear-gradient(180deg, rgba(14,18,16,.25) 0%, rgba(14,18,16,.55) 45%, rgba(14,18,16,.9) 100%), var(--room-img); background-size: cover; background-position: center; }
.room-card.has-img a::after { display: none; }
.room-card.has-img .room-title { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.room-card.has-img a:hover { filter: brightness(1.06); }
.home .room-card.has-img a { min-height: 300px; justify-content: flex-end; }
.home .room-card.has-img .room-num { margin-bottom: auto; }
.room-desc { font-family: var(--serif); font-size: 18px; line-height: 1.9; color: var(--ink); border-left: 2px solid var(--green); padding: 4px 0 4px 20px; margin: 0 0 30px; }
.room-desc p { margin: 0 0 .5em; }
/* 책 판매: 작가의 부탁 */
.g-book-plea { margin: 0 0 24px; padding: 0 0 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.g-book-plea p { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.75; color: #fff; margin: 0; }
@media (max-width: 640px) { .home .room-card.has-img a { min-height: 200px; } }

.about-summary { font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.7; color: var(--green); margin: 30px 0 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prologue { margin: 0 0 48px; }
.serif-prose { font-family: var(--serif); font-size: 17.5px; line-height: 2; }
.serif-prose p { margin-bottom: 1.3em; }

/* ===== 가독성 보정: 작은 글씨는 고딕, 시·제목은 또렷한 명조 ===== */
body { color: #1f1f1f; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .g-title, .poem-title, .book-name, .room-title, .g-quote blockquote p, .g-book-plea p, .intro-title { font-weight: 700; }
.poem, .serif-prose, .lead.serif, .about-summary { font-weight: 500; color: #1c1c1c; }
.poem { letter-spacing: -0.005em; }
/* 메인 3단·감상 카드 등 작은 본문은 고딕체로 */
.g-author-txt, .g-hearts p, .heart, .author-quote, .g-pick-work strong, .work-card h3, .pager a, .toc strong, .steps b, .g-steps b {
  font-family: var(--sans);
}
.g-author-txt { font-size: 15.5px; line-height: 1.8; color: #2a2a2a; font-weight: 400; }
.g-hearts p, .heart { font-size: 15.5px; line-height: 1.8; color: #2a2a2a; }
.author-quote { font-size: 17px; line-height: 1.9; color: #2a2a2a; font-weight: 400; }
.work-card h3 { font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.g-pick-work strong { font-weight: 700; font-size: 16px; }
.muted, .work-meta, .g-news-list time, .g-steps span, .hint, .result-count { color: #5f5a51; }
.g-author-name, .g-author-name span { color: #1f1f1f; }
.intro-line { font-weight: 500; }

/* 인트로 배경 음악 버튼 */
.intro-sound { position: absolute; left: 22px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; background: rgba(0,0,0,.28); color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 8px 16px 8px 13px; font: 500 13px var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.intro-sound:hover { border-color: #fff; color: #fff; }
.intro-sound .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.intro-sound .eq i { display: block; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.intro-sound.is-on .eq i { animation: introEq 1s ease-in-out infinite; }
.intro-sound.is-on .eq i:nth-child(2) { animation-delay: .2s; }
.intro-sound.is-on .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes introEq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.intro-sound.ask { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.75); animation: introAsk 2.2s ease-in-out 1.2s infinite; }
@keyframes introAsk { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .intro-sound.is-on .eq i, .intro-sound.ask { animation: none; } }
