:root {
	--bg: #0d0b0c;
	--bg-soft: #151113;
	--panel: #1b1618;
	--ink: #ece3d4;
	--muted: #9a9084;
	--accent: #c9a96a;
	--accent-soft: rgba(201, 169, 106, 0.12);
	--line: rgba(236, 227, 212, 0.08);
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, sans-serif;
	--shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
	--row-h: 340px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
::selection {
	background: var(--accent-soft);
	color: var(--accent);
}

/* ---------- HERO ---------- */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
	padding: 4rem 1.5rem;
	isolation: isolate;
}
.hero-bg {
	position: absolute;
	inset: -4%;
	z-index: -1;
}
.hero-bg-layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	background-size: cover;
	background-position: center center;
	filter: saturate(0.92);
	transition: opacity 1.8s ease;
}
.hero-bg-layer.active {
	opacity: 0.42;
	animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
	from {
		transform: scale(1) translate(0, 0);
	}
	to {
		transform: scale(1.12) translate(1.5%, -1.5%);
	}
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		to top,
		var(--bg) 0%,
		rgba(13, 11, 12, 0.85) 28%,
		rgba(13, 11, 12, 0.62) 55%,
		rgba(13, 11, 12, 0.6) 100%
	);
}
.hero-inner .eyebrow,
.hero-inner .names,
.hero-inner .weddate,
.hero-inner .date,
.hero-inner .count {
	text-shadow:
		0 2px 26px rgba(0, 0, 0, 0.75),
		0 1px 3px rgba(0, 0, 0, 0.55);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(
		700px 420px at 50% 40%,
		rgba(201, 169, 106, 0.1),
		transparent 70%
	);
}
.hero-inner {
	max-width: 920px;
	width: 100%;
}
.eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.46em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1.7rem;
}
.names {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(3.4rem, 13vw, 8.5rem);
	line-height: 1;
	letter-spacing: 0.02em;
}
.names .amp {
	font-style: italic;
	color: var(--accent);
	font-weight: 300;
	padding: 0 0.08em;
}
.date {
	margin-top: 1.9rem;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.15rem, 3vw, 1.7rem);
	color: var(--muted);
	letter-spacing: 0.1em;
}
.count {
	margin-top: 1rem;
	font-size: 0.76rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--accent);
}
.hero-play {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 2.2rem;
	background: rgba(201, 169, 106, 0.12);
	border: 1px solid var(--accent);
	color: var(--accent);
	font-family: var(--sans);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.8rem 1.6rem;
	border-radius: 100px;
	cursor: pointer;
	transition: 0.3s;
	backdrop-filter: blur(4px);
}
.hero-play:hover {
	background: var(--accent);
	color: #1a1410;
	transform: translateY(-2px);
}
.hero-play svg {
	display: block;
}
.scroll-hint {
	position: absolute;
	bottom: 2.2rem;
	left: 50%;
	transform: translateX(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: var(--muted);
	z-index: 2;
}
.chev {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 auto;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	animation: dip 2s ease-in-out infinite;
}
@keyframes dip {
	0%,
	100% {
		transform: rotate(45deg) translate(0, 0);
		opacity: 0.4;
	}
	50% {
		transform: rotate(45deg) translate(5px, 5px);
		opacity: 1;
	}
}

/* ---------- FAVORITES CAROUSEL ---------- */
.favs {
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 1.5rem 1rem;
	position: relative;
	z-index: 1;
}
/* ---------- VIDEOS ---------- */
.videos {
	max-width: 1400px;
	margin: 0 auto;
	padding: 4rem 1.5rem 1rem;
	position: relative;
	z-index: 1;
}
.videos-eyebrow {
	text-align: center;
	font-size: 0.7rem;
	letter-spacing: 0.46em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 2rem;
}
.video-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
.video-card video {
	width: 100%;
	display: block;
	border-radius: 6px;
	box-shadow: var(--shadow);
	background: #000;
	aspect-ratio: 16 / 9;
	object-fit: contain;
}
.video-title {
	margin-top: 0.9rem;
	font-family: var(--serif);
	font-size: 1.35rem;
	color: var(--ink);
}
.video-sub {
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	color: var(--muted);
}
.favs-eyebrow {
	text-align: center;
	font-size: 0.7rem;
	letter-spacing: 0.46em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.6rem;
}
.carousel {
	display: flex;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: var(--shadow);
	aspect-ratio: 16 / 9;
	cursor: pointer;
	touch-action: pan-y;
}
.slide {
	flex: 0 0 100%;
	position: relative;
	overflow: hidden;
}
.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	animation: kenburns 24s ease-in-out infinite alternate;
}
.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.1rem;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(236, 227, 212, 0.25);
	cursor: pointer;
	padding: 0;
	transition: 0.25s;
}
.dot.active {
	background: var(--accent);
	transform: scale(1.28);
}

/* ---------- TOOLBAR ---------- */
main {
	position: relative;
	z-index: 1;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 1.5rem 6rem;
}
.toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 2.2rem 0 1.8rem;
	border-top: 1px solid var(--line);
	margin-top: 1rem;
}
.filters {
	display: flex;
	gap: 0.4rem;
}
.filter {
	background: none;
	border: 1px solid var(--line);
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.5rem 1.1rem;
	border-radius: 100px;
	cursor: pointer;
	transition: 0.25s;
}
.filter:hover {
	color: var(--ink);
	border-color: var(--accent);
}
.filter.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #1a1410;
	font-weight: 500;
}
.hint {
	font-size: 0.72rem;
	color: var(--muted);
	letter-spacing: 0.08em;
	text-align: center;
	margin: 0 0 2.2rem;
}
.toolbar-right {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.action-btn,
.curate-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: 1px solid var(--line);
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	border-radius: 100px;
	cursor: pointer;
	transition: 0.25s;
}
.action-btn:hover,
.curate-btn:hover {
	color: var(--ink);
	border-color: var(--accent);
}
.curate-btn.active,
.action-btn.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #1a1410;
	font-weight: 500;
}

/* ---------- GALLERY (editorial rows, chronological) ---------- */
.gallery {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	--row-h: 340px;
}
.row {
	display: flex;
	gap: 1.1rem;
	height: var(--row-h);
}
.item {
	position: relative;
	flex: 1 1 0;
	height: 100%;
	min-width: 0;
	border-radius: 3px;
	overflow: hidden;
	cursor: pointer;
	background: var(--bg-soft);
}
.item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.96) contrast(1.02);
	transition:
		transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1),
		filter 0.4s;
}
.item:hover img {
	transform: scale(1.05);
}
.item-veil {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.35s;
	background: linear-gradient(
		to top,
		rgba(10, 8, 9, 0.7),
		rgba(10, 8, 9, 0) 55%
	);
	display: flex;
	align-items: flex-end;
	padding: 1rem;
}
.item:hover .item-veil {
	opacity: 1;
}
.item-num {
	font-size: 0.68rem;
	letter-spacing: 0.28em;
	color: var(--accent);
	text-transform: uppercase;
}
.item-dl {
	margin-left: auto;
	background: none;
	border: none;
	color: #e8dcc7;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 4px;
	opacity: 0.85;
}
.item-dl:hover {
	opacity: 1;
	color: var(--accent);
}
.item-fav {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	z-index: 2;
	color: #e2a05b;
	font-size: 1rem;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}
/* feature (full-width) row */
.item.feature {
	flex-basis: 100%;
	max-width: 100%;
	height: 76vh;
}
.item.feature img {
	object-fit: cover;
}

/* chapter header */
.chapter {
	text-align: center;
	padding: 4rem 1rem 1.2rem;
	position: relative;
}
.chapter::before {
	content: "";
	display: block;
	width: 44px;
	height: 1px;
	background: var(--accent);
	margin: 0 auto 1.7rem;
	opacity: 0.6;
}
.chapter h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1.9rem, 4vw, 3rem);
	letter-spacing: 0.03em;
}
.chapter p {
	margin-top: 0.5rem;
	font-size: 0.76rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
}

/* curate mode */
body.curate-on .item {
	cursor: crosshair;
}
.curate-tag {
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	background: rgba(8, 6, 7, 0.85);
	border: 1px solid var(--accent);
	color: var(--accent);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	padding: 0.22rem 0.5rem;
	border-radius: 4px;
}
body.curate-on .item-veil {
	opacity: 0;
}

/* reveal */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.9s ease,
		transform 0.9s ease;
}
[data-reveal].in {
	opacity: 1;
	transform: none;
}
.item.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition:
		opacity 0.8s ease,
		transform 0.8s ease;
}
.item.reveal.in {
	opacity: 1;
	transform: none;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: rgba(8, 6, 7, 0.96);
	backdrop-filter: blur(6px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	animation: fade 0.3s ease;
}
.lightbox[hidden] {
	display: none;
}
@keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.lb-stage {
	max-width: min(96vw, 1400px);
	max-height: 82vh;
	display: grid;
	place-items: center;
}
.lb-img {
	max-width: 100%;
	max-height: 82vh;
	object-fit: contain;
	transition: filter 0.5s ease;
	box-shadow: var(--shadow);
	border-radius: 2px;
	animation: pop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lb-img.loading {
	filter: blur(14px) saturate(0.9);
}
@keyframes pop {
	from {
		opacity: 0;
		transform: scale(0.97);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.lb-meta {
	margin-top: 1.1rem;
	display: flex;
	gap: 1.4rem;
	align-items: center;
	font-size: 0.76rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}
.lb-meta #lbCaption {
	color: var(--accent);
	font-family: var(--serif);
	font-style: italic;
	letter-spacing: 0.05em;
	text-transform: none;
}
.lb-btn {
	position: fixed;
	z-index: 55;
	background: rgba(20, 16, 18, 0.7);
	border: 1px solid var(--line);
	color: var(--ink);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 1.7rem;
	transition: 0.25s;
	font-family: var(--sans);
}
.lb-btn:hover {
	background: var(--accent);
	color: #1a1410;
	border-color: var(--accent);
}
.lb-close {
	top: 1.4rem;
	right: 1.4rem;
}
.lb-prev {
	left: 1.4rem;
	top: 50%;
	transform: translateY(-50%);
}
.lb-next {
	right: 1.4rem;
	top: 50%;
	transform: translateY(-50%);
}
.lb-download {
	top: 1.4rem;
	left: 1.4rem;
}

/* ---------- PRESENTATION ---------- */
.pres {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	animation: fade 0.3s ease;
}
.pres[hidden] {
	display: none;
}
.pres-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	animation: presIn 0.8s ease both;
	transition: filter 0.5s ease;
}
.pres-img.loading {
	filter: blur(16px) saturate(0.85);
}
@keyframes presIn {
	from {
		opacity: 0;
		transform: scale(0.985);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.pres-img.kenburns {
	animation: kenburns 22s ease-in-out infinite alternate;
}
.pres-intro {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: radial-gradient(
		700px 480px at 50% 45%,
		rgba(201, 169, 106, 0.1),
		transparent 70%
	);
	animation: fade 0.8s ease;
	padding: 2rem;
}
.pres-intro-eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.5em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.6rem;
}
.pres-intro-title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(2.6rem, 9vw, 6rem);
	line-height: 1;
}
.pres-intro-title span {
	font-style: italic;
	color: var(--accent);
}
.pres-intro-date {
	margin-top: 1.6rem;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1rem, 3vw, 1.4rem);
	color: var(--muted);
	letter-spacing: 0.12em;
}
.pres-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(255, 255, 255, 0.12);
}
.pres-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--accent);
}
.pres-meta {
	position: absolute;
	bottom: 1.4rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 1.2rem;
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}
.pres-meta #presCaption {
	color: var(--accent);
	font-family: var(--serif);
	font-style: italic;
	letter-spacing: 0.04em;
	text-transform: none;
}
.pres-btn {
	position: fixed;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: 0.25s;
	backdrop-filter: blur(4px);
}
.pres-btn:hover {
	background: var(--accent);
	color: #1a1410;
	border-color: var(--accent);
}
.pres-close {
	top: 1.2rem;
	right: 1.2rem;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 1.3rem;
}
.pres-prev,
.pres-next {
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	font-size: 1.8rem;
}
.pres-prev {
	left: 1.2rem;
}
.pres-next {
	right: 1.2rem;
}
.pres-play {
	bottom: 1.2rem;
	right: 1.2rem;
	width: 46px;
	height: 46px;
	border-radius: 50%;
}
.pres-play svg {
	pointer-events: none;
}

/* ---------- FOOTER ---------- */
.footer {
	text-align: center;
	padding: 4.5rem 1.5rem 3rem;
	border-top: 1px solid var(--line);
	margin-top: 4rem;
	font-size: 0.85rem;
	color: var(--muted);
	letter-spacing: 0.06em;
}
.footer .heart {
	color: #c25b4a;
}
.footer-sub {
	margin-top: 0.5rem;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.1rem;
	color: var(--accent);
}
.footer-credit {
	margin-top: 1.4rem;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	opacity: 0.55;
}

/* ---------- TOAST ---------- */
.toast {
	position: fixed;
	bottom: 1.6rem;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: var(--panel);
	border: 1px solid var(--line);
	color: var(--ink);
	padding: 0.7rem 1.3rem;
	border-radius: 100px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	box-shadow: var(--shadow);
	z-index: 60;
	transition: 0.3s;
	opacity: 0;
	pointer-events: none;
}
.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
	.gallery {
		--row-h: 260px;
	}
	.gallery {
		gap: 0.8rem;
	}
	.row {
		gap: 0.8rem;
	}
	.item.feature {
		height: 62vh;
	}
}
@media (max-width: 640px) {
	.video-grid {
		grid-template-columns: 1fr;
	}
	.gallery {
		--row-h: 180px;
	}
	.gallery {
		gap: 0.5rem;
	}
	.row {
		gap: 0.5rem;
	}
	.item.feature {
		height: 56vh;
	}
	.toolbar {
		justify-content: center;
		text-align: center;
	}
	.toolbar-right {
		justify-content: center;
	}
	.hint {
		display: none;
	}
	.carousel {
		aspect-ratio: 4 / 3;
	}
	.lb-btn {
		width: 44px;
		height: 44px;
	}
	.lb-prev {
		left: 0.6rem;
	}
	.lb-next {
		right: 0.6rem;
	}
	.lb-download {
		left: 0.6rem;
		top: 0.8rem;
	}
	.lb-close {
		top: 0.8rem;
		right: 0.6rem;
	}
	.lb-meta {
		flex-direction: column;
		gap: 0.3rem;
	}
	.pres-prev {
		left: 0.5rem;
	}
	.pres-next {
		right: 0.5rem;
	}
	.pres-prev,
	.pres-next {
		width: 46px;
		height: 46px;
	}
	.pres-meta {
		flex-direction: column;
		gap: 0.2rem;
		text-align: center;
		width: 80%;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}
