/* 아트인문학 — 브랜드 사이트 스타일
   색: 로고의 검정과 주홍. 명화는 옅게 깔고 나머지는 흰 벽처럼 조용하게. 서체: Pretendard 하나. */
:root {
  --ink: #1a1a1a;
  --soft: #5f5f5f;
  --red: #c8360f;
  --red-deep: #a32a09;
  --line: #e3e3e3;
  --grey: #f4f4f4;
  --white: #fff;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1180px;
  --gap: clamp(20px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--white); word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.28; letter-spacing: -0.025em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.narrow > * { max-width: 760px; }
.hero > .wrap, .phero > .wrap { width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.muted { color: var(--soft); font-size: 15px; }
.measure { max-width: 40em; }
.center { text-align: center; margin-top: 48px; }
.mt { margin-top: 48px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 14px; font-weight: 600; color: var(--red); margin-bottom: 8px; }
.big-lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; font-weight: 500; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.link:hover { color: var(--red); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font: 600 16px/1 var(--font); border-radius: 4px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.copied { background: var(--ink) !important; color: #fff !important; }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hd-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); line-height: 1; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: 15px; }
.nav-btn { display: none; }
@media (max-width: 920px) {
  .logo { font-size: 22px; }
  .nav-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: 600 15px var(--font); color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gap) 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* 명화 배경 */
.art { position: relative; overflow: hidden; isolation: isolate; }
.art-bg { position: absolute; inset: -48px 0; z-index: -2; background-size: cover; background-repeat: no-repeat; opacity: .26; filter: saturate(.75); will-change: transform; transform: translate3d(0, var(--y, 0px), 0) scale(var(--s, 1.04)); }
.art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.9) 32%, rgba(255,255,255,.35) 68%, rgba(255,255,255,.05) 100%); }
.art-label { position: absolute; right: var(--gap); bottom: 18px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--soft); text-align: right; }
.art-label span { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .art::after { background: rgba(255,255,255,.62); }
  .art-label { left: var(--gap); text-align: left; }
}

/* 홈 히어로 */
.hero { min-height: min(86vh, 800px); display: flex; align-items: center; padding: 96px 0 110px; }
.hero .art-bg { opacity: .3; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); line-height: 1.12; letter-spacing: -0.045em; margin-bottom: 28px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: #333; max-width: 32em; margin-bottom: 32px; }

/* 하위 페이지 머리 */
.phero { min-height: 420px; display: flex; align-items: center; padding: 96px 0 110px; }
.phero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.04em; }
.phero-plain { min-height: 60vh; }
.p-contact .phero h1 { font-size: clamp(30px, 4.2vw, 52px); }

/* 강연 안내 밴드 */
.band { background: var(--ink); color: #fff; }
.band-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); padding-top: 56px; padding-bottom: 56px; align-items: center; }
.band h2 { font-size: clamp(22px, 2.6vw, 30px); }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 16px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; }
.band .chips a:hover { background: #fff; color: var(--ink); }
.sec .chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-card { background: #fff; color: var(--ink); padding: 28px; border-top: 5px solid var(--red); }
.cc-h { font-weight: 700; margin-bottom: 10px; }
.cc-line { font-size: 21px; font-weight: 700; margin-bottom: 2px; }
.cc-line a { text-decoration: none; }
.contact-card .btn { margin-top: 16px; }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; } }

/* 섹션 */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec-grey { background: var(--grey); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-h h2 { margin: 0; }

/* 신간 */
.newbook { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.newbook-lg { grid-template-columns: 360px minmax(0, 1fr); }
.newbook h2 { font-size: clamp(26px, 3.2vw, 38px); }
@media (max-width: 760px) { .newbook, .newbook-lg { grid-template-columns: 1fr; } .newbook img { max-width: 260px; } }

/* 한줄평 */
.rv { margin: 0 0 16px; padding: 0 0 0 16px; border-left: 3px solid var(--red); }
.rv p { margin: 0; font-weight: 500; }
.rv cite { display: block; font-style: normal; font-size: 13.5px; color: var(--soft); margin-top: 2px; }
.rv-lg p { font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.5; }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 720px) { .voices { grid-template-columns: 1fr; } }

/* 명화 띠 */
.band-art { padding: clamp(80px, 10vw, 128px) 0; }
.band-art .art-bg { opacity: .22; }
.band-art p { font-size: 18px; }

/* 서가 */
.shelf { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 20px; overflow-x: auto; }
.shelf img { width: 100%; aspect-ratio: 600 / 830; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.shelf a:hover img { outline: 2px solid var(--ink); outline-offset: 4px; }

/* 유튜브 */
.stats { display: flex; flex-wrap: wrap; gap: 16px 64px; margin: 0 0 6px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--soft); font-size: 15px; }
.stats dd { margin: 0; font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1.15; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.video { margin: 0; }
.video-play, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; position: relative; overflow: hidden; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--red); }
.play::after { content: ""; position: absolute; left: 24px; top: 18px; border: 12px solid transparent; border-left: 17px solid #fff; border-right: 0; }
.video-play:hover .play { background: var(--red-deep); }
.video figcaption { margin-top: 12px; font-weight: 600; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; max-width: 560px; } }

/* 저자 */
.author-teaser { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.author-teaser img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.author-teaser h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.lines { list-style: none; margin: 0 0 24px; padding: 0; }
.lines li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.lines li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .author-teaser { grid-template-columns: 1fr; } .author-teaser img { max-width: 280px; } }
.author-hero img { width: 100%; max-height: 620px; object-fit: cover; object-position: 50% 28%; }
.author-name { font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.04em; margin-bottom: 8px; }
.author-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--gap); }
.h-sm { font-size: 18px; }
@media (max-width: 760px) { .author-grid { grid-template-columns: 1fr; } }

/* 아트인문학 소개 */
.fish { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; border-top: 2px solid var(--ink); }
.fish div { padding: 20px 18px 8px 0; }
.fish div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.fish dt { font-size: 14px; color: var(--soft); font-weight: 600; }
.fish dd { margin: 0; }
.fish dd:not(.fd) { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.fish div:last-child dd:not(.fd) { color: var(--red); }
.fd { font-size: 15px; color: var(--soft); margin-top: 6px !important; line-height: 1.6; }
@media (max-width: 720px) { .fish { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fish div:nth-child(3) { padding-left: 0; border-left: 0; } }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* 강연 */
.lenses { list-style: none; padding: 0; margin: 24px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.lenses li { padding: 8px 18px; background: var(--grey); border-radius: 999px; font-weight: 600; font-size: 15px; }
.who { margin: 32px 0; }
.who div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.who div:first-child { border-top: 1px solid var(--line); }
.who dt { font-weight: 700; }
.who dd { margin: 0; }
@media (max-width: 520px) { .who div { grid-template-columns: 1fr; gap: 2px; } }
.topics { display: grid; gap: 20px; }
.topic { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; background: #fff; padding: 36px; scroll-margin-top: 96px; }
.topic:target { outline: 2px solid var(--red); }
.t-covers { display: flex; gap: 8px; align-items: flex-start; }
.t-covers img { flex: 1 1 0; min-width: 0; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.topic h3 { font-size: 24px; margin-bottom: 4px; }
.t-sub { color: var(--soft); font-weight: 600; }
.t-q { font-size: 18px; font-weight: 700; border-left: 3px solid var(--red); padding-left: 14px; }
.t-books { font-size: 14.5px; color: var(--soft); }
@media (max-width: 720px) { .topic { grid-template-columns: 1fr; padding: 24px; } .t-covers { max-width: 240px; } }

/* 저서 */
.books { display: grid; gap: 20px; }
.book { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 36px; background: #fff; padding: 32px; scroll-margin-top: 96px; }
.book img { aspect-ratio: 600 / 830; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.book h3 { font-size: 22px; }
.b-rel { font-size: 14.5px; color: var(--soft); margin-top: 8px; }
.b-rel a { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .book { grid-template-columns: 1fr; padding: 24px; } .book img { max-width: 180px; } }

/* 문의 */
.channel { border-top: 5px solid var(--red); padding-top: 24px; }
.ch-h { font-weight: 600; color: var(--soft); }
.ch-big { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; word-break: break-all; }
.ch-big a { text-decoration: none; }
.template { background: #fff; border: 1px solid var(--line); padding: 20px; font: 16px/1.9 var(--font); white-space: pre-wrap; margin: 0 0 16px; }

/* 마무리 CTA */
.cta { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; max-width: 18em; }
.cta .btn-line { background: transparent; color: #fff; border-color: #fff; }
.cta .btn-line:hover { background: #fff; color: var(--ink); }

/* 하단 */
.ft { background: var(--grey); font-size: 15px; padding: 56px 0 28px; color: var(--soft); }
.ft a { color: var(--ink); text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.ft-logo { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 6px; }
.ft-h { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ft-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.ft-bottom p { margin: 0; }
@media (max-width: 720px) { .ft-in { grid-template-columns: 1fr; } }

/* 모바일 하단 고정 문의 */
.m-cta { display: none; }
@media (max-width: 720px) {
  .m-cta { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; min-height: 52px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
  body { padding-bottom: 84px; }
  .p-contact .m-cta { display: none; }
}
.sec .chips { margin-bottom: 24px; }
