/* 공개 페이지 상·하단 상호: 같은 문구·서체·크기·좌우 기준. */
@font-face { font-family: 'ChosunCentennial'; src: url('/fonts/ChosunCentennial.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
body .site-brand-header.site-brand-header,
body .site-brand-footer.site-brand-footer {
  box-sizing: border-box;
  position: relative;
  inset: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 100vw);
  max-width: none;
  margin: 0;
  padding: 8px 24px;
  color: #443d33;
}
body .site-brand-header.site-brand-header {
  display: flex;
  min-height: 60px;
  height: auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  align-self: flex-start;
  border: 0;
  border-bottom: 1px solid #d9d8d1;
  background: #f6f6f2;
}
.site-brand-header .site-brand-link.site-brand-link,
.site-brand-footer .site-brand-link.site-brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  padding: 0;
  margin: 0;
  color: inherit;
  font-family: 'ChosunCentennial', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}
body .site-brand-footer.site-brand-footer { min-height: 60px; margin-bottom: 16px; text-align: left; }
.site-brand-header > a:not(.site-brand-link),
.site-brand-header .story-nav-actions a,
.site-brand-header > button {
  position: static;
  inset: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font-family: 'Pretendard Variable', 'Apple SD Gothic Neo', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transform: none;
}
.site-brand-header a:hover,
.site-brand-footer a:hover { color: #ad512f; text-decoration: none; }
.site-brand-header a:focus-visible,
.site-brand-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
body .site-brand-header.site-brand-header--dark { color: #f9f6f0; background: #1a1714; border-color: #443d33; }
.legal-footer--dark .site-brand-footer.site-brand-footer { color: #f9f6f0; }
.story-page .story-hero { margin-top: 0; }
body.story-page { --story-nav-height: 60px; }
body .site-brand-header.site-brand-header--map { position: fixed; top: 0; z-index: 120; }
body:has(.site-brand-header--map) .origin-panel { top: calc(76px + env(safe-area-inset-top, 0px)); }
body:has(.site-brand-header--map) .legal-footer--map { right: 0; left: 0; bottom: 0; width: 100%; max-width: none; padding: 4px 0; border-radius: 0; }
body:has(.site-brand-header--map) .legal-footer--map .site-brand-footer { padding-block: 0; min-height: 44px; margin-bottom: 4px; }
body:has(.site-brand-header--map) .legal-footer--map .site-social-actions { margin-bottom: 0; }
body:has(.site-brand-header--map) .legal-footer--map .legal-footer__links { flex-direction: row; gap: 0 12px; }
body:has(.site-brand-header--map) .result-cards { bottom: calc(180px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 720px) {
  body .site-brand-header.site-brand-header,
  body .site-brand-footer.site-brand-footer { padding-inline: 20px; }
  body .site-brand-footer.site-brand-footer { text-align: center; }
  .site-brand-header .story-nav-actions { gap: 8px; }
}

body:has(.site-brand-header--dark) > .legal-footer { box-sizing: border-box; width: 100%; max-width: 100%; }

/* Branch watermark: match the hero title, with a muted branch name and no action. */
body .site-brand-header .site-branch-wordmark.site-branch-wordmark {
  display:flex; align-items:baseline; gap:clamp(10px, 3vw, 26px);
  font-size:clamp(26px, 8.3vw, 64px); line-height:1.15; letter-spacing:-.03em;
  cursor:default;
}
.site-branch-wordmark .site-branch-label { color:var(--muted, #756d61); font-size:clamp(16px, 3.8vw, 27px); letter-spacing:-.025em; }
