/* ==========================================================================
   JETCO /beta : 자료실 · 블로그 (v2 팔레트: 인디고 네이비 · 쿨 화이트 · 테이프 옐로우)
   bl-  : 목록 (키네틱 타이포 · 피처 카드 · 메이슨리 그리드 · 해시태그)
   br-  : 상세 (읽기 진행 레일 · 본문 · 관련 글)
   색은 모두 site.css 토큰을 사용한다. --signal 은 밝은 영역 = 인디고, 어두운 영역 = 옐로우.
   ========================================================================== */

/* ---------- 0. 공통: 카드 전체 링크 / 태그 ---------- */
.bl-stretch { color: inherit; }
.bl-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.bl-stretch:focus-visible { outline: none; }
.bl-feature:focus-within, .bl-card:focus-within { box-shadow: inset 0 0 0 1px transparent, 0 0 0 2px var(--signal); }

.bl-tags { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bl-tags .c-tag { transition: color .3s var(--ease); }
.bl-tags .c-tag:hover { color: var(--ink); }
.bl-read { font-size: 13px; color: var(--muted); }

.bl-feature:hover .c-arrow, .bl-card:hover .c-arrow { background: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); color: var(--on-signal); }
.bl-feature:hover .c-arrow svg, .bl-card:hover .c-arrow svg { transform: rotate(0); }

/* 지문 융선 라인 아트 (이미지 없는 표지) */
.bl-print { position: absolute; pointer-events: none; fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-linecap: round; }

/* 본문 · 제목의 화살표 등 장식 기호 대체 (출력 시 xxGlyph 가 삽입) */
.bl-glyph, .br-glyph { display: inline-block; width: .95em; height: .95em; margin: 0 .14em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-dot, .br-dot { display: inline-block; width: .38em; height: .38em; margin: 0 .3em .12em 0; border-radius: 1px; background: var(--signal); vertical-align: middle; }

/* ---------- 1. 아카이브 섹션 / 헤드 ---------- */
.bl-archive { position: relative; isolation: isolate; padding-top: clamp(64px, 7vw, 112px); }
/* 섹션 뒤 키네틱 아웃라인 타이포 (스크롤에 따라 가로 이동) */
.bl-kinetic { position: absolute; z-index: -1; left: 0; right: 0; top: clamp(18px, 3vw, 44px); overflow: hidden; white-space: nowrap; pointer-events: none; }
.bl-kinetic span {
    display: inline-block; padding-left: 6vw;
    font-size: clamp(84px, 14vw, 236px); font-weight: 800; line-height: 1; letter-spacing: -0.06em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(46, 48, 146, .11);
}
.bl-archive > .c-container { position: relative; }

.bl-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(30px, 3.6vw, 52px); }
.bl-head__title { font-size: clamp(34px, 4.2vw, 64px); }
.bl-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; min-width: 0; }
.bl-head .c-count { font-family: var(--font-sans); font-size: 14px; letter-spacing: -0.01em; }
.bl-head .c-count strong { font-family: var(--font-mono); margin: 0 1px; }
.bl-head__page { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.bl-search { width: min(380px, 100%); }

.bl-chips { margin: 0 0 clamp(28px, 3vw, 40px); }

/* 적용된 필터 */
.bl-active {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
    margin: -8px 0 clamp(32px, 4vw, 48px); padding: 12px 14px 12px 18px;
    border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
.bl-active__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.bl-pill {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 6px 4px 14px;
    border-radius: var(--r-pill); background: var(--ink); color: #fff;
    font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
    transition: background .35s var(--ease), color .35s var(--ease);
}
.bl-pill__k { font-size: 12px; font-weight: 500; color: var(--tape); transition: color .35s; }
.bl-pill i { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: transform .5s var(--ease), background .35s; }
.bl-pill i::before, .bl-pill i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.bl-pill i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.bl-pill:hover { background: var(--brand); }
.bl-pill:hover i { transform: rotate(90deg); background: rgba(255, 255, 255, .2); }
.bl-active__reset { margin-left: auto; font-size: 14px; color: var(--ink-3); }

.bl-sub { display: flex; align-items: center; gap: 14px; margin: clamp(72px, 8vw, 120px) 0 24px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.bl-sub::after { content: ""; flex: 1; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
html.js .bl-sub[data-reveal]::after { transform: scaleX(0); transition: transform 1.4s var(--ease) .15s; }
html.js .bl-sub[data-reveal].is-in::after { transform: scaleX(1); }

/* ---------- 2. 피처 카드 (첫 글) ---------- */
.bl-feature {
    display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    min-height: clamp(440px, 36vw, 540px); border-radius: var(--r-xl); background: var(--white);
}
/* 미디어 자체에도 모서리 라운드 + 격리 (합성 레이어가 카드 라운드 밖으로 새는 Chromium 클리핑 문제 방지) */
.bl-feature__media { position: relative; isolation: isolate; overflow: hidden; min-height: 320px; background: var(--night); border-radius: var(--r-xl) 0 0 var(--r-xl); }
.bl-feature__zoom { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; transition: scale 1.6s var(--ease); will-change: transform; }
.bl-feature:hover .bl-feature__zoom { scale: 1.045; }
.bl-feature__img { width: 100%; height: 100%; object-fit: cover; }
.bl-feature__zoom .c-ph { position: absolute; inset: 0; }
.bl-feature__media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 13, 38, 0) 60%, rgba(11, 13, 38, .42));
}

/* 이미지 없는 표지: 브랜드 인디고 + 그리드 + 지문 융선 + 심볼 */
.bl-ph { position: absolute; inset: 0; overflow: hidden; background: var(--brand); }
.bl-ph::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 48px 48px; background-position: -1px -1px;
}
.bl-ph .bl-print { right: -6%; top: 50%; width: 78%; height: auto; aspect-ratio: 1; transform: translateY(-50%) rotate(-14deg); opacity: .78; }
.bl-ph__mark { position: absolute; z-index: 2; left: clamp(28px, 3.2vw, 48px); bottom: clamp(26px, 3vw, 44px); width: clamp(54px, 6vw, 84px); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 9px rgba(255, 255, 255, .06); }
.bl-ph__label { position: absolute; z-index: 2; left: clamp(28px, 3.2vw, 48px); top: clamp(26px, 3vw, 42px); font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .78); }

/* 크롭 마크 (사진 프레임 모서리) */
.bl-crop { position: absolute; inset: clamp(14px, 1.6vw, 22px); z-index: 2; pointer-events: none; }
.bl-crop i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, .72); transition: transform .8s var(--ease), border-color .5s var(--ease); }
.bl-crop i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.bl-crop i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.bl-crop i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.bl-crop i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.bl-feature:hover .bl-crop i { border-color: var(--tape); }
.bl-feature:hover .bl-crop i:nth-child(1) { transform: translate(8px, 8px); }
.bl-feature:hover .bl-crop i:nth-child(2) { transform: translate(-8px, 8px); }
.bl-feature:hover .bl-crop i:nth-child(3) { transform: translate(8px, -8px); }
.bl-feature:hover .bl-crop i:nth-child(4) { transform: translate(-8px, -8px); }

.bl-feature__body { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: clamp(28px, 3.6vw, 60px); }
.bl-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; color: var(--muted); }
.bl-feature__meta time { font-family: var(--font-mono); }
.bl-feature__cat { font-weight: 600; color: var(--ink-2); }
.bl-feature__title {
    font-size: clamp(28px, 3vw, 46px); line-height: 1.2; letter-spacing: -0.042em; font-weight: 720;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-feature__title, .bl-card__title, .br-head .c-article__title, .br-tile__title { text-wrap: balance; }
.bl-feature__title a { background: linear-gradient(currentColor, currentColor) 0 96% / 0 2px no-repeat; transition: background-size .9s var(--ease); }
.bl-feature:hover .bl-feature__title a { background-size: 100% 2px; }
.bl-feature__excerpt {
    font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; color: var(--ink-3);
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-feature__foot { position: relative; margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bl-feature__foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .4s; }
html.js .bl-feature[data-reveal]:not(.is-in) .bl-feature__foot::before { transform: scaleX(0); }
.bl-feature__dl { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.bl-feature__dl dt { font-size: 12px; color: var(--muted); }
.bl-feature__dl dd { margin-top: 3px; font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-2); }
.bl-go { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.bl-go__label { transition: transform .6s var(--ease); }
.bl-feature:hover .bl-go__label { transform: translateX(-4px); }

/* ---------- 3. 메이슨리 그리드 ---------- */
.bl-grid { column-count: 3; column-gap: clamp(16px, 2vw, 28px); }
.bl-cell {
    display: inline-block; width: 100%; vertical-align: top;
    -webkit-column-break-inside: avoid; break-inside: avoid; page-break-inside: avoid;
    margin-bottom: clamp(16px, 2vw, 28px);
}
.bl-card { border-radius: var(--r-lg); }
.bl-card__media { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.bl-card__media--a { aspect-ratio: 4 / 5; }
.bl-card__media--b { aspect-ratio: 16 / 10; }
.bl-card__media--c { aspect-ratio: 1 / 1; }
.bl-card__title { font-size: 20px; -webkit-line-clamp: 3; }
.bl-card__title a { background: linear-gradient(currentColor, currentColor) 0 96% / 0 1.5px no-repeat; transition: background-size .8s var(--ease); }
.bl-card:hover .bl-card__title a { background-size: 100% 1.5px; }
.bl-card__cat { font-family: var(--font-sans); font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.bl-card .c-card__meta .c-badge { height: 22px; font-size: 10.5px; }
.bl-card .c-arrow { width: 40px; height: 40px; }
.bl-card .c-arrow svg { width: 16px; height: 16px; }

/* 이미지 없는 카드: 심볼 마크 + 선이 그려지는 타이포 카드 */
.bl-card__mark { display: flex; align-items: center; gap: 14px; padding: 26px 26px 0; }
.bl-card__mark img { width: 26px; height: 26px; flex: none; opacity: .5; filter: grayscale(1); transition: opacity .5s var(--ease), filter .5s; }
.bl-card__mark i { flex: 1; height: 1px; background: var(--line-2); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .2s; }
html.js .bl-card[data-reveal]:not(.is-in) .bl-card__mark i { transform: scaleX(0); }
.bl-card--text:hover .bl-card__mark img { opacity: 1; filter: none; }
.bl-card--text .c-card__body { padding-top: 28px; gap: 14px; }
.bl-card--text .bl-card__title { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.36; -webkit-line-clamp: 4; }
.bl-card--ink { background: var(--night-2); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.bl-card--ink .c-card__meta, .bl-card--ink .bl-read { color: var(--fog-2); }
.bl-card--ink .bl-card__mark img { filter: none; opacity: .8; border-radius: 50%; box-shadow: 0 0 0 1px var(--night-line-2); }
.bl-card--ink:hover .bl-card__mark img { opacity: 1; }
.bl-card--ink .bl-card__mark i { background: var(--night-line-2); }
.bl-card--ink .c-card__excerpt { color: var(--fog); }
.bl-card--ink .bl-card__cat { color: #fff; }
.bl-card--ink .c-tag { color: var(--fog-2); }
.bl-card--ink .c-tag:hover { color: #fff; }
.bl-card--ink .c-arrow { color: #fff; box-shadow: inset 0 0 0 1px var(--night-line-2); }

/* ---------- 4. 빈 상태 ---------- */
.bl-empty__icon { width: 44px; height: 44px; fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bl-empty p { font-size: 15px; }
.bl-empty .c-btn { margin-top: 10px; }

/* ---------- 5. 외부 블로그 아웃링크 밴드 ---------- */
.bl-outlink {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) auto auto; align-items: center;
    gap: 16px 40px; margin-top: clamp(72px, 8vw, 128px);
    padding: clamp(28px, 3vw, 44px) clamp(14px, 1.8vw, 28px);
    border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2);
    transition: color .5s var(--ease), box-shadow .5s;
}
.bl-outlink::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand);
    clip-path: circle(0 at var(--ox, 92%) 50%); transition: clip-path .9s var(--ease);
}
.bl-outlink:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.bl-outlink:hover::before { clip-path: circle(150% at var(--ox, 92%) 50%); }
.bl-outlink__code { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: var(--muted); transition: color .4s; }
.bl-outlink__main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bl-outlink__title { font-size: clamp(26px, 3vw, 46px); font-weight: 720; letter-spacing: -0.04em; line-height: 1.15; transition: transform .8s var(--ease); }
.bl-outlink:hover .bl-outlink__title { transform: translateX(10px); }
.bl-outlink__desc { font-size: 15px; color: var(--ink-3); transition: color .4s; text-wrap: balance; }
.bl-outlink__url { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); transition: color .4s; }
.bl-outlink:hover .bl-outlink__code, .bl-outlink:hover .bl-outlink__url, .bl-outlink:hover .bl-outlink__desc { color: var(--fog); }
.bl-outlink__go {
    position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
    transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s, transform .7s var(--ease);
}
.bl-outlink__go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-outlink:hover .bl-outlink__go { background: var(--tape); color: var(--ink); box-shadow: inset 0 0 0 1px var(--tape); transform: rotate(45deg); }

/* ---------- 6. 해시태그 (다크, 스크롤 확장) ---------- */
.bl-cloud { overflow: hidden; isolation: isolate; }
.bl-cloud__grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
    background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
    background-size: 88px 88px; background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse 60% 85% at 82% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 85% at 82% 30%, #000 10%, transparent 75%);
}
.bl-cloud__list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bl-cloud__tag {
    display: inline-flex; align-items: baseline; padding: .42em .9em .48em; border-radius: var(--r-pill);
    box-shadow: inset 0 0 0 1px var(--night-line-2); color: var(--fog);
    font-weight: 650; letter-spacing: -0.03em; line-height: 1.1;
    transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s, transform .7s var(--ease);
}
.bl-cloud__tag--w1 { font-size: 15px; }
.bl-cloud__tag--w2 { font-size: 18px; }
.bl-cloud__tag--w3 { font-size: clamp(21px, 1.9vw, 27px); }
.bl-cloud__tag--w4 { font-size: clamp(26px, 2.8vw, 40px); color: #fff; }
.bl-cloud__hash { color: var(--signal); margin-right: 2px; }
.bl-cloud__tag sup { position: relative; top: -.55em; margin-left: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--fog-2); vertical-align: baseline; }
.bl-cloud__tag:hover, .bl-cloud__tag.is-active { background: var(--tape); color: var(--ink); box-shadow: inset 0 0 0 1px var(--tape); transform: translateY(-3px); }
.bl-cloud__tag:hover .bl-cloud__hash, .bl-cloud__tag.is-active .bl-cloud__hash { color: var(--ink); }
.bl-cloud__tag:hover sup, .bl-cloud__tag.is-active sup { color: var(--ink-3); }

/* ==========================================================================
   상세 (read)
   ========================================================================== */
.br-section { padding-top: clamp(48px, 6vw, 96px); }
.br-layout {
    display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: clamp(32px, 6vw, 112px);
    align-items: start; max-width: 1274px; margin: 0 auto;
}

/* 읽기 레일 */
.br-rail { align-self: stretch; }
.br-rail__sticky {
    position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 40px);
    display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
    transition: top .6s var(--ease);
}
body.is-header-hidden .br-rail__sticky { top: calc(var(--subnav-h) + 40px); }
.br-rail__code { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.br-rail__code::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.br-progress { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 18px; }
.br-meter { position: relative; width: 1.5px; height: 168px; margin-left: 3px; background: var(--line-2); }
.br-meter::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: 50% 0; transform: scaleY(var(--rp, 0)); }
.br-meter i { position: absolute; left: 50%; top: calc(var(--rp, 0) * 100%); width: 9px; height: 9px; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); transform: translate(-50%, -50%); }
.br-progress__val { display: flex; flex-direction: column; gap: 6px; }
.br-progress__num { font-family: var(--font-mono); font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.br-progress__num small { font-size: 14px; color: var(--muted); margin-left: 2px; }
.br-progress__label { font-size: 12px; color: var(--muted); }
.br-rail__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.br-share { gap: 8px; }
.br-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.br-share.is-done { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.br-back svg { transform: rotate(180deg); }
.br-back:hover svg { transform: rotate(180deg) translateX(4px); }

/* 기사 */
.br-article { width: 100%; max-width: 966px; margin: 0; }
.br-head { padding-bottom: 0; margin-bottom: clamp(32px, 4vw, 52px); border-bottom: 0; }
.br-head .c-article__title { font-size: clamp(30px, 3.6vw, 54px); }
.br-head__rule { display: block; height: 1.5px; margin-top: 32px; background: var(--ink); }
.c-article__meta.br-meta { font-family: var(--font-sans); font-size: 14px; }
.br-meta b { font-weight: 600; }
.br-meta span > :not(b) { font-family: var(--font-mono); font-size: 13px; }

/* 커버 */
.br-cover { position: relative; overflow: hidden; }
.br-cover img { width: 100%; height: auto; }
/* 커버 이미지가 없을 때: 브랜드 표지 밴드 */
.br-ph { position: relative; overflow: hidden; aspect-ratio: 16 / 5; margin-bottom: clamp(36px, 4vw, 56px); border-radius: var(--r-lg); background: var(--brand); color: #fff; }
.br-ph::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 40px 40px; background-position: -1px -1px;
}
.br-ph .bl-print { right: 4%; top: 50%; width: 46%; height: auto; aspect-ratio: 1; transform: translateY(-50%) rotate(-14deg); opacity: .8; }
.br-ph__mark { position: absolute; left: clamp(22px, 3vw, 40px); bottom: clamp(20px, 2.6vw, 34px); width: clamp(40px, 4.4vw, 60px); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 7px rgba(255, 255, 255, .06); }
.br-ph__label { position: absolute; left: clamp(22px, 3vw, 40px); top: clamp(20px, 2.6vw, 32px); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .78); }

/* 요약 리드 */
.br-lead {
    position: relative; margin: 0 0 clamp(36px, 4vw, 56px); padding: 26px 28px 26px 32px;
    border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
    font-size: clamp(17px, 1.35vw, 20px); line-height: 1.75; font-weight: 500; color: var(--ink-2);
}
.br-lead::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--signal); transform-origin: 50% 0; transition: transform 1.2s var(--ease) .3s; }
html.js .br-lead[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
.br-lead__label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--signal); }

/* 본문 : 레거시 에디터 인라인 글꼴 무력화 */
.br-prose span, .br-prose p, .br-prose font, .br-prose li, .br-prose div, .br-prose td, .br-prose th, .br-prose a { font-family: inherit !important; }
.br-prose span, .br-prose font, .br-prose p { font-size: inherit !important; line-height: inherit !important; }
.br-prose p:empty { display: none; }

.br-video { margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; background: var(--night); }
.br-video video { width: 100%; height: auto; }
.br-relation { margin-top: 40px; }

.br-tags { gap: 10px; margin-top: 52px; }
.br-tags .c-tag {
    display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill);
    box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-weight: 550;
    transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s;
}
.br-tags .c-tag:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.br-tags .c-tag:hover::before { color: var(--tape); }

/* 이전 / 다음 글 */
.br-postnav strong { font-size: 16.5px; }
.br-postnav small { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.br-postnav small svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.br-postnav a:hover small { color: var(--signal); }
.br-postnav a:first-child:hover small svg { transform: translateX(-4px); }
.br-postnav a.c-postnav__next:hover small svg { transform: translateX(4px); }

/* 관련 글 / 더 둘러보기 */
.br-related { position: relative; isolation: isolate; overflow: hidden; }
.br-related .bl-kinetic span { -webkit-text-stroke-color: rgba(46, 48, 146, .1); }
.br-related .c-grid { align-items: start; }
.br-explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.br-tile {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 30px 28px 28px;
    border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
    transition: transform .7s var(--ease), box-shadow .7s var(--ease), color .5s var(--ease);
}
.br-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .7s var(--ease); }
.br-tile__num { font-family: var(--font-mono); font-size: 13px; color: var(--signal); transition: color .5s; }
.br-tile__title { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.25; }
.br-tile__desc { font-size: 15px; color: var(--muted); transition: color .5s; }
.br-tile .c-arrow { margin-top: auto; align-self: flex-end; }
.br-tile:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-2); }
.br-tile:hover::before { transform: translateY(0); }
.br-tile:hover .br-tile__num { color: var(--tape); }
.br-tile:hover .br-tile__desc { color: var(--fog); }
.br-tile:hover .c-arrow { background: var(--tape); color: var(--ink); box-shadow: inset 0 0 0 1px var(--tape); }
.br-explore + .bl-outlink { margin-top: clamp(48px, 5vw, 80px); }

/* 404 */
.br-404 { gap: 18px; }
/* 가변 폰트의 겹친 윤곽선이 text-stroke 로 드러나지 않도록: 굵은 스트로크를 먼저 칠하고 종이색 채움으로 안쪽을 덮는다 */
.br-404__num { font-size: clamp(96px, 14vw, 200px); font-weight: 800; line-height: .86; letter-spacing: -0.04em; color: var(--paper); -webkit-text-stroke: 3px var(--brand); paint-order: stroke fill; }
.br-404 p { font-size: 15.5px; text-wrap: balance; }
.br-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ---------- 7. 반응형 ---------- */
@media (max-width: 1024px) {
    .bl-feature { grid-template-columns: 1fr; min-height: 0; }
    .bl-feature__media { min-height: 0; aspect-ratio: 16 / 10; border-radius: var(--r-xl) var(--r-xl) 0 0; }
    .bl-feature__media:has(.bl-ph) { aspect-ratio: 2 / 1; }
    .bl-grid { column-count: 2; }
    .bl-outlink { grid-template-columns: minmax(0, 1fr) auto; }
    .bl-outlink__code { grid-column: 1; grid-row: 1; }
    .bl-outlink__main { grid-column: 1; grid-row: 2; }
    .bl-outlink__url { grid-column: 1; grid-row: 3; }
    .bl-outlink__go { grid-column: 2; grid-row: 1 / 4; align-self: center; }

    .br-layout { grid-template-columns: 1fr; gap: 0; }
    .br-rail__sticky {
        position: static; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
        gap: 14px 20px; padding-bottom: 20px; margin-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line-2);
    }
    .br-progress { display: none; }
    .br-rail__actions { flex-direction: row; align-items: center; gap: 18px; }
    .br-article { max-width: 966px; margin: 0 auto; }
    .br-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .bl-kinetic span { font-size: clamp(64px, 22vw, 96px); -webkit-text-stroke-width: 1px; }
    .bl-head { grid-template-columns: 1fr; gap: 20px; }
    .bl-head__side { align-items: stretch; }
    .bl-search { width: 100%; }
    .bl-active { padding: 12px; }
    .bl-active__label { width: 100%; }
    .bl-active__reset { margin-left: 0; }
    .bl-feature { border-radius: var(--r-lg); }
    .bl-feature__media, .bl-feature__media:has(.bl-ph) { aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; }
    .bl-ph .bl-print { width: 96%; right: -18%; }
    .bl-feature__body { padding: 24px 22px 26px; gap: 16px; }
    .bl-feature__title { font-size: 26px; }
    .bl-feature__foot { gap: 12px; }
    .bl-feature__dl { flex-wrap: nowrap; gap: 6px 18px; }
    .bl-feature__dl dd { font-size: 12.5px; white-space: nowrap; }
    .bl-go__label { display: none; }
    .bl-grid { column-count: 1; }
    .bl-outlink { padding: 24px 18px; gap: 10px 16px; }
    .bl-outlink__title { font-size: 26px; }
    .bl-outlink__desc { font-size: 14px; }
    .bl-outlink__go { width: 48px; height: 48px; }
    .bl-cloud__tag--w3 { font-size: 20px; }
    .bl-cloud__tag--w4 { font-size: 24px; }

    .br-rail__code { width: 100%; }
    .br-rail__actions { width: 100%; justify-content: space-between; }
    .br-ph { aspect-ratio: 16 / 7; }
    .br-ph .bl-print { width: 64%; right: -6%; }
    .br-lead { padding: 22px 20px 22px 24px; }
    .br-tags { margin-top: 40px; }
    .br-explore { grid-template-columns: 1fr; gap: 12px; }
    /* 좁은 화면: 텍스트 왼쪽 · 화살표 오른쪽 한 줄 타일 */
    .br-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; min-height: 0; padding: 22px 18px 22px 22px; }
    .br-tile__num, .br-tile__title, .br-tile__desc { grid-column: 1; }
    .br-tile__title { font-size: 21px; }
    .br-tile__desc { font-size: 14px; }
    .br-tile .c-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; width: 44px; height: 44px; }

    /* 터치 대상 40px 이상 */
    .br-back, .bl-active__reset { position: relative; }
    .br-back::after, .bl-active__reset::after { content: ""; position: absolute; inset: -12px -8px; }
    .br-tags .c-tag { height: 40px; }
    .br-404__actions { flex-direction: column; align-items: stretch; width: min(100%, 260px); }
    .bl-pill { min-height: 40px; }
    .bl-tags { gap: 0 16px; }
    .bl-tags .c-tag { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .bl-feature__zoom { transition: none; }
}
