/* Lox Lavender page. Everything is scoped to .lox so XStore and Elementor rules stay out. */

body.lox-page { overflow-x: hidden; overflow-x: clip; }

.lox {
	--ink: #3a3346;
	--ink-soft: #5d5668;
	--plum: #5e4a66;
	--plum-deep: #4f3d57;
	--lavender: #807c93;
	--lilac: #dcd2e4;
	--lilac-soft: #ece6f1;
	--mint: #daefe7;
	--blush: #ebbaca;
	--blush-soft: #f4e0e6;
	--ivory: #f5eee8;
	--ivory-deep: #ece4da;
	--sage: #a5af9a;
	--blue: #8a9aab;
	--butter: #ead89a;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	--radius: 26px;

	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow-x: hidden;
	overflow-x: clip;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

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

/* The popup's own shell at the end of <body>: takes no space on the page. */
.lox.lox-portal { width: auto; max-width: none; margin: 0; background: none; }

.lox .lox-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Cormorant's default old-style figures make 11 read as "II", so numbers use lining figures. */
.lox .lox-fact-num,
.lox .lox-card-num,
.lox .lox-cal-month { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

.lox p, .lox h1, .lox h2, .lox h3, .lox ul, .lox figure { margin: 0; padding: 0; }
.lox p { font-family: var(--sans); font-size: inherit; line-height: inherit; color: inherit; letter-spacing: 0; }
.lox p + p { margin-top: 1.05em; }
.lox strong { font-weight: 500; color: inherit; }
.lox em { font-style: italic; }
.lox a { color: inherit; }
.lox img { max-width: 100%; height: auto; }

.lox .lox-wrap { position: relative; width: min(1180px, 100% - 40px); margin-inline: auto; }
.lox .lox-section { position: relative; padding-block: clamp(80px, 10vw, 136px); }

/* Type -------------------------------------------------------------------- */

.lox .lox-label {
	display: inline-block;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--plum);
	margin-bottom: 18px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(220, 210, 228, 0.7);
}

.lox .lox-title,
.lox .lox-h2,
.lox .lox-modal-title {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--ink);
	letter-spacing: -0.01em;
	text-transform: none;
}
.lox .lox-title em,
.lox .lox-h2 em,
.lox .lox-modal-title em { color: var(--lavender); }

.lox .lox-title { font-size: clamp(56px, 6.3vw, 90px); line-height: 1; white-space: nowrap; }
.lox .lox-h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; margin-bottom: 28px; }

.lox .lox-tagline,
.lox .lox-pull,
.lox .lox-card-tag,
.lox .lox-fact-note,
.lox .lox-farewell,
.lox .lox-thanks-text {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
}

.lox .lox-tagline { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin-top: 18px; color: var(--plum); }
.lox .lox-tagline-sm { font-size: clamp(22px, 2.4vw, 28px); margin: -12px 0 24px; }

/* A hand-drawn wavy underline. */
.lox .lox-squiggle {
	padding-bottom: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 5c3.5 0 3.5-4 7-4s3.5 8 7 8 3.5-8 7-8 3.5 4 7 4' fill='none' stroke='%23ebbaca' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 100% / 28px 10px;
}

/* Buttons ------------------------------------------------------------------ */

.lox .lox-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 14px 32px;
	border: 0;
	border-radius: 999px;
	background: var(--plum);
	box-shadow: 0 10px 24px -10px rgba(94, 74, 102, 0.6);
	color: var(--ivory);
	font-family: var(--sans);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.lox .lox-btn:hover,
.lox .lox-btn:focus-visible { background: var(--plum-deep); color: var(--ivory); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(94, 74, 102, 0.7); }
.lox .lox-btn-light { background: var(--ivory); color: var(--plum); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35); }
.lox .lox-btn-light:hover,
.lox .lox-btn-light:focus-visible { background: #fff; color: var(--plum); }

.lox .lox-cta {
	display: inline-flex;
	align-items: center;
	padding: 6px 0;
	border: 0;
	background: none;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	cursor: pointer;
	transition: color 0.2s, text-underline-offset 0.2s;
}
.lox .lox-cta:hover,
.lox .lox-cta:focus-visible { color: var(--plum); text-underline-offset: 10px; }

/* Decoration --------------------------------------------------------------- */

.lox .lox-sprig { position: absolute; width: 60px; height: 170px; pointer-events: none; }

.lox .lox-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.lox .lox-blob-a { width: 420px; height: 420px; top: -120px; left: -140px; background: radial-gradient(circle, rgba(218, 239, 231, 0.95), rgba(218, 239, 231, 0) 70%); }
.lox .lox-blob-b { width: 360px; height: 360px; bottom: -80px; left: 38%; background: radial-gradient(circle, rgba(244, 224, 230, 0.95), rgba(244, 224, 230, 0) 70%); }
.lox .lox-blob-c { width: 300px; height: 300px; top: 40px; right: -80px; background: radial-gradient(circle, rgba(234, 216, 154, 0.5), rgba(234, 216, 154, 0) 70%); }

.lox .lox-dot { position: absolute; border-radius: 50%; pointer-events: none; }

.lox .lox-waved { --wave: var(--ivory); }
.lox .lox-wave {
	position: absolute;
	left: 0;
	top: -47px;
	width: 100%;
	height: 48px;
	fill: var(--wave);
	pointer-events: none;
}

/* Opening ------------------------------------------------------------------ */

.lox .lox-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.lox .lox-hero-grid { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.lox .lox-lead { max-width: 34em; margin: 26px 0 34px; font-size: 18px; color: var(--ink-soft); }
.lox .lox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.lox .lox-hero-media { position: relative; }
.lox .lox-photo { overflow: hidden; background: var(--lilac); }
.lox .lox-photo img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; }
.lox .lox-photo-hero { aspect-ratio: 1 / 1.02; border-radius: 300px 300px var(--radius) var(--radius); box-shadow: 0 30px 60px -30px rgba(58, 51, 70, 0.45); }
.lox .lox-photo-hero img { object-position: 50% 50%; }

.lox .lox-sprig-hero { right: 14%; bottom: -44px; transform: rotate(14deg); }

/* Ribbon ------------------------------------------------------------------- */

.lox .lox-ribbon { position: relative; overflow: hidden; padding: 18px 0; background: var(--lavender); color: var(--ivory); transform: rotate(-1.2deg); margin: 0 -10px; }
.lox .lox-ribbon-track { display: flex; width: max-content; }
.lox .lox-ribbon span {
	display: inline-flex;
	align-items: center;
	gap: 34px;
	padding-right: 34px;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.2;
	white-space: nowrap;
}
.lox .lox-ribbon span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--butter); }
.lox .lox-ribbon span:nth-child(3n+2)::after { background: var(--mint); }
.lox .lox-ribbon span:nth-child(3n)::after { background: var(--blush); }
@media (prefers-reduced-motion: no-preference) {
	.lox .lox-ribbon-track { animation: lox-scroll 40s linear infinite; }
}
@keyframes lox-scroll { to { transform: translateX(-50%); } }

/* Story --------------------------------------------------------------------- */

.lox .lox-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.lox .lox-story-media { position: relative; max-width: 560px; }
.lox .lox-photo-story { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: var(--radius) 220px var(--radius) var(--radius); }
.lox .lox-dot-mint { z-index: 0; width: 180px; height: 180px; left: -50px; bottom: -40px; background: var(--mint); }
.lox .lox-dot-butter { z-index: 2; width: 46px; height: 46px; right: 26px; top: -18px; background: var(--butter); }
.lox .lox-sprig-story { z-index: 2; right: -34px; bottom: 30px; transform: rotate(-12deg); }

.lox .lox-story-text { color: var(--ink-soft); }
.lox .lox-story-text .lox-h2 { color: var(--ink); }
.lox .lox-pull {
	position: relative;
	margin-top: 32px !important;
	padding: 22px 26px;
	border-radius: 20px;
	background: var(--blush-soft);
	font-size: clamp(23px, 2.4vw, 28px);
	line-height: 1.3;
	color: var(--plum);
}

/* Vision and philosophy ----------------------------------------------------- */

.lox .lox-beliefs { padding-top: clamp(24px, 3vw, 40px); }
.lox .lox-blob-d { width: 520px; height: 520px; left: 50%; top: 10%; margin-left: -260px; background: radial-gradient(circle, rgba(220, 210, 228, 0.7), rgba(220, 210, 228, 0) 68%); }
.lox .lox-beliefs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* Two pinned-up cards, each a little askew, with a strip of tape on top. */
.lox .lox-belief {
	position: relative;
	padding: clamp(44px, 5vw, 64px) clamp(30px, 4.4vw, 58px) clamp(40px, 5vw, 60px);
	border-radius: 30px;
	transform: rotate(-1.6deg);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	box-shadow: 0 26px 50px -30px rgba(58, 51, 70, 0.4);
}
.lox .lox-belief-philosophy { transform: rotate(1.6deg); margin-top: clamp(0px, 5vw, 64px); }
.lox .lox-belief:hover { transform: rotate(0deg) translateY(-4px); }
.lox .lox-belief-vision {
	background:
		radial-gradient(circle, rgba(255, 255, 255, 0.55) 1.6px, transparent 2px) 0 0 / 22px 22px,
		var(--mint);
}
.lox .lox-belief-philosophy {
	background:
		radial-gradient(circle, rgba(255, 255, 255, 0.6) 1.6px, transparent 2px) 0 0 / 22px 22px,
		var(--blush-soft);
}

.lox .lox-tape {
	position: absolute;
	top: -15px;
	left: 50%;
	width: 120px;
	height: 32px;
	margin-left: -60px;
	transform: rotate(-4deg);
	background: repeating-linear-gradient(45deg, rgba(234, 216, 154, 0.85) 0 8px, rgba(240, 226, 176, 0.85) 8px 16px);
	box-shadow: 0 2px 6px rgba(58, 51, 70, 0.12);
}
.lox .lox-belief-philosophy .lox-tape {
	transform: rotate(5deg);
	background: repeating-linear-gradient(45deg, rgba(220, 210, 228, 0.9) 0 8px, rgba(232, 224, 238, 0.9) 8px 16px);
}

.lox .lox-belief-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.lox .lox-belief-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 22px -12px rgba(58, 51, 70, 0.45);
}
.lox .lox-belief-title {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(44px, 4.6vw, 62px);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--plum);
}
.lox .lox-belief-text { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.38; color: var(--ink); }

/* Highlighter strokes that draw in when the card arrives. */
.lox .lox-belief mark {
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-decoration: none;
	font: inherit;
	color: inherit;
	background: linear-gradient(transparent 58%, rgba(234, 216, 154, 0.85) 58%, rgba(234, 216, 154, 0.85) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.lox .lox-belief-philosophy mark { background-image: linear-gradient(transparent 58%, rgba(235, 186, 202, 0.85) 58%, rgba(235, 186, 202, 0.85) 92%, transparent 92%); }

/* Pillars ------------------------------------------------------------------- */

.lox .lox-pillars { --wave: var(--ivory-deep); background: var(--ivory-deep); }
.lox .lox-intro { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; color: var(--ink-soft); }
.lox .lox-intro .lox-h2 { color: var(--ink); }

.lox .lox-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lox .lox-card {
	display: flex;
	flex-direction: column;
	padding: 14px 14px 34px;
	border-radius: var(--radius);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.lox .lox-card > :not(.lox-card-img) { margin-inline: 18px; }
.lox .lox-card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 24px 40px -24px rgba(58, 51, 70, 0.45); }
.lox .lox-card:nth-child(even):hover { transform: translateY(-6px) rotate(0.6deg); }
/* Each card's subtitle takes a deep shade of the card's own colour. */
.lox .lox-card-lavender { background: var(--lilac); --tag: #5e4a66; }
.lox .lox-card-sage { background: var(--sage); --tag: #26432a; }
.lox .lox-card-blue { background: var(--blue); --tag: #1a2f4d; }
.lox .lox-card-butter { background: var(--butter); --tag: #6b5418; }
.lox .lox-card-blush { background: var(--blush-soft); --tag: #8a3f5a; }
.lox .lox-card-ivory { background: var(--ivory); --tag: #5e4a66; }

.lox .lox-card-img { position: relative; margin-bottom: 26px; }
.lox .lox-card-img img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: calc(var(--radius) - 10px); }
.lox .lox-card-num {
	position: absolute;
	left: 16px;
	bottom: -20px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ivory);
	box-shadow: 0 6px 16px -6px rgba(58, 51, 70, 0.4);
	font-family: var(--serif);
	font-style: italic;
	font-size: 20px;
	line-height: 1;
	color: var(--plum);
}
.lox .lox-card-ivory .lox-card-num { background: var(--lilac); }
.lox .lox-card-title {
	font-family: var(--sans);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: #221d29;
	margin-top: 8px;
	margin-bottom: 8px;
}
.lox .lox-card-tag {
	margin-bottom: 18px;
	padding-left: 14px;
	border-left: 3px solid var(--tag, var(--plum));
	font-size: 24px;
	line-height: 1.3;
	color: var(--tag, var(--plum));
}
.lox .lox-card p:not(.lox-card-tag) { color: rgba(46, 40, 56, 0.8); }

/* Experience ---------------------------------------------------------------- */

.lox .lox-experience { --wave: var(--lilac-soft); background: var(--lilac-soft); }
.lox .lox-experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.lox .lox-experience-text { color: var(--ink-soft); }
.lox .lox-experience-text .lox-h2 { color: var(--ink); }
.lox .lox-experience-text .lox-label { background: rgba(255, 255, 255, 0.7); }
.lox .lox-experience-media { position: relative; }
.lox .lox-photo-gathering {
	aspect-ratio: 5 / 4;
	border: 12px solid #fff;
	border-radius: var(--radius);
	transform: rotate(2deg);
	box-shadow: 0 30px 50px -30px rgba(58, 51, 70, 0.5);
}
.lox .lox-sprig-gathering { left: -30px; bottom: -50px; transform: rotate(-16deg); }

.lox .lox-more { margin-top: 18px; }
.lox .lox-more summary {
	display: inline-block;
	list-style: none;
	cursor: pointer;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: var(--plum);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}
.lox .lox-more summary::-webkit-details-marker { display: none; }
.lox .lox-more .lox-more-close,
.lox .lox-more[open] .lox-more-open { display: none; }
.lox .lox-more[open] .lox-more-close { display: inline; }
.lox .lox-more-body { padding-top: 22px; }

.lox .lox-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(64px, 8vw, 104px); }
.lox .lox-fact {
	display: flex;
	gap: 28px;
	align-items: center;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink-soft);
	font-size: 16px;
}
.lox .lox-fact-num {
	flex: none;
	display: grid;
	place-items: center;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	font-family: var(--serif);
	font-size: 60px;
	line-height: 1;
	color: var(--plum);
}
.lox .lox-fact-num-butter { background: var(--butter); transform: rotate(-6deg); }
.lox .lox-fact-num-mint { background: var(--mint); transform: rotate(6deg); }
.lox .lox-fact-title {
	font-family: var(--sans);
	font-weight: 500;
	font-size: 19px;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
	margin-bottom: 8px;
}
.lox .lox-fact-note { font-size: 21px; line-height: 1.35; color: var(--plum); }

/* Reservations -------------------------------------------------------------- */

.lox .lox-reserve {
	--wave: var(--plum);
	overflow: visible;
	background:
		radial-gradient(circle, rgba(245, 238, 232, 0.07) 2px, transparent 2.6px) 0 0 / 30px 30px,
		var(--plum);
	color: rgba(245, 238, 232, 0.86);
}
.lox .lox-reserve-inner { max-width: 760px; }
.lox .lox-reserve-head { text-align: center; margin-bottom: 48px; }
.lox .lox-reserve .lox-label { color: var(--ivory); background: rgba(245, 238, 232, 0.14); }
.lox .lox-reserve .lox-h2 { color: var(--ivory); }
.lox .lox-reserve .lox-h2 em { color: var(--lilac); }
.lox .lox-reserve strong { color: var(--ivory); }
.lox .lox-sprig-left { left: 6%; top: 18%; transform: rotate(-18deg) scale(1.3); opacity: 0.9; }
.lox .lox-sprig-right { right: 7%; bottom: 14%; transform: rotate(16deg) scale(1.1); opacity: 0.9; }

.lox .lox-drop { border-top: 1px solid rgba(245, 238, 232, 0.25); }
.lox .lox-drop:last-of-type { border-bottom: 1px solid rgba(245, 238, 232, 0.25); }
.lox .lox-drop summary {
	position: relative;
	display: block;
	list-style: none;
	padding: 24px 56px 24px 0;
	cursor: pointer;
	font-family: var(--serif);
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.25;
	color: var(--ivory);
}
.lox .lox-drop summary::-webkit-details-marker { display: none; }
.lox .lox-drop summary::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 38px;
	height: 38px;
	margin-top: -19px;
	border-radius: 50%;
	background: rgba(245, 238, 232, 0.14);
	transition: background 0.2s;
}
.lox .lox-drop summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	width: 38px;
	margin-top: -0.62em;
	font-family: var(--sans);
	font-size: 22px;
	line-height: 1.2;
	text-align: center;
	transition: transform 0.25s;
}
.lox .lox-drop[open] summary::after { transform: rotate(45deg); }
.lox .lox-drop summary:hover::before { background: rgba(245, 238, 232, 0.24); }
.lox .lox-drop summary:focus-visible { outline: 1px solid var(--lilac); outline-offset: 4px; }
.lox .lox-drop-body { padding: 0 0 32px; font-size: 16px; }
/* Headings inside the dropdowns (What to wear, Cancellations & Refunds...) in butter, so they stand out on plum. */
.lox .lox-drop-h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 34px 0 10px;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--butter);
}
.lox .lox-drop-h::before {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--butter);
}

/* Equal columns, so every colour lines up with the ones above and below it. */
.lox .lox-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; margin: 20px 0 6px; list-style: none; }
.lox .lox-swatches li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 14px; list-style: none; }
.lox .lox-swatches li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }

.lox .lox-reserve-cta { margin: 0; padding: 40px 0; text-align: center; border-top: 1px solid rgba(245, 238, 232, 0.25); }

.lox .lox-farewell { margin-top: 56px !important; text-align: center; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--ivory); }

/* Reservation form ------------------------------------------------------- */

/* Without JavaScript the form simply sits at the end of the page. */
.lox .lox-modal { padding: clamp(56px, 8vw, 96px) 20px; background: var(--ivory-deep); }
.lox .lox-modal-backdrop,
.lox .lox-modal-x { display: none; }
.lox .lox-modal-panel { position: relative; max-width: 640px; margin-inline: auto; outline: none; }

/* The site's chat bubble sits at the highest z-index there is, so it steps aside while the form is open. */
html.lox-modal-open #bisa-widget-root { display: none !important; }

.lox.lox-js .lox-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: none;
}
.lox.lox-js .lox-modal.is-open { display: flex; }
.lox.lox-js .lox-modal-backdrop {
	display: block;
	position: absolute;
	inset: 0;
	background: rgba(46, 38, 54, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: lox-fade 0.25s ease;
}
.lox.lox-js .lox-modal-panel {
	width: 100%;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(32px, 5vw, 52px);
	border-radius: var(--radius);
	background: var(--ivory);
	box-shadow: 0 30px 80px rgba(46, 38, 54, 0.3);
	animation: lox-rise 0.3s ease;
}
.lox.lox-js .lox-modal-x {
	display: grid;
	place-items: center;
	position: absolute;
	z-index: 3;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lilac-soft);
	color: var(--ink);
	box-shadow: none;
	cursor: pointer;
}
.lox.lox-js .lox-modal-x:hover { background: var(--lilac); }

@keyframes lox-fade { from { opacity: 0; } }
@keyframes lox-rise { from { opacity: 0; transform: translateY(16px); } }

.lox .lox-form-wrap { position: relative; }
.lox .lox-sprig-modal { right: 34px; top: -20px; width: 40px; height: 114px; transform: rotate(14deg); opacity: 0.85; }
.lox .lox-modal-title { position: relative; font-size: clamp(32px, 4vw, 42px); line-height: 1.1; margin-bottom: 14px; padding-right: 60px; }
.lox .lox-modal-intro { color: var(--ink-soft); font-size: 16px; margin-bottom: 8px; }
.lox .lox-modal-intro strong { font-weight: 400; color: var(--ink-soft); }

.lox .lox-form fieldset { margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.lox .lox-form .lox-legend {
	display: block;
	width: 100%;
	margin: 0 0 14px;
	padding: 0 0 10px;
	border-bottom: 1px solid rgba(58, 51, 70, 0.14);
	font-family: var(--sans);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--plum);
}
.lox .lox-form .lox-legend span { letter-spacing: 0.04em; text-transform: none; color: var(--ink-soft); font-weight: 400; }

.lox .lox-field + .lox-field { margin-top: 16px; }
.lox .lox-field label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
}

.lox .lox-form input[type="text"],
.lox .lox-form input[type="email"],
.lox .lox-form input[type="tel"],
.lox .lox-form select,
.lox .lox-form textarea {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	min-height: 52px;
	margin: 0;
	padding: 13px 16px;
	border: 1px solid #cfc5d6;
	border-radius: 14px;
	background-color: #fff;
	box-shadow: none;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.lox .lox-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235e4a66' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 12px 8px;
}
.lox .lox-form textarea { min-height: 112px; resize: vertical; }
.lox .lox-form ::placeholder { color: #9a93a3; opacity: 1; }
.lox .lox-form input:focus,
.lox .lox-form select:focus,
.lox .lox-form textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(128, 124, 147, 0.22); }
.lox .lox-form .is-invalid { border-color: #b4566b !important; }

.lox .lox-hp,
.lox .lox-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.lox .lox-cal-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

.lox .lox-form-error { margin: 22px 0 0; padding: 12px 16px; border-radius: 12px; background: #f6e3e7; color: #7d2f40; font-size: 15px; line-height: 1.5; }

.lox .lox-submit {
	display: block;
	width: 100%;
	min-height: 56px;
	margin: 30px 0 0;
	padding: 16px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--plum);
	box-shadow: 0 10px 24px -10px rgba(94, 74, 102, 0.6);
	color: var(--ivory);
	font-family: var(--sans);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
.lox .lox-submit:hover,
.lox .lox-submit:focus-visible { background: var(--plum-deep); color: var(--ivory); transform: translateY(-1px); }
.lox .lox-submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.lox .lox-thanks { position: relative; display: none; text-align: center; padding: 120px 0 8px; outline: none; }
.lox .lox-modal[data-state="thanks"] .lox-form-wrap { display: none; }
.lox .lox-modal[data-state="thanks"] .lox-thanks { display: block; }
.lox .lox-sprig-thanks { left: 50%; top: -24px; margin-left: -30px; transform: rotate(8deg); }
.lox .lox-thanks-text { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.3; color: var(--ink); margin-bottom: 28px; }
.lox:not(.lox-js) .lox-thanks .lox-btn { display: none; }

/* Calendar ------------------------------------------------------------------ */

.lox .lox-cal { margin-top: 2px; padding: 18px; border: 1px solid #cfc5d6; border-radius: 18px; background: #fff; }
.lox .lox-cal[hidden] { display: none; }
.lox .lox-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lox .lox-cal-month { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); }
.lox .lox-cal-nav {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #e3dbe8;
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	color: var(--plum);
	cursor: pointer;
}
.lox .lox-cal-nav:hover { background: var(--lilac-soft); }
.lox .lox-cal-nav[disabled] { opacity: 0.3; cursor: default; background: #fff; }
.lox .lox-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.lox .lox-cal-dow { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #9a93a3; padding: 4px 0 6px; }
.lox .lox-cal-day {
	display: grid;
	place-items: center;
	justify-self: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	box-shadow: none;
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1;
	color: #c4bdcb;
}
.lox .lox-cal-day.is-open {
	background: var(--lilac);
	color: var(--ink);
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}
.lox .lox-cal-day.is-open:hover { background: #cdbfda; transform: scale(1.08); }
.lox .lox-cal-day.is-full { color: #a79fb0; text-decoration: line-through; }
.lox .lox-cal-day.is-picked,
.lox .lox-cal-day.is-picked:hover { background: var(--plum); color: var(--ivory); }
.lox .lox-cal-day:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.lox .lox-cal-picked { margin-top: 14px; font-size: 15px; line-height: 1.4; color: var(--ink); text-align: center; }
.lox .lox-cal-picked.is-empty { color: var(--ink-soft); }
.lox .lox-cal-legend { display: flex; justify-content: center; gap: 18px; margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.lox .lox-cal-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: var(--lilac); vertical-align: -1px; }
.lox .lox-cal-legend .is-full-key::before { background: #fff; box-shadow: inset 0 0 0 1px #a79fb0; }

/* When the calendar is on screen, the plain list it reads from is hidden. */
.lox .lox-has-cal select[name="date"] { position: absolute; opacity: 0; pointer-events: none; width: 1px; min-height: 0; height: 1px; padding: 0; border: 0; }

/* Motion ------------------------------------------------------------------- */

/* Entrances use the separate translate / scale / rotate properties, so they never fight
   the transform an element already has for its tilt or hover. */
@media (prefers-reduced-motion: no-preference) {
	.lox.lox-js [data-reveal] {
		opacity: 0;
		translate: 0 34px;
		transition:
			opacity 0.9s ease var(--d, 0s),
			translate 1s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s),
			scale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s),
			rotate 1s cubic-bezier(0.34, 1.4, 0.64, 1) var(--d, 0s);
	}
	.lox.lox-js [data-reveal="left"] { translate: -60px 0; }
	.lox.lox-js [data-reveal="right"] { translate: 60px 0; }
	.lox.lox-js [data-reveal="pop"] { translate: 0 20px; scale: 0.86; }
	.lox.lox-js [data-reveal="rise"] { translate: 0 60px; rotate: -2.5deg; }
	.lox.lox-js [data-reveal="rise"]:nth-child(even) { rotate: 2.5deg; }
	.lox.lox-js [data-reveal="tilt"] { translate: 0 50px; rotate: -7deg; scale: 0.94; }
	.lox.lox-js .lox-belief-philosophy[data-reveal="tilt"] { rotate: 7deg; }
	.lox.lox-js [data-reveal].is-in { opacity: 1; translate: none; scale: none; rotate: none; }

	/* One after another. */
	.lox.lox-js .lox-card:nth-child(3n+2),
	.lox.lox-js .lox-fact:nth-child(2),
	.lox.lox-js .lox-belief-philosophy,
	.lox.lox-js .lox-story-text,
	.lox.lox-js .lox-experience-media { --d: 0.14s; }
	.lox.lox-js .lox-card:nth-child(3n) { --d: 0.28s; }

	/* The number circles bounce in after their card. */
	.lox.lox-js .lox-fact .lox-fact-num { scale: 0; transition: scale 0.7s cubic-bezier(0.34, 1.7, 0.64, 1) calc(var(--d, 0s) + 0.35s); }
	.lox.lox-js .lox-fact.is-in .lox-fact-num { scale: 1; }
	.lox.lox-js .lox-card .lox-card-num { scale: 0; transition: scale 0.6s cubic-bezier(0.34, 1.7, 0.64, 1) calc(var(--d, 0s) + 0.45s); }
	.lox.lox-js .lox-card.is-in .lox-card-num { scale: 1; }
	.lox.lox-js .lox-belief-icon { scale: 0; rotate: -30deg; transition: scale 0.7s cubic-bezier(0.34, 1.7, 0.64, 1) calc(var(--d, 0s) + 0.4s), rotate 0.7s ease calc(var(--d, 0s) + 0.4s); }
	.lox.lox-js .lox-belief.is-in .lox-belief-icon { scale: 1; rotate: none; }

	/* Highlighter strokes draw across. */
	.lox.lox-js .lox-belief mark { background-size: 0% 100%; transition: background-size 1.1s ease calc(var(--d, 0s) + 0.6s); }
	.lox.lox-js .lox-belief.is-in mark { background-size: 100% 100%; }

	/* The opening plays in as the page loads. */
	.lox.lox-js .lox-hero-text > * { animation: lox-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.lox.lox-js .lox-hero-text > :nth-child(2) { animation-delay: 0.1s; }
	.lox.lox-js .lox-hero-text > :nth-child(3) { animation-delay: 0.2s; }
	.lox.lox-js .lox-hero-text > :nth-child(4) { animation-delay: 0.3s; }
	.lox.lox-js .lox-hero-text > :nth-child(5) { animation-delay: 0.4s; }
	.lox.lox-js .lox-photo-hero { animation: lox-pop 1.2s cubic-bezier(0.34, 1.3, 0.64, 1) 0.15s both; }
	.lox .lox-squiggle { animation: lox-ripple 2.4s linear infinite; }

	/* Sprigs sway like they're in a breeze. */
	.lox .lox-sway { animation: lox-sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
	.lox .lox-sprig-story.lox-sway { animation-delay: -1.5s; }
	.lox .lox-sprig-right.lox-sway { animation-delay: -2.5s; }
}

@keyframes lox-up { from { opacity: 0; translate: 0 26px; } }
@keyframes lox-pop { from { opacity: 0; scale: 0.88; translate: 0 30px; } }
@keyframes lox-ripple { to { background-position-x: 28px; } }
@keyframes lox-sway { 50% { rotate: 5deg; } }

/* Smaller screens ---------------------------------------------------------- */

@media (max-width: 1024px) {
	.lox .lox-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.lox .lox-hero-grid,
	.lox .lox-story-grid,
	.lox .lox-experience-grid,
	.lox .lox-beliefs-grid,
	.lox .lox-facts { grid-template-columns: 1fr; }
	.lox .lox-hero-text { text-align: center; }
	.lox .lox-title { font-size: clamp(56px, 11vw, 84px); }
	.lox .lox-lead { margin-inline: auto; }
	.lox .lox-actions { justify-content: center; }
	/* Stacked, the photo comes first and the words follow. */
	.lox .lox-hero { padding-top: 28px; }
	.lox .lox-hero-media { order: -1; width: 100%; max-width: 580px; margin: 0 auto 28px; }
	.lox .lox-story-media { margin: 0 auto; width: 90%; }
	.lox .lox-experience-media { max-width: 560px; margin: 0 auto; width: 92%; }
}

@media (max-width: 640px) {
	.lox { font-size: 16px; }
	.lox .lox-wrap { width: calc(100% - 32px); }
	.lox .lox-lead { font-size: 17px; }
	.lox .lox-belief { padding-top: 46px; }
	.lox .lox-belief-icon { width: 64px; height: 64px; }
	.lox .lox-belief-icon svg { width: 38px; height: 38px; }
	.lox .lox-sprig-hero { width: 44px; height: 124px; bottom: -28px; }
	.lox .lox-sprig-story { right: -14px; width: 44px; height: 124px; }
	.lox .lox-dot-mint { width: 120px; height: 120px; left: -26px; bottom: -26px; }
	.lox .lox-cards { grid-template-columns: 1fr; }
	.lox .lox-card > :not(.lox-card-img) { margin-inline: 12px; }
	.lox .lox-fact { flex-direction: column; align-items: flex-start; gap: 18px; }
	.lox .lox-fact-num { width: 92px; height: 92px; font-size: 48px; }
	.lox .lox-photo-gathering { border-width: 8px; }
	.lox .lox-sprig-left, .lox .lox-sprig-right { display: none; }
	.lox .lox-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lox .lox-wave { height: 28px; top: -27px; }
	.lox.lox-js .lox-modal { padding: 0; align-items: flex-end; }
	.lox.lox-js .lox-modal-panel { max-height: 94vh; max-height: 94dvh; border-radius: 26px 26px 0 0; padding: 28px 20px 32px; }
	.lox .lox-cal { padding: 14px 10px; }
}
