/* 수성록 시안 v5 (2026-12-06): 첫인상은 명함, 내리면 기록과 이메일 한 줄. 흑백.
   - 첫 화면: 흰 바탕 가운데 守成錄, '수성록', '이룬 것을 지켜 내는 기록'. 키워드 줄은 뺌.
   - 아래: 기록 목록(실린 글이 있을 때만), 이메일 한 줄과 작은 바닥글.
   - 선, 이름표, 화살표, 번호, '준비 중' 같은 표시, 상담 신청 단추는 쓰지 않음. 구역은 여백으로만 나눔.
   - 색은 검정과 흰색, 회색 두 단계뿐. */

@font-face {
  font-family: "Pretendard Variable";
  src: url("fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --black: #0d0d0d;
  --gray: #8a8a8a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  line-height: 1.7;
}

a { color: inherit; }
.wrap { width: min(720px, 100% - 48px); margin-inline: auto; }

/* 1. 명함 */
.card {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.mark {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 11vw, 148px);
  line-height: 1;
  letter-spacing: 0.18em;
  padding-left: 0.18em; /* 자간 때문에 글자가 왼쪽으로 쏠리는 것을 바로잡음 */
}
.reading { margin: 28px 0 0; font-size: 15px; font-weight: 500; letter-spacing: 0.6em; padding-left: 0.6em; color: var(--gray); }
.desc { margin: 56px 0 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; }

/* 2. 기록 */
.notes { padding-block: 40px 120px; }
.note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 72px; text-align: center; }
.note-title { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; }
.note-title a { text-decoration: none; }
.note-title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.note-summary { margin: 14px auto 0; max-width: 520px; font-size: 15px; color: #555; }

/* 3. 이메일 한 줄과 바닥글 */
.foot { padding-block: 40px 56px; font-size: 12.5px; color: var(--gray); }
.foot-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.foot-mail { margin-bottom: 28px; font-size: 16px; font-weight: 500; color: var(--black); text-decoration: none; letter-spacing: 0.02em; }
.foot-mail:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-mark { font-family: "Noto Sans KR", sans-serif; font-weight: 700; color: var(--black); letter-spacing: 0.1em; margin-right: 6px; }

/* 처음 나타날 때 */
@media (prefers-reduced-motion: no-preference) {
  .card > * { animation: show 1.2s ease both; }
  .card > :nth-child(2) { animation-delay: 0.15s; }
  .card > :nth-child(3) { animation-delay: 0.3s; }
  @keyframes show { from { opacity: 0; } to { opacity: 1; } }
}

/* 휴대폰 */
@media (max-width: 600px) {
  .notes { padding-block: 24px 88px; }
  .note-list { gap: 56px; }
}
