/* Material and typography from the original Wee Branch site, in monochrome.
   Decorative filters apply only to background layers, never to page content. */
@font-face {
  font-family: 'WBC Slab';
  src: url('./assets/heritage/roboto-slab-600.woff') format('woff');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'WBC Serif KR';
  src: url('./assets/heritage/noto-serif-kr-complete-600.woff') format('woff');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --bg: #171717;
  --paper: #f3f3f3;
  --fg: #f4f4f4;
  --ink: #252525;
  --line: #464646;
  --light-line: #cecece;
  --display: 'WBC Slab', 'WBC Serif KR', 'Batang', Georgia, serif;
  --font: Helvetica, Arial, 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
html { scroll-padding-top: 110px; }
body { overflow-wrap: break-word; }
main h1, main h2, main h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.wrap { width: min(1320px, calc(100% - 112px)); }
.narrow { width: min(800px, calc(100% - 112px)); }
.section { padding-block: 88px; }
.mockbar { background: #141414; }
.site-header { background: #1b1b1b; border-color: #3c3c3c; }
.header-inner { min-height: 90px; }
.brand span { letter-spacing: .44em; }
.main-nav a { color: #c5c5c5; padding-block: 12px; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: #d4d4d4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current=page]::after {
  bottom: 2px;
  height: 1px;
  transform: scaleX(1);
}
.lang-switch a { min-height: 42px; min-width: 26px; }
.site-header .header-contact { border-color: #b9b9b9; }
.heritage-opening, .ask-band, .paper { position: relative; isolation: isolate; }
.heritage-opening { background: #111; border-bottom: 1px solid #444; }
.heritage-opening::before, .ask-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #080808b8, #08080870),
    url('./assets/heritage/charred-oak-portrait.webp') center 42% / cover;
  filter: grayscale(1);
}
.ask-band::before { opacity: .45; }
.paper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('./assets/heritage/pale-oak.webp') center top / 1536px 1024px repeat;
  filter: grayscale(1);
  opacity: .045;
}
.welcome { padding-block: 52px 56px; gap: 8%; grid-template-columns: 1.6fr 1fr; }
.welcome .eyebrow, .page-head > .eyebrow, .funding-kicker > .eyebrow,
.section-heading .eyebrow, .proof-heading .eyebrow, .first-reading .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: .09em;
}
.welcome .eyebrow::before, .page-head > .eyebrow::before,
.funding-kicker > .eyebrow::before, .section-heading .eyebrow::before,
.proof-heading .eyebrow::before, .first-reading .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.welcome .eyebrow, .heritage-opening .eyebrow { color: #ccc; }
.welcome h1 {
  font-size: clamp(38px, 4.05vw, 59px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -.045em;
}
.welcome .actions { margin-top: 28px; }
.welcome-note { padding: 22px 0 22px 32px; border-color: #8a8a8a; }
.welcome-note .welcome-who {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: -.025em;
}
.welcome-note p+p { color: #c4c4c4; font-size: 14px; }
.first-reading { padding-block: 40px 30px; }
.first-reading h2 { font-size: clamp(27px, 2.5vw, 34px); line-height: 1.5; }
.first-reading-grid { gap: 8%; }
.first-reading-copy > p { line-height: 1.95; }
.reading-foot { margin-top: 28px; }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .proof-heading h2 { font-weight: 600; line-height: 1.45; }
.reading-grid, .service-list, .article-list { border-top-color: #696969; }
.reading-card { padding-top: 28px; }
.reading-card h3, .article-row h2 { font-weight: 600; }
.reading-card .card-meta, .service-row .no, .service-detail .no { font-variant-numeric: tabular-nums; }
.service-row { padding-block: 29px; }
.service-row h3 { font-size: 25px; font-weight: 600; }
.service-row .arrow, .reading-card .arrow, .link .arrow { transition: transform .2s; }
.service-row:hover .arrow, .reading-card:hover .arrow, .link:hover .arrow { transform: translate(2px,-2px); }
.button {
  border-radius: 0;
  background: #e6e6e6;
  border-color: #e6e6e6;
  padding: 13px 25px;
  font-size: 14px;
  transition: background .2s, border-color .2s, color .2s;
}
.button:hover { background: #fff; border-color: #fff; transform: none; }
.button.ghost { border-color: #8b8b8b; }
.button.ghost:hover { border-color: #eee; background: #ffffff0e; }
.paper .button.ghost:hover { background: #00000006; border-color: #555; }
.paper .button, .light-form .button { background: #252525; border-color: #252525; }
.paper .button:hover, .light-form .button:hover { background: #414141; border-color: #414141; }
.proof-count strong, .story-factline strong, .funding-fact strong {
  font-family: 'WBC Slab', Georgia, serif;
  font-weight: 600;
  letter-spacing: -.045em;
}
.proof-count { padding-left: 36px; border-left: 1px solid #666; }
.proof-count strong { font-size: clamp(66px,7vw,94px); }
.proof-description { color: #c0c0c0; }
.reference-list { margin-top: 36px; }
.reference-card { border-color: #525252; }
.reference-card h3 { font-size: 23px; line-height: 1.55; font-weight: 600; }
.reference-card .eyebrow { color: #aaa; }
.page-head { padding-block: 57px 56px; }
.page-head h1 { font-size: clamp(35px,4.1vw,58px); line-height: 1.4; font-weight: 600; }
.page-head .intro { color: #c2c2c2; font-size: 17px; }
.page-head .eyebrow { margin-bottom: 22px; }
.article-head h1 { font-size: clamp(32px,3.4vw,48px); }
.article-content { padding-block: 55px 70px; }
.article-content p, .story-prose p { line-height: 2; }
.article-content h2 { font-size: 25px; }
.company-overview { padding-block: 48px; }
.company-overview .section-heading h2 { font-size: 33px; }
.overview-grid, .impact-grid { gap: 36px; }
.overview-grid article, .impact-grid article, .accountability-grid article { border-top-color: #777; }
.story-chapter { gap: 7%; }
.chapter-number { font-family: var(--display); font-weight: 600; }
.founder-promise blockquote, .principle { font-family: var(--display); font-weight: 600; }
.funding-hero { padding-block: 51px 29px; }
.funding-hero h1 { font-size: clamp(35px,4.1vw,59px); line-height: 1.4; font-weight: 600; }
.funding-lead { color: #d2d2d2; }
.funding-intro-note { border-color: #8a8a8a; }
.funding-intro-note p { font-family: var(--display); font-weight: 600; font-size: 23px; }
.funding-dateline { color: #aaa; }
.funding-milestones { border-color: #626262; }
.funding-milestones a+a { border-color: #626262; }
.funding-milestones strong { font-variant-numeric: tabular-nums; }
.funding-stage { border-color: #494949; }
.funding-teaser { padding-block: 52px; }
.funding-teaser h2 { font-weight: 600; line-height: 1.55; }
.partner-tabs [role=tab] { font-family: 'WBC Slab', Georgia, serif; font-weight: 600; }
.partner-map-stage { background: #fafafa; border-color: #c7c7c7; }
.map-land { fill: #efefef; stroke: #b3b3b3; }
.map-land.partner-country { fill: #fff; stroke: #555; }
.map-land.north { fill: #c2c2c2; stroke: #555; }
.partner-popup h3 { font-family: var(--font); }
.partner-popup { box-shadow: 0 6px 18px #00000012; }
.partner-details > summary { font-size: 16px; }
.light-form { border: 1px solid #d1d1d1; }
.ask-band { padding-block: 57px; }
.ask-band h2 { font-family: var(--display); font-weight: 600; }
.ask-band p { color: #c1c1c1; }
.site-footer { background: #141414; padding-top: 44px; }
.footer-main p { color: #aaa; }
.footer-bottom { color: #999; }
/* The six approved navigation entries stay visible where they fit. */
@media(min-width:981px) and (max-width:1240px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 13px; }
  .nav-area { gap: 13px; }
  .nav-area > .header-contact { padding-inline: 12px; gap: 9px; }
  .main-nav a { font-size: 12px; }
  .brand b { font-size: 21px; }
  .lang-switch { padding-left: 10px; }
}
@media(max-width:1150px) {
  .wrap,.narrow { width: calc(100% - 64px); }
  .welcome { gap: 42px; }
  .welcome h1 { font-size: 42px; }
  .welcome-note .welcome-who { font-size: 19px; }
}
@media(max-width:980px) {
  .header-inner { min-height: 78px; }
  .nav-area { top: 79px; background: #1b1b1b; }
  .main-nav a { min-height: 48px; }
  .main-nav a::after { display: none; }
  .welcome { grid-template-columns: 1.4fr 1fr; gap: 32px; padding-block: 42px; }
  .welcome h1 { font-size: 36px; }
  .welcome-note { padding-left: 25px; }
  .welcome-note .welcome-who { font-size: 18px; }
  .welcome-note p+p { font-size: 13px; }
  .section { padding-block: 68px; }
  .proof-count { padding-left: 27px; }
  .first-reading-grid { gap: 35px; }
  .funding-intro-note p { font-size: 20px; }
}
@media(max-width:700px) {
  html { scroll-padding-top: 90px; }
  .wrap,.narrow { width: calc(100% - 40px); }
  .header-inner { min-height: 73px; }
  .nav-area { top: 74px; }
  .mobile-ask { min-height: 40px; min-width: 46px; }
  .menu-button { min-width: 40px; min-height: 40px; }
  .welcome { grid-template-columns: 1fr; gap: 23px; padding-block: 32px; }
  .welcome h1 { font-size: clamp(29px,8.1vw,43px); line-height: 1.43; }
  .welcome .eyebrow { margin-bottom: 16px; }
  .welcome .actions { margin-top: 24px; gap: 18px; }
  .welcome-note { padding: 19px 0 0; border-left: 0; border-top: 1px solid #666; }
  .welcome-note .welcome-who { font-family: var(--font); font-size: 15px; font-weight: 400; }
  .welcome-note p+p { font-size: 12px; }
  .first-reading { padding-block: 29px 25px; }
  .first-reading-grid { gap: 18px; }
  .first-reading h2 { font-size: 26px; }
  .first-reading-copy > p { font-size: 14px; }
  .reading-foot { margin-top: 24px; }
  .section { padding-block: 53px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading { margin-bottom: 29px; }
  .service-row h3 { font-size: 23px; }
  .proof-heading { gap: 25px; }
  .proof-heading h2 { font-size: 29px; }
  .proof-count { padding: 22px 0 0; border-left: 0; border-top: 1px solid #666; }
  .proof-count strong { font-size: 64px; }
  .proof-count p { font-size: 11px; }
  .reference-card h3 { font-size: 22px; }
  .page-head { padding-block: 38px 37px; }
  .page-head h1 { font-size: 34px; }
  .page-head .intro { font-size: 15px; }
  .article-head h1 { font-size: 30px; }
  .article-content { padding-block: 38px 50px; }
  .article-content h2 { font-size: 23px; }
  .company-overview { padding-block: 34px; }
  .company-overview .section-heading h2 { font-size: 28px; }
  .overview-grid,.impact-grid { gap: 25px; }
  .funding-hero { padding-block: 34px 25px; }
  .funding-hero h1 { font-size: clamp(32px,8.2vw,45px); }
  .funding-intro-note p { font-size: 18px; }
  .funding-teaser { padding-block: 36px; }
  .funding-teaser h2 { font-size: 26px; }
  .ask-band { padding-block: 41px; }
  .ask-band h2 { font-size: 27px; }
  .reading-foot > *, .section-bottom > * { min-width: 0; }
}
@media(max-width:380px) {
  .brand b { font-size: 20px; }
  .welcome .actions { gap: 14px; }
  .welcome .actions .link { font-size: 10px; }
  .page-head h1 { font-size: 31px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
