/* ===================================================================
   v4 — 고급화(2026-11-20) · 방향 editorial-tech 유지 · 바탕 흰색
   허브 개선 회차 audits/marketsupport/loop/premium. 대표 지시: 고급스럽고 매력적이되 직관적으로,
   텍스트 위주 금지, 기술 자랑 금지. 색 · 글자 크기는 허브 토큰(xde-marketcenter)만 — hex 0.
   층: ① 글자(장년층 — 본문 17px) ② 구역 리듬(흰 / 띠 면) ③ 쪽 머리 그림 ④ 대표 도식(엔진)
       ⑤ 부품(흐름 · 단계 · 책 · 탭 · 단계 넘김 · 표지 · 숫자 카드 · 배치도) ⑥ 한 번만 나타나기
   =================================================================== */

[hidden] { display: none !important; }

/* ① 글자 */
body { font-size: var(--fs-body); line-height: 1.7; }
.sec-head p, .page-head .lead, .hero .lead { font-size: var(--fs-lead); line-height: 1.75; }
.lead, .muted { line-height: 1.75; }
.principles p, .roles li, .course li, .kit p, .faq p, .steps p { font-size: var(--fs-body); }

/* ② 구역 리듬 — 띠 면은 아주 옅은 스톤(바탕 흰색 지시 안에서 쉬어 가는 면) */
.sec { padding: 112px 0; }
.sec.band { background: var(--band); border-top: 0; }
.sec.band + .sec, .sec + .sec.band { border-top: 0; }
.sec.band .sec-head::before { border-top-color: var(--fg); }
.sec.band .case-card, .sec.band .role, .sec.band .course, .sec.band .kit div, .sec.band .v-j-col, .sec.band .trend,
.sec.band .report, .sec.band .ex-card, .sec.band .v-fl-node, .sec.band .v-swim .inst, .sec.band .v-cf-n, .sec.band .v-dg-n,
.sec.band .v-hq-r, .sec.band .v-ring, .sec.band .v-ml div, .sec.band .mk-list a, .sec.band .v-weeks li:not(.meet), .sec.band .five,
.sec.band .pull, .sec.band .final, .sec.band .chips-tools a, .sec.band .v-stage, .sec.band .manuals > div { background: var(--surface); }
.sec.band .v-hbars .b, .sec.band .v-career .bar { background: var(--surface); }
.sec.band .v-dg-links span { background: var(--band); }
.sec.feature { padding: 128px 0; }
@media (max-width: 639px) { .sec { padding: 72px 0; } .sec.feature { padding: 80px 0; } }

/* 브랜드 — 마켓6 엠블럼 + 명조 워드마크 */
.brand { gap: 12px; }
.brand-mark { display: none; }
.brand-emblem { width: 38px; height: 38px; flex: none; color: var(--fg); }
.brand-emblem .ring { fill: none; stroke: var(--line); stroke-width: 1.4; }
.brand-emblem .dot { fill: var(--fg); }
.brand-emblem .lead { fill: var(--accent); }
.brand-emblem .six { font-family: var(--serif-d); font-weight: 700; fill: var(--fg); }
.brand-word { display: grid; line-height: 1.15; }
.brand-word b { font-family: var(--serif-d); font-size: var(--fs-lead); font-weight: 700; letter-spacing: -0.02em; }
.brand-word small { margin: 2px 0 0; font-size: var(--fs-min); color: var(--fg-subtle); }
@media (max-width: 1439px) { .brand-word small { display: block; } }
@media (max-width: 1279px) { .brand-word small { display: none; } }
.d-nav .brand-word small, .m-top .brand-word small { display: none; }

/* 홈 히어로 — 사진은 넓게(해 질 녘 전경) */
.hero-media picture, .hero-media picture img { display: block; width: 100%; }
.hero-media img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; height: auto; }
.hero .wrap:first-child { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.hero-media figcaption span { letter-spacing: 0; }
@media (max-width: 1023px) { .hero .wrap:first-child { grid-template-columns: 1fr; } .hero-media { order: 2; } }

/* ③ 쪽 머리 — 아래 그림 한 장 */
.page-head.has-media { padding-bottom: 0; border-bottom: 0; }
.ph-media { margin-top: 48px; }
.ph-media > picture img, .ph-media > picture { display: block; width: 100%; }
.ph-media > picture img { aspect-ratio: 21 / 8; height: auto; object-fit: cover; border-radius: 4px; }
.page-head.has-media + * { border-top: 0; }
.ph-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ph-mosaic picture, .ph-mosaic img { display: block; width: 100%; }
.ph-mosaic img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; border-radius: 4px; }
.ph-media-h { font-size: var(--fs-h3); margin-bottom: 20px; }
.ph-media .v-books { margin-bottom: 4px; }
.page-head.has-media .ph-media { padding-bottom: 64px; }
.page-head.has-media .ph-media:has(> picture), .page-head.has-media .ph-media:has(> .ph-mosaic) { padding-bottom: 0; }
@media (max-width: 767px) { .ph-media { margin-top: 32px; } .ph-media > picture img { aspect-ratio: 16 / 10; } .ph-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ④ 대표 도식 — 마켓그로잉엔진(홈) */
.v-eng { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; align-items: center; }
.v-eng-ring { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; }
.v-eng-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-eng .track { fill: none; stroke: var(--line); stroke-width: .6; }
.v-eng .inner { fill: var(--surface); stroke: var(--line-soft); stroke-width: .6; }
.v-eng .arc { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.v-eng .arc.back { stroke-dasharray: 2.4 2; }
.v-eng .head { fill: var(--accent); }
.v-eng-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; text-align: center; gap: 4px; }
.v-eng-mid b { font-family: var(--serif-d); font-size: var(--fs-numeral); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.v-eng-mid span { font-size: var(--fs-meta); color: var(--fg-subtle); }
.v-eng-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px;
  min-width: 96px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--fg); border-radius: 999px; background: var(--surface); color: var(--fg);
  font: 600 var(--fs-body)/1.2 var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.v-eng-node span { font-size: var(--fs-min); font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.v-eng-node:hover { border-color: var(--accent); }
.v-eng-node[aria-selected="true"] { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.v-eng-node[aria-selected="true"] span { color: var(--accent-soft); }
.v-eng-node:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.v-eng-side { display: grid; gap: 24px; }
.v-eng-panels { display: grid; }
.v-eng-panel { display: grid; gap: 12px; padding: 0 0 24px; border-bottom: var(--rule); }
.v-eng-panel + .v-eng-panel { padding-top: 24px; }
.js .v-eng-panel + .v-eng-panel { padding-top: 0; }
.v-eng-panel .no { font-size: var(--fs-meta); font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.v-eng-panel h3 { font-family: var(--serif-d); font-size: var(--fs-figure); font-weight: 600; letter-spacing: -0.03em; }
.v-eng-panel p { font-size: var(--fs-lead); line-height: 1.75; color: var(--fg-muted); max-width: 30em; }
.v-eng-floor { display: grid; gap: 6px; padding: 18px 0 0; border-top: 2px solid var(--fg); }
.v-eng-floor b { font-family: var(--serif-d); font-size: var(--fs-h3); }
.v-eng-floor span { color: var(--fg-muted); }
@media (max-width: 959px) { .v-eng { grid-template-columns: 1fr; gap: 32px; } .v-eng-ring { max-width: 420px; margin: 0 auto; } }
@media (max-width: 479px) { .v-eng-node { min-width: 76px; min-height: 56px; padding: 8px 10px; font-size: var(--fs-meta); } .v-eng-mid b { font-size: var(--fs-figure); } }
@media (prefers-reduced-motion: no-preference) {
  .js .v-eng.in .v-eng-node { animation: v-node-in .5s both; animation-delay: calc(var(--i) * 90ms); }
  @keyframes v-node-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
}

/* 센터 소개 — 엔진 한 줄 흐름(홈의 원형과 다른 모양) */
.v-eline { margin: 0; display: grid; gap: 0; }
.v-eline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--fg); }
.v-eline li { position: relative; display: grid; gap: 6px; padding: 22px 18px 22px 0; }
.v-eline li + li { padding-left: 18px; border-left: var(--rule-soft); }
.v-eline li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 30px; width: 10px; height: 10px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); background: var(--bg); z-index: 1; }
.v-eline .no { font-size: var(--fs-min); font-weight: 700; color: var(--accent-ink); }
.v-eline b { font-family: var(--serif-d); font-size: var(--fs-h3); font-weight: 600; }
.v-eline-back { position: relative; height: 40px; margin: 0 8% 0 calc(100% / 6 + 4%); border: 1.5px dashed var(--accent); border-top: 0; border-radius: 4px; }
.v-eline-back span { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: 0 12px; background: var(--bg); font-size: var(--fs-meta); font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.v-eline-floor { margin-top: 28px; padding: 14px 18px; background: var(--band); font-weight: 600; text-align: center; }
@media (max-width: 959px) { .v-eline ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v-eline li:nth-child(4) { border-left: 0; padding-left: 0; } .v-eline li:nth-child(3)::after { display: none; } .v-eline-back { margin-left: 8%; } }
@media (max-width: 479px) { .v-eline ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-eline li:nth-child(n) { border-left: 0; padding-left: 0; } .v-eline li::after { display: none; } .v-eline-back span { white-space: normal; text-align: center; width: 80%; } }

/* ⑤ 부품 — 가로 흐름 */
.v-sf { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0; }
.v-sf-step { flex: 1 1 0; display: grid; gap: 10px; align-content: start; padding: 28px 24px 28px 0; border-top: 2px solid var(--fg); }
.v-sf-step .n { font-family: var(--serif-d); font-size: var(--fs-numeral); line-height: 1; font-weight: 600; color: var(--accent-ink); }
.v-sf-step b { font-family: var(--serif-d); font-size: var(--fs-h3); }
.v-sf-step p { color: var(--fg-muted); }
.v-sf-arr { flex: none; display: grid; place-items: start center; padding: 36px 12px 0; border-top: 2px solid var(--fg); }
@media (max-width: 767px) { .v-sf { flex-direction: column; } .v-sf-arr { border-top: 0; padding: 0; place-items: center start; } .v-sf-arr .v-arr { transform: rotate(90deg); } }

/* 홈 — 세 단계 요약 */
.v-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 200px; gap: 16px; }
.v-stage { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 28px 24px; border: var(--rule); border-radius: 4px; background: var(--surface); text-decoration: none; color: var(--fg); transition: border-color .2s; }
.v-stage:hover { border-color: var(--accent); }
.v-stage .n { font-family: var(--serif-d); font-size: var(--fs-numeral); line-height: .9; font-weight: 600; color: var(--accent-ink); }
.v-stage b { font-family: var(--serif-d); font-size: var(--fs-h3); display: block; }
.v-stage small { display: block; margin-top: 4px; font-size: var(--fs-meta); color: var(--fg-subtle); }
.v-stage p { margin-top: 12px; font-weight: 600; }
.v-stage.end { grid-template-columns: 1fr; place-content: center; text-align: center; border: 2px solid var(--fg); }
@media (max-width: 1023px) { .v-stages { grid-template-columns: 1fr; } }

/* 자료실 — 눕혀 쌓은 책 */
.v-books { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 980px; }
.v-books a { display: grid; grid-template-columns: 44px auto minmax(0, 1fr) auto; gap: 14px; align-items: center; width: calc(var(--w) * 100%); min-width: min(100%, 340px); min-height: 56px; padding: 0 18px; border-radius: 4px; text-decoration: none; transition: transform .2s; }
.v-books a:hover { transform: translateX(6px); }
.v-books .tone0 { background: var(--fg); color: var(--surface); }
.v-books .tone1 { background: var(--accent-ink); color: var(--surface); }
.v-books .tone2 { background: var(--surface); color: var(--fg); border: 1px solid var(--fg); }
.v-books .no { font-family: var(--serif-d); font-size: var(--fs-h3); font-weight: 700; }
.v-books b { font-family: var(--serif-d); font-size: var(--fs-lead); font-weight: 600; white-space: nowrap; }
.v-books small { font-size: var(--fs-meta); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-books em { font-style: normal; font-family: var(--serif-d); font-size: var(--fs-h3); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .v-books a { width: 100%; grid-template-columns: 32px 1fr auto; } .v-books small { display: none; } }

/* 탭(모듈 지도) */
.v-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.v-tablist [role=tab] { min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--fg); font: 600 var(--fs-body)/1 var(--font-body); cursor: pointer; }
.v-tablist [role=tab][aria-selected="true"] { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.v-tablist [role=tab]:focus-visible, .v-st-list [role=tab]:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
html:not(.js) .v-tablist { display: none; }
.v-tabs [role=tabpanel] + [role=tabpanel] { margin-top: 32px; }
.js .v-tabs [role=tabpanel] + [role=tabpanel] { margin-top: 0; }

/* 단계 넘김(상담) */
.v-st { border: var(--rule); border-top: 3px solid var(--fg); border-radius: 4px; background: var(--surface); }
.v-st-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: var(--rule); }
.v-st-list [role=tab] { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 16px 16px 18px; border: 0; border-right: var(--rule-soft); background: transparent; color: var(--fg-muted); font: inherit; cursor: pointer; position: relative; }
.v-st-list [role=tab]:last-child { border-right: 0; }
.v-st-list [role=tab] span { font-family: var(--serif-d); font-size: var(--fs-h3); font-weight: 600; color: var(--fg-subtle); }
.v-st-list [role=tab] b { font-size: var(--fs-body); color: var(--fg); }
.v-st-list [role=tab] small { font-size: var(--fs-meta); }
.v-st-list [role=tab][aria-selected="true"] { background: var(--band); }
.v-st-list [role=tab][aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.v-st-list [role=tab][aria-selected="true"] span { color: var(--accent-ink); }
.v-st-panel { padding: 32px; display: grid; gap: 20px; }
.v-st-panel + .v-st-panel { border-top: var(--rule-soft); }
.js .v-st-panel + .v-st-panel { border-top: 0; }
.v-st-panel .when { font-size: var(--fs-meta); font-weight: 700; color: var(--accent-ink); }
.v-st-two { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: center; }
.v-st-two > div { display: grid; gap: 8px; padding: 22px 24px; border-radius: 4px; }
.v-st-two .me { border: 2px solid var(--accent); }
.v-st-two .we { border: 1px dashed var(--line); }
.v-st-two small { font-size: var(--fs-meta); font-weight: 700; color: var(--fg-subtle); }
.v-st-two b { font-family: var(--serif-d); font-size: var(--fs-h3); font-weight: 600; line-height: 1.45; }
.v-st-nav { display: flex; justify-content: space-between; padding: 0 32px 24px; }
.v-st-nav button { min-height: 44px; padding: 0 16px; border: var(--rule); border-radius: 4px; background: var(--surface); font: 600 var(--fs-meta)/1 var(--font-body); color: var(--fg); cursor: pointer; }
html:not(.js) .v-st-nav { display: none; }
@media (max-width: 959px) { .v-st-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v-st-list [role=tab]:nth-child(3) { border-right: 0; } .v-st-list [role=tab]:nth-child(-n+3) { border-bottom: var(--rule-soft); } .v-st-two { grid-template-columns: 1fr; } .v-st-two .v-arr { transform: rotate(90deg); justify-self: center; } .v-st-panel { padding: 24px 20px; } .v-st-nav { padding: 0 20px 20px; } }
@media (max-width: 479px) { .v-st-list [role=tab] small { display: none; } }

/* 사례 — 사진 없는 표지(책 표지처럼) */
.case-card picture, .case-card picture img { display: block; width: 100%; }
.case-card .cover-type, .cover-wide .cover-type { position: relative; aspect-ratio: 16 / 9; display: grid; align-content: space-between; padding: 22px 24px; background: var(--band); border-bottom: var(--rule); overflow: hidden; }
.cover-type::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent); pointer-events: none; }
.cover-type .no { font-size: var(--fs-meta); font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.cover-type b { font-family: var(--serif-d); font-size: var(--fs-figure); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--fg); }
.cover-type .city { font-size: var(--fs-meta); font-weight: 600; color: var(--fg-muted); }
.case-card .cover { display: none; }
.cover-wide { margin-top: 40px; }
.cover-wide .cover-type { aspect-ratio: auto; min-height: 200px; border: 0; border-radius: 4px; }
.cover-wide .cover-type b { font-size: var(--fs-numeral); }

/* 사례 — 숫자 카드 · 본문 숫자 굵게 */
.figcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.figcards li { display: grid; gap: 8px; align-content: start; padding: 20px; border: var(--rule); border-top: 3px solid var(--fg); border-radius: 4px; }
.figcards b { font-family: var(--serif-d); font-size: var(--fs-figure); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--accent-ink); }
.figcards span { color: var(--fg-muted); line-height: 1.55; }
.figcards small { font-size: var(--fs-min); font-weight: 700; color: var(--fg-subtle); }
.cn-b b.num { font-weight: 700; color: var(--accent-ink); }

/* 막대 — 한 색 계열(가장 큰 값만 진하게) */
.v-hbars .b i { background: color-mix(in oklab, var(--accent-ink) 42%, var(--surface)); }
.v-hbars li:first-child .b i { background: var(--accent-ink); }
.v-hbars .b { height: 20px; }

/* 배치도(허브 메뉴 13 venue-map-iso) — 색은 토큰 */
.v-iso { margin: 0; display: grid; gap: 10px; }
.v-iso svg { width: 100%; height: auto; max-height: 460px; --map-bg: var(--bg); --map-ink: var(--fg); --map-ink-muted: var(--fg-subtle); --map-grid: var(--line-soft); --map-floor: var(--sunken);
  --map-booth-food: var(--accent-soft); --map-booth-craft: var(--surface); --map-booth-sponsor: var(--band); --map-stage: var(--fg); --map-facility: var(--line); --map-entrance: var(--accent); --map-path: var(--line);
  --map-pattern-ink: color-mix(in oklab, var(--fg) 26%, transparent); --map-shade: var(--fg); font-family: var(--font-body); }
.v-iso .bg { fill: var(--map-bg); }
.v-iso .floor { fill: var(--map-floor); stroke: var(--map-ink); stroke-width: .3; }
.v-iso .grid { stroke: var(--map-grid); stroke-width: .1; }
.v-iso .face { stroke: var(--map-ink); stroke-width: .2; stroke-linejoin: round; }
.v-iso .shade-r { fill: var(--map-shade); opacity: .1; }
.v-iso .shade-l { fill: var(--map-shade); opacity: .22; }
.v-iso .path { fill: none; stroke: var(--map-path); stroke-dasharray: 3 2; stroke-linecap: round; }
.v-iso .label { fill: var(--map-ink); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--map-bg); stroke-width: .5; stroke-linejoin: round; }
.v-iso .id { font-weight: 700; }
.v-iso .muted { fill: var(--map-ink-muted); }
.v-iso .pat { fill: var(--map-pattern-ink); stroke: var(--map-pattern-ink); }
.v-iso g[data-type="stage"] .label { fill: var(--surface); stroke: var(--fg); }
.v-iso figcaption { font-size: var(--fs-meta); color: var(--fg-subtle); }
.page-head .v-iso { padding: 24px; border: var(--rule); border-radius: 4px; background: var(--surface); }

/* 홈 — 우수사례 카드 사진 비율 고정 */
.case-card img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ⑥ 한 번만 나타나기 — 화면 아래 요소만, 움직임 줄이기면 없음(스크립트가 rv 를 붙이지 않음) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media print { .js .rv { opacity: 1 !important; transform: none !important; } }

/* 툴킷 탭 · 접는 설명 */
.kit.tools { display: block; }
.kit.tools .v-tabs > [role=tabpanel] > div { padding: 0; border: 0; background: transparent; }
.kit.tools .codes { columns: 3 240px; column-gap: 32px; }
.kit.tools .codes li { break-inside: avoid; }
.more-detail { margin-top: 28px; border-top: var(--rule); }
.more-detail summary { display: flex; align-items: center; min-height: 56px; font-weight: 700; cursor: pointer; color: var(--accent-ink); }
.more-detail[open] summary { margin-bottom: 8px; }

/* 눈 판정 1차 반영 */
.hero .wrap:first-child { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.hero-media { width: 100%; max-width: none; margin: 0; }
@media (max-width: 1023px) { .hero .wrap:first-child { grid-template-columns: 1fr; } }
@media (min-width: 1200px) { #world .case-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto; }
  #world .case-card:last-child:nth-child(3n+1) .cover-type { border-bottom: 0; border-right: var(--rule); aspect-ratio: auto; min-height: 220px; } }
.v-iso svg { max-height: 600px; }
.page-head .v-iso { padding: 16px 24px; }
.page-head.has-media .ph-media { padding-bottom: 0; }
.page-head.has-media + .sec, .page-head.has-media + nav + .sec { padding-top: 96px; }
.v-iso-leg { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--fg); }
.v-iso-leg li { display: inline-flex; align-items: center; gap: 8px; }
.v-iso-leg .sw { width: 16px; height: 16px; border: 1px solid var(--fg); }
.v-iso-leg .food { background: var(--accent-soft); } .v-iso-leg .craft { background: var(--surface); } .v-iso-leg .hq { background: var(--fg); }
.v-iso-leg .gate { background: var(--accent); } .v-iso-leg .wc { background: var(--line); }
.ph-media-h { margin-bottom: 6px; } .ph-media-p { color: var(--fg-muted); margin-bottom: 20px; }

/* 머리 메뉴 — 메인 4 + 서브(2026-11-20). 마우스를 올리거나 탭 키로 들어가면 아래로 펼쳐진다. */
.gnb { margin-left: auto; }
.gnb-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.gnb-item { position: relative; }
.gnb .gnb-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; font-weight: 600; color: var(--fg); }
.gnb .gnb-top::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--fg-subtle); border-bottom: 1.5px solid var(--fg-subtle); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.gnb .gnb-top[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.gnb-sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; display: grid; gap: 0;
  background: var(--surface); border: var(--rule); border-top: 2px solid var(--fg); border-radius: 0 0 4px 4px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 50; }
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: none; }
.gnb-item:hover .gnb-top::after, .gnb-item:focus-within .gnb-top::after { transform: translateY(1px) rotate(-135deg); }
.gnb .gnb-sub a { display: flex; min-height: 44px; padding: 0 12px; font-weight: 500; color: var(--fg-muted); white-space: nowrap; }
.gnb .gnb-sub a:hover, .gnb .gnb-sub a[aria-current="page"] { background: var(--band); color: var(--fg); }
.gnb a:focus-visible, .head-cta a:focus-visible, .mnav a:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.head-cta .btn-primary[aria-current="page"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent-ink); }
@media (max-width: 1199px) { .gnb { display: block; } .mnav { display: none; } .head-cta .btn-primary { display: inline-flex; } .head-cta { margin-left: 0; } }
@media (max-width: 1023px) { .gnb { display: none; } .mnav { display: block; } .head-cta { margin-left: auto; } .head-cta .btn-primary { display: none; } }
@media (prefers-reduced-motion: reduce) { .gnb-sub, .gnb .gnb-top::after { transition: none; } }

/* 휴대폰 메뉴 — 묶음 제목 + 서브 */
.mnav nav { min-width: 260px; max-height: calc(100vh - 96px); overflow-y: auto; padding: 8px 8px 12px; gap: 4px; }
.mnav-g { display: grid; padding: 8px 0; border-top: var(--rule-soft); }
.mnav-g:first-child { border-top: 0; }
.mnav-g b { padding: 6px 12px 2px; font-size: var(--fs-meta); color: var(--accent-ink); }
.mnav-g.cta a:first-child { font-weight: 700; color: var(--accent-ink); }

/* 바닥 메뉴 — 머리와 같은 네 묶음 */
.site-foot .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 3fr) minmax(0, 1.2fr); }
.f-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.f-nav div { display: grid; align-content: start; }
.f-nav a { min-height: 40px; display: flex; align-items: center; color: var(--fg-muted); text-decoration: none; }
.f-nav a:hover { color: var(--fg); }
@media (max-width: 1023px) { .site-foot .wrap { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .f-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-nav a { min-height: 44px; } }
.site-foot p.f-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--accent-ink); }
