/* Pepzora contact form — matches the storefront palette. */

:root {
	--pzct-ivory: #FBF8F3;
	--pzct-beige: #F2EAE0;
	--pzct-sand: #E0D3C0;
	--pzct-espresso: #221C16;
	--pzct-body: #3D3429;
	--pzct-muted: #6B5844;
	--pzct-gold: #B08D4F;
	--pzct-flag: #8B4A3B;
	--pzct-serif: "Cormorant Garamond", Georgia, serif;
	--pzct-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
	--pzct-text: Inter, "Helvetica Neue", Arial, sans-serif;
}

.pzct {
	font-family: var(--pzct-text);
	color: var(--pzct-body);
	box-sizing: border-box;
}

.pzct *,
.pzct *::before,
.pzct *::after {
	box-sizing: inherit;
}

.pzct__intro {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--pzct-muted);
}

/* The research-use notice is the first thing read, before anyone starts
   composing a question we cannot answer. */
.pzct__notice {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin: 0 0 30px;
	padding: 16px 20px;
	background: var(--pzct-beige);
	border-left: 3px solid var(--pzct-flag);
	border-radius: 2px;
}

.pzct__notice-flag {
	flex: 0 0 auto;
	font-family: var(--pzct-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--pzct-flag);
}

.pzct__notice-text {
	flex: 1 1 260px;
	font-size: 13px;
	line-height: 1.65;
}

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

.pzct__field {
	margin: 0 0 18px;
}

.pzct__label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--pzct-sans);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.6px;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--pzct-muted);
}

.pzct__input {
	width: 100%;
	padding: 14px 15px;
	font-family: var(--pzct-text);
	font-size: 15px;
	line-height: 1.5;
	color: var(--pzct-espresso);
	background: var(--pzct-ivory);
	border: 1px solid var(--pzct-sand);
	border-radius: 2px;
	transition: border-color 0.3s ease;
}

.pzct__input:focus {
	outline: none;
	border-color: var(--pzct-gold);
}

.pzct__input.pzct__invalid {
	border-color: var(--pzct-flag);
}

.pzct__textarea {
	min-height: 150px;
	resize: vertical;
}

.pzct__select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--pzct-muted) 50%),
		linear-gradient(135deg, var(--pzct-muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 42px;
}

.pzct__hint {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--pzct-muted);
}

/* Honeypot: removed from layout and from the accessibility tree, but not
   display:none, which some bots detect and skip. */
.pzct__trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pzct__button {
	display: inline-block;
	padding: 18px 44px;
	font-family: var(--pzct-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.2px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--pzct-ivory);
	background: var(--pzct-espresso);
	border: 1px solid var(--pzct-espresso);
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pzct__button:hover:not(:disabled) {
	background: var(--pzct-gold);
	border-color: var(--pzct-gold);
	color: var(--pzct-espresso);
}

.pzct__button:disabled {
	background: var(--pzct-sand);
	border-color: var(--pzct-sand);
	color: var(--pzct-muted);
	cursor: not-allowed;
}

.pzct__message {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.7;
}

.pzct__message:empty {
	display: none;
}

.pzct__message--ok {
	padding: 16px 20px;
	background: var(--pzct-beige);
	border-left: 3px solid var(--pzct-gold);
	border-radius: 2px;
	color: var(--pzct-espresso);
}

.pzct__message--error {
	color: var(--pzct-flag);
}

@media (max-width: 680px) {
	.pzct__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.pzct__button {
		width: 100%;
	}
}
