:root {
	--sky: #E4F0F8;
	--title: #204877;
	--sub: #204877;
	--ink: #2b2b2b;
	--max-width: 1200px;
	--accent: #E2690D;
	--button: #204877;
	--line: rgba(32, 72, 119, 0.2);
	--card-bg: #fffefd;
	--shadow-soft: 0 24px 40px rgba(0, 0, 0, 0.08);
	--section-pad: clamp(64px, 10vw, 120px);
	--section-gap: clamp(20px, 4vw, 44px);
	--header-overlap: clamp(12px, 2vw, 24px);
	--section-pad-tight: calc(var(--section-pad) * 0.8);
	--section-gap-tight: calc(var(--section-gap) * 0.8);
	--heading-font: "Playfair Display", serif;
	--script-font: "Cedarville Cursive", cursive;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--heading-font);
	background: var(--sky);
	color: var(--sub);
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

.reveal {
	opacity: 0;
	transform: none;
	transition: opacity 0.6s ease;
	transition-delay: var(--reveal-delay, 0ms);
	will-change: transform, opacity;
}

.reveal.is-visible {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

img {
	max-width: 100%;
	display: block;
	filter: none;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.site-header {
	padding: 32px 0 12px;
	position: relative;
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(228, 240, 248, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.nav-bar {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-left: 84px;
}

.header-inner {
	width: 100%;
}

.site-logo {
	font-size: clamp(1rem, 1.6vw, 1.4rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--title);
	font-weight: 600;
	white-space: nowrap;
}

.site-logo--corner {
	position: absolute;
	top: 22px;
	left: 24px;
	z-index: 20;
}

.site-logo:hover,
.site-logo:focus-visible {
	color: #c64f45;
}

.nav-toggle {
	display: none;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border: 1px solid rgba(32, 72, 119, 0.5);
	border-radius: 999px;
	background: rgba(228, 240, 248, 0.6);
	cursor: pointer;
	color: var(--sub);
	font-size: 0.5rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

body.menu-open {
	overflow: hidden;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(228, 240, 248, 0.97);
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	padding: 72px 24px;
}

.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-nav {
	text-align: center;
}

.mobile-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.mobile-menu-list a {
	font-family: var(--heading-font);
	font-size: clamp(1.6rem, 6vw, 2.4rem);
	color: var(--title);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.menu-close {
	position: absolute;
	top: 18px;
	right: 35px;
	width: 45px;
	height: 45px;
	border-radius: 999px;
	border: 1px solid rgba(32, 72, 119, 0.5);
	background: rgba(228, 240, 248, 0.6);
	color: var(--sub);
	font-size: 1.4rem;
	line-height: 1;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.primary-nav {
	width: 100%;
	flex: 1;
}

.primary-menu {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 0;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 0.7rem;
	font-weight: 500;
}

.primary-menu a {
	color: var(--sub);
}

.site-main {
	padding-bottom: 0;
}

.hero {
	padding: 10px 0 56px;
	min-height: 85vh;
	scroll-margin-top: 100px;
}

.hero-inner {
	position: relative;
	padding-bottom: 40px;
}

.hero-title {
	margin: 0 0 -18px;
	font-size: clamp(3rem, 6.6vw, 6.4rem);
	letter-spacing: -0.01em;
	color: #E2690D;
	font-family: "Great Vibes", cursive;
	font-weight: 400;
	position: relative;
	z-index: 3;
	text-align: center;
}

.hero-card {
	position: relative;
	width: 100vw;
	height: 60vh;
	max-width: 1600px;
	margin-left: 50%;
	margin-top: -10px;
	transform: translateX(-50%);
	border-radius: 22px;
	overflow: hidden;
	background: #fdfbf7;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 26px 44px rgba(0, 0, 0, 0.08);
}

.hero-image {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url("../img/hero.jpg");
	background-size: cover;
	background-position: center;
}

.hero-tagline {
	margin: 18px 0 0;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.32em;
	font-size: 0.75rem;
	color: var(--sub);
}

.hero-tagline::before {
	content: "";
	display: block;
	width: 140px;
	height: 1px;
	margin: 0 auto 10px;
	background: var(--line);
}

.hero-note {
	position: absolute;
	right: 12px;
	bottom: 34px;
	margin: 0;
	font-family: "Cedarville Cursive", cursive;
	font-size: clamp(1rem, 2.1vw, 1.4rem);
	color: var(--ink);
	transform: rotate(-6deg);
}

.section {
	padding: var(--section-pad-tight) 0;
	scroll-margin-top: 110px;
	background: var(--sky);

	&:last-child {
		padding-bottom: 0px;
		margin-bottom: 56px;
	}
}

.section-inner {
	position: relative;
}

.section-header {
	max-width: 620px;
	margin-bottom: var(--section-gap);
	position: relative;
	z-index: 2;
}

.section-location .section-header {
	z-index: auto;
	margin-bottom: var(--section-gap);
}

.section-header--left {
	margin-right: auto;
	text-align: left;
}

.section-header--right {
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}

.section-header--media .section-title {
	position: relative;
	z-index: 2;
}

.section-header--media .section-lede {
	position: relative;
	z-index: 2;
}

.section-header-media {
	height: clamp(120px, 18vw, 200px);
	width: min(420px, 80%);
	border-radius: 22px;
	background-color: #f4ede3;
	background-image: var(--photo, none);
	background-size: cover;
	background-position: center;
	border: 1px solid rgba(181, 106, 96, 0.2);
	box-shadow: var(--shadow-soft);
	margin-top: 6px;
}

.section-header--right .section-header-media {
	margin-left: auto;
}

.section-header--overlap {
	margin-bottom: var(--section-gap);
}

.section-header--media,
.section-header--overlap {
	margin-bottom: calc(-1 * var(--header-overlap));
}

.section-kicker {
	margin: 0 0 4px;
	font-size: 1.05rem;
	color: var(--ink);
	font-family: var(--script-font);
	text-transform: none;
	letter-spacing: 0.14em;
	display: inline-block;
	transform: rotate(-15deg);
}

.section-title {
	margin: 0 0 3px;
	font-size: clamp(2rem, 4vw, 3.2rem);
	color: var(--title);
	font-weight: 100;
}

.section-title.section-title--planning {
	margin-bottom: 20px;
}

.section-lede {
	margin: 0;
	color: var(--sub);
	max-width: 520px;
}

.section-note {
	margin: 0 0 24px;
	font-family: var(--script-font);
	font-size: clamp(1rem, 2vw, 1.4rem);
	color: var(--ink);
}

.section-note--right {
	text-align: right;
	margin-top: 14px;
}

.full-bleed {
	width: 100vw;
	margin: clamp(32px, 6vw, 72px) 0;
	position: relative;
	margin-left: 50%;
	transform: translateX(-50%);
	height: clamp(320px, 48vh, 520px);
	border-radius: 0;
	background-color: var(--sky);
	background-image: var(--photo, none);
	background-size: cover;
	background-position: center;
	max-width: 100vw;
}

.collage-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--section-gap-tight);
	align-items: start;
}

.photo-card {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	min-height: 260px;
	background-color: #f1e7d8;
	background-image: var(--photo, none);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-soft);
}

.photo-card--tall {
	min-height: 420px;
}

.photo-card--square {
	aspect-ratio: 1 / 1;
	min-height: 320px;
}

.photo-card--offset {
	margin-top: -70px;
}

.form-card {
	background: var(--card-bg);
	border-radius: 24px;
	border: 1px solid var(--line);
	padding: 28px;
	box-shadow: var(--shadow-soft);
}

.rsvp-form {
	display: grid;
	gap: 18px;
}

.rsvp-choice {
	margin: 0;
	padding: 0;
	border: 0;
	display: grid;
	gap: 10px;
}

.rsvp-choice legend {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--sub);
	margin-bottom: 6px;
}

.choice-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: 0.85rem;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.6);
}

.choice-pill input {
	accent-color: var(--button);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.form-field {
	display: grid;
	gap: 6px;
}

.form-field label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--sub);
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--card-bg);
	font-family: var(--heading-font);
	font-size: 1rem;
	line-height: 1.3;
	color: var(--ink);
}

.form-field input {
	min-height: 44px;
	height: 44px;
	appearance: none;
	-webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: rgba(32, 72, 119, 0.45);
	box-shadow: inset 0 0 0 1px rgba(32, 72, 119, 0.2);
}

.form-field--full {
	grid-column: 1 / -1;
}

.honeypot {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	margin: 0;
	font-size: 0.85rem;
	color: var(--sub);
}

.btn-cta--form {
	width: 100%;
}

.btn-cta--outline {
	background: transparent;
	color: var(--button);
	border-color: rgba(32, 72, 119, 0.5);
	box-shadow: none;
}

.btn-cta--outline:hover,
.btn-cta--outline:focus-visible {
	background: rgba(32, 72, 119, 0.1);
}

.timeline {
	display: grid;
	gap: 18px;
	grid-auto-rows: minmax(min-content, max-content);
	align-content: start;
}

.timeline-card {
	background: var(--card-bg);
	border-radius: 20px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
	display: flex;
	flex-direction: column;
	position: relative;
	padding-bottom: 48px;
}

.timeline-card h3 {
	margin: 6px 0;
	color: var(--title);
	font-size: 1.2rem;
	font-weight: 100;
}

.timeline-date {
	margin: 0;
	font-size: 0.6rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sub);
}

.timeline-detail {
	margin: 0;
	color: var(--sub);
}

.timeline-card .section-note {
	position: absolute;
	right: 22px;
	bottom: 18px;
	margin: 0;
	text-align: right;
}

.location-card {
	background: var(--card-bg);
	border-radius: 24px;
	border: 1px solid var(--line);
	padding: 26px;
	box-shadow: var(--shadow-soft);
}

.location-card h3 {
	margin-top: 0;
	color: var(--title);
	font-weight: 100;
}

.location-meta {
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.65rem;
	color: var(--sub);
}

.location-list {
	margin: 16px 0 22px;
	padding-left: 18px;
	color: var(--sub);
}

.location-list li {
	margin-bottom: 6px;
}

.location-airports {
	display: grid;
	gap: 14px;
	margin: 16px 0 22px;
}

.airport-item {
	display: grid;
	gap: 4px;
}

.airport-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 100;
	color: var(--title);
}

.airport-detail {
	margin: 0;
	color: var(--sub);
}

.map-card {
	position: relative;
	min-height: 360px;
	border-radius: 24px;
	border: 1px solid rgba(181, 106, 96, 0.45);
	background: #f4ede3;
	background-image: radial-gradient(rgba(181, 106, 96, 0.2) 1px, transparent 1px);
	background-size: 18px 18px;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	z-index: 1;
}

.map-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(246, 241, 231, 0.28);
	pointer-events: none;
	z-index: 2;
}

.map-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #f1e7d8;
	z-index: 1;
}

.map-embed .leaflet-tile {
	filter: saturate(0.6) contrast(0.95) brightness(1.05);
}

.map-embed .leaflet-control-attribution {
	font-size: 0.55rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sub);
	background: rgba(246, 241, 231, 0.75);
	padding: 2px 6px;
	margin: 0 6px 6px;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.map-embed .leaflet-control-attribution a {
	color: inherit;
	text-decoration: none;
}

.map-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(246, 241, 231, 0.4);
	transition: opacity 0.2s ease;
	z-index: 3;
}

.map-overlay-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(181, 106, 96, 0.35);
	color: var(--title);
	font-size: 0.7rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.map-card:hover .map-overlay,
.map-card:focus-within .map-overlay {
	opacity: 0;
	pointer-events: none;
}

.map-card-inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.map-pin {
	background: var(--title);
	color: #fff7ef;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.65rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	box-shadow: 0 10px 20px rgba(217, 91, 79, 0.25);
}

.map-line {
	position: absolute;
	width: 60%;
	height: 1px;
	background: rgba(181, 106, 96, 0.35);
	top: 64%;
}

.dresscode-card {
	background: var(--card-bg);
	border-radius: 24px;
	border: 1px solid var(--line);
	padding: 26px;
	box-shadow: var(--shadow-soft);
}

.dresscode-card h3 {
	margin-top: 0;
	color: var(--title);
	font-weight: 100;
}

.dresscode-list {
	margin: 12px 0 18px;
	padding-left: 18px;
	color: var(--sub);
}

.dresscode-list li {
	margin-bottom: 6px;
}

.dresscode-disclaimer {
	margin: 0;
	font-size: 0.85rem;
	color: var(--sub);
}

.rsvp-grid .photo-card {
	grid-column: 1 / span 5;
}

.rsvp-grid .form-card {
	grid-column: 6 / -1;
	margin-top: 48px;
}

.planning-grid .timeline {
	grid-column: 1 / -1;
}

.location-grid .location-card {
	grid-column: 7 / -1;
}

.location-grid .map-card,
.location-grid .photo-card {
	grid-column: 1 / span 6;
}

.dresscode-grid {
	position: relative;
	align-items: start;
}

.dresscode-grid .dresscode-card {
	grid-column: 1 / -1;
	align-self: center;
	justify-self: start;
	max-width: 520px;
	width: min(90vw, 520px);
}

.dresscode-grid--with-photo .dresscode-card {
	grid-column: 1 / span 6;
	justify-self: stretch;
	max-width: none;
	width: 100%;
}

.dresscode-grid--with-photo .dresscode-photo {
	grid-column: 7 / -1;
}

.hero-cta {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 32px;
	border-radius: 999px;
	border: 1px solid rgba(32, 72, 119, 0.6);
	background: var(--button);
	color: #fbf6ee;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.7rem;
	font-weight: 500;
	box-shadow: 0 16px 30px rgba(32, 72, 119, 0.25);
}

.btn-cta:hover,
.btn-cta:focus-visible {
	background: #1a3b62;
	border-color: rgba(26, 59, 98, 0.8);
}

.dresscode-moodboard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	width: 100%;
	max-width: none;
}

.moodboard-item {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 1.5 / 1;
	background-color: #f1e7d8;
	background-size: cover;
	background-position: center;
	box-shadow: none;
}

.moodboard-item--photo {
	background-image: var(--photo, none);
}

.moodboard-item--swatch {
	background-image: none;
}

.moodboard-item--blue {
	background-color: #92AAC3;
}

.moodboard-item--green {
	background-color: #B8A750;
}

.moodboard-item--yellow {
	background-color: #E3AA52;
}

.moodboard-item--orange {
	background-color: #E2690D;
}

@media (max-width: 900px) {
	html,
	body {
		overflow-x: hidden;
	}

	:root {
		--header-overlap: 12px;
	}

	.hero-title {
		margin-bottom: -12px;
	}

	.section-header--media .section-title {
		margin-top: 0;
	}

	.section-header--overlap {
		margin-bottom: 12px;
	}

	.section-header {
		margin-bottom: -16px;
	}

	.collage-grid {
		grid-template-columns: 1fr;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.rsvp-grid .photo-card,
	.rsvp-grid .form-card,
	.planning-grid .timeline,
	.planning-grid .photo-card,
	.location-grid .location-card,
	.location-grid .map-card,
	.location-grid .photo-card,
	.dresscode-grid .dresscode-card,
	.dresscode-grid .dresscode-photo {
		grid-column: 1 / -1;
		margin-top: 0;
	}

	.photo-card--offset {
		margin-top: 0;
	}

	.full-bleed {
		height: clamp(150px, 24vh, 260px);
		margin: clamp(24px, 6vw, 56px) 0;
		width: 100vw;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		transform: none;
		max-width: 100vw;
		background-size: 130% auto;
		background-position: center;
	}

	.timeline-card {
		padding-bottom: 18px;
	}

	.timeline-card .section-note {
		position: static;
		margin-top: 10px;
	}

	.dresscode-moodboard {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.moodboard-item {
		transform: none;
	}

	.dresscode-grid .dresscode-moodboard-wrap {
		width: calc(100% + 48px);
		left: auto;
		right: auto;
		margin-left: -24px;
		margin-right: -24px;
		transform: none;
		max-width: none;
	}

	.site-header {
		padding: 14px 0;
	}

	.nav-bar {
		padding-left: 0;
	}

	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.site-logo--corner {
		position: static;
		top: auto;
		left: auto;
	}

	.primary-nav {
		display: none;
	}

	.menu-toggle {
		display: grid;
		place-items: center;
	}

	.primary-menu {
		flex-direction: column;
		align-items: center;
		font-size: 1.5rem;
	}
}

@media (max-width: 720px) {
	html,
	body {
		overflow-x: hidden;
	}

	.dresscode-moodboard {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dresscode-moodboard .moodboard-item:nth-child(3) {
		order: 4;
	}

	.dresscode-moodboard .moodboard-item:nth-child(4) {
		order: 3;
	}

	.dresscode-moodboard .moodboard-item:nth-child(6) {
		order: 5;
	}

	.dresscode-moodboard .moodboard-item:nth-child(5) {
		order: 6;
	}

	.dresscode-moodboard .moodboard-item:nth-child(8) {
		order: 8;
	}

	.dresscode-moodboard .moodboard-item:nth-child(7) {
		order: 7;
	}

	.site-header {
		padding: 14px 0;
	}

	.nav-bar {
		padding: 0 10px;
	}

	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.site-logo--corner {
		position: static;
		top: auto;
		left: auto;
	}

	.primary-nav {
		display: none;
	}

	.menu-toggle {
		display: grid;
		place-items: center;
	}

	.full-bleed {
		width: 100vw;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		transform: none;
		max-width: 100vw;
	}

	.dresscode-grid .dresscode-moodboard-wrap {
		width: calc(100% + 48px);
		left: auto;
		right: auto;
		margin-left: -24px;
		margin-right: -24px;
		transform: none;
		max-width: none;
	}

	.hero {
		padding-top: 12px;
		min-height: 80vh;
	}

	.hero-title {
		font-size: clamp(2.2rem, 8.5vw, 3.8rem);
		margin-bottom: -8px;
		white-space: nowrap;
	}

	.hero-image {
		height: 100%;
	}

	.hero-note {
		position: static;
		margin-top: 14px;
		text-align: right;
		transform: none;
	}
}
