/**
 * Destawed Couple Experiences — Frontend base styles.
 *
 * Phase 1 establishes the luxury-editorial brand foundation: cream backgrounds,
 * charcoal text, muted olive/gold accents, serif display headings, eyebrow
 * labels, generous spacing and section CSS-variable wiring. Section-specific
 * styling is layered on in Phase 2.
 *
 * @package Destawed_Couple_Experiences
 */

/* -------------------------------------------------------------------------
 * Brand tokens
 * ---------------------------------------------------------------------- */
.dce-couple {
	--dce-brand-bg: #fdfbf9;
	--dce-brand-text: #1a1a1a;
	--dce-brand-muted: #756050;
	--dce-brand-accent: #756050; /* brown CTA / accent by default */
	--dce-brand-olive: #7e8460;
	--dce-brand-gold: #c8a86a;
	--dce-brand-line: rgba(26, 26, 26, 0.12);
	--dce-brand-card: #ffffff;

	--dce-font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--dce-font-sans: "Poppins", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	--dce-container: 1300px;
	--dce-gutter: clamp(20px, 5vw, 50px);
	--dce-radius: 6px;

	color: var(--dce-brand-text);
	font-family: var(--dce-font-sans);
	font-size: 16px;
	line-height: 1.75;
	background: var(--dce-brand-bg);
}

.dce-couple * {
	box-sizing: border-box;
}

/* -------------------------------------------------------------------------
 * Section shell — each section receives its own --dce-section-* variables
 * inline (see DCE_Helpers::section_css_vars).
 * ---------------------------------------------------------------------- */
.dce-section {
	--_bg: #ffffff;
	background: var(--dce-section-bg, var(--_bg));
	color: var(--dce-section-text, var(--_text, var(--dce-brand-text)));
	position: relative;
	width: 100%;
}

/* Alternating default background by rendered position (set in DCE_Renderer).
   An admin-chosen colour still wins via the inline --dce-section-bg variable. */
.dce-section.dce-bg-alt-0 { --_bg: #f5f1e9; } /* warm cream */
.dce-section.dce-bg-alt-1 { --_bg: #ffffff; } /* white */

/* Contact is the brown CTA banner by default; galleries + contact clip the bleed. */
.dce-section--contact { --_bg: #413225; --_text: #f6f1ea; }
.dce-section--love_story,
.dce-section--rooms_gallery,
.dce-section--resort_gallery,
.dce-section--contact { overflow: hidden; }

.dce-container {
	width: 100%;
	max-width: var(--dce-container);
	margin-inline: auto;
	padding-inline: var(--dce-gutter);
}

/* Spacing controls */
.dce-pad-top-none { padding-top: 0; }
.dce-pad-top-tight { padding-top: clamp(24px, 4vw, 44px); }
.dce-pad-top-normal { padding-top: clamp(48px, 7vw, 96px); }
.dce-pad-top-loose { padding-top: clamp(72px, 10vw, 140px); }
.dce-pad-top-xl { padding-top: clamp(96px, 14vw, 200px); }

.dce-pad-bottom-none { padding-bottom: 0; }
.dce-pad-bottom-tight { padding-bottom: clamp(24px, 4vw, 44px); }
.dce-pad-bottom-normal { padding-bottom: clamp(48px, 7vw, 96px); }
.dce-pad-bottom-loose { padding-bottom: clamp(72px, 10vw, 140px); }
.dce-pad-bottom-xl { padding-bottom: clamp(96px, 14vw, 200px); }

/* -------------------------------------------------------------------------
 * Section heading
 * ---------------------------------------------------------------------- */
.dce-section__head {
	margin-bottom: clamp(28px, 4vw, 52px);
}
.dce-align-center { text-align: center; }
.dce-align-left { text-align: left; }

.dce-eyebrow {
	display: inline-block;
	font-family: var(--dce-font-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	margin-bottom: 14px;
}

.dce-section__title {
	font-family: var(--dce-font-serif);
	font-weight: 400;
	font-size: clamp(26px, 3.6vw, 35px);
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: none;
	margin: 0;
	max-width: 720px;
	color: inherit;
}
/* Centered section headers keep the title box centered. */
.dce-align-center .dce-section__title { margin-inline: auto; }
/* Message title stays narrow so it wraps to two tidy lines. */
.dce-section--message .dce-section__title { max-width: 360px; }

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.dce-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 30px;
	font-family: var(--dce-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--dce-radius);
	border: 1px solid var(--dce-section-accent, var(--dce-brand-accent));
	background: transparent;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	transition: color 0.5s ease, border-color 0.5s ease;
}
.dce-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--dce-section-accent, var(--dce-brand-accent));
	transform: translateX(-101%);
	transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.dce-btn:hover { color: #fff; }
.dce-btn:hover::before { transform: translateX(0); }

/* A deeper shade of whatever the section accent is (green, brown, …) for hovers. */
.dce-btn { --dce-btn-accent-dark: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 80%, #000); }

/* Filled (primary) — solid accent, deepens to a darker accent on hover. */
.dce-btn--fill { background: var(--dce-section-accent, var(--dce-brand-accent)); color: #fff; }
.dce-btn--fill::before { background: var(--dce-btn-accent-dark); }
.dce-btn--fill:hover { color: #fff; border-color: var(--dce-btn-accent-dark); }

/* Ghost (secondary) — neutral outline, fills with the darker accent on hover. */
.dce-btn--ghost { color: var(--dce-section-text, var(--dce-brand-text)); border-color: var(--dce-brand-line); }
.dce-btn--ghost::before { background: var(--dce-btn-accent-dark); }
.dce-btn--ghost:hover { color: #fff; border-color: var(--dce-btn-accent-dark); }

/* -------------------------------------------------------------------------
 * Password gate (branded unlock screen) — simple, elegant, on-brand
 * ---------------------------------------------------------------------- */
/* Kill the UA body margin so the 100vh gate fits the viewport exactly. */
body.dce-canvas { margin: 0; }
/* border-box so the gate's padding is INCLUDED in 100svh (no overflow/scroll). */
.dce-gate, .dce-gate * { box-sizing: border-box; }

.dce-gate {
	/* The gate renders OUTSIDE .dce-couple, so re-declare the brand tokens here
	   (otherwise every var() below resolves to nothing — no colours, no fonts). */
	--dce-brand-bg: #fdfbf9;
	--dce-brand-text: #1a1a1a;
	--dce-brand-muted: #756050;
	--dce-brand-accent: #756050;
	--dce-brand-olive: #7e8460;
	--dce-brand-gold: #c8a86a;
	--dce-brand-line: rgba(26, 26, 26, 0.12);
	--dce-font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--dce-font-sans: "Poppins", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--dce-radius: 6px;

	position: relative;
	height: 100svh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(28px, 6vw, 72px) 24px;
	font-family: var(--dce-font-sans);
	color: var(--dce-brand-text);
	background: var(--dce-brand-bg);
}
.dce-gate__inner {
	width: 100%;
	max-width: 400px;
	text-align: center;
	animation: dce-gate-in 0.7s ease both;
}
@keyframes dce-gate-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.dce-gate__brand {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	z-index: 1;
}
.dce-gate__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 170px;
	max-height: 110px;
	margin: 0 auto;
	/* Logo art is white (for the dark hero); flip it to solid black for the
	   light gate background. */
	filter: brightness(0);
}

.dce-gate__name {
	font-family: var(--dce-font-serif);
	font-weight: 400;
	font-size: clamp(26px, 4.4vw, 36px);
	line-height: 1.15;
	margin: 0;
	color: var(--dce-brand-text);
	letter-spacing: 0.01em;
}

/* Reuse the hero ornament shape, but force it fully golden for the gate. */
.dce-gate .dce-hero__ornament { margin: 18px 0 22px; }
.dce-gate .dce-hero__gem { color: var(--dce-brand-gold); }
.dce-gate .dce-hero__orn--l { background: linear-gradient(90deg, transparent, var(--dce-brand-gold)); }
.dce-gate .dce-hero__orn--r { background: linear-gradient(90deg, var(--dce-brand-gold), transparent); }

.dce-gate__intro {
	font-size: 14px;
	line-height: 1.7;
	color: var(--dce-brand-text);
	margin: 0 auto 26px;
	max-width: 32ch;
}
.dce-gate__error {
	font-size: 13px;
	line-height: 1.5;
	color: #9b3b32;
	margin: -8px auto 22px;
	max-width: 32ch;
}

.dce-gate__form { margin: 0; }
.dce-gate__field {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.dce-gate__input {
	width: 100%;
	font-family: var(--dce-font-sans);
	font-size: 15px;
	color: var(--dce-brand-text);
	background: #fff;
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: 15px 48px 15px 18px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}
.dce-gate__input::placeholder { color: #9a8f82; }
.dce-gate__input:focus {
	outline: none;
	border-color: var(--dce-brand-accent);
}
.dce-gate__field.is-error .dce-gate__input { border-color: #c97a72; }
.dce-gate__toggle {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9a8f82;
	cursor: pointer;
	transition: color 0.2s ease;
}
.dce-gate__toggle:hover { color: var(--dce-brand-muted); }
.dce-gate__eye { width: 20px; height: 20px; }
.dce-gate__eye[hidden] { display: none !important; }

.dce-gate__submit {
	width: 100%;
	font-family: var(--dce-font-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: var(--dce-brand-olive);
	border: 0;
	border-radius: var(--dce-radius);
	padding: 16px 22px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.dce-gate__submit:hover {
	background: color-mix(in srgb, var(--dce-brand-olive) 84%, #000);
}

.dce-gate__footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	text-align: center;
}
.dce-gate__footer-rule {
	display: block;
	width: min(420px, 72%);
	height: 1px;
	margin: 0 auto 14px;
	/* Soft edges: fades to transparent on the left and right, like the hero divider. */
	background: linear-gradient(90deg, transparent, var(--dce-brand-accent), transparent);
}
.dce-gate__copy {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: var(--dce-brand-muted);
}

/* -------------------------------------------------------------------------
 * Reading progress + back-to-top + promo close (front-end bonuses)
 * ---------------------------------------------------------------------- */
/* NOTE: the progress bar + back-to-top are appended to <body>, OUTSIDE
   .dce-couple where the brand tokens live — always use explicit fallbacks. */
.dce-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	z-index: 9999;
	background: linear-gradient(90deg, var(--dce-brand-gold, #c8a86a), #dcc188);
	box-shadow: 0 1px 4px rgba(200, 168, 106, 0.5);
	pointer-events: none;
	transition: width 0.1s linear;
}
.dce-totop {
	position: fixed;
	left: 50%;
	bottom: clamp(16px, 3vw, 28px);
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--dce-brand-accent, #756050);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transform: translateX(-50%) translateY(14px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
	box-shadow: 0 10px 26px -10px rgba(20, 16, 12, 0.5);
	z-index: 40;
}
.dce-totop svg { width: 20px; height: 20px; }
.dce-totop.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dce-totop:hover { background: color-mix(in srgb, var(--dce-brand-accent, #756050) 82%, #000); }

.dce-promo { position: relative; }
.dce-promo__close {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}
.dce-promo__close:hover { background: rgba(255, 255, 255, 0.32); }

/* -------------------------------------------------------------------------
 * Utilities
 * ---------------------------------------------------------------------- */
.dce-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

img.dce-lazy { opacity: 0; transition: opacity 0.5s ease; }
img.dce-lazy.is-loaded { opacity: 1; }

/* -------------------------------------------------------------------------
 * HERO
 * ---------------------------------------------------------------------- */
.dce-section.dce-section--hero {
	padding-top: 0;
	padding-bottom: 0;
}
.dce-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.dce-hero__media,
.dce-hero__media .dce-hero__img,
.dce-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
/* YouTube/Vimeo background video — cover the hero like background-size: cover. */
.dce-hero__video-embed {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	pointer-events: none;
}
.dce-hero__video-embed iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw; /* 16:9 by width */
	min-width: 177.78vh; /* 16:9 by height — guarantees full cover */
	min-height: 100vh;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
}
.dce-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.55) 100%),
		rgba(0,0,0,var(--dce-hero-overlay, 0.45));
}
.dce-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-block: 120px 90px;
}
.dce-hero__tagline {
	font-size: 12px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	opacity: 0.9;
}
.dce-hero__meta {
	font-size: clamp(13px, 1.6vw, 16px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: 4px 0 0;
}
.dce-hero__date {
	font-family: var(--dce-font-serif);
	font-size: clamp(16px, 2vw, 22px);
	font-style: italic;
	letter-spacing: 0.04em;
	margin: 0;
	opacity: 0.95;
}
.dce-hero__scroll {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: #fff;
	text-decoration: none;
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	opacity: 0.85;
}
.dce-hero__scroll svg { animation: dce-bob 1.8s ease-in-out infinite; }
@keyframes dce-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Countdown */
.dce-countdown {
	display: flex;
	gap: clamp(16px, 4vw, 46px);
	margin-top: 28px;
	align-items: flex-start;
}
.dce-countdown__done {
	font-family: var(--dce-font-serif);
	font-size: clamp(18px, 2.4vw, 26px);
	font-style: italic;
}

/* -------------------------------------------------------------------------
 * MESSAGE FROM COUPLE
 * ---------------------------------------------------------------------- */
.dce-message {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}
.dce-message__body {
	font-family: var(--dce-font-sans);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(26, 26, 26, 0.72);
}
.dce-message__body p { margin: 0 0 1.1em; }
/* Equal rhythm: title → description and description → buttons share the same gap. */
.dce-message__text .dce-section__head { margin-bottom: 28px; }
.dce-message__body p:last-child { margin-bottom: 0; }
.dce-message__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Right column: a row of tall portrait cards; the active one is widest. */
.dce-message__cards {
	display: flex;
	flex-direction: row;
	gap: 12px;
	height: clamp(420px, 46vw, 660px);
}
.dce-mcard {
	position: relative;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	background: none;
	border-radius: 16px;
	overflow: hidden;
	text-align: left;
	box-shadow: 0 10px 30px rgba(20, 16, 12, 0.12);
	transition: flex-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.dce-mcard.is-active { flex-grow: 3.6; }
.dce-mcard__media { display: block; width: 100%; height: 100%; }
.dce-mcard__img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none !important; }
/* Beautiful overlay — rich at the base, fading smoothly to clear by the top third. */
.dce-mcard::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 100%;
	background: linear-gradient(
		to top,
		rgba(20, 16, 12, 0.82) 0%,
		rgba(20, 16, 12, 0.50) 18%,
		rgba(20, 16, 12, 0.18) 40%,
		rgba(20, 16, 12, 0) 66%
	);
	pointer-events: none;
	z-index: 1;
}
/* Caption = plain uppercase label, bottom-left. Animates in; hides instantly. */
.dce-mcard__caption {
	position: absolute;
	left: 18px; bottom: 18px;
	z-index: 2;
	display: inline-block;
	color: #fff;
	font-family: var(--dce-font-sans);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 1px 4px rgba(20, 16, 12, 0.5);
	opacity: 0;
	transform: translateY(8px);
	transition: none;
}
.dce-mcard.is-active .dce-mcard__caption {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.dce-mcard__progress {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: rgba(255,255,255,0.28);
	opacity: 0;
	z-index: 3;
}
.dce-mcard.is-active .dce-mcard__progress { opacity: 1; }
.dce-mcard__bar { display: block; height: 100%; width: 0; background: #fff; }
.dce-mcard.is-active .dce-mcard__bar.is-running { animation: dce-progress var(--dce-card-speed, 4s) linear forwards; }
@keyframes dce-progress { from { width: 0; } to { width: 100%; } }
.dce-message__cards.is-single .dce-mcard__progress { display: none; }

/* Mobile / tablet: button full-width, cards stacked as a vertical accordion
   (one open + tall, the others collapsed bars) — captions always visible. */
@media (max-width: 860px) {
	.dce-message { grid-template-columns: 1fr; }
	.dce-message__ctas { flex-direction: column; }
	.dce-message__ctas .dce-btn { width: 100%; }
	.dce-message__cards { flex-direction: column; height: auto; gap: 12px; }
	.dce-mcard { flex: none; width: 100%; height: 92px; transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
	.dce-mcard.is-active { height: 300px; }
	.dce-mcard__caption { opacity: 1; transform: none; }
	.dce-mcard__progress { display: none; }
}

/* -------------------------------------------------------------------------
 * TABS (itinerary / resort info)
 * ---------------------------------------------------------------------- */
.dce-tabs {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: safe center;
	gap: 4px;
	border-bottom: 1px solid var(--dce-brand-line);
	margin-bottom: clamp(28px, 4vw, 48px);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.dce-tabs::-webkit-scrollbar { display: none; }
.dce-tab {
	flex: 0 0 auto;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 12px 20px;
	cursor: pointer;
	white-space: nowrap;
	color: var(--dce-section-text, var(--dce-brand-text));
	font-family: var(--dce-font-sans);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	transition: border-color 0.25s ease, opacity 0.25s ease, color 0.25s ease;
	opacity: 0.6;
}
.dce-tab__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.dce-tab__date { font-size: 11px; opacity: 0.75; }
.dce-tab[aria-selected="true"] {
	opacity: 1;
	border-bottom-color: var(--dce-section-accent, var(--dce-brand-accent));
}
.dce-tab:hover { opacity: 1; }
/* Sliding active indicator (when present, it replaces the per-tab border). */
.dce-tabs__indicator {
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 0;
	background: var(--dce-section-accent, var(--dce-brand-accent));
	transform: translateX(0);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
.dce-tabs:has(.dce-tabs__indicator) .dce-tab[aria-selected="true"] { border-bottom-color: transparent; }

/* Itinerary — single centered day panel; palette swatch arch washes the panel. */
/* A day can hold multiple event cards (Mehndi, Jaago, Sangeet…). */
.dce-itin-events--multi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(18px, 2.5vw, 32px);
	align-items: start;
	max-width: 1080px;
	margin-inline: auto;
}
.dce-itin-events--multi .dce-itin-day { max-width: none; }

.dce-itin-day {
	position: relative;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	padding: clamp(30px, 5vw, 56px) clamp(22px, 4vw, 48px);
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
}
/* Soft colour wash — smoothly interpolates as --day-wash changes on hover. */
.dce-itin-day::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: var(--day-wash, #f5f1e9);
	opacity: 0.16;
	transition: background-color 0.55s ease, opacity 0.55s ease;
}
.dce-itin-day > * { position: relative; z-index: 1; }
.dce-itin-day__swatches {
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	margin-bottom: 24px;
}
.dce-itin-day__sw {
	display: inline-block;
	border-radius: 50%;
	margin: 0 -7px;
	border: 3px solid #fff;
	box-shadow: 0 8px 22px rgba(20, 16, 12, 0.16);
	cursor: pointer;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, box-shadow 0.4s ease;
}
/* Crazy-but-smooth hover: lift + pop the hovered swatch, dim the siblings. */
.dce-itin-day__swatches:hover .dce-itin-day__sw { opacity: 0.45; }
.dce-itin-day__swatches .dce-itin-day__sw:hover {
	opacity: 1;
	transform: translateY(-12px) scale(1.28);
	box-shadow: 0 16px 36px rgba(20, 16, 12, 0.26);
	position: relative;
	z-index: 2;
}
/* Itinerary "The Wedding Week" heading — smaller than other section titles (client request). */
.dce-section--itinerary .dce-section__title { font-size: clamp(20px, 2.6vw, 26px); }

/* Book Your Stay — rate image box (replaces the manual rate tables). */
.dce-rate-images {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	margin: 0 auto 8px;
	width: 100%;
}
.dce-rate-images__item {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0;
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	background: #fff;
	cursor: zoom-in;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.dce-rate-images__item:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(20, 16, 12, 0.4); }
/* Always fill the row width (override the intrinsic width/height attributes). */
.dce-rate-images__img,
.dce-rate-images__item img { display: block; width: 100% !important; max-width: none !important; height: auto; }

/* Transfer guide — description + button. */
.dce-transfer__desc { text-align: center; }
.dce-transfer__action { display: flex; justify-content: center; margin-top: 26px; }

/* Itinerary — add-to-calendar button under the day panels. */
.dce-itin-cal { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 40px); }

/* Share row (contact banner) — pass the invite along. */
.dce-share { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.dce-share__label {
	display: block;
	font-family: var(--dce-font-sans);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.6;
	margin-bottom: 12px;
}
.dce-share__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.dce-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
}
.dce-share__btn svg { width: 19px; height: 19px; }
.dce-share__btn:hover {
	background: var(--dce-section-text, #f6f1ea);
	color: var(--dce-section-bg, #413225);
	border-color: transparent;
}
.dce-share__copied {
	font-family: var(--dce-font-sans);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
}
.dce-share__copied[hidden] { display: none; }

.dce-itin-day__media { max-width: 520px; margin: 0 auto 22px; }
.dce-itin-day__media img { width: 100%; height: auto; border-radius: var(--dce-radius); display: block; }
.dce-itin-day__theme {
	display: block;
	font-family: var(--dce-font-serif);
	font-style: italic;
	font-size: clamp(15px, 1.8vw, 18px);
	color: var(--dce-section-accent, var(--dce-brand-accent));
	margin-bottom: 6px;
}
.dce-itin-day__title { font-family: var(--dce-font-serif); font-weight: 400; font-size: clamp(26px, 3.6vw, 35px); line-height: 1.2; margin: 0 0 10px; }
.dce-itin-day__time {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--dce-font-sans);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	margin: 0 0 12px;
}
.dce-itin-day__text { font-family: var(--dce-font-sans); font-weight: 300; font-size: 15px; line-height: 1.8; color: rgba(26, 16, 12, 0.72); max-width: 560px; margin: 0 auto; }
.dce-itin-day__dress {
	display: inline-block;
	margin-top: 22px;
	padding: 8px 18px;
	border: 1px solid color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 45%, transparent);
	border-radius: 22px;
	font-family: var(--dce-font-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dce-section-accent, var(--dce-brand-accent));
}

/* -------------------------------------------------------------------------
 * SHARED: narrow container + section intro
 * ---------------------------------------------------------------------- */
.dce-container--narrow { max-width: 860px; }
.dce-section__intro {
	max-width: 720px;
	margin: -18px auto clamp(28px, 4vw, 48px);
	text-align: center;
	line-height: 1.75;
}

/* -------------------------------------------------------------------------
 * ACCORDION
 * ---------------------------------------------------------------------- */
/* Premium card accordion — separated items, animated open, custom +/− icon. */
.dce-accordion { display: flex; flex-direction: column; gap: 14px; }
.dce-accordion__item {
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.dce-accordion__item.is-open {
	border-color: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 55%, transparent);
	box-shadow: 0 16px 40px rgba(20, 16, 12, 0.10);
}
.dce-accordion__heading { margin: 0; }
.dce-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 30px);
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	color: inherit;
	font-family: var(--dce-font-serif);
	font-size: 15px;
	line-height: 1.35;
	letter-spacing: 0.01em;
	transition: color 0.3s ease;
}
.dce-accordion__item.is-open .dce-accordion__trigger { color: var(--dce-section-accent, var(--dce-brand-accent)); }
.dce-accordion__q { flex: 1; }

/* Custom +/− icon inside a circle that fills on open. */
.dce-accordion__icon-wrap {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--dce-brand-line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.dce-accordion__item.is-open .dce-accordion__icon-wrap {
	background: var(--dce-section-accent, var(--dce-brand-accent));
	border-color: var(--dce-section-accent, var(--dce-brand-accent));
	color: #fff;
	transform: rotate(180deg);
}
.dce-accordion__icon { position: relative; width: 14px; height: 14px; }
.dce-accordion__icon::before,
.dce-accordion__icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.dce-accordion__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.dce-accordion__icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
/* Open → vertical bar collapses (plus becomes minus). */
.dce-accordion__item.is-open .dce-accordion__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

/* Animated panel via grid-rows (smooth height). Collapsed only when JS is on. */
.dce-accordion__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.dce-has-js .dce-accordion__panel { grid-template-rows: 0fr; }
.dce-has-js .dce-accordion__item.is-open .dce-accordion__panel { grid-template-rows: 1fr; }
.dce-accordion__content {
	overflow: hidden;
	min-height: 0;
	padding: 0 clamp(20px, 2.6vw, 30px);
	font-family: var(--dce-font-sans);
	font-size: 13px;
	line-height: 1.75;
	color: rgba(26, 26, 26, 0.72);
	transition: padding-bottom 0.45s ease;
}
.dce-accordion__item.is-open .dce-accordion__content { padding-bottom: clamp(20px, 2.6vw, 28px); }
.dce-accordion__content p { margin: 0 0 0.9em; }
.dce-accordion__content p:last-child { margin-bottom: 0; }
.dce-accordion__trigger:focus-visible { outline: 2px solid var(--dce-section-accent, var(--dce-brand-accent)); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.dce-accordion__panel, .dce-accordion__icon::before, .dce-accordion__icon::after, .dce-accordion__icon-wrap { transition: none; }
}

/* -------------------------------------------------------------------------
 * LIGHTBOX
 * ---------------------------------------------------------------------- */
body.dce-lightbox-open { overflow: hidden; }
.dce-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 18, 14, 0.92);
	padding: clamp(20px, 5vw, 70px);
}
.dce-lightbox[hidden] { display: none; }
.dce-lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.dce-lightbox__img {
	max-width: 100%;
	max-height: 82vh;
	object-fit: contain;
	border-radius: 2px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.dce-lightbox__caption { color: #efeae0; margin-top: 14px; font-family: var(--dce-font-serif); font-size: 16px; }
.dce-lightbox__close,
.dce-lightbox__nav {
	position: absolute;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	cursor: pointer;
	width: 48px; height: 48px;
	border-radius: 50%;
	font-size: 26px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.dce-lightbox__close:hover,
.dce-lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.dce-lightbox__close { top: 22px; right: 22px; }
.dce-lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.dce-lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------------------
 * BOOK YOUR STAY — payment + cancellation info cards
 * ---------------------------------------------------------------------- */
/* Two-column layout: description (left) + info cards (right); rate image spans
   its own full-width row. DOM order is description → image → cards so mobile
   naturally stacks in that order. */
.dce-book-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 3.4vw, 52px);
	align-items: start;
	margin-top: clamp(20px, 3vw, 36px);
}
.dce-book-desc {
	grid-column: 1;
	grid-row: 1;
	text-align: left;
	font-size: 14.5px;
	line-height: 1.75;
}
.dce-book-desc p { margin: 0 0 0.85em; }
.dce-book-desc p:last-child { margin-bottom: 0; }
.dce-book-desc p:empty { display: none; }
.dce-book-info {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 22px);
}
.dce-book-layout .dce-rate-images {
	grid-column: 1 / -1;
	grid-row: 2;
	max-width: 100%;
	margin: clamp(10px, 2vw, 24px) auto 0;
}
/* When there's no description (or no cards) the layout is a single centred column. */
.dce-book-layout--single { grid-template-columns: 1fr; }
.dce-book-layout--single .dce-book-desc,
.dce-book-layout--single .dce-book-info,
.dce-book-layout--single .dce-rate-images { grid-column: 1; grid-row: auto; }
.dce-book-layout--single .dce-book-desc { text-align: center; max-width: 940px; margin-inline: auto; }
.dce-book-layout--single .dce-book-info { max-width: 1040px; margin-inline: auto; width: 100%; }

/* Payment / cancellation = a single-open accordion (Payment open by default). */
.dce-book-acc { gap: clamp(16px, 2vw, 22px); }
.dce-book-acc .dce-accordion__trigger { gap: 12px; }
.dce-info-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	background: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 10%, #fff);
	color: var(--dce-section-accent, var(--dce-brand-accent));
}
.dce-info-card__icon svg { width: 20px; height: 20px; }
.dce-book-acc .dce-accordion__q { font-size: 19px; letter-spacing: 0.02em; }
/* Divided list — one row per line. */
.dce-info-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--dce-font-sans);
	font-size: 13px;
	line-height: 1.55;
	color: rgba(26, 16, 12, 0.74);
}
.dce-info-card__list li {
	padding: 11px 0;
	border-top: 1px solid var(--dce-brand-line);
}
.dce-info-card__list li:first-child { border-top: 0; padding-top: 2px; }
.dce-info-card__list li:last-child { padding-bottom: 0; }
.dce-info-card__list strong { color: var(--dce-brand-text); }

.dce-book-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: clamp(28px, 4vw, 44px);
}
/* Stack to one column: description → rate image → the two cards. */
@media (max-width: 860px) {
	.dce-book-layout { grid-template-columns: 1fr; }
	.dce-book-desc, .dce-book-info, .dce-book-layout .dce-rate-images {
		grid-column: 1;
		grid-row: auto;
	}
	.dce-book-desc { text-align: center; }
}
@media (max-width: 700px) {
	.dce-book-actions .dce-btn { width: 100%; }
}

/* -------------------------------------------------------------------------
 * RESORT INFO (tabs panels)
 * ---------------------------------------------------------------------- */
.dce-resort-info__panel { font-family: var(--dce-font-sans); font-size: 13px; line-height: 1.75; max-width: 820px; margin-inline: auto; }
.dce-resort-info__panel h3,
.dce-resort-info__panel h4 { font-family: var(--dce-font-serif); font-weight: 500; }
.dce-resort-info__panel h3 { font-size: 18px; margin: 0 0 0.6em; }
.dce-resort-info__panel h4 { font-size: 15px; margin: 0 0 0.5em; }
.dce-resort-info__panel p { font-size: 13px; margin: 0 0 1em; }

/* -------------------------------------------------------------------------
 * RESORT VIDEOS (facades)
 * ---------------------------------------------------------------------- */
.dce-videos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(16px, 2.5vw, 28px);
}
.dce-video { margin: 0; }
.dce-video__facade {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	padding: 0;
	cursor: pointer;
	border-radius: var(--dce-radius);
	overflow: hidden;
	background-color: #1c1a16;
	background-size: cover;
	background-position: center;
}
.dce-video__facade::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.28);
	transition: background 0.25s ease;
}
.dce-video__facade:hover::after { background: rgba(0,0,0,0.42); }
.dce-video__facade--vimeo { background-image: linear-gradient(135deg, #2b3540, #121a22); }
.dce-video__play {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.dce-video__play svg {
	background: rgba(0,0,0,0.35);
	border-radius: 50%;
	transition: transform 0.25s ease, background 0.25s ease;
}
.dce-video__facade:hover .dce-video__play svg { transform: scale(1.1); background: var(--dce-section-accent, var(--dce-brand-accent)); }
.dce-video__title { margin-top: 12px; font-family: var(--dce-font-serif); font-size: 17px; }
/* Video popup stage (reuses .dce-pb shell + .dce-pb-close/.dce-pb-backdrop). */
.dce-vb-stage {
	position: relative;
	z-index: 2;
	width: min(92vw, 1100px);
	aspect-ratio: 16 / 9;
	opacity: 0;
	transform: scale(0.92);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.dce-vb-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }

/* -------------------------------------------------------------------------
 * CONTACT / CTA BANNER (full-width, brown by default, optional bg image)
 * ---------------------------------------------------------------------- */
/* Optional background image + automatic dark overlay. */
.dce-cta__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.dce-cta__bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dce-cta__overlay { position: absolute; inset: 0; background: #1a140f; }

.dce-cta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
/* Eyebrows ride the section text color (muted) so they read on any bg. */
.dce-cta .dce-eyebrow { color: currentColor; opacity: 0.65; margin: 0; }
.dce-cta__rule { width: 54px; height: 1px; background: currentColor; opacity: 0.45; margin: 18px 0 24px; }
.dce-cta__title { margin: 0; }
.dce-cta__intro {
	margin-top: 16px;
	max-width: 540px;
	font-family: var(--dce-font-sans);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.7;
	opacity: 0.82;
}
.dce-cta__intro p { margin: 0; }
.dce-cta__contact { margin-top: 26px; }
.dce-cta__manager { margin: 0; }
.dce-cta__manager .dce-eyebrow { display: block; margin-bottom: 6px; }
.dce-cta__name { font-family: var(--dce-font-serif); font-size: 22px; }
.dce-cta__hours { margin: 10px 0 0; font-family: var(--dce-font-sans); font-size: 14px; opacity: 0.8; }
.dce-cta__links { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; margin-top: 18px; }
.dce-cta__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	font-family: var(--dce-font-sans);
	letter-spacing: 0.02em;
	opacity: 0.92;
	transition: opacity 0.3s ease;
}
.dce-cta__link:hover { opacity: 1; }
.dce-cta__link .dce-icon { color: var(--dce-section-accent, var(--dce-brand-accent)); }
.dce-cta__action { margin-top: 30px; }
/* CTA button — light outline that fills on hover (reads on dark bg). */
.dce-cta__btn { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.dce-cta__btn::before { background: #fff; }
.dce-cta__btn:hover { color: var(--dce-brand-text); border-color: #fff; }
.dce-cta__btn .dce-cta__btn-arrow { width: 16px; height: 16px; }

/* -------------------------------------------------------------------------
 * CUSTOM CONTENT / PROSE
 * ---------------------------------------------------------------------- */
.dce-prose { line-height: 1.8; }
.dce-prose h2, .dce-prose h3, .dce-prose h4 { font-family: var(--dce-font-serif); font-weight: 500; }
.dce-prose p { margin: 0 0 1.1em; }
.dce-prose img { max-width: 100%; height: auto; border-radius: var(--dce-radius); }

/* -------------------------------------------------------------------------
 * RSVP FORM
 * ---------------------------------------------------------------------- */
.dce-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.dce-rsvp-form {
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: clamp(24px, 4vw, 44px);
}
/* Dynamic field row: every field GROWS to fill its row, so a lone field on the
   last row becomes full-width and two fields sit 50/50. Full-width fields always
   take their own row. Adapts automatically to any number of fields (incl. custom). */
.dce-rsvp__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-start;
}
.dce-rsvp__fields > * {
	flex: 1 1 260px;
	min-width: 0;
	margin: 0;
}
.dce-rsvp__fields > .dce-field--full { flex-basis: 100%; }

/* Attendance choice cards (custom radio with emoji-style SVG face). */
.dce-rsvp__attend { border: 0; padding: 0; margin: 0; }
.dce-rsvp__attend .dce-field__legend { margin-bottom: 12px; }
.dce-attend-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dce-attend-card {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px 14px;
	border: 1.5px solid var(--dce-brand-line);
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.dce-attend-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dce-attend-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 12%, #fff);
	color: var(--dce-section-accent, var(--dce-brand-accent));
	transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dce-attend-card__icon svg { width: 28px; height: 28px; }
.dce-attend-card__label { display: block; width: 100%; font-family: var(--dce-font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; white-space: nowrap; }
.dce-attend-card:hover { border-color: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 45%, transparent); transform: translateY(-2px); }
.dce-attend-card:hover .dce-attend-card__icon { transform: scale(1.06); }
.dce-attend-card:has(input:checked) {
	border-color: var(--dce-section-accent, var(--dce-brand-accent));
	background: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 8%, #fff);
	box-shadow: 0 14px 34px color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 22%, transparent);
}
/* On select: the icon springs in first… */
.dce-attend-card:has(input:checked) .dce-attend-card__icon {
	background: var(--dce-section-accent, var(--dce-brand-accent));
	color: #fff;
	animation: dce-attend-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* …then the label follows. */
.dce-attend-card:has(input:checked) .dce-attend-card__label {
	color: var(--dce-section-accent, var(--dce-brand-accent));
	animation: dce-attend-label 0.4s ease 0.18s both;
}
@keyframes dce-attend-pop {
	0% { transform: scale(0.8); }
	55% { transform: scale(1.2); }
	100% { transform: scale(1); }
}
@keyframes dce-attend-label {
	0% { opacity: 0.4; transform: translateY(5px); }
	100% { opacity: 1; transform: none; }
}
.dce-attend-card:has(input:focus-visible) { outline: 2px solid var(--dce-section-accent, var(--dce-brand-accent)); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.dce-attend-card, .dce-attend-card__icon { transition: none; }
	.dce-attend-card:has(input:checked) .dce-attend-card__icon,
	.dce-attend-card:has(input:checked) .dce-attend-card__label { animation: none; }
}

.dce-rsvp-form label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
	opacity: 0.85;
}
.dce-rsvp-form input[type="text"],
.dce-rsvp-form input[type="email"],
.dce-rsvp-form input[type="tel"],
.dce-rsvp-form input[type="number"],
.dce-rsvp-form select,
.dce-rsvp-form textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	background: #fff;
	color: var(--dce-brand-text);
	font-family: var(--dce-font-sans);
	font-size: 15px;
	line-height: 1.4;
}
.dce-rsvp-form textarea { min-height: 0; }
/* Custom dropdown caret (appearance reset removes the native one). */
.dce-rsvp-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23756050' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
	cursor: pointer;
}
.dce-rsvp-form input:focus,
.dce-rsvp-form select:focus,
.dce-rsvp-form textarea:focus {
	outline: none;
	border-color: var(--dce-section-accent, var(--dce-brand-accent));
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--dce-section-accent, #7a7a52) 25%, transparent);
}
/* Custom field choice groups (radio / checkbox). */
.dce-field__legend {
	display: block;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 8px;
	opacity: 0.85;
}
.dce-choice-group { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.dce-choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--dce-font-sans); font-size: 14px; margin: 0; text-transform: none; letter-spacing: 0; opacity: 1; }
.dce-choice input { accent-color: var(--dce-section-accent, var(--dce-brand-accent)); width: 16px; height: 16px; }
.dce-rsvp__footer {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.dce-rsvp__message {
	margin: 0;
	font-size: 14px;
	padding: 10px 14px;
	border-radius: var(--dce-radius);
	width: 100%;
}
.dce-rsvp__message.is-success { background: #eef2e6; color: #495a24; }
.dce-rsvp__message.is-error { background: #f8eceb; color: #9a3b32; }
/* RSVP closed — a clean centered bar (replaces the form in both modes). */
.dce-rsvp-closed {
	text-align: center;
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px);
}
.dce-rsvp-closed__icon { display: inline-flex; color: var(--dce-section-accent, var(--dce-brand-accent)); margin-bottom: 18px; }
.dce-rsvp-closed__icon svg { width: 56px; height: 56px; }
.dce-rsvp-closed .dce-eyebrow { display: block; margin-bottom: 12px; }
.dce-rsvp-closed__msg {
	font-family: var(--dce-font-serif);
	font-weight: 400;
	font-size: clamp(19px, 2.6vw, 28px);
	line-height: 1.45;
	margin: 0 auto;
	max-width: 620px;
}
/* Modal-mode CTA bar: left text, right button (so the row isn't empty). */
.dce-rsvp-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(20px, 3vw, 48px);
	flex-wrap: wrap;
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: clamp(26px, 3.2vw, 44px) clamp(26px, 3.6vw, 52px);
}
.dce-rsvp-cta__text { max-width: 640px; }
.dce-rsvp-cta__text .dce-eyebrow { margin: 0 0 8px; }
.dce-rsvp-cta__title {
	font-family: var(--dce-font-serif);
	font-weight: 400;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.2;
	margin: 0;
	max-width: none;
}
.dce-rsvp-cta__desc {
	margin: 10px 0 0;
	font-family: var(--dce-font-sans);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.7;
	opacity: 0.7;
}
.dce-rsvp-cta__action { flex: none; }
@media (max-width: 700px) {
	.dce-rsvp-cta { flex-direction: column; align-items: flex-start; }
	.dce-rsvp-cta__action { width: 100%; }
	.dce-rsvp-cta__action .dce-btn { width: 100%; }
}

/* Two-column layout: sticky details aside (40%) + form (60%). */
.dce-rsvp-layout {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}
.dce-rsvp-aside {
	position: sticky;
	top: clamp(24px, 5vw, 56px);
	align-self: start;
}
.dce-rsvp-aside__inner { width: 100%; }
.dce-rsvp-aside__title { margin: 12px 0 0; }
.dce-rsvp-aside__intro {
	margin-top: 16px;
	font-family: var(--dce-font-sans);
	font-weight: 300;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(26, 26, 26, 0.66);
}
.dce-rsvp-aside__intro p { margin: 0 0 0.8em; }
.dce-rsvp-aside__intro p:last-child { margin-bottom: 0; }
.dce-rsvp-card {
	margin-top: 28px;
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: 22px 24px;
	display: grid;
	gap: 18px;
}
.dce-rsvp-card__row { display: flex; gap: 14px; align-items: flex-start; }
.dce-rsvp-card__row .dce-icon { color: var(--dce-section-accent, var(--dce-brand-accent)); flex: none; margin-top: 2px; }
.dce-rsvp-card__label {
	display: block;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.6;
	margin-bottom: 3px;
}
.dce-rsvp-card__value { display: block; font-family: var(--dce-font-serif); font-size: 17px; }
.dce-rsvp-card__addr { display: block; font-family: var(--dce-font-sans); font-size: 13px; line-height: 1.6; opacity: 0.75; margin-top: 4px; }
.dce-rsvp-card__dir {
	display: inline-block;
	margin-top: 10px;
	font-family: var(--dce-font-sans);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	text-decoration: none;
}
.dce-rsvp-card__dir:hover { text-decoration: underline; text-underline-offset: 3px; }
.dce-rsvp-card__cal {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-family: var(--dce-font-sans);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.dce-rsvp-card__cal svg { width: 15px; height: 15px; }
.dce-rsvp-card__cal:hover { opacity: 0.7; }

@media (max-width: 860px) {
	.dce-rsvp-layout { grid-template-columns: 1fr; gap: 24px; }
	.dce-rsvp-aside { position: static; }
	.dce-rsvp-aside__inner { padding: 0; }
}

/* RSVP modal */
body.dce-modal-open { overflow: hidden; }
.dce-rsvp-modal {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.dce-rsvp-modal[hidden] { display: none; }
.dce-rsvp-modal::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 12, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.dce-rsvp-modal.is-open::before { opacity: 1; }
.dce-rsvp-modal__inner {
	position: relative;
	z-index: 1;
	width: 500px;
	max-width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	background: var(--dce-brand-bg);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -24px 70px rgba(20, 16, 12, 0.32);
	padding: clamp(28px, 4vw, 44px);
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dce-rsvp-modal.is-open .dce-rsvp-modal__inner { transform: none; }
/* In a sheet the form is flush — the sheet itself is the card. */
.dce-rsvp-modal .dce-rsvp-form { background: none; border: 0; border-radius: 0; padding: 0; }
.dce-rsvp-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--dce-brand-line);
	background: transparent;
	color: var(--dce-brand-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease, color 0.3s ease;
}
.dce-rsvp-modal__close:hover { background: var(--dce-brand-text); color: #fff; }
.dce-rsvp-modal__head { margin-bottom: 22px; }
.dce-rsvp-modal__head .dce-eyebrow { display: block; }
.dce-rsvp-modal__title { font-family: var(--dce-font-serif); font-weight: 400; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; margin: 6px 0 0; }
@media (max-width: 600px) { .dce-rsvp-modal__inner { width: 100%; } }

/* -------------------------------------------------------------------------
 * REVIEWS
 * ---------------------------------------------------------------------- */
.dce-stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.dce-star { color: var(--dce-brand-gold); opacity: 0.22; }
.dce-star.is-filled { opacity: 1; }
.dce-star :where(use) { fill: currentColor; }

.dce-reviews__summary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 34px;
}
.dce-reviews__avg { font-family: var(--dce-font-serif); font-size: 22px; }
.dce-reviews__count { font-size: 13px; opacity: 0.7; }

/* Reviews carousel: equal-height cards. */
.dce-reviews-swiper .swiper-slide { height: auto; display: flex; }
.dce-reviews-swiper .swiper-slide > * { width: 100%; }
.dce-review {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: 30px 28px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(20, 16, 12, 0.06);
}
.dce-review .dce-stars { justify-content: center; font-size: 0; }
.dce-review__text {
	font-family: var(--dce-font-sans);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.75;
	color: rgba(26, 26, 26, 0.74);
	margin: 16px 0 18px;
	flex: 1;
}
.dce-review__text::before { content: "\201C"; }
.dce-review__text::after { content: "\201D"; }
.dce-review__author {
	font-family: var(--dce-font-serif);
	font-size: 17px;
	letter-spacing: 0.01em;
	opacity: 0.9;
	margin: 0;
}

/* Review form (reuses RSVP form shell) */
.dce-review-form {
	background: var(--dce-brand-card);
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	padding: clamp(24px, 4vw, 44px);
}
.dce-review-form .dce-field { margin: 16px 0 0; }
.dce-review-form .dce-field:first-child { margin-top: 0; }
/* Name + email side-by-side on desktop, stacked on mobile. */
.dce-rw__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.dce-rw__grid .dce-field { margin-top: 0; }
@media (max-width: 600px) { .dce-rw__grid { grid-template-columns: 1fr; } }
.dce-review-form label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
	opacity: 0.85;
}
.dce-review-form input[type="text"],
.dce-review-form input[type="email"],
.dce-review-form textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--dce-brand-line);
	border-radius: var(--dce-radius);
	background: #fff;
	color: var(--dce-brand-text);
	font-family: var(--dce-font-sans);
	font-size: 15px;
	line-height: 1.4;
}
.dce-review-form textarea { min-height: 0; }
.dce-review-form input:focus,
.dce-review-form textarea:focus {
	outline: none;
	border-color: var(--dce-section-accent, var(--dce-brand-accent));
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--dce-section-accent, #7a7a52) 25%, transparent);
}

/* CSS-only interactive star rating — label on top, row uses the rtl fill trick. */
.dce-stars-input { border: 0; padding: 0; margin: 0 0 20px; }
.dce-stars-input legend {
	display: block;
	float: none;
	width: auto;
	padding: 0;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dce-section-accent, var(--dce-brand-accent));
	margin-bottom: 10px;
}
.dce-stars-input__row { display: inline-flex; flex-direction: row-reverse; justify-content: flex-start; margin-left: -4px; }
.dce-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dce-stars-input label {
	cursor: pointer;
	color: var(--dce-brand-gold);
	opacity: 0.25;
	padding: 0 4px;
	margin: 0;
	line-height: 0;
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.dce-stars-input label :where(use) { fill: currentColor; }
.dce-stars-input input:checked ~ label,
.dce-stars-input__row label:hover,
.dce-stars-input__row label:hover ~ label { opacity: 1; }
/* Pop the hovered star (and the lower ones) on pointer devices. */
@media (hover: hover) {
	.dce-stars-input__row label:hover,
	.dce-stars-input__row label:hover ~ label { transform: scale(1.12); }
}
.dce-stars-input input:focus-visible + label { outline: 2px solid var(--dce-section-accent, var(--dce-brand-accent)); outline-offset: 2px; }

/* -------------------------------------------------------------------------
 * FLOATING REVIEW WIDGET (edge tab → bottom sheet)
 * ---------------------------------------------------------------------- */
.dce-rw-fab {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9000;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border: 0;
	cursor: pointer;
	background: var(--dce-brand-accent);
	color: #fff;
	border-radius: 8px 0 0 8px;
	box-shadow: 0 8px 24px rgba(20, 16, 12, 0.22);
	writing-mode: vertical-rl;
	font-family: var(--dce-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: padding-right 0.3s ease, background 0.3s ease;
}
.dce-rw-fab:hover { padding-right: 18px; background: color-mix(in srgb, var(--dce-brand-accent) 82%, #000); }
.dce-rw-fab .dce-icon { transform: rotate(0deg); }
.dce-rw-fab__label { display: inline-block; }

.dce-rw { position: fixed; inset: 0; z-index: 9100; display: flex; align-items: flex-end; justify-content: center; }
.dce-rw[hidden] { display: none; }
.dce-rw__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 12, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.dce-rw.is-open .dce-rw__backdrop { opacity: 1; }
.dce-rw__sheet {
	position: relative;
	width: 500px;
	max-width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	background: var(--dce-brand-bg);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -24px 70px rgba(20, 16, 12, 0.32);
	padding: clamp(20px, 3vw, 30px) clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px);
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dce-rw.is-open .dce-rw__sheet { transform: none; }
.dce-rw__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--dce-brand-line);
	background: transparent;
	color: var(--dce-brand-text);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
}
.dce-rw__close:hover { background: var(--dce-brand-text); color: #fff; }
.dce-rw__close svg { width: 16px; height: 16px; }
.dce-rw__title { font-family: var(--dce-font-serif); font-weight: 400; font-size: clamp(24px, 4vw, 30px); margin: 4px 0 18px; }
/* Form sits flush inside the sheet (no card chrome). */
.dce-rw__form { background: none; border: 0; border-radius: 0; padding: 0; }

/* Success state + animated checkmark. */
.dce-rw__success { text-align: center; padding: 30px 0 18px; }
.dce-rw__check { display: inline-block; }
.dce-rw__check-svg { width: 84px; height: 84px; }
.dce-rw__check-circle {
	stroke: var(--dce-brand-accent);
	stroke-width: 2.5;
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
}
.dce-rw__check-mark {
	stroke: var(--dce-brand-accent);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
}
.dce-rw__success.is-playing .dce-rw__check-circle { animation: dce-check-circle 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.dce-rw__success.is-playing .dce-rw__check-mark { animation: dce-check-mark 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.45s forwards; }
@keyframes dce-check-circle { to { stroke-dashoffset: 0; } }
@keyframes dce-check-mark { to { stroke-dashoffset: 0; } }
.dce-rw__thanks { font-family: var(--dce-font-serif); font-weight: 400; font-size: 26px; margin: 18px 0 6px; opacity: 0; animation: dce-thanks-in 0.5s ease 0.7s forwards; }
.dce-rw__thanks-sub { font-family: var(--dce-font-sans); font-size: 14px; opacity: 0; animation: dce-thanks-in 0.5s ease 0.85s forwards; }
@keyframes dce-thanks-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
	.dce-rw__sheet { width: 100%; }
	.dce-rw-fab { font-size: 11px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.dce-rw__sheet, .dce-rw__backdrop { transition: none; }
	.dce-rw__success.is-playing .dce-rw__check-circle,
	.dce-rw__success.is-playing .dce-rw__check-mark { animation-duration: 0.01s; }
}

/* -------------------------------------------------------------------------
 * PROMO BAR
 * ---------------------------------------------------------------------- */
.dce-promo {
	background: var(--dce-promo-bg, var(--dce-brand-accent));
	color: #fff;
	text-align: center;
}
.dce-promo__inner {
	display: block;
	padding: 10px 20px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}
a.dce-promo__inner:hover { opacity: 0.9; text-decoration: underline; }

/* -------------------------------------------------------------------------
 * SCROLL REVEAL (flicker-free: only hides when .dce-has-js is set early)
 * ---------------------------------------------------------------------- */
.dce-has-js .dce-section.dce-reveal > .dce-container,
.dce-has-js .dce-section.dce-reveal > .dce-ls-wrapper {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	will-change: opacity, transform;
}
/* Carousel reveals a touch after its header for a layered feel. */
.dce-has-js .dce-section.dce-reveal > .dce-ls-wrapper { transition-delay: 0.12s; }
.dce-section.dce-reveal.is-visible > .dce-container,
.dce-section.dce-reveal.is-visible > .dce-ls-wrapper {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.dce-has-js .dce-section.dce-reveal > .dce-container,
	.dce-has-js .dce-section.dce-reveal > .dce-ls-wrapper { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------------------
 * RESPONSIVE
 * ---------------------------------------------------------------------- */
@media (max-width: 600px) {
	.dce-attend-cards { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	.dce-couple { font-size: 15px; }
	.dce-countdown { gap: 14px; }
	.dce-hero__inner { padding-block: 100px 80px; }
}

@media (prefers-reduced-motion: reduce) {
	.dce-mcard, .dce-mcard__caption { transition: none; }
	.dce-mcard__bar.is-running { animation: none; }
	.dce-hero__scroll svg { animation: none; }
}

/* -------------------------------------------------------------------------
 * SECTION LAYOUT VARIANTS (chosen per-section in the builder)
 * ---------------------------------------------------------------------- */
/* Hero — left aligned */
.dce-section--hero.dce-layout--left .dce-hero,
.dce-section--hero.dce-layout--left .dce-hero__inner { align-items: flex-start; text-align: left; }
.dce-section--hero.dce-layout--left .dce-countdown { justify-content: flex-start; }

/* Message — image position */
.dce-section--message.dce-layout--left .dce-message__cards { order: -1; }
.dce-section--message.dce-layout--stacked .dce-message { grid-template-columns: 1fr; }
.dce-section--message.dce-layout--stacked .dce-message__cards { max-width: 560px; margin-inline: auto; }

/* =========================================================================
 * REFERENCE-ALIGNED FRONT-END (Swiper galleries, hero, lightbox, palette)
 * ====================================================================== */

/* --- Typography polish --- */
.dce-eyebrow { font-weight: 600; letter-spacing: 0.26em; }

/* --- HERO: content anchored to the bottom, cinematic gradient, load-in --- */
.dce-section--hero .dce-hero { justify-content: flex-end; }
.dce-section--hero .dce-hero__inner {
	align-items: center;
	padding-block: 0 clamp(56px, 8vh, 110px);
	animation: dce-hero-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.dce-section--hero .dce-hero__scrim {
	background:
		linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.72) 30%, rgba(0,0,0,0.40) 62%, rgba(0,0,0,0.18) 100%),
		rgba(0,0,0,var(--dce-hero-overlay, 0.35));
}
.dce-hero__meta { color: #f3d8a8; }
@keyframes dce-hero-in {
	from { opacity: 0; transform: translateY(34px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.dce-section--hero .dce-hero__inner { animation: none; }
}

/* --- SWIPER GALLERIES --- */
.dce-swiper-wrap { position: relative; }
.dce-swiper { overflow: hidden; padding-bottom: 4px; }
.dce-swiper .swiper-slide { height: auto; }
.dce-slide {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--dce-radius);
	aspect-ratio: 4 / 3;
}
.dce-slide__media { display: block; width: 100%; height: 100%; }
.dce-slide__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2, 0, 0.2, 1); }
.dce-slide:hover .dce-slide__img { transform: scale(1.06); }
.dce-slide__zoom {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	color: #fff; background: rgba(26,26,26,0); opacity: 0;
	transition: background 0.3s ease, opacity 0.3s ease;
}
.dce-slide:hover .dce-slide__zoom { background: rgba(26,26,26,0.30); opacity: 1; }

.dce-swiper-nav { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.dce-swiper-btn {
	width: 50px; height: 50px; border-radius: 50%;
	border: 1px solid var(--dce-brand-line);
	background: #fff; color: var(--dce-brand-text);
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.dce-swiper-btn:hover { background: var(--dce-section-accent, var(--dce-brand-accent)); color: #fff; border-color: transparent; }
.dce-swiper-btn.swiper-button-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* --- LIGHTBOX (premium, frosted) --- */
.dce-lightbox { background: rgba(18, 16, 13, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dce-lightbox__img { border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.dce-lightbox__close, .dce-lightbox__nav {
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.28);
	backdrop-filter: blur(6px);
	width: 52px; height: 52px;
}
.dce-lightbox__close:hover, .dce-lightbox__nav:hover { background: var(--dce-brand-accent); border-color: transparent; }
.dce-lightbox__caption { font-family: var(--dce-font-serif); letter-spacing: 0.02em; }


/* =========================================================================
 * HERO — matched to destawed.webfromdev.com reference
 * ====================================================================== */
.dce-section--hero .dce-hero__inner { padding-block: 0 clamp(80px, 12vh, 150px); gap: 6px; }

.dce-hero__logo img { max-width: 76px; margin-bottom: 6px; }
.dce-hero__tagline { font-size: 11px; letter-spacing: 0.42em; opacity: 0.85; }

/* Description */
.dce-hero__desc { max-width: 560px; margin: 0 auto; }
.dce-hero__meta { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin: 0 0 8px; }
.dce-hero__date { font-family: var(--dce-font-serif); font-style: italic; font-size: clamp(15px, 1.8vw, 19px); color: rgba(255,255,255,0.92); margin: 0; }

/* Premium frosted countdown */
.dce-countdown { gap: clamp(10px, 1.4vw, 16px); margin-top: 36px; align-items: stretch; }
.dce-countdown__done { color: #fff; }

/* Scroll hint stays centered at the bottom */
.dce-hero__scroll { letter-spacing: 0.3em; opacity: 0.8; }
.dce-hero__scroll svg use { stroke: currentColor; }

/* No italics anywhere in the hero */
.dce-hero__date { font-style: normal; font-size: clamp(14px, 1.5vw, 17px); color: rgba(255,255,255,0.9); }

/* --- Responsive: tablet + mobile --- */
@media (max-width: 820px) {
	.dce-hero__title { font-size: clamp(26px, 7vw, 42px); }
}

/* =========================================================================
 * CANVAS PAGE + COUNTDOWN (roll) + SCROLL INDICATOR  (v3)
 * ====================================================================== */
body.dce-canvas { margin: 0; padding: 0; }

/* Countdown — Poppins, smaller, smooth vertical roll */
.dce-countdown {
	display: flex; align-items: flex-start; justify-content: center;
	gap: clamp(14px, 2.4vw, 34px);
	margin-top: 34px;
	font-family: var(--dce-font-sans);
}
/* When the date has passed: hide the units (the class display beats UA [hidden])
   so only the centered "celebration has begun" message remains. */
/* Imported rich-text images/figures (e.g. Webflow rate-table screenshots) must
   never overflow their section. */
.dce-couple figure { max-width: 100% !important; margin-inline: auto; }
.dce-couple figure img,
.dce-section__intro img,
.dce-resort-info__panel img,
.dce-accordion__content img,
.dce-info-card__body img { max-width: 100% !important; height: auto; display: block; margin-inline: auto; }

.dce-cd[hidden], .dce-cd__sep[hidden], .dce-countdown__done[hidden] { display: none !important; }
.dce-countdown__done { display: block; text-align: center; width: 100%; }
.dce-cd { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.dce-cd__num {
	height: 1.15em; overflow: hidden;
	font-family: var(--dce-font-sans);
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 600; line-height: 1.15; color: #fff;
	font-variant-numeric: tabular-nums;
}
.dce-cd__roll { display: flex; flex-direction: column; will-change: transform; }
.dce-cd__cell { height: 1.15em; display: flex; align-items: center; justify-content: center; }
.dce-cd__label {
	font-family: var(--dce-font-sans);
	font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase;
	color: #c8a86a; font-weight: 500;
}
.dce-cd__sep {
	align-self: flex-start;
	width: 1px; height: clamp(24px, 2.6vw, 38px);
	background: rgba(255,255,255,0.16);
}

/* Scroll indicator — centered, dripping gold dot */
.dce-hero__scroll {
	position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	text-decoration: none;
}
.dce-hero__scroll-label {
	font-family: var(--dce-font-sans);
	font-size: 9px; letter-spacing: 0.42em; text-transform: uppercase;
	color: rgba(233,224,207,0.8);
}
.dce-hero__scroll-track {
	position: relative; display: block; width: 1px; height: 46px;
	background: rgba(191,177,152,0.25); overflow: hidden;
}
.dce-hero__scroll-dot {
	position: absolute; top: 0; left: 0; width: 100%; height: 16px;
	background: linear-gradient(to bottom, transparent, #c8a86a);
	animation: dce-scroll-drip 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes dce-scroll-drip {
	0% { transform: translateY(-100%); opacity: 0; }
	20% { opacity: 1; }
	80% { opacity: 1; }
	100% { transform: translateY(320%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .dce-hero__scroll-dot { animation: none; } }

@media (max-width: 480px) {
	.dce-countdown { gap: 12px; }
	.dce-cd__num { font-size: 22px; }
	.dce-cd__sep { height: 22px; }
}

/* =========================================================================
 * HERO — authoritative layout (matches destawed.webfromdev.com v4)
 * Overrides all earlier hero rules. Logo top-center, content bottom block
 * with real spacing, gradient+gem divider, scroll bottom-right.
 * ====================================================================== */
.dce-section--hero .dce-hero { justify-content: flex-end; align-items: center; }

/* Logo — top center, separate from the content stack */
.dce-hero__logo { position: absolute; top: clamp(22px, 4vh, 46px); left: 50%; transform: translateX(-50%); z-index: 5; }
.dce-hero__logo img { max-width: 170px; height: auto; display: block; }

/* Content — anchored bottom, generous, centered */
.dce-section--hero .dce-hero__inner {
	max-width: 980px;
	padding-block: 0 clamp(72px, 11vh, 130px);
	gap: 0;
	animation: dce-hero-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.dce-hero__tagline { font-family: var(--dce-font-sans); font-weight: 300; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: #E9E0CF; margin: 0 0 16px; opacity: 1; }

.dce-hero__title {
	font-family: var(--dce-font-serif);
	font-weight: 400;
	text-transform: uppercase;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.18;
	letter-spacing: 0.05em;
	color: #fff;
	text-shadow: 0 2px 28px rgba(0,0,0,0.4);
	margin: 0 0 26px;
}

/* Divider — gradient rules + gem (exact reference) */
.dce-hero__ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 24px; }
.dce-hero__orn { display: inline-block; height: 1px; width: clamp(56px, 8vw, 80px); }
.dce-hero__orn--l { background: linear-gradient(90deg, transparent, #BFB198); }
.dce-hero__orn--r { background: linear-gradient(90deg, #BFB198, transparent); }
.dce-hero__gem { font-size: 0.5rem; line-height: 1; color: #BFB198; }

/* Description — small Poppins, good contrast */
.dce-hero__desc { max-width: 550px; margin: 0 auto; }
.dce-hero__meta { font-family: var(--dce-font-sans); font-weight: 300; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #E9E0CF; margin: 0 0 12px; }
.dce-hero__date { font-family: var(--dce-font-sans); font-weight: 300; font-style: normal; font-size: 13px; letter-spacing: 0.06em; color: rgba(255,255,255,0.78); margin: 0; }

/* Countdown — sits below with a clear gap, slightly smaller than the title */
.dce-hero__inner .dce-countdown { margin-top: 32px; }
.dce-hero__inner .dce-cd__num { font-size: clamp(20px, 2.2vw, 32px); }

/* Scroll — bottom-right, vertical (hidden on mobile) */
.dce-hero__scroll { left: auto; right: 36px; bottom: 36px; transform: none; gap: 12px; }
.dce-hero__scroll-label { writing-mode: vertical-rl; transform: rotate(180deg); }
.dce-hero__scroll-track { height: 52px; }
@media (max-width: 768px) { .dce-hero__scroll { display: none; } }


/* =========================================================================
 * LOVE STORY — editorial right-bleed carousel (ported from the resorts
 * "Wedding Venues" slider) + GSAP photobox lightbox (from Featured Weddings).
 * ====================================================================== */

/* Header row: eyebrow + title + description on the left, nav arrows on the right. */
.dce-ls-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 36px;
}
.dce-ls-head { max-width: 620px; }
.dce-ls-head .dce-eyebrow { margin-bottom: 14px; }
.dce-ls-intro {
	margin-top: 16px;
	font-family: var(--dce-font-sans);
	font-weight: 300;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(26, 26, 26, 0.66);
}
.dce-ls-intro p { margin: 0 0 0.8em; }
.dce-ls-intro p:last-child { margin-bottom: 0; }

.dce-ls-nav { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.dce-ls-arrow {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 0;
	background: var(--dce-section-accent, var(--dce-brand-accent));
	color: #fff;
	transition: background 0.4s ease, opacity 0.4s ease;
}
.dce-ls-arrow:hover {
	background: color-mix(in srgb, var(--dce-section-accent, var(--dce-brand-accent)) 80%, #000);
}
/* Non-active (can't scroll further) = faded green. */
.dce-ls-arrow.swiper-button-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* Edge-to-edge slider: first card aligns to the 1300px container, last bleeds off-screen. */
.dce-ls-wrapper {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	padding-left: max(var(--dce-gutter), calc((100vw - var(--dce-container)) / 2 + var(--dce-gutter)));
}
.dce-ls-swiper { width: 100%; overflow: visible !important; }
.dce-ls-swiper .swiper-wrapper { align-items: stretch; }
.dce-ls-swiper .swiper-slide { height: auto; display: flex; }
.dce-ls-swiper .swiper-slide > * { width: 100%; }

/* Image-only card. */
.dce-ls-card {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	overflow: hidden;
	border-radius: 0;
	box-shadow: 0 14px 40px rgba(20, 16, 12, 0.12);
}
.dce-ls-card-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #e7e2d8;
}
/* Skeleton shimmer — runs until the image loads (.is-loaded removes it). */
.dce-ls-card-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 80%);
	background-size: 200% 100%;
	animation: dce-shimmer 1.4s ease-in-out infinite;
}
.dce-ls-card-media.is-loaded::before { display: none; }
@keyframes dce-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
.dce-ls-img {
	position: relative;
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.dce-ls-img.is-loaded { opacity: 1; }
.dce-ls-card:hover .dce-ls-img.is-loaded { transform: scale(1.05); }
/* Zoom affordance — appears on hover, centered. */
.dce-ls-card-zoom {
	position: absolute;
	top: 50%; left: 50%;
	z-index: 2;
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--dce-brand-text);
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.7);
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.dce-ls-card-zoom svg { width: 20px; height: 20px; }
.dce-ls-card:hover .dce-ls-card-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (max-width: 768px) {
	.dce-ls-top { align-items: center; margin-bottom: 28px; }
	.dce-ls-arrow { width: 42px; height: 42px; }
}

/* ---- Photobox lightbox (GSAP) ---- */
.dce-pb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	visibility: hidden;
}
.dce-pb.is-open { pointer-events: auto; visibility: visible; }
.dce-pb-backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(26, 26, 26, 0.94);
	opacity: 0;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.dce-pb-stage {
	position: relative;
	z-index: 2;
	max-width: 92vw;
	max-height: 84vh;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transform: scale(0.92);
}
.dce-pb-img {
	max-width: 92vw !important;
	max-height: 84vh !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	display: block !important;
	border-radius: 4px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.dce-pb-close {
	position: fixed;
	top: 26px;
	right: 28px;
	z-index: 3;
	width: 52px !important;
	height: 52px !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
	color: #fff !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	opacity: 0;
}
.dce-pb-close-circle {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.dce-pb-close-icon {
	position: relative;
	z-index: 1;
	width: 18px;
	height: 18px;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dce-pb-close:hover .dce-pb-close-circle { background-color: #fff; border-color: #fff; transform: scale(1.08); }
.dce-pb-close:hover .dce-pb-close-icon { transform: rotate(90deg); color: var(--dce-brand-text); }
.dce-pb-counter {
	position: fixed;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	font-family: var(--dce-font-serif);
	font-size: 14px;
	color: #fff;
	letter-spacing: 0.08em;
	opacity: 0;
}
.dce-pb-counter-current { color: #fff; }
.dce-pb-counter-sep { margin: 0 10px; opacity: 0.45; }
.dce-pb-counter-total { opacity: 0.55; }
.dce-pb-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.32) !important;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	box-shadow: none !important;
	opacity: 0;
	transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.dce-pb-nav:hover { background-color: #fff !important; border-color: #fff !important; color: var(--dce-brand-text) !important; }
.dce-pb-nav svg { width: 16px; height: 16px; }
.dce-pb-prev { left: 30px; }
.dce-pb-next { right: 30px; }
