:root {
  --ink: #171719;
  --paper: #f7f4ed;
  --paper-strong: #ffffff;
  --muted: #65656a;
  --line: rgba(23, 23, 25, 0.16);
  --accent: #1b2f8e;
  --accent-soft: #eaf2fb;
  --accent-ink: #172658;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}
body.seongsu { --accent: #c84aa9; --accent-soft: #f9eaf4; --accent-ink: #6d235f; }
body.hannam { --accent: #b58b42; --accent-soft: #ece8df; --accent-ink: #242322; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 20; padding: .65rem 1rem; transform: translateY(-160%); background: #fff; color: #111; }
.skip-link:focus { transform: translateY(0); }
.branch-header {
  height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, .96);
}
.brand { display: flex; flex-direction: column; font-size: .85rem; font-weight: 700; letter-spacing: .16em; line-height: 1; }
.branch-nav { display: flex; align-items: center; gap: 1.4rem; font-size: .84rem; }
.branch-nav a:last-child { padding: .65rem 1rem; border: 1px solid var(--ink); }
.branch-hero { display: grid; grid-template-columns: 1fr 1.18fr; min-height: calc(100vh - 5.25rem); }
.branch-hero__copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(3rem, 6vw, 7rem) 4vw 3rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 7vw, 7.2rem); font-weight: 400; line-height: .95; letter-spacing: -.045em; color: var(--accent-ink); }
.branch-hero__lead { max-width: 31rem; font-size: clamp(1.12rem, 1.7vw, 1.45rem); line-height: 1.8; }
.branch-hero__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 2.25rem; border-top: 1px solid var(--line); font-size: .88rem; }
.branch-hero__meta span { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.branch-hero__visual { position: relative; min-height: 40rem; overflow: hidden; background: #ddd; }
.branch-hero__visual > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.branch-logo { position: absolute; right: 1.5rem; bottom: 1.5rem; width: clamp(5rem, 10vw, 8rem); aspect-ratio: 1; object-fit: contain; background: rgba(255, 255, 255, .9); padding: .5rem; }
.branch-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 3.4rem; padding: .75rem 1.15rem; border: 1px solid var(--ink); font-size: .9rem; }
.button--primary { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
.branch-story { padding: clamp(4.5rem, 8vw, 8rem) 4vw; background: var(--paper-strong); }
.branch-story__head { display: grid; grid-template-columns: .8fr 1.4fr; gap: 3rem; margin-bottom: 4rem; }
.branch-story h2 { max-width: 14em; font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; line-height: 1.35; letter-spacing: -.045em; }
.branch-story__head > p { max-width: 34rem; color: var(--muted); }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--accent); }
.fact-grid article { min-height: 13rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-grid article:last-child { border-right: 0; }
.fact-grid span { display: block; margin-bottom: 2.5rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.fact-grid h3 { font-size: 1.25rem; font-weight: 500; }
.fact-grid p { color: var(--muted); font-size: .9rem; }
.branch-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: clamp(4.5rem, 8vw, 8rem) 4vw; background: var(--accent-soft); }
.branch-visit h2 { font-size: clamp(2.2rem, 4.5vw, 4.6rem); font-weight: 400; line-height: 1.25; letter-spacing: -.045em; }
.branch-address { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.branch-address p { margin-bottom: 1.5rem; }
.branch-address span { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
.other-spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.other-spaces a { min-height: 7rem; padding: 1.5rem 4vw; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.other-spaces a:last-child { border-right: 0; }
.other-spaces span { display: block; color: var(--muted); font-size: .72rem; }
.other-spaces b { font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; }
.branch-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem 4vw; background: #171719; color: #d9d5cd; font-size: .78rem; }
.branch-footer p { margin: 0; }

@media (max-width: 820px) {
  .branch-header { padding: 0 1.25rem; }
  .branch-nav a:not(:last-child) { display: none; }
  .branch-hero { grid-template-columns: 1fr; }
  .branch-hero__copy { min-height: 31rem; padding: 4rem 1.25rem 2rem; }
  .branch-hero__visual { min-height: 31rem; }
  .branch-story, .branch-visit { padding: 4.5rem 1.25rem; }
  .branch-story__head, .branch-visit { grid-template-columns: 1fr; gap: 1.5rem; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid article { min-height: 0; border-right: 0; }
  .fact-grid span { margin-bottom: 1rem; }
  .other-spaces { grid-template-columns: 1fr; }
  .other-spaces a { min-height: 0; padding: 1.25rem; border-right: 0; }
  .branch-footer { flex-direction: column; padding: 2.5rem 1.25rem; }
}

/* Shared black brand direction and direct booking. */
:root{--ink:#f5f5f2;--paper:#090909;--paper-strong:#141414;--muted:#b8b8b8;--line:#383838;--accent:#82b9ef;--accent-soft:#191919;--accent-ink:#82b9ef;color-scheme:dark}
body.seongsu{--accent:#efa5d2;--accent-soft:#191919;--accent-ink:#efa5d2}body.hannam{--accent:#d7ba83;--accent-soft:#191919;--accent-ink:#d7ba83}
.branch-header{background:#090909}.button--primary{background:#f5f5f2;color:#111;border-color:#f5f5f2}.button--primary:hover{background:var(--accent);border-color:var(--accent)}.branch-nav{font-size:.875rem}.branch-nav a:last-child{background:#f5f5f2;color:#111}.branch-hero{min-height:0}.branch-hero__copy{padding-top:3rem}.branch-hero__visual{margin:0;min-height:34rem;background:#191919}.branch-logo{background:#fff}.eyebrow,.fact-grid span,.branch-address span,.other-spaces span{font-size:.875rem;letter-spacing:.07em}.branch-hero__meta span{font-size:.75rem}.branch-footer{font-size:.875rem}.branch-story__head>p{font-size:1rem}.branch-footer{background:#090909}.branch-nav a:focus-visible,.button:focus-visible{outline:2px solid #fff}
@media(max-width:820px){.branch-hero__copy{padding:2rem 1.25rem;min-height:0;gap:2rem}.branch-hero__visual{min-height:0;aspect-ratio:4/3}.branch-hero__visual>img:first-child{height:100%;width:100%}.branch-actions{margin-top:1.25rem}.branch-hero__lead{font-size:1rem}.branch-hero h1{font-size:3.5rem}.branch-hero__meta{padding-top:1.5rem}.branch-story__head{margin-bottom:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
