:root {
  --paper: #FFFDF7;
  --ink: #1A1A1A;
  --body: #2B2B2B;
  --gray: #5E5E5E;
  --red: #E0452B;
  --blue: #2D5BA8;
  --sky: #CDE1F1;
  --butter: #F4E4B2;
  --pad: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--body);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

#app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--paper); opacity: 0; transition: opacity .5s ease; overflow: hidden; }
#app.ready { opacity: 1; }
@media (min-width: 600px) { body { background: #ECE8DF; } }

.rise { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

/* 맨 위 띠 */
.bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--pad); border-bottom: 2px solid var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ink);
}
.bar a { padding: 4px 0; }

/* 잡지 표지 */
.cv { position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: var(--ink); container-type: inline-size; }
.cv-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 사진 표지: 흑백으로 바꾸고 노트 바탕색을 겹쳐서, 같은 사진도 노트마다 다른 표지처럼 */
.cv-art.photo { filter: saturate(.8) contrast(1.05); }
.cv.is-photo { color: #fff; }
.cv.is-photo::before, .cv.is-photo::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.cv.is-photo::before { top: 0; height: 38%; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); }
.cv.is-photo::after { bottom: 0; height: 48%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.72)); }
.cv.is-photo .cv-mast, .cv.is-photo .cv-line, .cv.is-photo .cv-bottom { z-index: 1; }
.cv.is-photo .cv-line { border-top-color: #fff; }
.cv-mast {
  position: absolute; left: 5cqw; right: 4cqw; top: 3.5cqw;
  font-size: 24.5cqw; font-weight: 900; letter-spacing: -.075em; line-height: .92; white-space: nowrap;
}
.cv-line {
  position: absolute; left: 5cqw; right: 5cqw; top: 28.5cqw;
  border-top: .6cqw solid var(--ink); padding-top: 1.6cqw;
  display: flex; justify-content: space-between;
  font-size: 2.6cqw; font-weight: 700; letter-spacing: .14em; line-height: 1.3;
}
.cv-bottom { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; }
.tag { display: inline-block; color: #fff; font-size: 3.6cqw; font-weight: 900; padding: .7cqw 2.4cqw; line-height: 1.5; }
.cv-title { margin-top: 2.2cqw; font-size: 8.6cqw; font-weight: 900; letter-spacing: -.06em; line-height: 1.14; }
.cv-sub { margin-top: 1.4cqw; font-size: 3.5cqw; font-weight: 700; line-height: 1.4; }

/* 첫 화면 */
.feature { padding: 18px var(--pad) 0; }
.feature .cv-title { font-size: 6.4cqw; line-height: 1.3; }
.shelf { padding: 40px var(--pad) 0; }
.shelf-head { font-size: 13px; font-weight: 900; letter-spacing: .12em; color: var(--ink); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.shelf ul { list-style: none; }
.shelf li { border-bottom: 1.5px solid var(--ink); }
.shelf a { display: flex; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); }
.shelf .thumb { flex: none; width: 92px; aspect-ratio: 4 / 5; overflow: hidden; }
.shelf .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shelf .txt { flex: 1; min-width: 0; display: block; }
.shelf .tag { font-size: 11px; padding: 2px 7px; line-height: 1.5; }
.shelf .t { display: block; margin-top: 8px; font-size: 18px; font-weight: 900; letter-spacing: -.04em; line-height: 1.3; }
.shelf .s { display: block; margin-top: 4px; font-size: 12.5px; color: var(--gray); line-height: 1.5; }

/* 노트 페이지 */
.note-cover { padding: 16px var(--pad) 0; }
.section { padding: 52px var(--pad) 0; }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.kicker .num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900;
}
h2 { margin-top: 12px; font-size: 27px; font-weight: 900; letter-spacing: -.05em; line-height: 1.32; color: var(--ink); }
.paras { margin-top: 14px; }
.paras p + p { margin-top: 12px; }

.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.fig .box { aspect-ratio: 1; background: #fff; border: 1.5px solid var(--ink); overflow: hidden; }
.fig .box img { width: 100%; height: 100%; object-fit: cover; }
.fig .name { margin-top: 10px; font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.fig .cap { margin-top: 2px; font-size: 13px; line-height: 1.6; color: var(--gray); }
@media (max-width: 340px) { .figs { grid-template-columns: 1fr; } }

.checks { margin: 60px var(--pad) 0; padding: 26px 20px 30px; background: var(--tint, var(--butter)); border: 2px solid var(--ink); }
.checks-head { display: inline-block; background: var(--ink); color: #fff; font-size: 13px; font-weight: 900; padding: 4px 10px; letter-spacing: .04em; }
.steps { list-style: none; }
.step { padding-top: 24px; }
.step + .step { margin-top: 24px; border-top: 1.5px dashed rgba(26,26,26,.45); }
.step .head { display: flex; align-items: center; gap: 8px; }
.step .mark { width: 26px; height: 26px; color: #fff; font-size: 14px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.step .what { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.step h3 { margin-top: 10px; font-size: 22px; font-weight: 900; letter-spacing: -.05em; line-height: 1.38; color: var(--ink); }
.step .paras { margin-top: 10px; font-size: 16px; }

.closing { margin-top: 64px; background: var(--ink); color: #fff; padding: 48px var(--pad) 40px; }
.closing .kicker { color: var(--butter); }
.closing blockquote { margin-top: 16px; font-size: 32px; font-weight: 900; letter-spacing: -.05em; line-height: 1.3; }
.closing .paras { margin-top: 18px; color: rgba(255,255,255,.82); }
.next {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 36px; padding: 16px 18px; background: var(--paper); color: var(--ink);
}
.next .k { display: block; font-size: 12px; font-weight: 700; color: var(--gray); }
.next .v { display: block; font-size: 17px; font-weight: 900; line-height: 1.4; letter-spacing: -.03em; }
.next.soon { display: block; font-size: 15px; font-weight: 700; }
.arrow { flex: none; width: 24px; height: 24px; }

/* 김근본 · 연락 */
.contact { padding: 60px var(--pad) 0; }
.contact .label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gray); }
.contact h2 { margin-top: 6px; }
.contact .about { margin-top: 10px; }
.contact .about p + p { margin-top: 8px; }
.contact .msg { margin-top: 24px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.btns { margin-top: 18px; display: grid; gap: 10px; }
.btn { display: flex; align-items: center; justify-content: center; height: 56px; font-size: 15px; font-weight: 900; border: 2px solid var(--ink); }
.btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.line { background: #fff; color: var(--ink); }
.btn:active { transform: translateY(1px); }

.foot {
  margin-top: 64px; padding: 18px var(--pad) calc(32px + env(safe-area-inset-bottom));
  border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--ink);
}
.foot a { padding: 6px 0; }

.msg-error { padding: 80px var(--pad); color: var(--gray); font-size: 15px; }
