/* =========================================================================
   KNGS pages-content.css — brands / guide / about / contact 전용
   Owner: 콘텐츠페이지(F). tokens.css 토큰만 참조.
   ========================================================================= */

/* ---------- Page hero (mood image + gradient fallback) ---------- */
.phero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #fff;
  padding-block: var(--sp-10) var(--sp-10);
}
.phero::before { /* 블루프린트 그리드 + 하단 정밀 라인 */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgb(255 154 77 / 0.7) 30%, rgb(124 199 255 / 0.4) 70%, transparent) left bottom / 100% 1px no-repeat,
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.6) 60%, rgb(0 0 0 / 0.25) 100%);
          mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.6) 60%, rgb(0 0 0 / 0.25) 100%);
}
.phero > .container { position: relative; z-index: 1; }
.phero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 90% 0%, rgb(242 106 27 / 0.32), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgb(61 106 163 / 0.45), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.phero::after { /* 가독성 스크림 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(6 11 20 / 0.45) 0%, rgb(6 11 20 / 0.88) 100%);
}
@media (min-width: 1024px) {
  .phero { padding-block: var(--sp-16) var(--sp-16); }
  .phero::after { background: linear-gradient(90deg, rgb(6 11 20 / 0.94) 0%, rgb(6 11 20 / 0.6) 55%, rgb(6 11 20 / 0.3) 100%), linear-gradient(0deg, rgb(6 11 20 / 0.6), transparent 40%); }
}
.phero .breadcrumb, .phero .breadcrumb a { color: rgb(255 255 255 / 0.72); }
.phero .breadcrumb [aria-current="page"] { color: #fff; }
.phero .eyebrow { color: var(--orange-400); }
.phero__title { font-size: var(--fs-h1); font-weight: var(--fw-black); letter-spacing: -0.045em; line-height: 1.06; color: #fff; margin-top: var(--sp-3); text-wrap: balance; }
.phero__title em { font-style: normal; background: var(--grad-accent-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero__lead { font-size: var(--fs-lead); color: rgb(255 255 255 / 0.82); max-width: 46ch; margin-top: var(--sp-3); }
.phero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.phero__note { margin-top: var(--sp-4); font-size: var(--fs-2xs); color: rgb(255 255 255 / 0.62); }

/* ---------- Sticky segmented nav (brands tabs / guide TOC) ---------- */
.subnav {
  position: sticky; z-index: var(--z-sticky);
  top: calc(var(--header-h-compact) + var(--safe-top));
  background: var(--glass); border-bottom: 1px solid var(--glass-bd);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
}
.subnav__inner { padding-block: var(--sp-2); }
.subnav .chip-row { padding-block: 2px; }
.subnav .chip { min-height: var(--tap); }
@media (min-width: 1024px) { .subnav .chip-row { flex-wrap: nowrap; overflow-x: auto; } }
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 4px;
  border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); max-width: 560px;
}
.seg a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--tap); padding: 0 var(--sp-2); border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text-2); white-space: nowrap;
  transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.seg a[aria-current="true"] { background: var(--selected-bg); color: var(--selected-fg); box-shadow: inset 0 0 0 1px var(--selected-bd), 0 0 16px -4px rgb(255 122 46 / 0.5); }
:root[data-theme="light"] .seg a[aria-current="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3); }
.seg__dot--cejn { background: var(--cejn); } .seg__dot--dnp { background: var(--dnp); } .seg__dot--kn { background: var(--accent-bright); }
html { scroll-padding-top: calc(var(--header-h-compact) + var(--safe-top) + 72px); }

/* ---------- Common bits ---------- */
.src { font-size: var(--fs-2xs); color: var(--text-3); line-height: 1.5; }
.src a { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.src a:hover { color: var(--accent-text); }
.src-list { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.mood-note { font-size: var(--fs-2xs); color: var(--text-3); }
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.checklist li { display: flex; gap: var(--sp-2); align-items: flex-start; color: var(--text-2); }
.checklist li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--success); }
.pane-title { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); }
.pane-title svg { width: 22px; height: 22px; color: var(--accent-text); }
.cta-band {
  border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-5); background: linear-gradient(160deg, var(--navy-800), var(--ink-950) 70%); color: #fff;
  display: flex; flex-direction: column; gap: var(--sp-4); position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgb(150 180 230 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.08), var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgb(242 106 27 / 0.35), transparent 70%), linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 28px 28px; }
.cta-band::after { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 154 77 / 0.8), transparent); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); letter-spacing: -0.04em; }
.cta-band p { color: rgb(255 255 255 / 0.8); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (min-width: 768px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--sp-10); } }
.load-error { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); text-align: center; }

/* ---------- Brands ---------- */
.brand-sec { scroll-margin-top: calc(var(--header-h-compact) + 72px); }
.brand-head {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  min-height: 260px; padding: var(--sp-6) var(--sp-5); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-2);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09), var(--shadow-lg);
}
.brand-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, rgb(255 154 77 / 0.85), rgb(124 199 255 / 0.3) 50%, transparent); pointer-events: none; }
.brand-head[data-brand="cejn"] { background: linear-gradient(135deg, #0b2f52, var(--cejn)); }
.brand-head[data-brand="dnp"] { background: linear-gradient(135deg, #3a1410, var(--dnp)); }
.brand-head[data-brand="kn"] { background:
    radial-gradient(60% 70% at 100% 0%, rgb(242 106 27 / 0.45), transparent 70%),
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.brand-head__media { position: absolute; inset: 0; z-index: -2; }
.brand-head__media img { width: 100%; height: 100%; object-fit: cover; }
.brand-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 11 20 / 0.1) 20%, rgb(6 11 20 / 0.9) 100%); }
.brand-head__name { font-size: clamp(2.75rem, 2rem + 4vw, 5.5rem); font-weight: var(--fw-black); letter-spacing: -0.055em; line-height: 0.92; color: #fff; }
.brand-head__name small { font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: 0; opacity: 0.8; margin-left: var(--sp-2); }
.brand-head__tag { font-size: var(--fs-lead); font-weight: var(--fw-semibold); color: rgb(255 255 255 / 0.9); }
.brand-head__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-head__meta .badge { background: rgb(6 11 20 / 0.5); color: #fff; border-color: rgb(255 255 255 / 0.2); }
.brand-head__meta .badge--pos { background: var(--grad-accent); color: var(--on-grad-accent); border-color: transparent; }
.brand-head__note { position: absolute; top: var(--sp-3); right: var(--sp-4); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: rgb(255 255 255 / 0.65); }
@media (min-width: 1024px) { .brand-head { min-height: 360px; padding: var(--sp-10); } }

.brand-body { display: grid; gap: var(--sp-6); margin-top: var(--sp-6); }
@media (min-width: 1024px) { .brand-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--sp-10); } }
.brand-intro { color: var(--text-2); font-size: var(--fs-body); line-height: 1.7; }
.brand-facts { margin-top: var(--sp-4); }

/* 모바일: 가로 스냅 캐러셀 → 태블릿+: 그리드 */
.series-grid {
  display: grid; gap: var(--sp-3); grid-auto-flow: column; grid-auto-columns: 86%;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: var(--sp-2);
  align-items: stretch;
}
.series-grid::-webkit-scrollbar { display: none; }
.series-grid > * { scroll-snap-align: start; }
.series-hint { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-3); margin: calc(var(--sp-2) * -1) 0 var(--sp-3); }
.series-hint svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .series-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .series-hint { display: none; }
}
@media (min-width: 1280px) { .series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.series {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0;
  background: var(--panel-bg); border: 1px solid var(--panel-bd); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--panel-shadow);
}
.series::after { content: ""; position: absolute; left: var(--sp-4); right: var(--sp-4); top: -1px; height: 1px; background: var(--hairline-left); opacity: 0.8; }
.series__top { display: flex; gap: var(--sp-3); align-items: flex-start; }
.series__img { width: 88px; height: 88px; flex: none; border-radius: var(--r-md); background: var(--well); box-shadow: var(--well-ring); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.series__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.series__name { font-size: var(--fs-h4); font-weight: var(--fw-bold); line-height: 1.3; }
.series__type { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); font-weight: var(--fw-medium); margin-top: 4px; }
.series__kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.series__kv div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; min-width: 0; }
.series__kv dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--text-3); font-weight: var(--fw-medium); }
.series__kv dd { margin: 0; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text); line-height: 1.35; font-variant-numeric: tabular-nums; }
.series__kv .wide { grid-column: 1 / -1; }
.series__feat { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.series__feat li { position: relative; padding-left: 14px; }
.series__feat li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent-bright); }
.series__verified { font-size: var(--fs-xs); color: var(--warning-text); background: var(--warning-soft); border-radius: var(--r-sm); padding: 6px 10px; }
.series details > summary { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--brand-text); min-height: var(--tap); display: flex; align-items: center; }
.series details .table-wrap { margin-top: var(--sp-2); }
.series__foot { margin-top: auto; }

.strengths { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.strengths li { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--text); }
.strengths li svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); margin-top: 1px; }

.reco { border-radius: var(--r-lg); padding: var(--sp-5); background: var(--accent-soft); border: 1px solid rgb(255 138 66 / 0.3); box-shadow: 0 0 30px -16px rgb(255 122 46 / 0.6); }
.reco .checklist li { color: var(--text); font-size: var(--fs-sm); }
.reco .checklist li svg { color: var(--accent-text); }
.sub-h { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin: var(--sp-8) 0 var(--sp-3); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.sub-h a { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-2); display: inline-flex; align-items: center; gap: 2px; min-height: var(--tap); }
.sub-h a svg { width: 18px; height: 18px; }

.usecases { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .usecases { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.usecase { background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-lg); padding: var(--sp-4); display: flex; flex-direction: column; gap: 6px; }
.usecase__use { font-size: var(--fs-sm); color: var(--text-2); }
.usecase__pick { font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--text); }
.usecase__why { font-size: var(--fs-xs); color: var(--text-3); }
.cmp-col--cejn { color: var(--cejn-text); } .cmp-col--dnp { color: var(--dnp-text); }

/* ---------- Guide ---------- */
.gsec { position: relative; padding-block: var(--sp-10); }
.gsec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hairline-left); }
.gsec::after { content: ""; position: absolute; left: -5px; top: -5px; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--marker), var(--marker)) center / 1px 100% no-repeat, linear-gradient(var(--marker), var(--marker)) center / 100% 1px no-repeat; }
.gsec:first-child::before, .gsec:first-child::after { display: none; }
.gsec__num { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: var(--fw-semibold); color: var(--accent-text); letter-spacing: var(--ls-mono); text-transform: uppercase; }
.gsec__title { font-size: var(--fs-h2); margin-top: var(--sp-2); letter-spacing: -0.038em; }
.gsec__lead { font-size: var(--fs-lead); color: var(--text-2); margin-top: var(--sp-3); max-width: 60ch; }
.gsec__body { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-6); }
.gsec__fig { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); max-width: 560px; }
.gsec__fig img { width: 100%; height: auto; max-height: 360px; object-fit: contain; background: #fff; }
.gsec__fig figcaption { font-size: var(--fs-xs); color: var(--text-3); padding: 10px 12px; border-top: 1px solid var(--line); }
.gsec__src { margin-top: var(--sp-5); }
.gblock-title { font-size: var(--fs-h4); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); }
.gtext { color: var(--text-2); line-height: 1.75; max-width: 68ch; }
.glist { padding-left: 1.25em; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; max-width: 68ch; }
.glist li::marker { color: var(--accent-bright); }
.table-cap { font-size: var(--fs-sm); font-weight: var(--fw-bold); margin-bottom: var(--sp-2); color: var(--text); display: flex; align-items: center; gap: 8px; }
.table-cap::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent-bright); box-shadow: 0 0 8px rgb(255 122 46 / 0.6); flex: none; }
.table-note { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-2); }
.table--auto { min-width: 0; }
.table-wrap--wide .table { min-width: 640px; }
.steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps li { counter-increment: st; position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) 60px; background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-lg); }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: var(--sp-4); top: var(--sp-4); width: 32px; height: 32px; border-radius: 9px; background: rgb(255 122 46 / 0.1); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgb(255 138 66 / 0.4); display: grid; place-items: center; font-family: var(--font-mono); font-weight: var(--fw-bold); font-size: var(--fs-xs); }
:root[data-theme="light"] .steps li::before { background: var(--navy-900); color: #fff; box-shadow: none; }
.steps b { display: block; color: var(--text); margin-bottom: 2px; }
.steps span { font-size: var(--fs-sm); color: var(--text-2); }

/* Converter */
.conv { position: relative; background: var(--panel-bg); border: 1px solid var(--panel-bd); border-radius: var(--r-xl); padding: var(--sp-5); box-shadow: var(--panel-shadow); }
.conv::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: var(--hairline); }
.conv__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.conv__icon { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.conv__icon svg { width: 24px; height: 24px; }
.conv__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); }
.conv__in { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: var(--sp-2); }
.conv__in .input { font-family: var(--font-mono); font-size: 1.25rem; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.conv__presets { margin-top: var(--sp-3); }
.conv__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); margin-top: var(--sp-4); }
@media (min-width: 768px) { .conv__out { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.conv__cell { background: var(--surface-2); border-radius: var(--r-md); padding: var(--sp-3); min-width: 0; text-align: left; border: 1px solid var(--line); min-height: 72px; transition: border-color var(--dur-2), box-shadow var(--dur-3); }
.conv__cell:hover { border-color: var(--line-strong); }
.conv__cell.is-src { background: var(--ice-soft); border-color: var(--ice); box-shadow: 0 0 18px -8px var(--ice); }
.conv__cell b { display: block; font-family: var(--font-mono); font-size: 1.1875rem; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--text); overflow-wrap: anywhere; }
.conv__cell span { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); font-weight: var(--fw-medium); }
.conv__hint { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-3); }

/* FAQ */
.faq-tools { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.faq-count { font-size: var(--fs-xs); color: var(--text-3); }
.faq-cat { font-size: var(--fs-2xs); font-weight: var(--fw-bold); color: var(--text-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 2px 6px; margin-right: 6px; white-space: nowrap; }
.accordion__q { min-width: 0; }
.accordion__body p { white-space: pre-line; }
mark.hl { background: var(--accent-soft-2); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Blog cards */
.blog-grid { display: grid; gap: var(--sp-2); }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card {
  display: flex; align-items: center; gap: var(--sp-3); min-height: 72px; padding: var(--sp-3) var(--sp-4);
  background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-md);
  transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.blog-card:hover { border-color: var(--panel-bd-hover); transform: translateY(-1px); }
.blog-card__icon { width: 40px; height: 40px; border-radius: var(--r-sm); flex: none; display: grid; place-items: center; background: rgb(3 199 90 / 0.12); color: var(--naver-strong); }
.blog-card__icon svg { width: 20px; height: 20px; }
.blog-card__text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.blog-card__kicker { font-size: var(--fs-2xs); font-weight: var(--fw-bold); color: var(--text-3); }
.blog-card__title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: 1.4; color: var(--text); }
.blog-card > svg { width: 18px; height: 18px; color: var(--text-3); flex: none; }

/* ---------- About ---------- */
.track-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .track-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
.track { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--r-xl); color: #fff; min-height: 190px; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), var(--shadow-md); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.track::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 28px 28px; -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000); mask-image: linear-gradient(135deg, transparent 30%, #000); }
.track:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(255 154 77 / 0.6), 0 22px 44px -22px rgb(242 106 27 / 0.55); }
.track--cejn { background: linear-gradient(140deg, #0b2f52, var(--cejn)); }
.track--dnp { background: linear-gradient(140deg, #3a1410, var(--dnp)); }
.track--kn { background: linear-gradient(140deg, var(--navy-950), var(--navy-700)); }
.track__k { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: var(--fw-semibold); letter-spacing: var(--ls-mono); opacity: 0.85; text-transform: uppercase; }
.track__name { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: var(--fw-black); letter-spacing: -0.05em; line-height: 1; color: #fff; }
.track__desc { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.82); }
.track__go { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: var(--fw-bold); font-size: var(--fs-sm); }
.track__go svg { width: 18px; height: 18px; }

.cat-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); } }
.cat-card { display: flex; flex-direction: column; background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-lg); overflow: hidden; min-width: 0; transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), border-color var(--dur-3); }
.cat-card:hover { transform: translateY(-3px); border-color: var(--panel-bd-hover); box-shadow: var(--panel-shadow), 0 18px 36px -20px rgb(242 106 27 / 0.55); }
.cat-card__media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy-800), var(--ink-900)); overflow: hidden; }
.cat-card__media img { transition: transform var(--dur-5) var(--ease-out); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__body { padding: var(--sp-3) var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 4px; }
.cat-card__name { font-weight: var(--fw-bold); font-size: var(--fs-body); line-height: 1.3; }
.cat-card__desc { font-size: var(--fs-xs); color: var(--text-3); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.cat-card__tag { font-size: var(--fs-2xs); color: var(--accent-text); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }

.how-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .how-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); } }
.how { background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-lg); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.how__icon { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: rgb(255 122 46 / 0.1); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgb(255 138 66 / 0.3), 0 0 18px -6px rgb(255 122 46 / 0.5); }
:root[data-theme="light"] .how__icon { background: var(--accent-soft); box-shadow: none; }
.how__icon svg { width: 24px; height: 24px; }
.how__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); }
.how__desc { font-size: var(--fs-sm); color: var(--text-2); }

.map-card { position: relative; display: grid; gap: var(--sp-4); background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-xl); padding: var(--sp-5); }
@media (min-width: 1024px) { .map-card { grid-template-columns: 1fr 1fr; padding: var(--sp-8); align-items: center; } }
.map-visual { position: relative; border-radius: var(--r-lg); min-height: 180px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgb(255 122 46 / 0.16), transparent 45%), linear-gradient(rgb(127 160 220 / 0.1) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(127 160 220 / 0.1) 1px, transparent 1px) 0 0 / 24px 24px, var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--line); }
.map-visual__pin { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: var(--sp-4); }
.map-visual__pin svg { width: 44px; height: 44px; color: var(--accent-bright); filter: drop-shadow(0 0 12px rgb(255 122 46 / 0.7)); }
.map-visual__pin b { font-size: var(--fs-body); }
.map-visual__pin span { font-size: var(--fs-xs); color: var(--text-3); }
.addr { font-size: var(--fs-lead); font-weight: var(--fw-bold); line-height: 1.45; }
.map-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.map-actions .btn { white-space: normal; text-align: center; }
.biz-table { width: 100%; font-size: var(--fs-sm); border-top: 1px solid var(--line); }
.biz-table th, .biz-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.biz-table th { width: 36%; color: var(--text-3); font-weight: var(--fw-semibold); padding-right: var(--sp-3); }
.biz-table td { font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .biz-table th { width: 200px; } }

/* ---------- Contact ---------- */
.live {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: var(--fw-bold); background: rgb(255 255 255 / 0.14); color: #fff;
}
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gray-400); flex: none; }
.live[data-state="open"]::before { background: #3cc285; box-shadow: 0 0 0 0 rgb(60 194 133 / 0.6); }
@media (prefers-reduced-motion: no-preference) { .live[data-state="open"]::before { animation: kngs-pulse 2s infinite; } }
.live[data-state="lunch"]::before, .live[data-state="soon"]::before { background: #f0b43c; }
@keyframes kngs-pulse { 0% { box-shadow: 0 0 0 0 rgb(60 194 133 / 0.6); } 70% { box-shadow: 0 0 0 8px rgb(60 194 133 / 0); } 100% { box-shadow: 0 0 0 0 rgb(60 194 133 / 0); } }
.live--light { background: var(--surface-2); color: var(--text); }

.quick-grid { display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); } }
.quick { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-4); border-radius: var(--r-lg); background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); min-height: 112px; min-width: 0; transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-3); }
a.quick:hover, button.quick:hover { border-color: var(--panel-bd-hover); transform: translateY(-2px); box-shadow: var(--panel-shadow), 0 14px 30px -18px rgb(242 106 27 / 0.6); }
.quick__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--glass-bd); margin-bottom: 4px; }
.quick__icon svg { width: 20px; height: 20px; }
.quick__k { font-size: var(--fs-xs); color: var(--text-3); font-weight: var(--fw-semibold); }
.quick__v { font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.3; }
.quick--tel { background: var(--grad-accent); border-color: transparent; color: var(--on-grad-accent); box-shadow: var(--glow-accent); }
.quick--tel .quick__icon { background: rgb(255 255 255 / 0.25); color: inherit; box-shadow: none; }
.quick--tel .quick__k, .quick--tel .quick__v { color: inherit; }
button.quick { text-align: left; font: inherit; }
.hours { display: grid; gap: var(--sp-3); margin-top: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.hours dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px var(--sp-4); font-size: var(--fs-sm); }
.hours dt { color: var(--text-3); font-weight: var(--fw-semibold); }
.hours dd { margin: 0; color: var(--text); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }

.qwrap { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) { .qwrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--sp-10); align-items: start; } .qcart { position: sticky; top: calc(var(--header-h-compact) + var(--sp-6)); } }
.qcart { position: relative; background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-xl); padding: var(--sp-5); }
.qcart::before, .qform::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: var(--hairline); pointer-events: none; }
.qcart__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.qcart__head h3 { font-size: var(--fs-h4); display: flex; align-items: center; gap: var(--sp-2); }
.qcart__head h3 .badge { font-variant-numeric: tabular-nums; }
.qcart .empty { padding: var(--sp-6) var(--sp-2); }
.qcart__sum { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--text-2); padding-top: var(--sp-3); border-top: 1px solid var(--line-2); margin-top: var(--sp-2); }
.qcart__sum b { color: var(--text); }
.qform { position: relative; background: var(--panel-bg); border: 1px solid var(--panel-bd); box-shadow: var(--panel-shadow); border-radius: var(--r-xl); padding: var(--sp-5); }
@media (min-width: 768px) { .qform { padding: var(--sp-8); } }
.qform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qform legend { font-size: var(--fs-h4); font-weight: var(--fw-black); letter-spacing: -0.02em; margin-bottom: var(--sp-4); padding: 0; }
.qform fieldset + fieldset { margin-top: var(--sp-8); }
.privacy { margin-top: var(--sp-6); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); padding: var(--sp-4); font-size: var(--fs-xs); color: var(--text-2); line-height: 1.6; }
.privacy summary { font-weight: var(--fw-bold); color: var(--text); font-size: var(--fs-sm); min-height: var(--tap); display: flex; align-items: center; }
.privacy table { width: 100%; margin-top: var(--sp-2); }
.privacy th, .privacy td { text-align: left; vertical-align: top; padding: 6px 0; border-bottom: 1px solid var(--line); }
.privacy th { width: 30%; color: var(--text-3); font-weight: var(--fw-semibold); padding-right: var(--sp-2); }
.consent { margin-top: var(--sp-2); font-weight: var(--fw-semibold); }
.submit-row { display: grid; gap: var(--sp-2); margin-top: var(--sp-6); }
@media (min-width: 768px) { .submit-row { grid-template-columns: 1fr 1fr; } .submit-row .btn:first-child { grid-column: 1 / -1; } }
.submit-row .btn { white-space: normal; text-align: center; line-height: 1.25; }
.submit-help { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-3); }
.form-alert { margin-top: var(--sp-4); }
.channels { display: grid; gap: var(--sp-2); }
@media (min-width: 768px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); } }
.mood-strip { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), var(--shadow-md); }
.mood-strip img { width: 100%; height: 100%; object-fit: cover; }
.mood-strip.is-broken img { display: none; }

/* data-icon 치환 SVG 기본 크기 (특정 규칙이 우선) */
:where([data-icon]) > svg { width: 1.25em; height: 1.25em; flex: none; }
:where([data-icon]) { display: inline-flex; align-items: center; justify-content: center; }
.channel-btn > [data-icon]:last-child { margin-left: auto; color: var(--text-3); }
.channel-btn > [data-icon]:last-child svg { width: 18px; height: 18px; }
.qcart__head h3 [data-icon] svg { width: 22px; height: 22px; color: var(--accent-text); }

.conv__presets .chip { min-height: var(--tap); }
.qcart .stepper { height: var(--tap); }
.qcart .stepper button { width: var(--tap); }
.qcart .quote-item__del { min-height: var(--tap); }
.qcart__head .btn--sm { --btn-h: var(--tap); }
#blog .link { min-height: var(--tap); }
.table-wrap--wide .table th[scope="row"] { min-width: 7.5em; }
.gsec__fig img { max-height: 300px; }
