.skip-link { position: fixed; z-index: 100; left: 20px; top: -80px; padding: 12px 18px; border-radius: 12px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.blog-page { min-height: 100svh; display: flex; flex-direction: column; }
.blog-page main { flex: 1; }
.blog-shell { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 88px; }
.blog-intro { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 390px; padding: 64px 0 56px; gap: 40px; }
.blog-intro h1 { position: static; max-width: 780px; margin: 12px 0 24px; font-size: clamp(48px, 6.8vw, 82px); line-height: 1.06; letter-spacing: -.055em; }
.blog-lead { color: var(--text-muted); font-size: 19px; line-height: 1.65; margin: 0; }
.notebook-cat { position: relative; width: 270px; height: 235px; flex-shrink: 0; }
.notebook-cat > img { position: absolute; left: 60px; top: 40px; border-radius: 36px; transform: rotate(8deg); box-shadow: var(--shadow); }
.notebook-tile { position: absolute; width: 92px; height: 92px; border: 3px solid var(--surface); border-radius: 20px; }
.tile-rose { left: 18px; top: 5px; background: #d06c91; transform: rotate(-12deg); }
.tile-mint { left: 168px; top: 116px; background: var(--mint); transform: rotate(12deg); }
.tile-sky { left: 12px; top: 135px; background: var(--sky); transform: rotate(-7deg); }
.blog-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 28px; border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); }
.blog-empty > img { border-radius: 24px; margin-bottom: 26px; }
.blog-empty .kicker { font-size: 11px; }
.blog-empty h2 { margin: 10px 0 12px; font-size: clamp(25px, 4vw, 36px); letter-spacing: -.035em; }
.blog-empty > p:not(.kicker) { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin: 0 0 24px; }
.site-header nav a[aria-current="page"] { color: var(--text); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.post-card { min-width: 0; background: var(--surface); border: 1px solid var(--outline); border-radius: 24px; overflow: hidden; }
.post-card-link { display: block; height: 100%; }
.post-card-link > img, .post-art { width: 100%; height: 240px; object-fit: cover; }
.post-art { display: grid; place-items: center; background: var(--surface-muted); }
.post-art > img { border-radius: 30px; transform: rotate(-7deg); }
.post-card-copy { padding: 30px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.post-card h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.035em; margin: 16px 0 12px; overflow-wrap: anywhere; }
.post-card-copy > p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.post-featured .post-card-link { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; }
.post-featured .post-card-link > img, .post-featured .post-art { height: 100%; min-height: 320px; }
.post-featured .post-card-copy { padding: 44px; }
.post-featured h2 { font-size: 36px; }
.article-shell { max-width: 800px; margin: 0 auto; padding: 44px 28px 84px; }
.article-back { font-size: 14px; }
.article-header { padding: 52px 0 32px; }
.article-header h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.15; margin: 16px 0 20px; letter-spacing: -.05em; overflow-wrap: anywhere; }
.article-header h1:lang(ko), .post-card h2:lang(ko), .blog-intro h1:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
.article-summary { font-size: 20px; line-height: 1.7; color: var(--text-muted); margin: 0 0 28px; }
.article-cover { margin: 0 0 40px; }
.article-cover img { width: 100%; height: auto; border-radius: 20px; }
.article-body { font-size: 18px; line-height: 1.9; color: var(--text); overflow-wrap: anywhere; }
.article-body > :first-child { margin-top: 0; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote { margin: 0 0 24px; }
.article-body h2, .article-body h3, .article-body h4 { line-height: 1.35; letter-spacing: -.025em; margin: 44px 0 18px; }
.article-body h2 { font-size: 30px; }
.article-body h3 { font-size: 24px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 28px auto 12px; }
.article-body figure { margin: 32px 0; }
.article-body figcaption { color: var(--text-muted); font-size: 14px; text-align: center; }
.article-body blockquote { padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre { max-width: 100%; overflow-x: auto; padding: 22px; border-radius: 14px; background: var(--surface-muted); font-size: 14px; line-height: 1.7; }
.article-body :not(pre) > code { padding: 2px 5px; border-radius: 4px; background: var(--surface-muted); font-size: .87em; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { padding: 12px 16px; border: 1px solid var(--outline); text-align: left; }
.article-body hr { border: 0; border-top: 1px solid var(--outline); margin: 40px 0; }
.article-outro { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--outline); }
.article-outro img { border-radius: 16px; }
.article-outro h2 { font-size: 20px; margin: 0 0 6px; }
.article-outro p { margin: 0; color: var(--text-muted); font-size: 15px; }
.article-outro > a { display: inline-flex; margin-left: auto; }
@media (max-width: 680px) {
  .blog-shell { width: calc(100% - 40px); padding-bottom: 48px; }
  .blog-intro { min-height: auto; padding: 44px 0 36px; gap: 14px; }
  .blog-intro h1 { font-size: clamp(39px, 9vw, 58px); margin-bottom: 18px; }
  .blog-lead { font-size: 16px; }
  .notebook-cat { display: none; }
  .blog-empty { padding: 40px 8px; }
  .post-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .post-featured .post-card-link { display: block; }
  .post-featured .post-card-link > img, .post-featured .post-art { min-height: 0; height: 220px; }
  .post-featured .post-card-copy, .post-card-copy { padding: 24px; }
  .post-featured h2, .post-card h2 { font-size: 27px; }
  .article-shell { padding: 30px 22px 48px; }
  .article-header { padding-top: 36px; }
  .article-summary { font-size: 18px; }
  .article-body { font-size: 17px; }
  .article-body h2 { font-size: 26px; }
  .article-outro > a { margin-left: 84px; }
}
