@font-face {
	font-family: "SF_HambakSnow";
	src: url("/fonts/SF_HambakSnow.woff") format("woff");
	font-display: swap;
}

:root {
	--hd: 70px;
	--gut: 58px;
	--ink: #fff;
	--bg: #000;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	word-break: keep-all;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
main { padding-top: var(--hd); }

/* ── header ───────────────────────────────────────── */
.hd {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--hd);
	display: flex; align-items: center; gap: 35px;
	padding: 0 32px 0 15px;
	background: #000;
}
.hd-logo img { width: 230px; }
.hd-nav { display: flex; gap: 0; }
.hd-nav a { padding: 0 15px; font-size: 18px; letter-spacing: 1px; line-height: var(--hd); }
.hd-nav a.on { font-weight: 700; }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 40px; }
.hd-tickets {
	display: inline-flex; align-items: center; gap: 8px;
	height: 39px; padding: 0 12px;
	border-radius: 20px; background: #fff; color: #212121;
	font-size: 14px; font-weight: 700; letter-spacing: .5px;
}
.hd-tickets .arrow {
	width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%;
	position: relative;
}
.hd-tickets .arrow::after {
	content: "→"; position: absolute; inset: 0; font-size: 10px; line-height: 12px; text-align: center; font-weight: 400;
}
.hd-lang img { width: 40px; height: 27px; object-fit: cover; }
.hd-burger { display: none; background: none; border: 0; padding: 6px; }
.hd-burger span { display: block; width: 22px; height: 2px; margin: 5px 0; background: #fff; }

/* ── shared blocks ────────────────────────────────── */
.stars { background: #02030a var(--bg) center / cover no-repeat; }
.pill {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 24px; border: 1px solid #fff; border-radius: 30px;
	background: rgba(0, 0, 0, .35); color: #fff;
	font-size: 18px; font-weight: 700; line-height: 1.2;
	transition: background .2s, color .2s;
}
.pill:hover { background: #fff; color: #5e5e5e; }
.pill-lg { font-size: 30px; padding: 14px 34px; border-radius: 40px; }
.display { font-family: "SF_HambakSnow", "Pretendard Variable", sans-serif; font-weight: 400; }

/* YouTube as a background: an oversized 16:9 iframe centred under the copy. */
.yt-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: #000; }
.yt-bg iframe {
	position: absolute; top: 50%; left: 50%; border: 0;
	width: max(100%, calc(100vh * 16 / 9)); height: max(100%, calc(100vw * 9 / 16));
	min-width: 177.78vh; min-height: 56.25vw;
	transform: translate(-50%, -50%);
}

/* ── home ─────────────────────────────────────────── */
.hero { position: relative; height: 932px; display: grid; place-items: center; overflow: hidden; }
.hero-copy { position: relative; text-align: center; }
.hero-kicker { margin: 0 0 22px; font-size: 30px; }
.hero-logo { width: 323px; margin: 0 auto; }

.popup {
	position: fixed; z-index: 60; top: calc(var(--hd) + 10px); right: 80px;
	width: 500px; background: #fff; box-shadow: 0 6px 30px rgba(0, 0, 0, .4);
}
.popup-btns { display: flex; }
.popup-btns button { flex: 1; height: 41px; border: 0; background: #fff; color: #000; font-size: 12px; }
.popup-btns button:first-child { font-weight: 700; border-right: 1px solid #e5e5e5; }

.intro { padding: 280px 20px 285px; text-align: center; }
.intro-logo { width: 456px; margin: 0 auto 90px; }
.intro-logo-ko { width: 601px; }
.intro p { margin: 0 0 26px; line-height: 1.6; }

.current { padding: 0 var(--gut) 184px; }
.current h2 { margin: 0; padding-top: 0; font-size: 48px; font-weight: 700; line-height: 1.2; }
.current-banner { width: 100%; margin-top: 30px; border-radius: 15px; }
.halls { display: grid; grid-template-columns: 1fr 1fr; gap: 100px 10px; margin-top: 150px; }
.halls img { width: 100%; border-radius: 15px; transition: transform .3s; }
.halls a:hover img { transform: scale(1.02); }

.past { position: relative; height: 986px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 196px; overflow: hidden; }
.past .pill { position: relative; }

.strip { height: 111px; }

.amia-teaser { background: #111 var(--bg) center / cover no-repeat; padding: 231px 88px 180px; text-align: center; }
.amia-teaser h2 { margin: 0 0 40px; font-size: 60px; line-height: 1.1; }
.amia-teaser p { margin: 0 0 90px; line-height: 1.6; }
.amia-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1265px; margin: 0 auto 90px; }
.amia-pair img { width: 100%; border-radius: 6px; filter: grayscale(1); }

.social { padding: 200px 0 221px; overflow: hidden; }
.social-links { display: flex; justify-content: center; gap: 140px; margin-bottom: 70px; }
.social-links a { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.social-links .pill { font-size: 18px; padding: 8px 22px; background: #fff; color: #000; }
.ig { width: 26px; height: 26px; border: 2.5px solid #fff; border-radius: 8px; position: relative; }
.ig::before { content: ""; position: absolute; inset: 5px; border: 2.5px solid #fff; border-radius: 50%; }
.ig::after { content: ""; position: absolute; top: 3px; right: 3px; width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track img { width: 300px; height: 226px; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── about ────────────────────────────────────────── */
.ab-hero { background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), #111 var(--bg) center / cover no-repeat; min-height: 861px; padding: 178px 20px 100px; text-align: center; }
.ab-hero-logo { width: 280px; margin: 0 auto 49px; }
.ab-hero-logo-ko { width: 541px; margin-bottom: 70px; }
.ab-hero h1 { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.2; }
.ab-hero-sub { margin: 0 0 66px; font-size: 20px; }
.ab-hero p { margin-top: 0; margin-bottom: 26px; }
.ab-link { display: inline-block; margin-top: 44px; padding: 10px 20px; font-size: 14px; font-weight: 700; border-radius: 30px; transition: background .2s; }
.ab-link:hover { background: rgba(255, 255, 255, .15); }
.ab-body { background: #fff; color: #404040; padding: 68px 200px 90px; }
.ab-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; max-width: 1040px; }
.ab-museum { margin-bottom: 452px; }
.ab-mark { width: 200px; margin-bottom: 27px; }
.ab-body h2 { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.2; color: #404040; }
.ab-sub { margin: 0 0 67px; font-size: 22px; }
.ab-sub-bold { font-size: 20px; font-weight: 700; margin-bottom: 40px; }
.ab-text p { margin-top: 0; margin-bottom: 26px; }
.ab-plan { width: 490px; margin-top: 35px; }
.ab-amia { align-items: center; }
.ab-kicker { font-size: 20px; color: #d2d2d2; line-height: 1.25; margin-bottom: 8px !important; }
.ab-amia-logo { width: 257px; margin-bottom: 30px; }
.ab-small { font-size: 13px; line-height: 1.6; margin-bottom: 21px !important; }
.btn-dark { display: inline-block; margin-top: 20px; padding: 16px 28px; background: #000; color: #fff; font-size: 14px; font-weight: 700; border-radius: 3px; }
.ab-photo { width: 516px; height: 569px; object-fit: cover; border-radius: 15px; }

/* ── past exhibitions ─────────────────────────────── */
.px { padding: 87px 80px 120px; }
.px-ch { display: grid; grid-template-columns: 350px 1fr; gap: 80px; margin-bottom: 140px; }
.px-side { position: sticky; top: calc(var(--hd) + 31px); align-self: start; }
.px-side h2 { margin: 0 0 20px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.px-side p { margin: 0 0 22px; font-size: 22px; line-height: 1.27; }
.px-side ul { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.75; }
.px-side li::before { content: "- "; }
.px-main { max-width: 850px; }
.px-sec { margin-bottom: 140px; }
.px-sec:last-child { margin-bottom: 0; }
.px-sec h2 { margin: 0 0 24px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.px-sec p { margin: 0 0 24px; line-height: 1.6; }
.px-imgs { display: grid; gap: 30px; }
.px-imgs img { width: 100%; }
.px-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.px-tiles figure { margin: 0; aspect-ratio: 205 / 155; background: #111 var(--bg) center / cover; display: grid; place-items: center; position: relative; overflow: hidden; }
.px-tiles figcaption { position: relative; font-size: 21px; text-align: center; opacity: 0; transition: opacity .25s; padding: 0 8px; }
.px-tiles figure::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.px-tiles figure:hover::before, .px-tiles figure:hover figcaption { opacity: 1; }

/* ── amia ─────────────────────────────────────────── */
.p-amia main { padding-top: 0; }
.am-hd { position: sticky; top: 0; z-index: 50; background: #fff; color: #000; text-align: center; }
.am-nav { display: grid; grid-template-columns: repeat(5, 1fr) 70px; border-bottom: 1px solid #000; }
.am-nav a { font-family: "Italiana", serif; font-size: 15px; letter-spacing: 1px; line-height: 20px; border-right: 1px solid #000; }
.am-nav a:last-child { border-right: 0; font-family: inherit; font-size: 12px; font-weight: 700; }
.am-nav a:hover { background: #000; color: #fff; }
.am-logo { display: inline-block; padding: 8px 0; }
.am-logo img { width: 139px; height: auto; }
.am-hero { position: relative; height: 821px; overflow: hidden; }
.am-about { background: #fff; color: #404040; padding: 60px 0 60px 135px; overflow: hidden; }
.am-about h2 { margin: 0 0 30px; font-size: 48px; font-weight: 700; color: #000; line-height: 1.2; }
.am-about p { margin: 0 0 26px; max-width: 900px; }
.am-store { position: relative; margin-top: 12px; }
.am-track { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 135px; }
.am-track::-webkit-scrollbar { display: none; }
.am-track figure { position: relative; flex: 0 0 509px; height: 550px; margin: 0; scroll-snap-align: start; }
.am-track img { width: 100%; height: 100%; object-fit: cover; }
.am-track figcaption { position: absolute; left: 16px; bottom: 16px; padding: 12px 16px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; line-height: 1.5; border-radius: 4px; }
.am-track figcaption small { display: block; color: #ccc; font-size: 13px; }
.am-arrow { position: absolute; top: 50%; z-index: 2; width: 54px; height: 58px; margin-top: -29px; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 24px; }
.am-arrow.prev { left: 10px; } .am-arrow.next { right: 145px; }
.am-where { background: #111 var(--bg) center / cover no-repeat; min-height: 735px; padding: 230px 20px 100px; text-align: center; color: #fff; }
.am-where h2 { margin: 0 0 40px; font-size: 60px; line-height: 1.1; }
.am-where p { margin: 0; }
.am-collection { background: #fff; color: #404040; }
.am-titles { position: sticky; top: 99px; z-index: 5; display: flex; justify-content: space-between; padding: 12px 32px; background: #fff; border-bottom: 1px solid #ddd; font-size: 60px; line-height: 1.2; }
.am-grid { display: grid; grid-template-columns: 240px 1fr; }
.am-side { position: sticky; top: 199px; align-self: start; display: flex; flex-direction: column; gap: 22px; padding: 40px 0 0 40px; font-size: 20px; }
.am-grid > div { border-left: 1px solid #ddd; padding: 40px 80px 60px 35px; }
.am-cat { scroll-margin-top: 200px; margin-bottom: 70px; }
.am-cat h3 { margin: 0 0 40px; font-family: "SF_HambakSnow", serif; font-weight: 400; font-size: 36px; color: #383838; }
.am-cat ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.am-cat li { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0, 0, 0, .1); overflow: hidden; padding-bottom: 14px; }
.am-cat li img { width: 100%; aspect-ratio: 246 / 200; object-fit: cover; margin-bottom: 12px; }
.am-cat li span { display: block; padding: 0 12px; font-size: 11px; color: #999; }
.am-cat li strong { display: block; padding: 2px 12px 0; font-size: 20px; color: #222; line-height: 1.3; }
.am-video { position: relative; height: 821px; overflow: hidden; }
.am-moodit { background: #000; color: #fff; text-align: center; padding-bottom: 120px; overflow: hidden; }
.am-band { display: flex; justify-content: space-between; gap: 20px; padding: 30px 32px 24px; font-size: 20px; border-bottom: 1px solid #333; text-align: left; }
.am-letters { width: 100%; height: 211px; object-fit: cover; margin-bottom: 110px; }
.am-moodit-logo { width: 360px; margin: 0 auto 50px; }
.am-moodit p { margin: 0 0 26px; }
.am-photos { display: flex; height: 524px; margin: 30px 0 120px; }
.am-photos img { height: 100%; flex: 1 1 0; min-width: 0; object-fit: cover; }
.am-main { display: flex; align-items: center; justify-content: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.am-main-copy { font-family: "Italiana", serif; font-size: 57px; line-height: 1.2; text-align: center; margin: 0; }
.am-main-copy span { display: block; }
.am-main-copy b { font-family: "Notable", sans-serif; font-weight: 400; }
.am-cards { position: relative; width: 560px; height: 520px; }
.am-cards img { position: absolute; top: 20px; width: 260px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.am-cards img:nth-child(1) { left: 0; transform: rotate(-6deg) scale(.85); opacity: .85; }
.am-cards img:nth-child(2) { left: 150px; top: 0; z-index: 2; }
.am-cards img:nth-child(3) { left: 300px; transform: rotate(6deg) scale(.85); opacity: .85; }

/* ── footer ───────────────────────────────────────── */
.ft { background: #000; padding: 26px 32px 50px; }
.ft-top { display: flex; justify-content: space-between; gap: 30px; }
.ft-left img { width: 92px; margin-bottom: 20px; }
.ft-left p { margin: 0; font-size: 13px; line-height: 1.6; }
.ft-right { text-align: right; }
.ft-right strong { display: block; font-size: 22px; margin-top: 16px; }
.ft-right p { margin: 18px 0 0; font-size: 18px; line-height: 1.35; }
.ft-biz { margin: 90px auto 0; max-width: 1120px; text-align: center; font-size: 12px; line-height: 1.6; }
.ft-biz span { display: inline-block; margin: 0 4px; }

/* ── lightbox ─────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .9); display: grid; place-items: center; }
.lb iframe { width: min(90vw, 160vh); aspect-ratio: 16 / 9; border: 0; }
.lb button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; }

/* ── narrow screens ───────────────────────────────── */
@media (max-width: 900px) {
	:root { --hd: 56px; --gut: 16px; }
	.hd { gap: 12px; padding: 0 12px; }
	.hd-logo img { width: 150px; }
	.hd-nav {
		position: fixed; top: var(--hd); left: 0; right: 0; flex-direction: column;
		background: #000; padding: 8px 0 16px; display: none;
	}
	.hd.open .hd-nav { display: flex; }
	.hd-nav a { line-height: 48px; padding: 0 20px; }
	.hd-right { gap: 12px; }
	.hd-tickets { height: 32px; font-size: 12px; padding: 0 10px; }
	.hd-lang img { width: 30px; height: 20px; }
	.hd-burger { display: block; }

	.hero { height: calc(100svh - var(--hd)); min-height: 480px; }
	.hero-kicker { font-size: 20px; }
	.hero-logo { width: 220px; }
	.popup { right: 16px; left: 16px; width: auto; }
	.intro { padding: 120px 16px; }
	.intro-logo { width: 300px; margin-bottom: 50px; }
	.intro p { font-size: 14px; }
	.current { padding-bottom: 80px; }
	.current h2 { font-size: 28px; padding-top: 40px; }
	.halls { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
	.past { height: 56.25vw; min-height: 260px; padding-bottom: 30px; }
	.pill-lg { font-size: 20px; padding: 10px 24px; }
	.amia-teaser { padding: 100px 16px 80px; }
	.amia-teaser h2 { font-size: 36px; }
	.amia-teaser p { font-size: 14px; margin-bottom: 40px; }
	.amia-pair { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
	.social { padding: 90px 0 100px; }
	.social-links { gap: 40px; }
	.social-links .pill { font-size: 14px; }
	.marquee-track img { width: 200px; height: 150px; }
	.ab-hero { min-height: 0; padding: 90px 16px 70px; }
	.ab-hero-logo, .ab-hero-logo-ko { width: 240px; margin-bottom: 30px; }
	.ab-hero h1 { font-size: 26px; }
	.ab-hero p { font-size: 14px; }
	.ab-body { padding: 50px 16px 60px; }
	.ab-row { flex-direction: column; gap: 30px; }
	.ab-museum { margin-bottom: 90px; }
	.ab-mark { width: 120px; }
	.ab-body h2 { font-size: 26px; }
	.ab-sub { font-size: 17px; margin-bottom: 30px; }
	.ab-text p { font-size: 14px; }
	.ab-plan, .ab-photo { width: 100%; height: auto; margin-top: 0; }
	.px { padding: 40px 16px 60px; }
	.px-ch { grid-template-columns: 1fr; gap: 24px; margin-bottom: 80px; }
	.px-side { position: static; }
	.px-side h2, .px-sec h2 { font-size: 26px; }
	.px-side p { font-size: 17px; }
	.px-sec { margin-bottom: 60px; }
	.px-sec p { font-size: 14px; }
	.px-tiles { grid-template-columns: repeat(2, 1fr); }
	.px-tiles figcaption { opacity: 1; font-size: 15px; }
	.px-tiles figure::before { opacity: 1; background: rgba(0, 0, 0, .35); }
	.am-nav { grid-template-columns: repeat(3, 1fr); }
	.am-nav a { border-bottom: 1px solid #000; font-size: 13px; line-height: 28px; }
	.am-hero, .am-video { height: 56.25vw; min-height: 220px; }
	.am-about { padding: 40px 0 40px 16px; }
	.am-about h2 { font-size: 30px; }
	.am-about p { font-size: 14px; padding-right: 16px; }
	.am-about p br { display: none; }
	.am-track { gap: 12px; padding-right: 16px; }
	.am-track figure { flex-basis: 78vw; height: 90vw; }
	.am-arrow { display: none; }
	.am-where { min-height: 0; padding: 100px 16px; }
	.am-where h2 { font-size: 36px; }
	.am-where p { font-size: 14px; }
	.am-titles { position: static; font-size: 30px; padding: 10px 16px; }
	.am-grid { grid-template-columns: 1fr; }
	.am-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; padding: 16px; font-size: 16px; }
	.am-grid > div { border-left: 0; padding: 10px 16px 40px; }
	.am-cat ul { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.am-cat li strong { font-size: 15px; }
	.am-band { flex-direction: column; font-size: 15px; padding: 20px 16px; }
	.am-letters { height: 90px; margin-bottom: 50px; }
	.am-moodit-logo { width: 220px; }
	.am-moodit p { font-size: 14px; padding: 0 16px; }
	.am-photos { height: 200px; margin: 20px 0 60px; }
	.am-main { flex-direction: column; gap: 30px; }
	.am-main-copy { font-size: 36px; }
	.am-cards { width: 330px; height: 330px; }
	.am-cards img { width: 160px; }
	.am-cards img:nth-child(2) { left: 85px; }
	.am-cards img:nth-child(3) { left: 170px; }
	.ft { padding: 26px 16px 30px; }
	.ft-top { flex-direction: column; }
	.ft-right { text-align: left; }
	.ft-right strong { font-size: 18px; }
	.ft-right p { font-size: 15px; }
	.ft-biz { margin-top: 40px; text-align: left; }
	.ft-biz span { display: block; margin: 0; }
}
