/* Section: call to action with a photo collage and the contact form. */
.hm-cta { padding: calc(40 * var(--hm-m)) 0 0; background: #fff; color: #000; }
.hm-cta .hm-cta__grid { display: grid; gap: calc(16 * var(--hm-m)); }
.hm-cta .hm-cta__art { order: 2; position: relative; width: 80%; margin: 0 auto; aspect-ratio: 690 / 766; overflow-x: visible; overflow-y: clip; }
.hm-cta .hm-cta__art .wp-block-image { margin: 0; }
/* Like the reference artwork, the mark is larger than its frame: the bottom of both wings runs past the section edge and is cropped. */
.hm-cta .hm-cta__art .hm-cta__prop { position: absolute; inset: 14% auto auto -4%; width: 108%; }
.hm-cta .hm-cta__art .hm-cta__people { position: absolute; left: 10.3%; bottom: 0; width: 87.7%; }
.hm-cta .hm-cta__art img { display: block; width: 100%; height: auto; }
.hm-cta .hm-cta__title { margin: 0; font: 700 calc(20.66 * var(--hm-m)) / 1.45 var(--hm-font-display); text-transform: uppercase; background: linear-gradient(90deg, color-mix(in srgb, var(--hm-c-primary) 60%, #f5c33b), color-mix(in srgb, var(--hm-c-primary) 88%, #7a4a00)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-cta .hm-cta__desc { margin: calc(8.75 * var(--hm-m)) 0 calc(30 * var(--hm-m)); font-size: calc(17 * var(--hm-m)); line-height: 1.33; }
.hm-cta .hm-form { gap: clamp(18px, calc(24 * var(--hm-m)), 32px); }
.hm-cta .hm-form__grid { row-gap: clamp(18px, calc(24 * var(--hm-m)), 32px); }
.hm-cta .hm-form__actions { min-height: 0; align-items: center; }
.hm-cta .frm-fluent-form > fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, calc(24 * var(--hm-m)), 32px) calc(18 * var(--hm-m));
	min-width: 0;
}
.hm-cta .frm-fluent-form .ff-el-group { margin-bottom: 0; }
/* Placeholders carry the text; the labels stay available to assistive technology. */
.hm-cta .frm-fluent-form .ff-el-input--label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Field look (height, underline, colours, font) comes from Customizer > General > Form Elements; the button from General > Buttons.
 * Only this section's outlined button variant is set here, through Blocksy's own button variables. */
.hm-cta .frm-fluent-form .ff-el-form-control { padding-inline: 0; }
.hm-cta .frm-fluent-form .ff-el-form-control:focus-visible { outline-offset: 2px; }
.hm-cta .frm-fluent-form .ff_submit_btn_wrapper { grid-column: 1 / -1; }
/* A message box takes the full row. */
.hm-cta .frm-fluent-form .ff-el-group:has(textarea) { grid-column: 1 / -1; }
.hm-cta .frm-fluent-form textarea.ff-el-form-control { min-height: calc(110 * var(--hm-m)); }
.hm-cta .fluentform .ff-el-group button.ff-btn {
	--theme-button-text-initial-color: var(--hm-c-ink);
	--theme-button-text-hover-color: var(--hm-c-paper);
	--theme-button-background-initial-color: var(--hm-c-paper);
	--theme-button-background-hover-color: var(--hm-c-ink);
	--theme-button-border: 1px solid var(--hm-c-ink);
	--theme-button-border-hover-color: var(--hm-c-ink);
	gap: .6em;
	font: 400 var(--hm-fs-sm) / 1.3 var(--hm-font-body);
	text-transform: uppercase;
}
.hm-cta .frm-fluent-form .ff-btn-submit::after {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	mask: var(--hm-icon-arrow-ur) center / contain no-repeat;
}
@container hm (min-width: 1024px) {
	.hm-cta .hm-cta__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.hm-cta .hm-cta__art { order: 0; width: 100%; margin: auto 0 0; }
}
@container hm (min-width: 1200px) {
	.hm-cta { padding-top: 0; }
	.hm-cta .hm-cta__grid { gap: 0 calc(40 * var(--hm-u)); padding-inline: 0; }
	.hm-cta .hm-cta__art { align-self: end; width: calc(100% + 12 * var(--hm-u)); margin: 0 0 0 calc(-40 * var(--hm-u)); }
	.hm-cta .hm-cta__copy { padding: calc(144 * var(--hm-u)) 0 calc(152 * var(--hm-u)); }
	.hm-cta .hm-cta__title { font-size: calc(39.36 * var(--hm-u)); }
	.hm-cta .hm-cta__desc { margin: calc(12 * var(--hm-u)) 0 calc(52 * var(--hm-u)); font-size: var(--hm-fs-md); line-height: 1.333; }
	.hm-cta .frm-fluent-form > fieldset { column-gap: calc(24 * var(--hm-u)); }
	.hm-cta .frm-fluent-form .ff_submit_btn_wrapper { text-align: right; }
}

/* Tablet: text at a reading size (the phone scale would make it huge). */
@container hm (min-width: 768px) and (max-width: 1199px) {
	.hm-cta .hm-cta__title { font-size: 30px; }
	.hm-cta .hm-cta__desc { font-size: 18px; }
}
