@font-face {
	font-family: Pretendard;
	src: url('../fonts/PretendardVariable.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: 'Mira Serif';
	src: url('../fonts/MiraSerif.woff') format('woff');
	font-weight: 400 700;
	font-display: swap;
}
:root {
	--paper: #f0e5cf;
	--ink: #30251d;
	--red: #8e2c25;
	--line: #b89b76;
	--muted: #705c48;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: #ddd0b7;
	color: var(--ink);
	font: 16px/1.5 Pretendard, sans-serif;
	word-break: keep-all;
	overflow-wrap: break-word;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; border-radius: 0; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, dl { margin-top: 0; }
h1, h2, h3 { font-family: 'Mira Serif', serif; font-weight: 600; line-height: 1.35; }
h1 { font-size: clamp(24px, 4.8vw, 30px); margin-bottom: 12px; }
h2 { font-size: clamp(22px, 4.4vw, 28px); margin-bottom: 10px; }
h3 { font-size: clamp(19px, 3.8vw, 24px); margin-bottom: 8px; }
[hidden] { display: none !important; }
.page-shell { display: flex; flex-direction: column; width: 100%; max-width: 800px; margin: 0 auto; background: var(--paper) url('../images/papyrus.jpg') center top / cover no-repeat; padding-bottom: calc(54px + env(safe-area-inset-bottom)); min-height: 100svh; }
.page-shell:not(:has(.sticky-rsvp)) { padding-bottom: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; background: white; padding: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { flex-shrink: 0; height: 58px; display: flex; justify-content: space-between; align-items: center; padding: 6px 6%; border-bottom: 1px solid var(--line); background: var(--paper) url('../images/papyrus.jpg') center top / cover; position: sticky; top: 0; z-index: 10; }
.brand { display: block; color: var(--red); font: 700 24px/1.3 'Mira Serif', serif; letter-spacing: -.04em; white-space: nowrap; }
.header-actions { display: flex; flex-shrink: 0; gap: 10px; align-items: center; }
.language-toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 14px; letter-spacing: .06em; color: var(--red); }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span { height: 1px; width: 24px; background: var(--ink); }
/* 같은 종이 배경 위에서 포스터 가장자리만 부드럽게 연결합니다. */
.poster-frame {
	-webkit-mask-image: linear-gradient(to bottom, #000 98%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 98%, transparent 100%);
}
.poster-frame--main {
	/* MIRA 글자 아래에서 미라관 하단을 잘라 행사 안내와 메뉴를 당깁니다. */
	aspect-ratio: 1446 / 1100;
	overflow: hidden;
}
.official-poster {
	width: 100%;
	/* 양쪽 크레딧은 93% 이전에 완전히 숨기고, 중앙 미라는 유지합니다. */
	-webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 93%), linear-gradient(to right, transparent 33%, #000 37%, #000 61%, transparent 65%);
	mask-image: linear-gradient(to bottom, #000 90%, transparent 93%), linear-gradient(to right, transparent 33%, #000 37%, #000 61%, transparent 65%);
	-webkit-mask-composite: source-over;
	mask-composite: add;
	animation: fade-in var(--intro-fade) both;
}
.opening-summary { padding: 16px 6%; text-align: center; line-height: 1.4; font-weight: 800; }
.opening-summary p { margin-bottom: 5px; }
.opening-summary .eyebrow { font-family: Pretendard, sans-serif; font-size: clamp(22px, 4.5vw, 28px); font-weight: 800; letter-spacing: 0; }
.opening-summary p:last-child { margin-bottom: 0; font-size: clamp(16px, 3.4vw, 18px); }
.opening-date { font-family: Pretendard, sans-serif; font-size: clamp(17px, 3.8vw, 23px); font-weight: 800; color: var(--red); margin-bottom: 5px; }
.eyebrow, .detail-label, .program-label { color: var(--red); font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.main-menu { display: grid; gap: 8px; padding: 0 6% 16px; }
.menu-item { padding: 12px 16px; border: 2px solid var(--line); border-bottom-width: 4px; background: #fff7e77a; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; text-align: center; font-family: Pretendard, sans-serif; font-size: clamp(18px, 3.8vw, 22px); font-weight: 800; line-height: 1.3; }
.menu-item:active { border-bottom-width: 2px; transform: translateY(1px); }
.primary, .submit-button { background: var(--red); color: #fff4de; border-color: var(--red); }
.menu-item small { font: 700 14px Pretendard, sans-serif; letter-spacing: .1em; }
.menu-item:hover, .home-link:hover { border-color: var(--red); }
.inner-content { padding: 24px 6% 0; }
.inner-content.exhibition-content { padding-top: 36px; }
.section { padding: 0 0 20px; }
.section + .section { padding-top: 0; }
.section-heading { margin-bottom: 12px; }
.heading-rule { width: 48px; height: 3px; background: var(--red); margin: 24px 0; }
.section-caption { color: var(--muted); }
.invitation-letter p, .about-copy p { margin-bottom: 12px; }
.signature { text-align: right; margin-top: 14px; font-size: 15px; line-height: 1.4; }
.signature p { margin-bottom: 4px; }
.signature strong { display: inline-block; font-family: 'Mira Serif', serif; font-size: 18px; margin-left: 8px; }
.yonhap-logo { width: 108px; margin: 10px 0 0 auto; }
.ceremony-details { border-top: 2px solid var(--red); padding-top: 25px; margin-top: 35px; }
.ceremony-details strong { display: block; font-family: 'Mira Serif', serif; font-size: 36px; color: var(--red); margin-top: 6px; }
.ceremony-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; font-size: 14px; line-height: 1.4; margin: 0 0 12px; }
.ceremony-meta time { white-space: nowrap; color: var(--red); }
.program-label { font-size: 18px; font-weight: 800; letter-spacing: 0; margin-bottom: 6px; }
.program-list { list-style: none; padding: 0; margin: 0; }
.program-list li { padding: 4px 0; display: grid; grid-template-columns: 125px 1fr; gap: 12px; line-height: 1.4; }
.program-list time { color: var(--red); font-variant-numeric: tabular-nums; }
.program-note { color: var(--muted); font-size: 15px; }
.about-lead { font-family: 'Mira Serif', serif; color: var(--red); font-size: clamp(22px, 4.5vw, 28px); margin-bottom: 14px; }
.collection-count { font: 75px/1.2 'Mira Serif', serif; color: var(--red); margin: 28px 0; }
.collection-count span { display: block; font: 16px/1.8 Pretendard, sans-serif; margin-top: 15px; }
.info-list > div { padding: 25px 0; border-top: 1px solid var(--line); }
.info-list dt { color: var(--red); font-size: 16px; margin-bottom: 8px; }
.info-list dd { margin: 0; }
.info-list strong { font-size: 23px; font-weight: 600; }
.info-list .night-hours { background: var(--red); color: #fff4de; padding: 25px; margin: 20px 0; }
.night-hours dt { color: #efd5b3; }
.location-copy h3 { color: var(--red); }
.kakaomap { position: relative; width: 100%; height: clamp(230px, 60vw, 320px); margin-top: 12px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.kakaomap > #map { position: absolute; inset: 0; width: 100%; height: 100%; }
.kakaomap #map img { max-width: none; }
.kakaomap .map-status { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; padding: 24px; text-align: center; font-size: 16px; background: var(--paper); z-index: 2; }
.kakaomap .map-status[hidden] { display: none; }
.kakaomap .map-label { display: block; padding: 8px 10px; border: 1px solid var(--red); background: #fff8e9; color: var(--red); font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; transform: translateY(-42px); }
.transport { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.transport p { margin-bottom: 12px; }
.transport .parking-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.transport .subway-label { font-weight: 400; }
.transport-list { margin: 4px 0 12px; padding: 0; list-style: none; font-weight: 400; }
.transport-list li + li { margin-top: 3px; }
.map-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.map-links a { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); }
.contact-row { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.phone-link { font: 15px/1.5 Pretendard, sans-serif; display: block; margin: 5px 0; }
.official-link { font-size: 15px; text-decoration: underline; }
.map-qr { flex: 0 0 115px; font-size: 14px; text-align: center; }
.map-qr img { width: 115px; }
.map-qr span { display: block; margin-top: 8px; }
.page-footer { margin-top: auto; position: relative; isolation: isolate; padding: 8px 6% 30px; }
.page-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: url('../images/papyrus-scene.png') center bottom / 100% auto no-repeat;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 65%);
	mask-image: linear-gradient(to bottom, transparent, #000 65%);
}
.page-footer--main { padding: 0 6% 22px; }
.home-link { display: grid; place-items: center; min-height: 44px; padding: 8px; border: 1px solid var(--line); text-align: center; background: #f4ead5b3; }
.sticky-rsvp { position: fixed; z-index: 12; bottom: 0; width: 100%; max-width: 800px; background: var(--red); color: #fff4de; padding-bottom: env(safe-area-inset-bottom); }
.sticky-rsvp a { min-height: 52px; padding: 10px 6%; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sticky-rsvp strong { font-size: 16px; letter-spacing: .08em; font-weight: 500; }
.menu-dialog { width: min(600px, calc(100% - 28px)); max-height: calc(100svh - 50px); border: 1px solid var(--line); padding: 25px; background: var(--paper) url('../images/papyrus.jpg') center / cover; color: var(--ink); }
.menu-dialog::backdrop { background: #24180fc4; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.menu-top h2 { font: 22px Pretendard, sans-serif; margin: 0; }
.dialog-close { width: 44px; height: 44px; background: transparent; border: 0; font-size: 32px; }
.menu-dialog nav { display: grid; }
.menu-dialog nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.form-intro { margin-bottom: 12px; font-weight: 600; line-height: 1.4; }
.rsvp-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 12px 0 16px; }
.rsvp-form > * { grid-column: 1 / -1; }
.rsvp-form > .field:has(#title), .rsvp-form > .field:has(#phone) { grid-column: auto; }
.field { display: grid; grid-template-rows: 1fr auto; gap: 4px; }
.field label, legend { font-size: 16px; font-weight: 700; line-height: 1.35; }
.optional { color: var(--muted); font-size: 14px; font-weight: 400; }
.required { color: var(--red); }
.field input { width: 100%; border: 1px solid #9f8666; background: #fffaf0d9; color: var(--ink); min-height: 44px; padding: 9px 10px; font-size: 16px; }
.field input[aria-invalid="true"] { border: 2px solid #a2231a; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 6px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.choice { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); cursor: pointer; background: #fff7e74d; font-size: 17px; }
html[lang="en"] .choice { font-size: 15px; line-height: 1.3; padding: 8px 7px; gap: 6px; }
.choice:has(input:checked) { border-color: var(--red); background: #8e2c2512; }
.choice input, .consent-check input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--red); }
.field-note { color: var(--muted); font-size: 14px; line-height: 1.4; margin: 6px 0 0; }
.guests-exact { margin-top: 8px; }
.privacy { border-top: 2px solid var(--red); padding-top: 12px; margin-top: 2px; }
.privacy h2 { font-size: 21px; margin-bottom: 10px; }
.privacy dl { margin-bottom: 0; }
.privacy dt { font-weight: 700; font-size: 15px; margin-top: 8px; line-height: 1.3; }
.privacy dd { font-size: 14px; margin: 3px 0 0; line-height: 1.4; }
.consent-check { display: flex; gap: 8px; align-items: flex-start; border-top: 1px solid var(--line); min-height: 44px; padding-top: 10px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.consent-check input { margin-top: 1px; }
.submit-button { border: 1px solid var(--red); padding: 10px; min-height: 46px; font-size: 18px; font-weight: 700; width: 100%; }
.submit-button:disabled { opacity: .65; cursor: wait; }
.error-summary, .notice { padding: 18px; border: 1px solid var(--red); background: #fff7e7; margin: 25px 0; }
.error-summary h2 { font: 600 19px Pretendard, sans-serif; }
.error-summary ul { margin-bottom: 0; padding-left: 23px; }
.error-summary a { text-decoration: underline; }
.field-error { color: #9b201a; font-size: 15px; margin: 0; }
.confirmation { padding: 24px 0 30px; }
.confirmation .success-mark { width: 55px; border-top: 4px solid var(--red); margin-bottom: 30px; }
.confirmation h1 { color: var(--red); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes text-in { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.section-heading h1, .section-heading h2, .about-lead, .inner-content > h1, .opening-summary, .main-menu { animation: text-in var(--reveal-time) both; }
.opening-summary { animation-delay: var(--intro-step); }
.main-menu { animation-delay: calc(var(--intro-step) * 2); }
@media (max-width: 480px) {
	body { font-size: 16px; }
	.site-header { height: 52px; padding: 4px 5%; }
	.brand { font-size: 20px; }
	.inner-content { padding: 18px 5% 0; }
	.inner-content.exhibition-content { padding-top: 30px; }
	.main-menu { padding: 0 5% 12px; }
	.menu-item { min-height: 50px; padding: 10px 12px; gap: 10px; }
	.program-list li { grid-template-columns: 110px 1fr; gap: 8px; }
	.program-list time { font-size: 15px; }
	.contact-row { align-items: flex-start; gap: 12px; }
	.map-qr { flex-basis: 90px; }
	.map-qr img { width: 90px; }
	.opening-summary { padding: 14px 5%; }
	.page-footer { padding-bottom: 24px; }
	.page-footer--main { padding-bottom: 18px; }
	.choice { padding: 8px; font-size: 16px; }
}
@media (max-width: 360px) {
	.rsvp-form { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 두 번째 초청장: 전시 개요, 관람 안내 및 하단 크레딧 */
.section + .exhibition-details { padding-top: 32px; }
.partner-logos {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);
	gap: clamp(6px, 1.5vw, 12px);
	align-items: center;
	width: 100%;
	max-width: 560px;
	margin: 16px 0 0;
}
.partner-logos img { width: 100%; height: auto; mix-blend-mode: multiply; }
.exhibition-details h2, .exhibition-details h3 { font-weight: 800; }
.exhibition-facts { margin: 0 0 24px; }
.exhibition-facts > div { border-top: 1px solid var(--line); padding: 12px 0; }
.exhibition-facts dt { color: var(--red); margin-bottom: 5px; }
.exhibition-facts dd { margin: 0; }
.visitor-hours { list-style: none; padding: 0; margin-bottom: 0; }
.visitor-hours li + li { margin-top: 8px; }
.visitor-hours strong { font-weight: 700; }
.visitor-hours .closed-note { font-size: .875em; }
html[lang="ko"] .visitor-hours { font-size: clamp(13px, 4.1vw, 16px); }

.exhibition-credits { margin-top: 1.5em; font-size: 14px; line-height: 1.4; }
.exhibition-credits dl { margin: 0; }
.exhibition-credits dl > div { display: grid; grid-template-columns: 2em minmax(0, 1fr); column-gap: .75em; }
.exhibition-credits dt, .exhibition-credits dd { margin: 0; font-weight: 400; }
html[lang="en"] .exhibition-credits dl > div { grid-template-columns: 5em minmax(0, 1fr); }
