/* BeJelly contact form — matches the bejelly-child design system.
   Values are hard-coded (not the theme's CSS variables) so the form still
   looks right if the theme ever changes. !important on field and button
   rules is deliberate: the Elementor Kit and Hello's reset.css both style
   inputs and buttons with selectors that otherwise outrank a plugin. */

.bjs-wrap {
	--bjs-plum: #3B1338;
	--bjs-plum-hover: #571E51;
	--bjs-cream: #F7F3EA;
	--bjs-ink: #3A342E;
	--bjs-muted: #6F6455;
	--bjs-muted-light: #95897A;
	--bjs-input-border: #D8CFBD;
	--bjs-input-bg: #FBF8F1;
	position: relative;
}

.bjs-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 0;
}

.bjs-form[hidden],
.bjs-wrap [hidden] { display: none !important; }

.bjs-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.bjs-field--full,
.bjs-turnstile,
.bjs-submit-row,
.bjs-error { grid-column: 1 / -1; }

.bjs-form label {
	font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	letter-spacing: 0.2em !important;
	padding-left: 0.2em;
	text-transform: uppercase !important;
	color: var(--bjs-muted) !important;
	margin: 0;
}

.bjs-form input[type="text"],
.bjs-form input[type="email"],
.bjs-form textarea {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 16px 18px !important;
	font-family: "Karla", system-ui, -apple-system, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: var(--bjs-ink) !important;
	background: var(--bjs-input-bg) !important;
	border: 1px solid var(--bjs-input-border) !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	transition: border-color 150ms ease;
}

.bjs-form textarea { resize: vertical; min-height: 140px; }

.bjs-form input:focus,
.bjs-form textarea:focus {
	border-color: var(--bjs-plum) !important;
	outline: 2px solid var(--bjs-plum);
	outline-offset: 2px;
}

/* Honeypots — off-screen, not display:none (some bots skip hidden fields). */
.bjs-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Reserve the widget's height so the button doesn't jump when it loads. */
.bjs-turnstile { min-height: 65px; }

.bjs-submit-row { display: flex; justify-content: flex-start; }

.bjs-form .bjs-submit {
	font-family: "Karla", system-ui, -apple-system, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	padding: 17px 38px 17px calc(38px + 0.14em) !important;
	color: var(--bjs-cream) !important;
	background: var(--bjs-plum) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	cursor: pointer;
	width: auto !important;
	transition: background-color 150ms ease;
}

.bjs-form .bjs-submit:hover,
.bjs-form .bjs-submit:focus {
	background: var(--bjs-plum-hover) !important;
	color: var(--bjs-cream) !important;
}

.bjs-form .bjs-submit:focus-visible {
	outline: 2px solid var(--bjs-plum);
	outline-offset: 3px;
}

.bjs-form .bjs-submit[disabled] { opacity: .7; cursor: wait; }

.bjs-error {
	margin: 4px 0 0 !important;
	padding: 14px 18px;
	font-family: "Karla", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--bjs-plum);
	background: var(--bjs-input-bg);
	border-left: 2px solid var(--bjs-plum);
	border-radius: 2px;
}

.bjs-success {
	margin: 0 !important;
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: 28px !important;
	font-weight: 300 !important;
	line-height: 1.3 !important;
	color: var(--bjs-plum) !important;
}

@media (max-width: 720px) {
	.bjs-form { grid-template-columns: 1fr; }
}
