/* 박정희대통령 생가/민족중흥관 v6 «초가 한 채» — 짚 노랑 · 황토 · 조용한 회갈색, 명조 제목 */
:root {
  --paper: #f6f1e6; --paper-2: #eee4cf; --straw: #c9a663; --straw-d: #8d6f3a; --straw-l: #e6d6b0;
  --ochre: #a2632c; --ochre-d: #7d4a20; --ink: #3a3631; --ink-2: #625b52; --line: #d8cbb1; --dark: #35312c; --dark-2: #2b2824;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px; --hd: 72px;
}
:lang(zh-CN) { --serif: "Noto Serif SC", "Noto Serif KR", serif; --sans: "Pretendard Variable", Pretendard, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
:lang(ja) { --serif: "Noto Serif JP", "Noto Serif KR", serif; --sans: "Pretendard Variable", Pretendard, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.75 var(--sans); word-break: keep-all; overflow-wrap: break-word; }
html:not([lang="ko"]) body { word-break: normal; }
html[lang="ja"] body, html[lang="zh-CN"] body { line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.35; margin: 0; letter-spacing: -.01em; }
p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.ko-alt { font-family: var(--sans); font-size: max(12px, .62em); font-weight: 500; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }
.only-intl { display: none !important; }
html:not([lang="ko"]) .only-intl { display: revert !important; }
html:not([lang="ko"]) span.only-intl { display: inline !important; }

/* ── 짚 결 띠(장식) ── */
.straw-band, .plate::before, .end::before {
  background: repeating-linear-gradient(97deg, #c9a663 0 2px, #dcc28d 2px 5px, #b28f52 5px 6px, #d4b77c 6px 9px);
}

/* ── 머리 ── */
.hd { position: sticky; top: 0; z-index: 30; height: var(--hd); background: rgba(246, 241, 230, .96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.is-solid { border-color: var(--line); box-shadow: 0 6px 18px -14px rgba(58, 54, 49, .5); }
.hd__in { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand svg { width: 40px; height: 34px; }
.brand b { display: flex; flex-direction: column; font: 600 15px/1.25 var(--serif); letter-spacing: -.01em; }
.brand b span + span { font-size: 13px; color: var(--ochre-d); }
.gnb { flex: 1; min-width: 0; display: flex; justify-content: center; }
.gnb ul { display: flex; gap: 6px; white-space: nowrap; }
.gnb a { display: block; padding: 10px 14px; text-decoration: none; font: 500 15px/1.4 var(--serif); color: var(--ink); position: relative; }
.gnb a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--straw); transform: scaleX(0); transition: transform .25s; }
.gnb a.is-on::after { transform: scaleX(1); }
.gnb a:hover { color: var(--ochre-d); }
.hd__tools { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: flex; border: 1px solid var(--line); background: #fbf8f1; }
.lang button { border: 0; background: none; font: 600 12px/1 var(--sans); color: var(--ink-2); padding: 0 10px; min-width: 40px; height: 40px; cursor: pointer; }
.lang button + button { border-left: 1px solid var(--line); }
.lang button[aria-pressed="true"] { background: var(--dark); color: var(--straw-l); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fbf8f1; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); content: ""; }
.burger span { top: 21px; } .burger span::before { top: -7px; left: 0; right: 0; } .burger span::after { top: 7px; left: 0; right: 0; }
.hd.is-fold .gnb { visibility: hidden; overflow: hidden; pointer-events: none; }  /* 자리는 그대로 — 빼면 폭이 바뀌어 접힘·펼침이 번갈음 */
.hd.is-fold .burger { display: block; }

/* ── 단추 ── */
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acts__k { width: 100%; font: 600 13px/1.4 var(--sans); color: var(--ink-2); letter-spacing: .04em; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; text-decoration: none; font: 600 15px/1.2 var(--sans); border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--tel { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.btn--tel:hover { background: var(--ochre-d); border-color: var(--ochre-d); color: #fff; }
.btn .num { font-weight: 500; opacity: .9; font-variant-numeric: tabular-nums; }

/* ── 첫 화면 ── */
.hero { position: relative; }
.hero__ph { position: relative; height: clamp(340px, 32.5vw, 560px); overflow: hidden; background: var(--dark); }
.hero__ph picture, .hero__ph img { width: 100%; height: 100%; }
.hero__ph img { object-fit: cover; object-position: 50% 88%; }
.marker { position: absolute; right: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); top: 36px; writing-mode: vertical-rl; background: rgba(43, 40, 36, .86); color: var(--straw-l);
  font: 600 16px/1 var(--serif); letter-spacing: .28em; padding: 18px 12px; border: 1px solid rgba(230, 214, 176, .35); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); z-index: 1; }
html[lang="en"] .marker { writing-mode: horizontal-tb; letter-spacing: .04em; padding: 12px 16px; font-size: 15px; }
.plate { position: relative; margin-top: -24px; background: var(--paper); padding: 46px 52px 44px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; box-shadow: 0 30px 60px -40px rgba(58, 54, 49, .55); }
.plate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.4 var(--sans); color: var(--ochre-d); letter-spacing: .02em; margin-bottom: 18px; }
.badge::before { content: ""; width: 22px; height: 1px; background: var(--ochre); }
.hero__title { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.hero__title > span { display: block; }
.hero__title .t1 { display: inline; }
.hero__title .sl { display: inline; color: var(--straw); font-weight: 500; margin-left: .25em; }
.hero__title .t2 { margin-top: 4px; }
.hero__title .t2 { color: var(--ochre-d); }
html:not([lang="ko"]) .hero__title { font-size: clamp(28px, 2.9vw, 40px); }
html[lang="en"] .hero__title { text-wrap: balance; }   /* «President» 가 혼자 한 줄에 서지 않게 */
html:not([lang="ko"]) .hero__title .ko-alt { display: block; font-size: 15px; margin-top: 4px; }
html:not([lang="ko"]) .hero__title .sl { display: none; }
html:not([lang="ko"]) .hero__title .t2 { margin-top: 14px; }
.hero__kind { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 32em; }
.hero__addr { margin-top: 18px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink); }
.hero__addr a { text-decoration: none; font-weight: 600; }
.hero__addr .sep { color: var(--straw-d); }
.plate__side { border-left: 1px solid var(--line); padding-left: 40px; display: flex; flex-direction: column; gap: 24px; }
.plate__acts { order: -1; }
.quick .qs { display: block; font: 500 13px/1.5 var(--sans); color: var(--ink-2); margin-top: 2px; }
.quick div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.quick dt { font: 600 13px/1.7 var(--sans); color: var(--ink-2); }
.quick dd { font: 600 16px/1.6 var(--serif); }

/* ── 외국어 판 먼저 보는 안내 ── */
.first { padding: 56px 0 8px; }
.first .wrap > * { max-width: 52rem; }
.first h2 { font-size: 22px; margin-bottom: 10px; }
.first p { font-size: 16px; border-left: 3px solid var(--straw); padding-left: 18px; }

/* ── 섹션 머리 ── */
.sc { padding: 120px 0; }
.sc-hd { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 44px; }
.seal { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: var(--ochre); color: #fff6e6; font: 700 21px/1 "Noto Serif KR", serif; border-radius: 3px; box-shadow: inset 0 0 0 3px var(--ochre), inset 0 0 0 4px rgba(255, 246, 230, .55); margin-top: 4px; }
.sc-k { font: 600 13px/1.4 var(--sans); color: var(--ochre-d); letter-spacing: .08em; margin-bottom: 8px; }
.sc-hd h2 { font-size: clamp(28px, 3vw, 40px); }
.sc-hd .lead { margin-top: 14px; }
.lead { font-size: 18px; line-height: 1.8; }
.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── 一 생가 개요 ── */
.house__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.house__ph { position: sticky; top: calc(var(--hd) + 28px); }
.house__ph img { width: 100%; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-2); padding-left: 14px; position: relative; }
figcaption::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--straw-d); }
.house__body p + p { margin-top: 14px; }
.board { margin-top: 44px; background: var(--dark); color: #efe6d3; padding: 30px 32px 28px; position: relative; }
.board::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(230, 214, 176, .22); pointer-events: none; }
.board__h { font-size: 15px; color: var(--straw); letter-spacing: .12em; margin-bottom: 18px; font-weight: 600; }
.board dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.board .cell { padding: 4px 22px; border-left: 1px solid rgba(230, 214, 176, .22); }
.board .cell:first-child { border-left: 0; padding-left: 0; }
.board dt { font: 600 13px/1.4 var(--sans); color: #cdbf9f; }
.board .big { display: block; font: 700 40px/1.2 var(--serif); color: #fff6e6; margin: 8px 0 6px; letter-spacing: -.02em; }
html:not([lang="ko"]) .board .big { font-size: 32px; white-space: nowrap; }
.board .big small { font-size: .5em; font-weight: 600; margin-left: 2px; letter-spacing: 0; }
.board .sub { display: block; font-size: 13px; line-height: 1.6; color: #d7cbb1; }
.tl { margin-top: 88px; }
.tl__h { font-size: 15px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 22px; }
.tl ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.tl ol::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: repeating-linear-gradient(97deg, #c9a663 0 2px, #dcc28d 2px 5px, #b28f52 5px 6px); }
.tl li { position: relative; padding: 34px 28px 0 0; }
.tl li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ochre); }
.tl .y { display: block; font: 700 28px/1.2 var(--serif); color: var(--ochre-d); }
.tl .e { display: block; margin-top: 8px; font-size: 15px; color: var(--ink); max-width: 22em; }

/* ── 二 건물 구성 ── */
.layout { background: var(--paper-2); position: relative; }
.layout::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(97deg, #c9a663 0 2px, #dcc28d 2px 5px, #b28f52 5px 6px, #d4b77c 6px 9px); }
.blds { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.blds li { display: flex; align-items: center; gap: 10px; font: 600 21px/1.3 var(--serif); }
.blds i { font: 600 13px/1 var(--sans); font-style: normal; color: var(--ochre-d); width: 28px; height: 28px; border: 1px solid var(--ochre); border-radius: 50%; display: grid; place-items: center; }
html:not([lang="ko"]) .blds li { font-size: 17px; }
html:not([lang="ko"]) .blds .ko-alt { margin-left: 4px; font-size: 13px; }
.layout__grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.dg svg { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.dg .ring { fill: #f6f1e6; stroke: var(--line); stroke-width: 1; }
.dg .bamboo line { stroke: #6f8a4e; stroke-width: 3; stroke-linecap: round; }
.dg .arrow { stroke: var(--ochre); stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.dg .hut { fill: var(--ochre); }
.dg .roof { fill: var(--straw); }
.dg text { font-family: var(--sans); fill: var(--ink); }
.dg .dir { font: 700 16px var(--serif); fill: var(--ink); }
.dg .hs { font-size: 14px; font-weight: 600; }
.dg .fc { font-size: 13px; font-weight: 600; fill: var(--ochre-d); }
.dg figcaption { text-align: center; padding-left: 0; margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dg .leg { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #4f6838; font-size: 14px; }
.dg .leg i { width: 4px; height: 16px; border-radius: 2px; background: #6f8a4e; box-shadow: 7px 0 0 #6f8a4e, 14px 0 0 #6f8a4e; margin-right: 14px; }
.dg figcaption::before { display: none; }
.struct h3 { font-size: 24px; margin-bottom: 18px; }
.struct dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.struct dl > div:last-child { border-bottom: 1px solid var(--line); }
.struct dt { font: 600 16px/1.6 var(--serif); color: var(--ochre-d); }
.struct dd { font-size: 16px; }

/* ── 三 민족중흥관 ── */
.hall { background: var(--dark); color: #efe6d3; }
.hall .sc-k { color: var(--straw); }
.hall .seal { background: var(--straw); color: var(--dark-2); box-shadow: inset 0 0 0 3px var(--straw), inset 0 0 0 4px rgba(43, 40, 36, .45); }
.hall__grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 64px; align-items: center; }
.hall__ph img { width: 100%; }
.hall figcaption { color: #cdbf9f; }
.hall figcaption::before { background: var(--straw); }
.hall .lead { color: #efe6d3; }
.hall .ko-alt { color: #cdbf9f; }
.dome { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st { position: relative; text-align: center; padding: 34px 12px 18px; border-bottom: 1px solid rgba(230, 214, 176, .3); }
.st::before { content: ""; position: absolute; left: 50%; top: 0; width: min(220px, 92%); aspect-ratio: 2 / 1; transform: translateX(-50%); border: 1px solid rgba(201, 166, 99, .55); border-bottom: 0; border-radius: 999px 999px 0 0; }
.st b { display: block; font: 700 46px/1.1 var(--serif); color: #fff6e6; letter-spacing: -.02em; position: relative; }
.st span { display: block; margin-top: 8px; font-size: 14px; color: #d7cbb1; position: relative; }

/* ── 四 관람 안내 ── */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font: 600 20px/1.4 var(--serif); margin-bottom: 14px; }
.hours thead th { font: 600 13px/1.4 var(--sans); color: var(--ink-2); text-align: left; padding: 10px 16px; border-bottom: 2px solid var(--ink); }
.hours tbody th { text-align: left; font: 600 17px/1.4 var(--serif); padding: 14px 16px; width: 34%; }
.hours td { padding: 14px 16px; font-size: 17px; font-weight: 600; }
.hours tbody tr { border-bottom: 1px solid var(--line); }
.hours tbody tr:nth-child(odd) { background: rgba(238, 228, 207, .5); }
.hours tr.off th, .hours tr.off td { color: var(--ochre-d); }
.hours tr.off td { font-weight: 600; font-size: 15px; }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-2); padding-left: 18px; position: relative; }
.note::before { content: "※"; position: absolute; left: 0; color: var(--ochre); }
.fee { margin-top: 18px; padding: 16px 20px; background: #fbf8f1; border-left: 3px solid var(--straw); font-size: 15px; }
.fee a { font-weight: 700; text-decoration: none; color: var(--ochre-d); white-space: nowrap; }
.how > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 7em 1fr; gap: 16px; }
.how > div:first-child { border-top: 2px solid var(--ink); }
.how dt { font: 600 17px/1.6 var(--serif); }
.how dd { font-size: 16px; }
.how .k { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.how p + p { margin-top: 8px; }
.routes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.routes li { min-width: 52px; text-align: center; padding: 5px 10px; background: var(--dark); color: var(--straw-l); font: 700 14px/1.3 var(--sans); }
.visit { padding-bottom: 72px; }
.kws { padding: 0 0 104px; }
.kws__in { border-top: 1px solid var(--line); padding-top: 32px; display: grid; grid-template-columns: minmax(0, 16em) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.kws__hd h2 { font-size: 19px; }
.kws__hd p { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.kws ul { display: flex; flex-wrap: wrap; gap: 8px; }
.kws li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); background: #fbf8f1; font-size: 14px; }
.kws b { font-weight: 700; color: var(--ochre-d); font-variant-numeric: tabular-nums; }
.kws b i { font-style: normal; font-weight: 500; font-size: 12px; margin-left: 1px; }

/* ── 五 오시는 길 ── */
.way { background: var(--paper-2); }
.way__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.addr > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.addr > div:first-child { border-top: 2px solid var(--ink); }
.addr dt { font: 600 16px/1.6 var(--serif); color: var(--ochre-d); }
.addr address { font: 600 20px/1.5 var(--serif); }
.addr .tr { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.addr a { text-decoration: none; font-weight: 700; }
.addr .to, .addr .web { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.addr .to { color: var(--ochre-d); }
.addr .to:hover, .addr .web:hover { text-decoration-color: currentColor; }
.addr .web svg { width: 15px; height: 15px; flex: none; }
.near__hd { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.near__hd h3 { font-size: 22px; }
.near__hd p { font-size: 13px; color: var(--ink-2); }
.near__cards { display: grid; gap: 10px; }
.near__cards li { background: var(--paper); padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; border-top: 3px solid var(--straw); }
.near__cards .no { grid-row: 1 / 3; font: 700 18px/1 var(--serif); font-style: normal; color: var(--straw-d); padding-top: 4px; }
.near__cards h4 { font-size: 18px; }
html:not([lang="ko"]) .near__cards h4 { font-size: 16px; }
html:not([lang="ko"]) .near__cards .ko-alt { display: block; margin-top: 2px; font-size: 12px; }
.near__cards .km { font-size: 14px; color: var(--ochre-d); font-weight: 600; }

/* ── 맨 아래 ── */
.end { background: var(--dark-2); color: #efe6d3; padding: 64px 0; position: relative; }
.end::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; }
.end__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.end h2 { font-size: 30px; color: #fff6e6; }
.end p { margin-top: 8px; font-size: 15px; }
.end p a { text-decoration: none; font-weight: 700; }
.end .acts__k { color: #cdbf9f; }
.end .btn--map { border-color: rgba(239, 230, 211, .6); color: #efe6d3; }
.end .btn--map:hover { background: #efe6d3; color: var(--dark-2); }
.ft { background: var(--dark-2); color: #cdbf9f; border-top: 1px solid rgba(230, 214, 176, .16); padding: 30px 0 40px; font-size: 13px; }
.ft__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ft p + p { margin-top: 4px; }
.ft__name b { color: #efe6d3; font: 600 15px/1.5 var(--serif); margin-right: 6px; }
.ft .ko-alt { color: #b5a888; font-size: 12px; }
.ft a { text-decoration: none; }
.ft .credit { margin-top: 12px; color: #b5a888; }
.top { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(230, 214, 176, .3); font-size: 13px; }

/* ── 모바일 메뉴 ── */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 84px 28px 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__x { position: absolute; right: 18px; top: 14px; width: 48px; height: 48px; border: 1px solid var(--line); background: #fbf8f1; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.menu ol { border-top: 1px solid var(--ink); margin-bottom: 32px; }
.menu li a { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 22px/1.3 var(--serif); }
.menu li i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ochre); color: #fff6e6; font: 700 16px/1 "Noto Serif KR", serif; border-radius: 3px; }
.menu .acts .btn { flex: 1 1 100%; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ── 반응형 ── */
@media (max-width: 1180px) {
  .gnb a { padding: 10px 10px; } .gnb a::after { left: 10px; right: 10px; }
}
@media (max-width: 1023px) {
  :root { --hd: 64px; }
  .gnb { display: none; }
  .burger { display: block; }
  .hd__in { padding: 0 20px; justify-content: space-between; }
  /* 태블릿: 세로 자른 사진(지붕·황토 벽)을 쓰고 이름판 겹침을 줄여 초가가 주인공이 되게 */
  .hero__ph { height: min(62vw, 40vh); height: min(62vw, 40svh); }   /* 가로 태블릿(1023×768)에서도 길찾기 단추가 첫 화면 안에 */
  html[lang="en"] .hero__ph { height: min(62vw, 36vh); height: min(62vw, 36svh); }   /* 영어 이름·소개가 길다 */
  .hero__ph img { object-position: 50% 42%; }
  .marker { top: 24px; font-size: 14px; padding: 15px 10px; }
  .plate { grid-template-columns: 1fr; gap: 28px; padding: 36px 32px; margin-top: -40px; }
  .plate__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .house__grid, .layout__grid, .hall__grid, .visit__grid, .way__grid { grid-template-columns: 1fr; gap: 44px; }
  .house__ph { position: static; }
  .house__ph, .hall__ph { max-width: 640px; }
  .first dl { grid-template-columns: 1fr; }
  .sc { padding: 88px 0; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 20px; }
  body { font-size: 15px; }
  .brand { gap: 8px; }
  .brand b { font-size: 12.5px; } .brand b span + span { font-size: 12px; }
  .brand svg { width: 30px; height: 26px; }
  .hd__in { gap: 10px; padding: 0 12px; }
  .hd__tools { gap: 6px; }
  .lang button { min-width: 40px; padding: 0 6px; height: 40px; font-size: 12px; }
  .burger { width: 40px; height: 40px; }
  .burger span { top: 19px; left: 10px; right: 10px; }
  .hero__ph { height: min(131.6vw, 46vh); height: min(131.6vw, 46svh); }
  /* 휴대폰 첫 화면: 이름 → 주소 → 길찾기·전화 단추 → 소개 → 빠른 안내 순(단추가 첫 화면 안에) */
  .plate { display: flex; flex-direction: column; gap: 0; }
  .plate__main, .plate__side { display: contents; }
  .badge { order: 1; align-self: flex-start; margin-bottom: 12px; }
  .hero__title { order: 2; }
  .hero__addr { order: 3; margin-top: 12px; }
  .hero__addr .sep, .hero__addr a { display: none; }
  .plate__acts { order: 4; margin-top: 18px; }
  .plate__acts .acts__k { display: none; }   /* 단추 글(지도 이름·전화)과 aria-label 이 길찾기임을 말한다 */
  .hero__kind { order: 5; margin-top: 22px; }
  .quick { order: 6; margin-top: 14px; border-top: 1px solid var(--line); }
  html:not([lang="ko"]) .hero__ph { height: min(131.6vw, 38vh); height: min(131.6vw, 38svh); }   /* 외국어 이름이 길어 단추가 첫 화면 밖으로 밀리지 않게 */
  .marker { right: 16px; top: 16px; font-size: 13px; padding: 14px 9px; }
  html[lang="en"] .marker { font-size: 12px; padding: 9px 12px; }
  .plate { margin-top: -56px; padding: 30px 20px 28px; margin-left: -4px; margin-right: -4px; }
  .hero__title { font-size: 32px; }
  html:not([lang="ko"]) .hero__title { font-size: 25px; }
  .hero__kind { font-size: 16px; }
  .quick div { grid-template-columns: 5.5em 1fr; }
  .acts .btn { flex: 1 1 calc(50% - 4px); justify-content: center; padding: 10px 12px; }
  .acts .btn--tel { flex-basis: 100%; }
  .sc { padding: 72px 0; }
  .sc-hd { gap: 14px; margin-bottom: 30px; }
  .seal { width: 38px; height: 38px; font-size: 19px; }
  .lead { font-size: 16px; }
  .board { padding: 24px 22px; }
  .board dl { grid-template-columns: 1fr; }
  .board .cell { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(230, 214, 176, .22); }
  .board .cell:first-child { border-top: 0; padding-top: 0; }
  .board .big { font-size: 34px; }
  .tl { margin-top: 56px; }
  .tl ol { grid-template-columns: 1fr; gap: 26px; padding-left: 28px; }
  .tl ol::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; background: repeating-linear-gradient(7deg, #c9a663 0 2px, #dcc28d 2px 5px, #b28f52 5px 6px); }
  .tl li { padding: 0; }
  .tl li::before { left: -28px; top: 6px; }
  .tl .y { font-size: 24px; }
  .blds { gap: 10px 24px; }
  .blds li { font-size: 19px; }
  .struct dl > div { grid-template-columns: 1fr; gap: 4px; }
  .dome { gap: 10px; }
  .st b { font-size: 36px; }
  .hours tbody th, .hours td { padding: 12px 12px; font-size: 16px; }
  .how > div, .addr > div { grid-template-columns: 1fr; gap: 4px; }
  .kws { padding-bottom: 72px; }
  .kws__in { grid-template-columns: 1fr; padding-top: 26px; }
  .end h2 { font-size: 24px; }
  .ft__in { flex-direction: column; align-items: flex-start; }
  .ft__name > span { display: block; }
}
@media (max-width: 479px) {
  html:not([lang="ko"]) .brand b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* 외국어 이름은 첫 화면 제목이 바로 보여 준다 */
}
@media (max-width: 379px) {
  .brand b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.tcy { display: inline-block; writing-mode: horizontal-tb; font-size: .9em; letter-spacing: 0; margin-bottom: .3em; }   /* text-combine-upright 는 Chrome 에서 «86» 을 세로 축 오른쪽으로 5px 민다 */
html[lang="en"] .tcy { text-combine-upright: none; }
.nw { white-space: nowrap; }
