/* NABBA NEWS 잡지형 공통 틀(2026-11-12) — 색·글꼴·기본값·로고·라벨·머리·서랍·바닥.
   한국어판 홈(/, + mag.css)과 한국어판 일반 쪽(+ styles.css·site.css)이 같이 쓴다.
   흰 바탕 · 잉크 #0c0c0d · 포인트 레드 #e3120b + 옐로 #ffd60a
   제목 글꼴 ④ Barlow Condensed(라틴) + 페이퍼로지 Paperlogy(한글) — 2026-11-12 사용자 선택 / 본문 Pretendard Variable 1.3.9 */

@font-face { font-family: 'Paperlogy'; font-weight: 600; font-display: swap; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 700; font-display: swap; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 800; font-display: swap; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Paperlogy'; font-weight: 900; font-display: swap; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2'); }

:root {
  --paper: #ffffff;
  --ink: #0c0c0d;
  --ink-2: #3d3d42;
  --mute: #77777e;
  --rule: #d9d9dc;
  --wash: #f4f3ef;
  --red: #e3120b;
  --yellow: #ffd60a;
  --night: #07080d;
  --display: 'Barlow Condensed', 'Paperlogy', 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* 로고: logo.svg 모양 그대로, 색만 currentColor */
.logo-mask {
  display: block; aspect-ratio: 1946 / 550; background: currentColor;
  -webkit-mask: url(/logo.svg) center / contain no-repeat;
          mask: url(/logo.svg) center / contain no-repeat;
}

/* 섹션 라벨 */
.lbl {
  display: inline-block; font: 800 11px/1 var(--display); letter-spacing: .08em;
  padding: 4px 6px 3px; text-transform: uppercase; white-space: nowrap;
}
.lbl--official { background: var(--red); color: #fff; }
.lbl--pro { background: var(--ink); color: #fff; }
.lbl--crew { background: var(--yellow); color: var(--ink); }
.lbl--paper { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.lbl--kind { background: var(--paper); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.bd--opinion .bd__head b { color: var(--red); font-style: italic; }
.ai-tag {
  display: inline-block; font: 800 10px/1 var(--display); letter-spacing: .06em;
  padding: 3px 4px 2px; background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);
  vertical-align: 1px;
}
.credit { font: 600 10px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.more-link {
  display: inline-flex; align-items: center; gap: 10px; font: 800 14px/1 var(--sans);
  border-bottom: 2px solid var(--ink); padding-bottom: 6px;
}
.more-link i { font-style: normal; transition: transform .25s var(--ease); }
.more-link:hover i { transform: translateX(4px); }

/* ---------- 머리 ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--ink); }
.hd__strip {
  display: flex; gap: 18px; justify-content: space-between; align-items: center;
  padding: 6px var(--gut); background: var(--ink); color: #fff;
  font: 600 11px/1.2 var(--sans); letter-spacing: .02em;
}
.hd__issue { font-family: var(--display); font-weight: 800; letter-spacing: .14em; color: var(--yellow); }
.hd__bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 10px var(--gut);
}
.hd__logo { width: 132px; color: var(--ink); display: flex; align-items: center; min-height: 44px; } /* 누를 영역 44px(QC 2026-11-13) */
.hd__logo .logo-mask, .ft__logo .logo-mask { width: 100%; } /* flex 안에서 로고 폭이 0 이 되지 않게 */
.hd__logo:hover { color: var(--red); }
.hd__nav { display: flex; gap: 30px; justify-content: center; }
.hd__nav a { font-weight: 800; font-size: 16px; padding: 6px 0; position: relative; }
.hd__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.hd__nav a:hover::after { transform: scaleX(1); }
.hd__util { display: flex; align-items: center; gap: 6px; grid-column: 3; justify-self: end; }
.hd__u { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; font-weight: 700; font-size: 14px; }
.hd__u--txt[lang='en'] { font-family: var(--display); font-weight: 800; letter-spacing: .06em; }
.hd__u:hover { color: var(--red); }
.hd__u svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.hd__menu { display: none; width: 44px; height: 44px; border: 0; background: var(--ink); padding: 0; position: relative; }
.hd__menu span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; }
.hd__menu span:first-child { top: 17px; }
.hd__menu span:last-child { top: 25px; right: 18px; }

/* 서랍 메뉴 */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(7, 8, 13, .55); }
.drawer[hidden] { display: none; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--night); color: #fff; padding: 18px 22px 28px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__logo { width: 120px; color: var(--red); }
.drawer__close { border: 1px solid rgba(255,255,255,.5); background: none; color: #fff; padding: 10px 12px; font: 800 12px/1 var(--display); letter-spacing: .14em; min-height: 44px; }
.drawer__close i { font-style: normal; font-size: 16px; margin-left: 6px; }
.drawer__nav { display: grid; border-top: 1px solid rgba(255,255,255,.25); }
.drawer__nav a {
  display: grid; grid-template-columns: 58px 1fr auto; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 26px; font-weight: 800;
}
.drawer__nav b { font: 900 italic 28px/1 var(--display); font-stretch: 70%; color: var(--red); }
.drawer__nav small { font: 700 11px/1 var(--display); letter-spacing: .16em; color: rgba(255,255,255,.55); }
.drawer__sub { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__sub a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid rgba(255,255,255,.4); padding: 0 14px; font-weight: 700; font-size: 14px; }
.drawer__issue { margin-top: auto; font: 800 12px/1 var(--display); letter-spacing: .16em; color: var(--yellow); }
body.is-locked { overflow: hidden; }

/* ---------- 바닥 ---------- */
.ft { background: var(--night); color: #fff; padding: 56px var(--gut) 40px; }
.ft__in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.ft__logo { width: 200px; color: var(--red); grid-row: 1 / 3; }
.ft__nav { display: grid; gap: 2px; }
.ft__row { display: flex; flex-wrap: wrap; gap: 0 26px; font-weight: 700; font-size: 15px; }
.ft__row--sub { gap: 0 20px; font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .7); }
.ft__nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-inline: 9px; margin-inline: -9px; } /* 보이는 간격은 그대로, 누를 폭만 넓힘 */
.ft__nav a:hover { color: var(--yellow); }
.ft__side { grid-column: 2; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.ft__sns { display: flex; gap: 8px; }
.ft__sns a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); }
.ft__sns a:hover { border-color: var(--yellow); color: var(--yellow); }
.ft__sns svg { width: 18px; height: 18px; fill: currentColor; }
.ft__nabba { display: grid; gap: 2px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .3); }
.ft__nabba small { font: 800 12px/1 var(--display); letter-spacing: .16em; color: var(--yellow); }
.ft__nabba b { font-size: 14px; }
.ft__nabba:hover { border-color: var(--yellow); }
.ft__biz { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .62); }
.ft__legal { display: flex; gap: 16px; margin-bottom: 8px; }
.ft__legal a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.ft__biz summary { cursor: pointer; font-weight: 700; color: rgba(255, 255, 255, .85); min-height: 44px; display: flex; align-items: center; }
.ft__biz details p { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; }
.ft__biz a:hover { color: var(--yellow); }
.ft__copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font: 700 12px/1.4 var(--display); letter-spacing: .14em; color: rgba(255, 255, 255, .6); }

/* ---------- 반응형(틀) ---------- */
@media (max-width: 980px) {
  .hd__nav { gap: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .hd__strip { font-size: 12px; gap: 10px; padding-block: 5px; }
  .hd__date { display: none; }
  .hd__bar { grid-template-columns: auto 1fr auto; gap: 8px; padding-block: 8px; }
  .hd__logo { width: 104px; }
  .hd__nav, .hd__u--txt { display: none; }
  .hd__menu { display: block; }
  .ft__in { grid-template-columns: minmax(0, 1fr); }
  .ft__logo { grid-row: auto; width: 150px; }
  .ft__side { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.lbl--opinion { background: var(--ink); color: var(--yellow); }
.drawer__sns { display: flex; gap: 8px; }
.drawer__sns a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.drawer__sns a:hover { border-color: var(--yellow); color: var(--yellow); }
.drawer__sns svg { width: 20px; height: 20px; fill: currentColor; }
