/* 심만기 화백 포트폴리오 — Editorial / Picture-Book Monograph System
   Warm cotton paper (#FAF7F2), sumi ink (#1F1E1C), muted sage (#5E7462) & terracotta (#B65A43). */

:root {
  --paper: #FAF7F2;
  --paper-2: #F2ECE1;
  --paper-stage: #EFE9DD;
  --ink: #1F1E1C;
  --ink-soft: #5C5852;
  --ink-faint: #7A756D;
  --rule: rgba(31, 30, 28, 0.14);
  --rule-strong: rgba(31, 30, 28, 0.28);

  --sage: #5E7462;
  --sage-soft: rgba(94, 116, 98, 0.12);
  --terracotta: #B65A43;
  --terracotta-hover: #9C4934;
  --terracotta-soft: rgba(182, 90, 67, 0.1);

  --serif: "Gowun Batang", "Noto Serif KR", "AppleMyungjo", Georgia, serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.03125rem;
  line-height: 1.78;
  background: var(--paper);
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* 은은한 종이 섬유 질감 (과장 없는 오프화이트 한지/면지 느낌) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='7'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, dt, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  text-decoration: none; font-size: 0.92rem;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; }

/* ---------- 상단 매스트헤드 (출판·갤러리 스타일) ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.seal {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--terracotta);
  color: var(--paper);
  border-radius: 3px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.04em;
}
.brand-text { display: inline-flex; align-items: baseline; gap: 6px; }
.brand-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-hanja { font-family: var(--serif); font-size: 0.88rem; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav .nav-cta {
  color: var(--terracotta);
  font-weight: 600;
  border-bottom-color: rgba(182, 90, 67, 0.35);
}
.nav .nav-cta:hover { color: var(--terracotta-hover); border-bottom-color: var(--terracotta-hover); }

.menu-btn {
  display: none;
  padding: 6px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  font-size: 0.9rem;
}

/* ---------- 공통 타이포그래피 & 버튼 ---------- */
.section { padding: clamp(76px, 10vw, 136px) var(--gutter); }
.section-works { background: var(--paper); border-top: 1px solid var(--rule); }
.section-story { background: var(--paper-2); border-top: 1px solid var(--rule); }
.section-career { background: var(--paper); border-top: 1px solid var(--rule); }
.section-contact { background: var(--paper-2); border-top: 1px solid var(--rule); }

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.lede {
  color: var(--ink-soft);
  max-width: 40em;
  margin-top: 16px;
  font-size: 1rem;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head.single { grid-template-columns: 1fr; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--terracotta); }
.btn-quiet {
  border-color: var(--rule-strong);
  color: var(--ink);
  background: transparent;
}
.btn-quiet:hover { border-color: var(--ink); background: rgba(31, 30, 28, 0.04); }

/* ---------- 1. 첫 화면 (비대칭 책 표지 레이아웃) ---------- */
.hero {
  padding: clamp(44px, 6vw, 84px) var(--gutter) clamp(68px, 8vw, 112px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.1vw, 3.85rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
h1 .line { display: block; }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 24em;
  min-height: 3.7em;
  transition: opacity 0.28s ease;
}
.hero-facts {
  font-size: 0.94rem;
  color: var(--ink-faint);
  max-width: 34em;
  border-left: 2px solid var(--sage);
  padding-left: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.theme-chip {
  padding: 4px 0;
  font-family: var(--serif);
  font-size: 0.96rem;
  color: var(--ink-faint);
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-chip:hover { color: var(--ink); }
.theme-chip[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--terracotta);
}

.cover-stage {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.cover-plate {
  display: block;
  width: 100%;
  max-width: 560px;
  padding: 0;
  text-align: left;
}
.plate-mat {
  display: block;
  background: #FFFEFA;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 48px -28px rgba(31, 30, 28, 0.28);
  transition: box-shadow 0.35s ease;
}
.cover-plate:hover .plate-mat {
  box-shadow: 0 30px 56px -26px rgba(31, 30, 28, 0.36);
}
.plate-mat img {
  width: 100%;
  max-height: min(68svh, 640px);
  object-fit: contain;
  margin: 0 auto;
  view-transition-name: hero-artwork;
  transition: opacity 0.3s ease;
}
.plate-caption {
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}
.plate-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--ink); }
.plate-meta { font-size: 0.86rem; color: var(--ink-faint); }
.fading #hero-img, .fading #hero-sub, .fading #hero-cap, .fading #hero-meta { opacity: 0; }

/* 첫 로드 시 절제된 잉크 페이드 */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: paperFade 0.7s ease-out both; }
  .cover-stage { animation: paperFade 0.85s 0.12s ease-out both; }
  @keyframes paperFade {
    from { opacity: 0; transform: translateY(14px); }
  }
}

/* ---------- 2. 작품 서재 (그림책 펼침면 & 비대칭 그리드) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}
.filter {
  padding: 5px 0;
  font-size: 0.94rem;
  color: var(--ink-faint);
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--sage);
}

.spread-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 68px) clamp(24px, 3.2vw, 44px);
  align-items: start;
}

/* 펼침면(Spread) 대형 항목: 책 두 쪽을 펼친 듯한 구성 */
.work-spread {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  text-align: left;
  transition: border-color 0.25s ease;
}
.work-spread:hover { border-color: var(--rule-strong); }
.work-spread .work-frame {
  background: #FFFEFA;
  padding: clamp(10px, 1.4vw, 18px);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.work-spread .work-frame img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.55s ease;
}
.work-spread:hover .work-frame img { transform: scale(1.02); }
.work-spread .work-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: clamp(0px, 2vw, 24px);
}
.work-series {
  font-size: 0.84rem;
  color: var(--sage);
  font-weight: 600;
}
.work-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.work-excerpt {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.work-meta {
  font-size: 0.88rem;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.work-open-hint {
  font-size: 0.88rem;
  color: var(--terracotta);
  font-weight: 600;
  margin-top: 4px;
}

/* 비대칭 페어링 항목 (7:5, 5:7, 6:6 교차로 단조로운 3열 카드 배제) */
.work-item {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  padding: 0;
}
.work-item.wide { grid-column: span 7; }
.work-item.narrow { grid-column: span 5; padding-top: clamp(0px, 4vw, 56px); }

.work-item .work-frame {
  background: var(--paper-stage);
  padding: clamp(12px, 1.6vw, 22px);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.work-item:hover .work-frame { border-color: var(--rule-strong); }
.work-item .work-frame img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.55s ease;
}
.work-item:hover .work-frame img { transform: scale(1.02); }
.work-item .work-title { font-size: 1.22rem; }
.work-item .work-meta { padding-top: 0; border-top: 0; }

/* ---------- 3. 작가 소개 & 작업실 (잡지 인터뷰 기사 레이아웃) ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 6.4fr);
  gap: clamp(40px, 7vw, 108px);
  align-items: start;
}
.editorial-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.poem {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 2;
  color: var(--ink-soft);
  white-space: pre-line;
  padding-left: 18px;
  border-left: 2px solid var(--sage);
}
.studio-figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.studio-figure img {
  width: 100%;
  border: 1px solid var(--rule);
  background: #FFFEFA;
  padding: 8px;
}
.studio-figure figcaption {
  font-size: 0.84rem;
  color: var(--ink-faint);
}

.editorial-article {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.article-body {
  display: grid;
  gap: 24px;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.95;
  max-width: 36em;
  color: var(--ink);
}
.article-body blockquote {
  margin: 10px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--terracotta);
  font-size: clamp(1.22rem, 1.8vw, 1.42rem);
  line-height: 1.72;
  font-weight: 700;
  color: var(--ink);
}
.note-sign {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-faint);
  padding-top: 8px;
}

.process-block {
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.process-block h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 24px;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}
.process-list dt {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.process-list dd {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.78;
}

/* ---------- 4. 출판과 연보 ---------- */
.subhead {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.bookshelf-block { margin-bottom: clamp(56px, 8vw, 96px); }
.series-ledger { border-top: 1px solid var(--rule-strong); }
.series-ledger li {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 2fr) minmax(0, 5.5fr);
  gap: 8px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.series-ledger h4 { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; }
.series-vol {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--sage);
  font-weight: 600;
  margin-top: 4px;
}
.series-pub { font-size: 0.9rem; color: var(--ink-faint); }
.series-desc { font-size: 0.95rem; color: var(--ink-soft); }

.career-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.career-side { position: sticky; top: 96px; }
.profile { display: grid; gap: 28px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.profile h4 { font-size: 0.88rem; font-weight: 600; color: var(--sage); margin-bottom: 10px; }
.profile li { font-size: 0.95rem; color: var(--ink-soft); padding: 4px 0; }

.timeline { border-top: 1px solid var(--rule-strong); }
.timeline li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 6px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.t-year {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--terracotta);
}
.timeline h4 { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; }
.timeline p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 5. 출간·전시·강연 문의 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.copy-status {
  margin-top: 14px;
  min-height: 1.5em;
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 600;
}
.contact-ledger { border-top: 1px solid var(--rule-strong); }
.contact-ledger div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-ledger dt { font-size: 0.9rem; color: var(--ink-faint); }
.contact-ledger dd { font-size: 1rem; color: var(--ink); }
.contact-ledger dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-ledger dd a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* ---------- 콜로폰 푸터 ---------- */
.colophon {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 36px var(--gutter) 44px;
}
.colophon-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}
.back-top {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
}
.back-top:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* 은은한 하단 읽기 진행선 */
.reading-line {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 45;
  pointer-events: none;
  background: transparent;
}
.reading-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--terracotta);
  opacity: 0.65;
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

/* ---------- 작품 펼침면 상세 보기 (Modern Web Guidance 준수) ---------- */
.viewer {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(1180px, 100vw - 32px);
  height: min(860px, 100dvh - 32px);
  max-width: none;
  max-height: none;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  box-shadow: 0 32px 72px -24px rgba(31, 30, 28, 0.35);

  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}
@media (prefers-reduced-motion: no-preference) {
  .viewer { transform: translateY(12px); }
}

.viewer[open]:where(:not([data-closing])) {
  display: block;
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .viewer[open]:where(:not([data-closing])) { transform: translateY(0); }
}
@starting-style {
  .viewer[open]:where(:not([data-closing])) { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @starting-style {
    .viewer[open]:where(:not([data-closing])) { transform: translateY(12px); }
  }
}

.viewer:modal { overscroll-behavior: contain; }

.viewer::backdrop {
  background-color: rgba(31, 30, 28, 0);
  overflow: hidden;
  overscroll-behavior: contain;
  transition-property: background-color, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}
.viewer[open]:where(:not([data-closing]))::backdrop {
  background-color: rgba(31, 30, 28, 0.56);
}
@starting-style {
  .viewer[open]:where(:not([data-closing]))::backdrop {
    background-color: rgba(31, 30, 28, 0);
  }
}

.viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}
.viewer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.viewer-counter { font-size: 0.86rem; color: var(--ink-faint); }
.v-close {
  padding: 6px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  font-size: 0.9rem;
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.v-close:hover { background: var(--paper-2); }

.viewer-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  min-height: 0;
}
.viewer-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px 60px;
  background: var(--paper-stage);
  touch-action: pan-y;
}
.viewer-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  user-select: none;
  background: #FFFEFA;
  padding: 10px;
  border: 1px solid var(--rule);
}
.viewer-stage img.zoomed { transform: scale(2); cursor: zoom-out; }

.v-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  padding-bottom: 3px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.v-nav:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.v-prev { left: 12px; }
.v-next { right: 12px; }
.viewer.single .v-nav { display: none; }

.viewer-page {
  padding: 28px 32px 36px;
  overflow-y: auto;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--paper);
}
.v-cat { font-size: 0.84rem; font-weight: 600; color: var(--sage); margin-bottom: 4px; }
.v-head h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; outline: none; }
.v-en { font-size: 0.9rem; color: var(--ink-faint); margin-top: 4px; }

.v-block { padding-top: 16px; border-top: 1px solid var(--rule); }
.v-block h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.v-desc, .v-note {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--ink);
}
.v-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.v-tags li {
  font-size: 0.82rem;
  padding: 3px 10px;
  background: var(--sage-soft);
  color: var(--sage);
  border-radius: 2px;
}

.v-meta { display: grid; gap: 8px; font-size: 0.92rem; }
.v-meta div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 10px; }
.v-meta dt { color: var(--ink-faint); }
.v-meta dd { color: var(--ink); }

.v-cuts { padding-top: 16px; border-top: 1px solid var(--rule); }
.v-sub { font-size: 0.84rem; color: var(--ink-faint); margin-bottom: 10px; }
.v-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.v-thumb {
  padding: 2px;
  border: 1.5px solid transparent;
  background: #FFFEFA;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.v-thumb:hover { opacity: 0.9; }
.v-thumb[aria-current="true"] { border-color: var(--terracotta); opacity: 1; }
.v-thumb img { width: 68px; height: 54px; object-fit: cover; }

.v-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.viewer.nocta .v-cta { display: none; }
.v-hint { font-size: 0.82rem; color: var(--ink-faint); line-height: 1.55; }

/* ---------- View Transitions (Modern Web Guidance) ---------- */
::view-transition-old(hero-artwork),
::view-transition-new(hero-artwork) {
  animation-duration: 0.32s;
  animation-timing-function: ease;
}

/* ---------- 반응형 (태블릿·모바일) ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cover-stage { align-items: stretch; }
  .cover-plate, .plate-caption { max-width: none; }
  .section-head { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; }
  .work-spread { grid-template-columns: 1fr; }
  .editorial-grid, .career-grid, .contact-grid { grid-template-columns: 1fr; }
  .editorial-aside, .career-side { position: static; }
  .series-ledger li { grid-template-columns: 1fr; gap: 4px; }
  .viewer { width: 100vw; height: 100dvh; border: 0; }
  .viewer-spread { grid-template-columns: 1fr; grid-template-rows: 46dvh minmax(0, 1fr); }
  .viewer-stage { padding: 14px 48px; }
  .viewer-page { border-left: 0; border-top: 1px solid var(--rule); padding: 20px; }
}

@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-strong);
    padding: 8px var(--gutter) 16px;
  }
  .masthead.open .nav { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav .nav-cta { border-bottom: 0; padding-top: 14px; }

  .work-item, .work-item.wide, .work-item.narrow {
    grid-column: span 12;
    padding-top: 0;
  }
  .process-list { grid-template-columns: 1fr; }
  .timeline li, .contact-ledger div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .viewer { transition-duration: 0.1s; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
