*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-serif); font-size: var(--t-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; overflow-wrap: break-word;
}
.lang-ja { --f-serif: "LF Serif JP", "Noto Serif JP", "Hiragino Mincho ProN", serif; word-break: normal; line-break: strict; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em, i { font-style: normal; }
a { color: inherit; }
b, strong { font-weight: 600; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; font: 600 13px var(--f-sans); text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* 등장(enter) — JS가 있을 때만 숨긴다. 재조정 실측: 표지 opacity 2s cubic-bezier(.33,1,.68,1)·지연 .09s,
   갤러리 y 24px, 섹션 단어 x −32px. 글 블록은 y 24px + 같은 곡선 */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out); }
.js .sec-word.rv { transform: translateX(calc(-1 * min(32px, var(--gutter)))); }   /* 실측 −32px. 좌우 여백이 32px보다 좁은 폭에서는 여백만큼만(화면 밖으로 잘리지 않게) */
.js .book.rv, .js .flagship.rv, .js .spread.rv { transform: none; }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* 라벨 — Intranquilles text-size-tiny 14px uppercase 자간 .07em → Inter */
.label, .idx-num, .card-meta, .flag-tag, .page-tag, .arch-role, .cap-label {
  font-family: var(--f-sans); font-size: var(--t-label); letter-spacing: .07em; text-transform: uppercase; font-weight: 400;
}

/* 채운 버튼 — 재조정: 레퍼런스에서 유일하게 채운 요소인 '책 보기' 커서 라벨 문법(검정 바탕·흰 글자·14px 700·자간 .07em·모서리 4px·그림자 없음).
   호버는 레퍼런스 'VOIR PLUS'와 같은 문법: 글자 밑줄이 오른쪽으로 줄어 사라짐 1.2s. 바탕·테두리·그림자 변화 없음 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 700 14px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border-radius: var(--r-btn);
}
.lang-ko .btn, .lang-ja .btn { font-family: var(--f-serif); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 15px; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--on-block); color: var(--block); }
.btn-t { position: relative; padding: 4px 0; }
.btn-t::after, .ulink::after, .top-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--hair); background: currentColor;
  transform-origin: right center; transition: transform var(--d-line) var(--ease);
}
.btn:hover .btn-t::after, .ulink:hover::after, .top-cta:hover::after { transform: scaleX(0); }
/* 밑줄 링크 — 재조정 실측 'VOIR PLUS →': 14px 400 uppercase 자간 .07em, 글자와 화살표 사이 10px, 아래 4px에 0.5px 선, 호버 시 선이 오른쪽으로 줄어듦(transform 1.2s) */
.ulink {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; color: inherit; text-decoration: none;
  font: 400 14px/1.2 var(--f-sans); letter-spacing: .07em; text-transform: uppercase;
}
.ulink::after { bottom: 7px; }
.lang-ko .ulink, .lang-ja .ulink { font-family: var(--f-serif); text-transform: none; letter-spacing: .04em; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .btn-t::after, .ulink::after, .top-cta::after { transition: none; } }

/* 섹션 머리 — 좌측 대문자 세리프 단어 + 한글 제목 */
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-word { font-family: var(--f-display); font-weight: 300; font-size: var(--t-word); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.sec-h2 { font-weight: 400; font-size: var(--t-h2); line-height: var(--lh-h); letter-spacing: -.005em; color: var(--ink-2); }
.sec-h2 .text-gold { color: var(--ink); font-weight: 600; }
.sec-sub { margin-top: 14px; color: var(--ink-3); font-size: 16px; }

/* 머리 — 재조정 실측: 고정(position fixed) 59px 바탕색 바, 왼쪽 메뉴 16px 350(문장형, 자간 0), 오른쪽 조작부,
   스크롤하면 가운데 작은 워드마크가 위에서 23px 내려오며 나타남(.4s cubic-bezier(.33,0,.2,1)). 머리는 숨지 않는다 */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--head); display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px); padding: 0 var(--gutter); background: var(--paper); transition: box-shadow .4s var(--ease-nav); }
.top.is-scrolled { box-shadow: inset 0 calc(-1 * var(--hair)) 0 var(--line); }
.logo { display: inline-flex; width: 32px; height: 32px; flex: none; }
.logo img { width: 100%; height: 100%; }
.top-nav { display: flex; gap: clamp(14px, 2.1vw, 30px); }
.lang { display: flex; gap: clamp(12px, 2.1vw, 30px); margin-left: auto; }
.top a:not(.logo) { position: relative; display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--ink); font: 400 15px/1.2 var(--f-sans); letter-spacing: 0; transition: color var(--d-fast) var(--ease); }
.top a:not(.logo):hover { color: var(--ink-3); }
.top a[aria-current] { text-decoration: underline; text-decoration-thickness: var(--hair); text-underline-offset: 6px; }
.top .top-cta { font-weight: 600; }
.top-cta::after { bottom: 6px; }
.top-mark { position: absolute; left: 50%; top: 0; height: var(--head); display: flex; align-items: center; padding-left: .3em; font: 400 22px/1 var(--f-display); letter-spacing: .3em; color: var(--ink); pointer-events: none; opacity: 0; transform: translate(-50%, -23px); transition: transform .4s var(--ease-nav), opacity .4s var(--ease-nav); }
.top.is-scrolled .top-mark { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1100px) { .top-mark { display: none; } }
@media (max-width: 760px) { .top-nav { display: none; } }
@media (max-width: 420px) { .top { gap: 12px; } .lang { gap: 10px; } .top a:not(.logo) { font-size: 14px; } }

/* 히어로 */
.hero { padding-top: var(--head); }
.wordmark { max-width: var(--max); margin: 6px auto 0; padding: 0 var(--gutter); box-sizing: content-box; }
.wordmark svg { width: 100%; height: auto; overflow: visible; }
.wordmark text { font-family: var(--f-display); font-size: 134px; font-weight: 400; fill: var(--ink); }   /* 재조정: 대문자 높이 ≈ 레퍼런스 워드마크(1440에서 약 112px) */
.hero-block { position: relative; overflow: hidden; margin-top: clamp(8px, 1vw, 14px); background: var(--block); color: var(--on-block); }
/* 실사 보강(2026-11-05): 3D 혼천의 → 레퍼런스와 같은 '표지 한 권' 슬라이드. 실측 그대로:
   1440 색면 917px(63.7vw), 표지 520×743(36.1vw × 51.6vw) 가로 가운데, 위아래 87px(6.0vw).
   390 색면 544px(139.5vw), 표지 240×344(61.5vw), 위아래 100px(25.6vw). 5.5초 머묾 · 0.6초 페이드(app.js), 색면 색도 표지에 맞춰 바뀐다 */
.hero-block { height: 63.7vw; }
@media (max-width: 759px) { .hero-block { height: 139.5vw; } }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.slide.bg-block { background: var(--block); }
.slide.bg-paper { background: var(--paper-2); }
.cover-hero { width: 36.1vw; aspect-ratio: 520 / 743; }
.cover-hero .cover-in { inset: max(30px, 8%); gap: 16px; }
.cover-hero .cover-title { font-size: clamp(16px, 2.3vw, 34px); line-height: 1.3; }
@media (max-width: 759px) { .cover-hero { width: 61.5vw; aspect-ratio: 240 / 344; } .cover.cover-hero .cover-in { gap: 8px; padding-top: 7%; } .cover-hero .cover-title { font-size: 16px; } .cover-hero .cover-photo { height: 57%; } }
.hero-block.on-paper .hero-caption { color: var(--ink-3); }
.hero-block.on-paper .cap-name { color: var(--ink); }
.hero-caption { transition: color .6s var(--ease); }
/* 소개 단락 — 재조정: 레퍼런스 section_intro 자리(색면 아래, 위아래 50px, 32px 500 세리프, 앞부분 진하고 뒷부분 옅은 2단 명도, 20px 간격, 밑줄 링크) */
.intro { padding-top: clamp(32px, 3.5vw, 50px); padding-bottom: clamp(32px, 3.5vw, 50px); }
.hero-copy { max-width: none; }
.hero-title { font-weight: 400; font-size: var(--t-h1); line-height: 1.38; letter-spacing: 0; color: var(--ink-3); }
.hero-title em { color: var(--ink); font-weight: 600; white-space: nowrap; }
.hero-slogan { margin-top: 20px; display: grid; gap: 2px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.hero-slogan .sl-en { font-family: var(--f-display); font-size: 19px; letter-spacing: .01em; }
.hero-slogan .sl-jp { font-size: 14px; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-actions .ulink { color: var(--ink); }
/* 좌하단 캡션 — atmos.gallery 'Based on / Frozen Slate' 두 줄 문법 */
.hero-caption { position: absolute; left: var(--gutter); bottom: clamp(20px, 2.4vw, 32px); display: grid; gap: 2px; color: var(--on-block-2); }
.cap-label { font-size: 11px; }
.cap-name { font-size: 15px; color: var(--on-block); min-height: 1.6em; }

/* 문제 제기 */
.problem { padding: var(--sec) 0; }
.problem-text { display: grid; gap: clamp(26px, 3vw, 40px); }
.problem-text p { max-width: 860px; margin-left: clamp(0px, calc(15vw - 60px), 210px); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.85; color: var(--ink-2); font-weight: 300; }
.problem-text p.p1 { font-size: clamp(30px, 4.6vw, 66px); line-height: 1.3; color: var(--ink); margin-left: 0; max-width: none; font-weight: 300; }
.problem-text p.p1 strong { font-weight: 600; }
.problem-text p.p3 { color: var(--ink); font-size: clamp(20px, 2vw, 28px); line-height: 1.6; }
.lang-ja .problem-text p.p1 strong { white-space: nowrap; }

/* 12 SYSTEMS — 책 목차(인덱스) 행, 화면에 들어오면 차례로 점등(sequence) */
.systems { padding-bottom: var(--sec); }
.constellation { position: relative; height: clamp(120px, 15vw, 210px); margin: 0 0 clamp(16px, 2vw, 28px); background: url("assets/poster/constellation.png") center / 100% 100% no-repeat; }
.index { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--line-strong); }
.idx { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 18px 0 16px; border-bottom: 1px solid var(--line); position: relative; }
.idx::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.idx-num { color: var(--ink-3); }
.idx-name { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: var(--ink); transition: color .5s var(--ease); }
.idx-en { font-family: var(--f-sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.js .index.seq .idx .idx-name { color: var(--ink-3); }
.js .index.seq .idx.lit .idx-name { color: var(--ink); }
.js .index.seq .idx.lit::after { transform: scaleX(1); }
.idx:hover .idx-name { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (max-width: 760px) { .index { grid-template-columns: 1fr; } .idx { grid-template-columns: 44px minmax(0, 1fr) auto; } }

/* 運 / 命 — 반복 글자 테두리 패널(Intranquilles Fiction / Non fiction) */
.unmyeong { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: 1fr 1fr; }
/* 재조정 실측(Nos collections): 화면 폭 꽉 찬 두 칸(720×1116 = 0.645), 모바일도 두 칸(195×302). 호버: 바탕 brightness(1.4) .4s + transform .6s */
.panel { position: relative; isolation: isolate; aspect-ratio: 720 / 1116; display: grid; place-items: center; padding: 64px 52px; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: filter .4s var(--ease), transform .6s var(--ease); }
.panel:hover::before { filter: brightness(1.4); transform: scale(1.03); }
.panel-0 { color: var(--on-block); }
.panel-0::before { background: radial-gradient(90% 80% at 40% 30%, #2c3458, var(--block)); }
.panel-1 { color: var(--ink); }
.panel-1::before { background: radial-gradient(90% 80% at 60% 30%, var(--page), var(--paper-2)); }
.panel-1:hover::before { filter: brightness(1.06); }
.panel-frame .b { position: absolute; white-space: nowrap; overflow: hidden; font-family: var(--f-serif); font-size: 12px; line-height: 1; letter-spacing: .3em; }
.panel-frame .b::before { content: attr(data-t); }
.panel-0 .panel-frame .b, .final .panel-frame .b { color: rgba(239, 234, 215, .6); }
.panel-1 .panel-frame .b { color: rgba(33, 40, 68, .72); }
.panel-frame .t, .panel-frame .bt { left: 40px; right: 40px; height: 14px; }
.panel-frame .t { top: 16px; }
.panel-frame .bt { bottom: 16px; transform: rotate(180deg); }
.panel-frame .l, .panel-frame .r { top: 40px; bottom: 40px; width: 14px; writing-mode: vertical-rl; }
.panel-frame .r { right: 16px; }
.panel-frame .l { left: 16px; transform: rotate(180deg); }
.panel-glyph { font-family: var(--f-serif); font-weight: 200; font-size: clamp(72px, 15vw, 230px); line-height: 1; }
.panel figcaption { align-self: end; text-align: center; font-size: clamp(14px, 1.6vw, 21px); line-height: 1.6; }
.panel figcaption em { font-weight: 600; }
.philo-lead { margin-top: clamp(48px, 6vw, 80px); text-align: center; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.5; font-weight: 300; }
.philo-body { margin: 24px auto 0; max-width: 760px; text-align: center; color: var(--ink-2); font-size: 17px; line-height: 1.9; }
.lang-en .philo-body, .lang-ja .philo-body { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 760px) { .panel { padding: 44px 22px 40px; } .panel-frame .t, .panel-frame .bt { left: 30px; right: 30px; } .panel-frame .l, .panel-frame .r { top: 30px; bottom: 30px; } .panel-frame .t { top: 10px; } .panel-frame .bt { bottom: 10px; } .panel-frame .l { left: 10px; } .panel-frame .r { right: 10px; } .panel-frame .b { font-size: 10px; } }

/* 상품 */
.products { padding-bottom: var(--sec); }
.frag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(24px, 5vw, 80px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line-strong); }
.frag-h3 { font-weight: 400; font-size: var(--t-h3); line-height: var(--lh-h); grid-row: span 2; }
.frag-ps { display: grid; gap: 14px; color: var(--ink-2); font-size: 16px; }
.frag-ps b { color: var(--ink); }
.frag-cols { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 40px); }
.frag-col { padding-top: 14px; border-top: 1px solid var(--line); }
.frag-col.whole { border-top: 2px solid var(--ink); }
.frag-col-t { font-family: var(--f-sans); font-size: 12px; letter-spacing: .12em; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.frag-col.whole .frag-col-t { color: var(--ink); }
.frag-col li { font-size: 15px; line-height: 1.7; color: var(--ink-2); padding-left: 16px; position: relative; }
.frag-col li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: currentColor; }
.frag-col.whole li { color: var(--ink); }
@media (max-width: 860px) { .frag { grid-template-columns: 1fr; gap: 18px; } .frag-h3 { grid-row: auto; } }
@media (max-width: 520px) { .frag-cols { grid-template-columns: 1fr; gap: 18px; } }

/* 책 표지 오브제(새로 만든 CSS 오브제) + hover: 표지가 빛을 받는다 */
.cover { position: relative; background: var(--block); color: var(--on-block); overflow: hidden; --mx: 30%; --my: 20%; --lit: 0; }
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--mx) var(--my), rgba(255, 252, 240, .38), transparent 70%); opacity: var(--lit); transition: opacity .5s var(--ease); pointer-events: none; mix-blend-mode: screen; z-index: 2; }
.cover-ring .b { position: absolute; white-space: nowrap; overflow: hidden; font-family: var(--f-display); font-size: 10px; letter-spacing: .2em; line-height: 1; color: rgba(239, 234, 215, .62); }
.cover-ring .b::before { content: attr(data-t); }
.cover-ring .t, .cover-ring .bt { left: 30px; right: 30px; height: 11px; }
.cover-ring .t { top: 12px; }
.cover-ring .bt { bottom: 12px; transform: rotate(180deg); }
.cover-ring .l, .cover-ring .r { top: 30px; bottom: 30px; width: 11px; writing-mode: vertical-rl; }
.cover-ring .r { right: 12px; }
.cover-ring .l { left: 12px; transform: rotate(180deg); }
.cover-in { position: absolute; inset: 30px; border: 1px solid rgba(239, 234, 215, .35); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 12px; }
.cover-sys { font-family: var(--f-sans); font-size: 10px; letter-spacing: .24em; color: var(--on-block-2); }
.cover-title { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; font-weight: 500; }
.cover-brand { font-family: var(--f-display); font-size: 14px; letter-spacing: .3em; color: var(--on-block-2); }
/* 실사 보강(2026-11-05): 표지 사진 — 레퍼런스 표지처럼 아래쪽에 잉크 한 색 사진이 표지 가장자리까지 깔리고,
   위쪽은 제목 자리. 사진 배경색 = 표지 바탕색(src/duotone.py)이라 경계가 안 보인다. 위 가장자리는 한 번 더 녹인다 */
.cover-photo { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; object-fit: contain; object-position: 50% 100%; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
.cover-ring, .cover-in { z-index: 1; }
.cover-ring { position: absolute; inset: 0; }
.cover .cover-in { justify-content: flex-start; padding-top: 9%; }
.cover-in > * { position: relative; }
/* 대표 상품 — Intranquilles 'À la une' 목업 연출(재조정 실측): 정면·기울기 0°, 표지 비율 0.655(470×717), 폭 32.6vw,
   오른쪽 칸 가운데, 빛은 왼쪽 위 → 그림자는 오른쪽 아래로 길고 부드럽게, 왼쪽 가장자리에 책등 접힘 음영. 호버 시 움직이지 않음 */
.flagship { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; background: var(--block); color: var(--on-block); }
.coverlight { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.flag-stage { position: relative; order: 2; display: grid; place-items: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px); background: var(--block); }
.cover-xl { width: min(32.6vw, 470px, 82%); aspect-ratio: 470 / 717; box-shadow: 14px 26px 34px -8px rgba(8, 10, 22, .62), 4px 6px 10px rgba(8, 10, 22, .32), -2px 2px 6px rgba(8, 10, 22, .18); }
.cover-xl::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .26) 0, rgba(255, 255, 255, .1) 1.4%, rgba(0, 0, 0, .12) 2.6%, transparent 5%), linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%); }
.flag-copy { order: 1; padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px); align-self: center; }
.flag-tag { color: var(--on-block-2); margin-bottom: 18px; }
.flag-title { font-weight: 300; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.24; }
.flag-price { margin-top: 14px; font: 600 clamp(28px, 2.6vw, 38px)/1.1 var(--f-sans); letter-spacing: -.01em; }
.flag-desc { margin-top: 18px; color: var(--on-block-2); font-size: 16px; }
.flagship .card-meta { margin-top: 10px; color: var(--on-block-2); }
.flagship .btn { margin-top: 32px; }
.card-meta { color: var(--ink-3); letter-spacing: .02em; text-transform: none; font-size: 12px; line-height: 1.6; font-weight: 400; }
@media (max-width: 860px) { .flagship { grid-template-columns: 1fr; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); } .flag-stage { order: 1; } .flag-copy { order: 2; } .cover-xl { width: min(61.5vw, 300px); } }

/* 서가 — Intranquilles 'Nouveautés': 표지가 엇갈려 놓이고, 아래에 제목·작은 정보 */
.shelf { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 2.6vw, 40px); }
.book { display: flex; flex-direction: column; gap: 10px; }
.js .book.rv { transition-delay: calc(var(--k, 0) % 4 * 90ms); }
.shelf .book:nth-child(4n+2), .shelf .book:nth-child(4n+4) { margin-top: clamp(0px, 5vw, 72px); }
/* 서가 표지(재조정 실측 Nouveautés): 정면·평면·그림자 없음, 320×494(0.648). 호버해도 표지는 움직이지 않고 포인터에 검정 라벨이 붙는다(app.js .cursor-tag) */
.cover-sm { width: 100%; aspect-ratio: 320 / 494; }
.flagship:hover .cover { --lit: 1; }
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 35; pointer-events: none; padding: 7px 10px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); font: 700 14px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .2s var(--ease); }
.lang-ko .cursor-tag, .lang-ja .cursor-tag { font-family: var(--f-serif); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.cursor-tag.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .book .cover-sm { cursor: none; } }
.cover-sm .cover-in { inset: 14px; gap: 10px; }
.cover-sm .cover-title { font-size: clamp(15px, 1.4vw, 19px); }
.cover-sm .cover-brand { font-size: 11px; }
/* 실사 보강: 표지 바탕은 단색(사진 배경과 같은 색). 0·2 남색, 1·3 크림 — 사진 단색 인쇄의 양 끝 색과 정확히 같다 */
.tone-1 { background: var(--page); color: var(--ink); }
.tone-1 .cover-in { border-color: rgba(33, 40, 68, .3); }
.tone-1 .cover-brand, .tone-1 .cover-sys, .tone-3 .cover-sys { color: var(--ink-3); }
.tone-1 .cover-ring .b, .tone-3 .cover-ring .b { color: rgba(33, 40, 68, .62); }
.tone-2 { background: var(--block); }
.tone-2 .cover-in { border-style: double; border-width: 3px; border-color: rgba(239, 234, 215, .3); }
.tone-3 { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(33, 40, 68, .12); }
.tone-3 .cover-in { border-color: rgba(33, 40, 68, .3); border-style: double; border-width: 3px; }
.tone-3 .cover-brand { color: var(--ink-3); }
.book-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.book-title { font-size: 20px; line-height: 1.4; font-weight: 500; }
.book-price { font: 600 20px/1.3 var(--f-sans); letter-spacing: -.01em; }
.book-desc { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin-top: 4px; }
.book .ulink { margin-top: auto; padding-top: 6px; align-self: flex-start; }
@media (max-width: 1100px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shelf .book:nth-child(4n+4) { margin-top: clamp(0px, 5vw, 72px); } }
@media (max-width: 560px) {
  .shelf { grid-template-columns: 1fr; gap: 28px; }
  .shelf .book:nth-child(n) { margin-top: 0; }
  .book { flex-direction: row; gap: 18px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .cover-sm { width: 104px; flex: none; }
  .cover-sm .cover-in { inset: 8px; }
  .cover-sm .cover-title { font-size: 12px; }
  .cover-sm .cover-brand { display: none; }
}
@media (prefers-reduced-motion: reduce) { .panel::before { transition: none; } .panel:hover::before { transform: none; } }

.notice { margin-top: 48px; padding: 18px 22px; border-left: 2px solid var(--ink); background: var(--paper-2); color: var(--ink); font-size: 15px; line-height: 1.75; }

/* 서비스 제공 안내 — 2단 정의 목록, 위 선 */
.svc { margin-top: clamp(72px, 8vw, 112px); }
.svc-h { font-weight: 400; font-size: var(--t-h3); line-height: var(--lh-h); margin-bottom: 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); border-top: 1px solid var(--line-strong); }
.svc-cell { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; align-content: start; }
.svc-cell .idx-num { grid-row: span 2; padding-top: 4px; }
.svc-cell dt { font-weight: 600; font-size: 15px; line-height: 1.5; }
.svc-cell dd { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.svc-cell dd a { display: inline-block; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* 미리보기 — 펼친 책 */
.preview { padding-bottom: var(--sec); }
.spread { display: grid; grid-template-columns: 1fr 1fr; max-width: 1120px; margin: 0 auto; background: var(--page); color: var(--ink); box-shadow: 0 40px 80px rgba(33, 40, 68, .22), 0 2px 8px rgba(33, 40, 68, .12); position: relative; }
.spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 80px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(33, 40, 68, .07) 48%, rgba(33, 40, 68, .14) 50%, rgba(33, 40, 68, .07) 52%, transparent); pointer-events: none; }
.page { position: relative; padding: clamp(36px, 5vw, 72px) clamp(28px, 4.4vw, 64px) 72px; display: grid; align-content: start; gap: 16px; font-size: 16px; line-height: 1.9; }
.page-tag { color: var(--ink-3); }
.page-title { font-weight: 600; font-size: 19px; line-height: 1.5; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.page-l p:nth-of-type(2) { font-size: 22px; line-height: 1.6; font-weight: 400; }
.folio { position: absolute; bottom: 28px; font: 500 12px var(--f-sans); color: var(--ink-3); }
.page-l .folio { left: clamp(28px, 4.4vw, 64px); }
.page-r .folio { right: clamp(28px, 4.4vw, 64px); }
@media (max-width: 760px) { .spread { grid-template-columns: 1fr; } .spread::after { display: none; } .page-l { padding-bottom: 8px; } .page-r { padding-top: 0; } .folio { display: none; } }

/* 설계자·FAQ — 좌 제목 / 우 본문 */
.architect, .faq { padding-bottom: var(--sec); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(24px, 5vw, 80px); }
/* 실사 보강(2026-11-05): ABOUT = 레퍼런스 'Nos auteurs' 문법 — 섹션 단어 바로 아래 화면 폭 실사(1440에서 900px = 62.5vw),
   글은 왼쪽(레퍼런스 이름 목록 자리 x=70)에 세로 가운데. 실사 = 별 궤적 영상(남색 그레이딩), 왼쪽만 어둡게 깔아 글 대비 확보 */
.architect .sec-head { margin-bottom: clamp(20px, 2vw, 28px); }
.arch-stage { position: relative; overflow: hidden; height: min(62.5vw, 900px); min-height: 560px; display: flex; align-items: center; background: var(--block); color: var(--on-block); }
.arch-still, .arch-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-video { opacity: 0; transition: opacity .6s var(--ease); }
.arch-video.is-playing { opacity: 1; }
.arch-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17, 21, 40, .86) 0, rgba(17, 21, 40, .7) 38%, rgba(17, 21, 40, .18) 72%, rgba(17, 21, 40, 0) 100%); }
.arch-body { position: relative; z-index: 2; display: grid; gap: 18px; align-content: center; width: 100%; }
.arch-body > * { max-width: 560px; }
.arch-role { color: var(--on-block-2); }
.arch-body p:not(.arch-role) { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.85; color: var(--on-block-2); }
.arch-body p:last-child { color: var(--on-block); }
@media (max-width: 760px) {
  .arch-stage { height: auto; min-height: 0; padding: 96px 0; }
  .arch-stage::before { background: linear-gradient(180deg, rgba(17, 21, 40, .78), rgba(17, 21, 40, .62)); }
}
.faq-list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; min-height: 56px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 14px; height: 14px; position: relative; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform var(--d-fast) var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa summary:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.qa-a { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; line-height: 1.85; max-width: 680px; }
.qa-a a { display: inline-block; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* 마무리 — 반복 글자 테두리 색면 패널 */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 13vw, 190px) clamp(40px, 6vw, 96px); background: radial-gradient(90% 80% at 50% 30%, #2c3458, var(--block)); color: var(--on-block); display: grid; justify-items: center; gap: 22px; }
.final-h { position: relative; font-weight: 300; font-size: clamp(32px, 5.2vw, 78px); line-height: 1.24; letter-spacing: -.01em; }
.final-sub { position: relative; color: var(--on-block-2); font-size: clamp(16px, 1.4vw, 19px); }
.final .btn { position: relative; margin-top: 18px; }

/* 발 — 재조정 실측(section_footer): 위 1px 진한 선(화면 폭), 위 여백 111px, 링크 4칸 격자(14px 350 uppercase, 호버 시 밑줄이 왼쪽부터
   늘어남 background-size 1.2s), 화면 폭 워드마크, 맨 아래 줄 왼쪽 작은 글 · 오른쪽 저작권. 모바일은 링크 1칸 가운데 정렬 */
.foot { border-top: 1px solid var(--ink); padding: clamp(56px, 7.7vw, 111px) 0 clamp(28px, 3vw, 44px); color: var(--ink-3); font-size: 13px; line-height: 1.8; }
.foot .wrap { display: grid; gap: 0; }
.foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px var(--gutter); }
.foot-links a { justify-self: start; display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); text-decoration: none; font: 400 14px/1.2 var(--f-sans); letter-spacing: -.01em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0% var(--hair) no-repeat; transition: background-size var(--d-line) var(--ease); }
.lang-ko .foot-links a, .lang-ja .foot-links a { font-family: var(--f-serif); letter-spacing: 0; }
.foot-links a:hover { background-size: 100% var(--hair); }
.disclaimer { margin-top: clamp(28px, 3vw, 44px); color: var(--ink-2); max-width: 640px; }
.foot-word { margin-top: clamp(40px, 6vw, 88px); }
.foot-word svg { width: 100%; height: auto; overflow: visible; }
.foot-word text { font-family: var(--f-display); font-size: 120px; font-weight: 400; fill: var(--ink); }
.foot-bottom { margin-top: clamp(20px, 2.4vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.biz { color: var(--ink-3); max-width: 760px; }
.biz a { color: var(--ink-2); display: inline-flex; min-height: 28px; align-items: center; }
.copy { flex: none; font-family: var(--f-sans); font-size: 13px; letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 760px) {
  .foot .wrap { text-align: center; }
  .foot-links { grid-template-columns: 1fr; justify-items: center; }
  .foot-links a { justify-self: center; }
  .disclaimer { margin-left: auto; margin-right: auto; }
  .foot-bottom { flex-direction: column; align-items: center; }
}

/* 주문 안내 패널 — 원본 모달 필드 구성 */
.order { position: fixed; inset: 0; z-index: 40; background: rgba(27, 33, 57, .62); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.order:target, .order.is-open { display: flex; }
.order-sheet { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow: auto; background: var(--page); color: var(--ink); border: 1px solid var(--line-strong); padding: 40px clamp(20px, 4vw, 36px) 32px; font-size: 14px; line-height: 1.6; }
.order-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); text-decoration: none; font: 300 26px/1 var(--f-sans); }
.order-close:hover { color: var(--ink); }
.order h2 { font-weight: 400; font-size: 24px; line-height: 1.4; padding-right: 40px; }
.order .modal-sub { color: var(--ink-2); font-size: 13px; margin: 8px 0 22px; }
.order .form-group { margin-bottom: 16px; }
.order label { display: block; color: var(--ink-2); font-size: 13px; margin-bottom: 6px; }
.order input[type=text], .order input[type=email], .order input[type=tel], .order input[type=date], .order select, .order textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-btn); font: 14px var(--f-serif);
}
.order [disabled] { cursor: not-allowed; opacity: .75; }
.order .hint { color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.order .required { color: var(--ink); }
.order .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.order .time-notice { display: none; margin-top: 10px; padding: 12px 14px; border-left: 2px solid var(--ink); background: var(--paper-2); font-size: 12px; color: var(--ink-2); }
.order .time-notice.visible { display: block; }
.order .time-notice p { margin: 0 0 2px; color: var(--ink-2) !important; }
.order .checkbox-group { display: grid; gap: 6px; }
.order .checkbox-group label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line); color: var(--ink); cursor: pointer; background: var(--page); }
.order .checkbox-group label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.order .product-price { margin-left: auto; font-family: var(--f-sans); font-size: 13px; white-space: nowrap; }
.order input[type=checkbox], .order input[type=radio] { accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.order .order-total { margin-top: 12px; text-align: right; color: var(--ink-2); }
.order .order-total strong { font: 600 20px var(--f-sans); color: var(--ink); margin-left: 8px; }
.order .pay-methods label { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; color: var(--ink); }
.order .review-agree-label { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.7; }
.order #pairGroup { border-color: var(--line-strong) !important; }
.order #pairGroup > label { color: var(--ink) !important; }
.order textarea { border-color: var(--line-strong) !important; }
.order .modal-submit { width: 100%; min-height: 52px; margin-top: 8px; background: var(--ink); color: var(--paper); border: 0; border-radius: var(--r-btn); font: 600 15px var(--f-serif); letter-spacing: .06em; opacity: .55; }
.order .draft-note { margin-top: 10px; color: var(--ink-2); font-size: 12px; text-align: center; }
.order .modal-success { display: none; }
body.is-locked { overflow: hidden; }
