/* B안 스토리 페이지 전용 */
.header__menu a.is-current { color: var(--point); }
.sb-head { padding: 64px var(--gutter) 0; }
.sb-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 56px; }
.sb-title { font-family: var(--mont); font-weight: 700; font-size: calc(120px * var(--fs-title)); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.sb-sub { font-size: calc(18px * var(--fs-body)); color: var(--sub); padding-bottom: 10px; white-space: nowrap; }
.sb-tabs { display: flex; gap: 40px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.sb-tabs::-webkit-scrollbar { display: none; }
.sb-tab { padding: 22px 0; font-size: calc(15px * var(--fs-body)); font-weight: 500; white-space: nowrap; transition: color .25s; }
.sb-tab[data-tab="all"] { font-family: var(--arch); letter-spacing: .08em; }
.sb-tab:hover, .sb-tab.is-active { color: var(--point); }
.sb-feature { position: relative; display: block; margin: 48px auto 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(1440px - 2 * var(--gutter)); height: 640px; overflow: hidden; }
.sb-feature[hidden], .sb-card[hidden] { display: none; }
.sb-feature img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
html:not(.st-ready) .sb-feature:hover img { transform: scale(1.03); }
.sb-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0) 35%, rgba(13,13,13,.75) 100%); }
.sb-feature__body { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sb-feature__meta { font-size: calc(14px * var(--fs-body)); font-weight: 500; color: var(--point); }
.sb-feature__title { font-size: calc(48px * var(--fs-title)); font-family: var(--kr-title); font-weight: 700; line-height: 1.2; }
.sb-feature__ex { font-size: calc(18px * var(--fs-body)); line-height: 1.5; color: rgba(252,251,248,.85); }
.sb-feature .btn { margin-top: 12px; }
.sb-posts { padding: 96px var(--gutter) 120px; }
.sb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 64px 16px; }
.sb-card { display: flex; flex-direction: column; }
.sb-card__img { aspect-ratio: 332 / 400; overflow: hidden; margin-bottom: 20px; }
.sb-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
html:not(.st-ready) .sb-card:hover .sb-card__img img { transform: scale(1.05); }
.sb-cat { font-size: calc(13px * var(--fs-body)); font-weight: 500; color: var(--point); }
.sb-card__title { margin-top: 10px; font-size: calc(18px * var(--fs-title)); font-family: var(--kr-title); font-weight: 700; line-height: 1.4; }
.sb-date { margin-top: 10px; font-family: var(--arch); font-size: calc(13px * var(--fs-body)); color: var(--sub); }
.sb-empty { padding: 80px 0; text-align: center; color: var(--sub); }
.sb-more { display: flex; justify-content: center; margin-top: 96px; }
@media (max-width: 1280px) { .sb-title { font-size: calc(96px * var(--fs-title)); } }
@media (max-width: 1080px) {
  .sb-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-feature { height: 520px; }
  .sb-feature__title { font-size: calc(36px * var(--fs-title)); }
}
@media (max-width: 767px) {
  .sb-head { padding-top: 40px; }
  .sb-head__row { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 32px; }
  .sb-title { font-size: calc(12vw * var(--fs-title)); }
  .sb-sub { font-size: calc(15px * var(--fs-body)); }
  .sb-tabs { flex-wrap: wrap; gap: 8px; border: 0; overflow: visible; }
  .sb-tab { padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: calc(14px * var(--fs-body)); line-height: 1; }
  .sb-tab.is-active { background: var(--point); border-color: var(--point); color: var(--on-point); }
  .sb-feature { margin: 32px auto 0; height: 480px; }
  .sb-feature__body { left: 20px; right: 20px; bottom: 28px; }
  .sb-feature__title { font-size: calc(26px * var(--fs-title)); }
  .sb-feature__ex { font-size: calc(15px * var(--fs-body)); }
  .sb-posts { padding: 64px var(--gutter) 96px; }
  .sb-grid { grid-template-columns: 1fr 1fr; gap: 40px 12px; }
  .sb-card__title { font-size: calc(15px * var(--fs-title)); }
  .sb-more { margin-top: 64px; }
}

/* 스토리 글 상세 (story-post) */
.sp { padding: 64px var(--gutter) 120px; }
.sp-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.sp-back { align-self: flex-start; margin-bottom: 24px; }
.sp-meta { font-family: var(--arch); font-size: calc(13px * var(--fs-body)); letter-spacing: .08em; color: var(--sub); }
.sp-title { font-family: var(--kr-title); font-weight: 700; font-size: calc(40px * var(--fs-title)); line-height: 1.35; letter-spacing: -0.02em; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.sp-cover, .sp-img { margin: 0; }
.sp-cover img, .sp-img img { width: 100%; height: auto; }
.sp-img figcaption { margin-top: 10px; font-size: calc(13px * var(--fs-body)); color: var(--sub); }
.sp-body { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.sp-text { font-size: calc(17px * var(--fs-body)); line-height: 1.85; }
.sp-text p + p, .sp-text ul { margin-top: 14px; }
.sp-text b { font-weight: 700; }
.sp-text a { text-decoration: underline; text-underline-offset: 3px; }
.sp-video { position: relative; aspect-ratio: 16 / 9; }
.sp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-hr { border: 0; border-top: 1px solid var(--line-dark); margin: 8px 0; }
.sp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.sp-nav a { display: flex; flex-direction: column; gap: 6px; }
.sp-nav a:last-child { text-align: right; }
.sp-nav span { font-family: var(--arch); font-size: calc(12px * var(--fs-body)); letter-spacing: .1em; color: var(--sub); }
.sp-nav b { font-weight: 500; font-size: calc(15px * var(--fs-body)); }
@media (max-width: 767px) {
  .sp { padding: 32px var(--gutter) 72px; }
  .sp-title { font-size: calc(26px * var(--fs-title)); padding-bottom: 20px; }
  .sp-text { font-size: calc(15px * var(--fs-body)); }
  .sp-nav { grid-template-columns: 1fr; }
  .sp-nav a:last-child { text-align: left; }
}
