.cc-contact-form-shell {
	--cc-contact-ink: #201a16;
	--cc-contact-accent: #9a6814;
	--cc-contact-border: #d9cdbd;
	background: color-mix(in srgb, var(--wp--preset--color--paper, #f7f2e9) 94%, white);
	border: 1px solid var(--cc-contact-border);
	border-radius: 0.45rem;
	box-shadow: 0 0.6rem 1.5rem rgb(42 32 22 / 8%);
	color: var(--cc-contact-ink);
	max-width: 100%;
	padding: clamp(1.15rem, 3vw, 2rem);
}

.cc-contact-eyebrow {
	color: var(--cc-contact-accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.cc-contact-form-shell h2 {
	margin-block: 0 0.65rem;
}

.cc-contact-form {
	display: grid;
	gap: 1rem;
	margin-top: 1.25rem;
	min-width: 0;
}

.cc-contact-field {
	display: grid;
	gap: 0.38rem;
	min-width: 0;
}

.cc-contact-field label,
.cc-contact-consent label {
	font-weight: 650;
}

.cc-contact-field input,
.cc-contact-field select,
.cc-contact-field textarea {
	background: #fff;
	border: 1px solid #8e8479;
	border-radius: 0.25rem;
	box-sizing: border-box;
	color: var(--cc-contact-ink);
	font: inherit;
	inline-size: 100%;
	max-inline-size: 100%;
	min-block-size: 2.75rem;
	padding: 0.65rem 0.75rem;
}

.cc-contact-field textarea {
	min-block-size: 10rem;
	resize: vertical;
}

.cc-contact-field input:focus-visible,
.cc-contact-field select:focus-visible,
.cc-contact-field textarea:focus-visible,
.cc-contact-consent input:focus-visible,
.cc-contact-submit:focus-visible {
	outline: 3px solid #1d5f91;
	outline-offset: 2px;
}

.cc-contact-help,
.cc-contact-optional {
	color: #5c534a;
	font-size: 0.875rem;
	font-weight: 400;
	margin: 0;
}

.cc-contact-consent {
	align-items: start;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1.25rem minmax(0, 1fr);
}

.cc-contact-consent input {
	block-size: 1.15rem;
	inline-size: 1.15rem;
	margin: 0.15rem 0 0;
}

.cc-contact-submit {
	justify-self: start;
	min-block-size: 2.75rem;
	padding-inline: 1.4rem;
}

.cc-contact-honeypot {
	block-size: 1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	inline-size: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
}

.cc-contact-notice {
	border-inline-start: 0.3rem solid currentColor;
	margin-block: 1rem;
	padding: 0.85rem 1rem;
}

.cc-contact-notice--success {
	background: #eaf6ec;
	color: #20582a;
}

.cc-contact-notice--error,
.cc-contact-notice--unavailable {
	background: #fff0ee;
	color: #7a251c;
}

.cc-contact-notice ul {
	margin-block-end: 0;
}

@media (max-width: 30rem) {
	.cc-contact-form-shell {
		border-radius: 0;
		margin-inline: -0.5rem;
		padding-inline: 1rem;
	}

	.cc-contact-submit {
		inline-size: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-contact-form-shell *,
	.cc-contact-form-shell *::before,
	.cc-contact-form-shell *::after {
		scroll-behavior: auto !important;
	}
}
