:root {
	--lemon-cream: #fff9ed;
	--lemon-paper: #fffdf8;
	--lemon-soft: #f5ecda;
	--lemon-soft-2: #efe5d1;

	--lemon-olive: #4f5b3a;
	--lemon-olive-dark: #3f4930;
	--lemon-olive-light: #7b8665;

	--lemon-gold: #b38a45;
	--lemon-gold-soft: #d5bc8d;
	--lemon-gold-faint: rgba(179, 138, 69, 0.22);

	--lemon-yellow: #e1c344;
	--lemon-yellow-dark: #d4af1e;

	--lemon-burgundy: #7a3e32;

	--lemon-text: #3e4536;
	--lemon-muted: #6f7368;
	--lemon-white: #ffffff;

	--lemon-shadow: 0 18px 48px rgba(53, 47, 31, 0.10);
	--lemon-shadow-card: 0 12px 30px rgba(53, 47, 31, 0.08);

	--lemon-radius-xl: 34px;
	--lemon-radius-lg: 26px;
	--lemon-radius-md: 18px;

	--lemon-content-width: 430px;

	--lemon-serif:
		Georgia,
		"Times New Roman",
		serif;

	--lemon-display:
		"Palatino Linotype",
		"Book Antiqua",
		Palatino,
		Georgia,
		serif;

	--lemon-script:
		"Snell Roundhand",
		"Segoe Script",
		"Brush Script MT",
		cursive;
}

html {
	scroll-behavior: smooth;
}

body.single-wi_invitation {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background:
		radial-gradient(circle at top, #f5f0e6 0%, #e8e0d2 100%);
	color: var(--lemon-text);
	font-family: var(--lemon-serif);
}

body.single-wi_invitation button,
body.single-wi_invitation input,
body.single-wi_invitation textarea,
body.single-wi_invitation select {
	font-family: var(--lemon-serif);
}

.pandim-lemon-page {
	width: 100%;
	min-height: 100vh;
	padding: 0;
	margin: 0;
}

.lemon-invitation {
	width: 100%;
	max-width: var(--lemon-content-width);
	margin: 0 auto;
	padding: 18px 14px 28px;
}

.lemon-invitation__inner {
	background:
		linear-gradient(
			180deg,
			#fffdf8 0%,
			#fbf5e9 52%,
			#f7eedc 100%
		);
	border-radius: 36px;
	box-shadow: var(--lemon-shadow);
	overflow: hidden;
	position: relative;
}

.lemon-invitation__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(rgba(179, 138, 69, 0.05) 0.7px, transparent 0.7px);
	background-size: 7px 7px;
	opacity: 0.35;
}

.lemon-invitation img {
	display: block;
	max-width: 100%;
	height: auto;
}

.lemon-section,
.lemon-hero,
.lemon-rsvp,
.lemon-closing {
	position: relative;
	z-index: 2;
}

.lemon-section {
	padding: 34px 18px;
}

.lemon-section__inner,
.lemon-hero__inner,
.lemon-rsvp__inner,
.lemon-closing__inner {
	position: relative;
	z-index: 2;
}

.lemon-section__inner {
	width: min(100%, 348px);
	margin: 0 auto;
}

.lemon-section__kicker,
.lemon-rsvp__kicker,
.lemon-family__label,
.lemon-eyebrow {
	margin: 0 0 12px;
	text-align: center;
	color: var(--lemon-gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.lemon-section__title {
	margin: 0;
	text-align: center;
	color: var(--lemon-olive);
	font-family: var(--lemon-display);
	font-size: clamp(2rem, 9vw, 3rem);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.lemon-divider,
.lemon-family__separator,
.lemon-closing__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 142px;
	margin: 18px auto 0;
	color: var(--lemon-gold);
}

.lemon-divider span,
.lemon-family__separator span,
.lemon-closing__divider span {
	display: block;
	flex: 1;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--lemon-gold)
	);
}

.lemon-divider span:last-child,
.lemon-family__separator span:last-child,
.lemon-closing__divider span:last-child {
	background: linear-gradient(
		90deg,
		var(--lemon-gold),
		transparent
	);
}

.lemon-divider b,
.lemon-family__separator b,
.lemon-closing__divider b {
	font-size: 0.62rem;
	font-weight: 400;
}

/* HERO */

.lemon-hero {
	padding: 64px 20px 34px;
	background:
		linear-gradient(
			180deg,
			#fdf9f0 0%,
			#f8f0df 100%
		);
	text-align: center;
	overflow: hidden;
}

.lemon-hero::before {
	content: "";
	position: absolute;
	top: -90px;
	right: -70px;
	width: 210px;
	height: 210px;
	border: 1px solid rgba(179, 138, 69, 0.14);
	border-radius: 50%;
}

.lemon-hero::after {
	content: "";
	position: absolute;
	left: -80px;
	bottom: 80px;
	width: 145px;
	height: 145px;
	border: 1px solid rgba(79, 91, 58, 0.12);
	border-radius: 50%;
}

.lemon-hero__inner {
	width: 100%;
	max-width: 340px;
	margin: 0 auto;
}

.lemon-eyebrow {
	margin-bottom: 12px;
	color: var(--lemon-olive);
	font-size: 0.72rem;
}

.lemon-hero__ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 120px;
	margin: 0 auto 20px;
	color: var(--lemon-gold);
}

.lemon-hero__ornament span {
	width: 34px;
	height: 1px;
	background: var(--lemon-gold-soft);
}

.lemon-hero__ornament b {
	font-size: 0.68rem;
}

.lemon-hero__illustration {
	position: relative;
	width: min(78vw, 270px);
	height: min(78vw, 270px);
	margin: 0 auto 24px;
	padding: 10px;
	border-radius: 50%;
	overflow: hidden;
}

.lemon-hero__illustration::before {
	content: "";
	position: absolute;
	inset: 5px;
	z-index: -1;
	border-radius: 50%;
	background:
		radial-gradient(
			circle,
			rgba(233, 209, 102, 0.35) 0%,
			rgba(233, 209, 102, 0.12) 62%,
			transparent 78%
		);
}

.lemon-hero__illustration::after {
	content: "";
	position: absolute;
	inset: 10px;
	z-index: 2;
	border-radius: 50%;
	border: 2px solid rgba(212, 175, 30, 0.32);
	pointer-events: none;
}

.lemon-hero__illustration--photo {
	background:
		linear-gradient(
			180deg,
			#f8e58c 0%,
			#e7cb55 100%
		);
	box-shadow:
		0 10px 22px rgba(62, 56, 37, 0.10);
}

.lemon-hero__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	position: relative;
	z-index: 1;
}

.lemon-hero__fallback-art {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	position: relative;
	z-index: 1;
	padding: 18px;
}

.lemon-hero__image-placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background:
		radial-gradient(
			circle at 35% 35%,
			#fff3a0,
			#efd45b 60%,
			#d7b528
		);
}


.lemon-placeholder-lemon {
	font-size: 5.6rem;
}

.lemon-placeholder-helmet {
	position: absolute;
	top: 28px;
	font-size: 3rem;
	color: var(--lemon-burgundy);
}

.lemon-hero__name {
	margin: 0;
	color: var(--lemon-olive);
	font-family: var(--lemon-display);
	font-size: clamp(3.7rem, 15vw, 5rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.lemon-hero__intro {
	margin: 20px 0 0;
	color: var(--lemon-muted);
	font-size: 1rem;
	line-height: 1.8;
}

.lemon-hero__date {
	margin: 22px 0 0;
	color: var(--lemon-olive);
	font-family: var(--lemon-display);
	font-size: 1.35rem;
	line-height: 1.4;
}

.lemon-hero__time {
	margin: 8px 0 0;
	color: var(--lemon-gold);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.lemon-decoration {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.lemon-decoration--hero-top {
	top: 26px;
	left: 12px;
	width: 74px;
	height: 108px;
}

.lemon-decoration--hero-top::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 45px;
	height: 62px;
	border-radius: 55% 45% 52% 48% / 60% 60% 40% 40%;
	background: linear-gradient(145deg, #efd861, #d9b833);
}

.lemon-decoration--hero-top::after {
	content: "";
	position: absolute;
	top: -2px;
	left: 28px;
	width: 26px;
	height: 52px;
	border-radius: 100% 0 100% 0;
	background: var(--lemon-olive-light);
	transform: rotate(26deg);
}

.lemon-decoration--hero-bottom {
	right: 8px;
	bottom: 16px;
	width: 92px;
	height: 96px;
}

.lemon-decoration--hero-bottom::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 48px;
	height: 66px;
	border-radius: 55% 45% 52% 48% / 60% 60% 40% 40%;
	background: linear-gradient(145deg, #efd861, #d8b630);
	transform: rotate(18deg);
}

.lemon-decoration--hero-bottom::after {
	content: "";
	position: absolute;
	right: 32px;
	bottom: 32px;
	width: 28px;
	height: 56px;
	border-radius: 100% 0 100% 0;
	background: var(--lemon-olive);
	transform: rotate(-42deg);
}

/* SECTION CARDS */

.lemon-ceremony,
.lemon-reception,
.lemon-family,
.lemon-rsvp,
.lemon-closing {
	margin: 0 12px 16px;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: var(--lemon-shadow-card);
}

.lemon-ceremony,
.lemon-reception {
	background: var(--lemon-paper);
}

.lemon-ceremony .lemon-section__inner,
.lemon-reception .lemon-section__inner {
	padding: 4px 0;
}

.lemon-event-icon {
	width: 72px;
	height: 72px;
	margin: 26px auto 18px;
	display: grid;
	place-items: center;
	border: 1px solid var(--lemon-gold-soft);
	border-radius: 50%;
	background: linear-gradient(180deg, #fffdf8, #f8f0df);
	color: var(--lemon-gold);
	font-size: 1.6rem;
	box-shadow: inset 0 0 0 6px rgba(255, 249, 237, 0.85);
}

.lemon-event__venue {
	margin: 0;
	text-align: center;
	color: var(--lemon-olive-dark);
	font-family: var(--lemon-display);
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1.4;
}

.lemon-event__address {
	max-width: 290px;
	margin: 10px auto 0;
	text-align: center;
	color: var(--lemon-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.lemon-event__time {
	margin: 14px 0 22px;
	text-align: center;
	color: var(--lemon-gold);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

/* BUTTONS */

.lemon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--lemon-olive);
	border-radius: 999px;
	background: var(--lemon-olive);
	color: var(--lemon-white);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(57, 67, 42, 0.14);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		background 180ms ease;
}

.lemon-button:hover,
.lemon-button:focus-visible {
	background: var(--lemon-olive-dark);
	color: var(--lemon-white);
	transform: translateY(-2px);
	box-shadow: 0 10px 18px rgba(57, 67, 42, 0.18);
}

.lemon-button:focus-visible {
	outline: 3px solid rgba(225, 195, 68, 0.35);
	outline-offset: 3px;
}

/* FAMILY */

.lemon-family {
	padding: 0;
	background:
		linear-gradient(
			160deg,
			var(--lemon-olive) 0%,
			var(--lemon-olive-dark) 100%
		);
	color: var(--lemon-white);
}

.lemon-family::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(rgba(255,255,255,0.09) 0.8px, transparent 0.8px);
	background-size: 16px 16px;
	opacity: 0.30;
	pointer-events: none;
}

.lemon-family .lemon-section__inner {
	padding: 44px 18px;
}

.lemon-family__decoration {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(242, 223, 139, 0.42);
	border-radius: 50%;
}

.lemon-family__lemon {
	font-size: 2rem;
}

.lemon-family__group {
	padding: 3px 0;
	text-align: center;
}

.lemon-family__label {
	color: var(--lemon-yellow-light, #f6e8ab);
}

.lemon-family__names {
	margin: 0;
	color: var(--lemon-white);
	font-family: var(--lemon-display);
	font-size: clamp(1.55rem, 6vw, 2.05rem);
	line-height: 1.35;
}

.lemon-family__separator {
	margin: 26px auto;
}

.lemon-family__separator span {
	background: linear-gradient(
		90deg,
		transparent,
		rgba(242, 223, 139, 0.55)
	);
}

.lemon-family__separator span:last-child {
	background: linear-gradient(
		90deg,
		rgba(242, 223, 139, 0.55),
		transparent
	);
}

.lemon-family__separator b {
	color: #f4e5a2;
}

.lemon-family__names--stacked {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.lemon-family__name-line {
	display: block;
}

.lemon-family__ampersand {
	display: block;
	color: #f4e5a2;
	font-family: var(--lemon-display);
	font-size: 1.9rem;
	line-height: 1;
}


/* RSVP */

.lemon-rsvp {
	padding: 0;
	background: transparent;
}

.lemon-rsvp__inner {
	padding: 52px 24px;
	background:
		linear-gradient(
			145deg,
			#5a6642 0%,
			#445034 100%
		);
	color: var(--lemon-white);
	text-align: center;
	position: relative;
}

.lemon-rsvp__inner::before {
	content: "";
	position: absolute;
	top: -26px;
	right: -18px;
	width: 92px;
	height: 122px;
	border-radius: 56% 44% 54% 46% / 60% 60% 40% 40%;
	background: linear-gradient(145deg, #efd861, #d7b62f);
	transform: rotate(24deg);
}

.lemon-rsvp__inner::after {
	content: "";
	position: absolute;
	top: 32px;
	right: 34px;
	width: 30px;
	height: 64px;
	border-radius: 100% 0 100% 0;
	background: rgba(169, 193, 127, 0.72);
	transform: rotate(26deg);
}

.lemon-rsvp__kicker {
	color: #f3e2a4;
}

.lemon-rsvp__title {
	margin: 0;
	font-family: var(--lemon-display);
	font-size: clamp(2rem, 8vw, 2.7rem);
	font-weight: 400;
	line-height: 1.15;
	position: relative;
	z-index: 2;
}

.lemon-divider--light span {
	background: linear-gradient(
		90deg,
		transparent,
		#f2de95
	);
}

.lemon-divider--light span:last-child {
	background: linear-gradient(
		90deg,
		#f2de95,
		transparent
	);
}

.lemon-divider--light b {
	color: #f2de95;
}

.lemon-rsvp__deadline {
	margin: 20px 0 26px;
	color: rgba(255,255,255,0.87);
	font-size: 0.97rem;
	line-height: 1.7;
	position: relative;
	z-index: 2;
}

.lemon-rsvp__deadline strong {
	display: block;
	margin-top: 4px;
	color: var(--lemon-white);
	font-size: 1.05rem;
	font-weight: 400;
}

.lemon-button--rsvp {
	width: min(100%, 250px);
	min-height: 52px;
	background: var(--lemon-cream);
	color: var(--lemon-olive-dark);
	border-color: var(--lemon-gold);
	box-shadow: none;
	position: relative;
	z-index: 2;
}

.lemon-button--rsvp:hover,
.lemon-button--rsvp:focus-visible {
	background: #f8ebba;
	color: var(--lemon-olive-dark);
}

.lemon-rsvp__form-host {
	position: relative;
	z-index: 30;
}

/* CLOSING */

.lemon-closing {
	min-height: 310px;
	padding: 0;
	background:
		linear-gradient(
			180deg,
			#fff8ec 0%,
			#f6ecd8 100%
		);
}

.lemon-closing__inner {
	padding: 72px 24px 76px;
	text-align: center;
	position: relative;
}

.lemon-closing__inner::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(179, 138, 69, 0.18);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.lemon-closing__symbol {
	margin-bottom: 10px;
	color: var(--lemon-gold);
	font-size: 0.95rem;
	position: relative;
	z-index: 2;
}

.lemon-closing__text {
	margin: 0;
	color: var(--lemon-olive-dark);
	font-family: var(--lemon-display);
	font-size: 1.6rem;
	line-height: 1.5;
	position: relative;
	z-index: 2;
}

.lemon-closing__name {
	margin: 16px 0 0;
	color: var(--lemon-gold);
	font-family: var(--lemon-script);
	font-size: clamp(3rem, 13vw, 4.4rem);
	line-height: 1;
	position: relative;
	z-index: 2;
}

.lemon-closing__botanical {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 112px;
	height: 112px;
	transform: rotate(8deg);
}

.lemon-closing__fruit {
	position: absolute;
	right: 6px;
	bottom: 0;
	font-size: 3.8rem;
}

.lemon-closing__leaf {
	position: absolute;
	right: 40px;
	bottom: 44px;
	width: 28px;
	height: 58px;
	border-radius: 100% 0 100% 0;
	background: var(--lemon-olive);
	transform: rotate(-28deg);
	opacity: 0.82;
}

/* DEFAULT CONTENT */

.pandim-default-content {
	width: min(calc(100% - 40px), 850px);
	margin: 50px auto;
	padding: 30px;
	background: #ffffff;
	color: var(--lemon-text);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.pandim-default-content h1 {
	font-family: var(--lemon-display);
}

/* LINKS */

.lemon-invitation a {
	-webkit-tap-highlight-color: transparent;
}

/* MOTION */

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

	.lemon-button {
		transition: none;
	}
}

/* TABLET / DESKTOP */

@media (min-width: 700px) {
	body.single-wi_invitation {
		padding: 28px 0;
	}

	.lemon-invitation {
		padding: 10px 0 32px;
	}

	.lemon-invitation__inner {
		border-radius: 38px;
	}

	.lemon-hero {
		padding-top: 72px;
	}
}

/* SMALL DEVICES */

@media (max-width: 359px) {
	.lemon-hero__name {
		font-size: 3.2rem;
	}

	.lemon-section__title {
		font-size: 1.9rem;
	}

	.lemon-closing__text {
		font-size: 1.35rem;
	}
}


@media (max-width: 520px) {
  .lemon-hero {
    padding-bottom: 7rem;
  }

  .lemon-hero__date,
  .lemon-hero__time {
    position: relative;
    z-index: 3;
  }

  .lemon-decoration--hero-bottom {
    position: absolute;
    right: -0.25rem;
    bottom: 4.5rem;
    transform: scale(0.82);
    transform-origin: bottom right;
    z-index: 1;
  }
}
