/* Light (가벼운 굵기: 300) */
@font-face {
  font-family: 'NotoSerifKR';
  src: url('../font/NotoSerifKR-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* Regular (기본 굵기: 400) */
@font-face {
  font-family: 'NotoSerifKR';
  src: url('../font/NotoSerifKR-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Bold (두꺼운 굵기: 700) */
@font-face {
  font-family: 'NotoSerifKR';
  src: url('../font/NotoSerifKR-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
	--color-bg: #faf7f2;
	--color-ink: #2a2620;
	--color-sub: #6b6357;
	--color-line: #ddd4c4;
	--color-accent: #9c7c4d;
	--max-width: 960px;
}

body {
	background: var(--color-bg);
	color: var(--color-ink);
}

.section {
	padding: 72px 24px;
}

.section__inner {
	max-width: var(--max-width);
	margin: 0 auto;
	text-align: center;
}

.section__title {
	font-family: "NotoSerifKR", serif;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 2px;
	margin-bottom: 12px;
	position: relative;
	display: inline-block;
	padding-bottom: 16px;
}

.section__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 40px;
	height: 1px;
	background: var(--color-accent);
	transform: translateX(-50%);
}

.section__desc {
	color: var(--color-sub);
	font-size: 14px;
	margin-bottom: 32px;
}

/* Hero */
.hero {
	min-height: 85vh;
	min-height: 85svh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(180deg, #fffdf9 0%, #f3ede1 100%);
	position: relative;
	padding: 40px 24px 80px;
}

.hero__inner {
	transform: translateY(-16px);
}

.hero__eyebrow {
	color: var(--color-accent);
	font-size: 13px;
	letter-spacing: 6px;
	margin-bottom: 20px;
}

.hero__title {
	font-family: "NotoSerifKR", serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 18px;
	word-break: keep-all;
}

.hero__artist {
	font-size: 18px;
	margin-bottom: 8px;
}

.hero__subtitle {
	color: var(--color-sub);
	font-size: 14px;
}

.hero__scroll {
	position: absolute;
	bottom: 36px;
	bottom: calc(36px + env(safe-area-inset-bottom, 0px));
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 3px;
	color: var(--color-ink);
	opacity: 0.75;
	animation: bounce 2s infinite;
	pointer-events: none;
}

.hero__scroll-arrow {
	width: 18px;
	height: 18px;
	stroke: var(--color-ink);
	stroke-width: 2.2;
}

@keyframes bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 6px); }
}

/* Invite */
.invite__card {
	max-width: 480px;
	margin: 0 auto;
	padding: 48px 32px;
	border: 1px solid var(--color-line);
	background: #fff;
}

.invite__greeting {
	font-family: "NotoSerifKR", serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 4px;
	margin-bottom: 28px;
}

.invite__text {
	font-size: 16px;
	line-height: 2;
	color: var(--color-ink);
	margin-bottom: 28px;
	word-break: keep-all;
}

.invite__hosts {
	color: var(--color-sub);
	font-size: 14px;
}

/* Info */
.info {
	background: #fff;
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
}

.info__list {
	display: flex;
	flex-direction: column;
	width: fit-content;
	gap: 18px;
	margin: 32px auto 8px;
	text-align: left;
}

.info__item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	font-size: 15px;
}

.info__label {
	width: 60px;
	flex-shrink: 0;
	color: var(--color-accent);
	font-family: "NotoSerifKR", serif;
	font-weight: 400;
	padding-top: 1px;
}

.info__value {
	color: var(--color-ink);
}

.info__value--venue {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.venue__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.venue__name {
	font-weight: 500;
}

.venue__address {
	font-size: 13px;
	color: var(--color-sub);
}

.btn-map {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--color-accent);
	color: var(--color-accent);
	font-size: 12px;
	letter-spacing: 1px;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.btn-map:hover {
	background: var(--color-accent);
	color: #fff;
}

/* Gallery */
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.gallery__item {
	position: relative;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.gallery__item:hover img {
	transform: scale(1.06);
}

.gallery__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 6px 8px;
	font-size: 12px;
	color: #fff;
	background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
	text-align: left;
}

/* Footer */
.footer {
	padding: 32px 24px 48px;
	text-align: center;
	font-size: 13px;
	color: var(--color-sub);
}

/* Lightbox */
.lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 18, 14, 0.94);
	z-index: 100;
	align-items: center;
	justify-content: center;
}

.lightbox.is-open {
	display: flex;
}

.lightbox__inner {
	max-width: 90vw;
	max-height: 86vh;
	text-align: center;
}

.lightbox__image {
	max-width: 90vw;
	max-height: 76vh;
	object-fit: contain;
	box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.lightbox__meta {
	color: #f2ede3;
	font-size: 13px;
	margin-top: 14px;
	letter-spacing: 0.5px;
}

.lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
	padding: 8px 16px;
}

.lightbox__nav--prev { left: 4px; }
.lightbox__nav--next { right: 4px; }

@media (max-width: 720px) {
	.hero {
		min-height: 80vh;
		min-height: 80svh;
		padding: 32px 20px 72px;
	}
	.hero__title { font-size: 30px; }
	.hero__scroll {
		bottom: 30px;
		bottom: calc(30px + env(safe-area-inset-bottom, 0px));
	}
	.section { padding: 56px 20px; }
	.invite__card { padding: 36px 20px; }
	.gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.lightbox__nav { font-size: 32px; padding: 6px 10px; }
}
