/* Native Fluent Forms markup, styled to the approved Tectonic contact design. */
#contact .tt-fluent { margin-top: 39px; }
#contact .tt-fluent .fluentform { --fluentform-primary: #efd36a; --fluentform-border-color: #efd36a; }
#contact .tt-fluent form.frm-fluent-form > fieldset { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px 17px; }
#contact .tt-fluent .ff-el-group { margin: 0; min-width: 0; }
#contact .tt-fluent .tt-ff-field { position: relative; min-height: 70px; color: #efd36a; background: #1b4223; border: 1px solid #efd36a; }
#contact .tt-fluent .tt-ff-field .ff-el-input--label { position: absolute; top: 21px; left: 14px; z-index: 1; padding: 0; margin: 0; max-width: calc(100% - 44px); pointer-events: none; transition: top 160ms ease, font-size 160ms ease; }
#contact .tt-fluent .tt-ff-field .ff-el-input--label label { display: inline; color: inherit; font: 400 20px/27px "Source Sans Pro",sans-serif; letter-spacing: .008em; margin: 0; }
#contact .tt-fluent .tt-ff-field .ff-el-input--label.ff-el-is-required label:after { color: inherit; margin: 0; content: '*'; }
#contact .tt-fluent .tt-ff-field .ff-el-form-control { width: 100%; height: 68px; margin: 0; padding: 29px 14px 6px; border: 0; border-radius: 0; outline: 0; color: #fff; background: transparent; font: 400 18px/25px "Source Sans Pro",sans-serif; box-shadow: none; }
#contact .tt-fluent .tt-ff-field:focus-within,#contact .tt-fluent .tt-ff-field:hover { box-shadow: inset 0 0 0 1px rgba(239,211,106,.78); }
#contact .tt-fluent .tt-ff-field:focus-within .ff-el-input--label,
#contact .tt-fluent .tt-ff-field:has(input:not(:placeholder-shown)) .ff-el-input--label,
#contact .tt-fluent .tt-ff-field:has(textarea:not(:placeholder-shown)) .ff-el-input--label,
#contact .tt-fluent .tt-ff-field:has(select option:checked:not([value=""])) .ff-el-input--label,
#contact .tt-fluent .tt-ff-phone .ff-el-input--label { top: 5px; }
#contact .tt-fluent .tt-ff-field:focus-within .ff-el-input--label label,
#contact .tt-fluent .tt-ff-field:has(input:not(:placeholder-shown)) .ff-el-input--label label,
#contact .tt-fluent .tt-ff-field:has(textarea:not(:placeholder-shown)) .ff-el-input--label label,
#contact .tt-fluent .tt-ff-field:has(select option:checked:not([value=""])) .ff-el-input--label label,
#contact .tt-fluent .tt-ff-phone .ff-el-input--label label { font-size: 13px; line-height: 18px; }
#contact .tt-fluent .tt-ff-field select.ff-el-form-control { padding-right: 48px; background: transparent url('../../themes/tectonic-trust/assets/vectors/shared-chevron-gold.svg') no-repeat right 26px center / 13px 7px; appearance: none; color-scheme: dark; }
#contact .tt-fluent .tt-ff-field:has(select option:checked[value=""]) select { color: transparent; }
#contact .tt-fluent .tt-ff-field select option { color: #fff; background: #1b4223; }
#contact .tt-fluent .tt-ff-service { background: #efd36a; color: #1b4223; }
#contact .tt-fluent .tt-ff-service .ff-el-input--label label { font-weight: 700; }
/* Centre the entire wrapped prompt, rather than only its first line. */
#contact .tt-fluent .tt-ff-service:not(:focus-within):has(select option:checked[value=""]) .ff-el-input--label { top: 50%; transform: translateY(-50%); max-width: calc(100% - 62px); }
#contact .tt-fluent .tt-ff-service:focus-within .ff-el-input--label,
#contact .tt-fluent .tt-ff-service:has(select option:checked:not([value=""])) .ff-el-input--label { max-width: calc(100% - 28px); }
#contact .tt-fluent .tt-ff-service select.ff-el-form-control { color: #1b4223; color-scheme: light; background-image: url('../../themes/tectonic-trust/assets/vectors/shared-chevron-green.svg'); }
#contact .tt-fluent .tt-ff-service select option { color: #1b4223; background: #efd36a; }
#contact .tt-fluent .tt-ff-full,#contact .tt-fluent .ff_submit_btn_wrapper,#contact .tt-fluent .tt-ff-upload { grid-column: 1 / -1; }
#contact .tt-fluent .tt-ff-comment textarea.ff-el-form-control { height: 165px; padding-top: 35px; resize: vertical; }
#contact .tt-fluent .tt-ff-upload { margin-top: 6px; }
#contact .tt-fluent .ff_submit_btn_wrapper { margin-top: -4px; }
#contact .tt-fluent .tt-contact-form__submit.tt-button { font-family: "Source Sans Pro",sans-serif; opacity: 1; }
#contact .tt-fluent .tt-ff-field .text-danger { position: relative; padding: 4px 14px; margin: 0; color: #fff; font-size: 14px; }
#contact .tt-fluent .tt-ff-field.ff-el-is-error { border-color: #fff; }
#contact .tt-fluent .ff-message-success,#contact .tt-fluent .ff-errors-in-stack { margin: 24px 0 0; padding: 12px 16px; border: 0; border-left: 3px solid #efd36a; border-radius: 0; color: #fff; background: #1b4223; box-shadow: none; }
#contact .tt-fluent .ff-errors-in-stack .error { color: #fff; }
#contact .tt-fluent .tt-ff-field .iti { display:block; width:100%; }
#contact .tt-fluent .tt-ff-field:has([aria-expanded="true"]) { z-index: 3; }
#contact .tt-fluent .tt-ff-field .iti__search-input { padding: 10px 10px 10px 36px; background: #1b4223; color: #fff; }
/* Browsers can autofill selects as well as text inputs. Keep both field palettes. */
#contact .tt-fluent .tt-ff-field { --tt-autofill-bg: #1b4223; --tt-autofill-text: #fff; }
#contact .tt-fluent .tt-ff-service { --tt-autofill-bg: #efd36a; --tt-autofill-text: #1b4223; }
#contact .tt-fluent .tt-ff-field :is(input,select,textarea):is(:autofill,:-webkit-autofill) {
 -webkit-text-fill-color: var(--tt-autofill-text);
 -webkit-box-shadow: 0 0 0 1000px var(--tt-autofill-bg) inset !important;
 box-shadow: 0 0 0 1000px var(--tt-autofill-bg) inset !important;
 caret-color: var(--tt-autofill-text);
 color: var(--tt-autofill-text);
}
@media(max-width:900px) { #contact .tt-fluent form.frm-fluent-form > fieldset { grid-template-columns: minmax(0,1fr); } }
@media(max-width:640px) { #contact .tt-fluent { margin-top: 44px; } #contact .tt-fluent .tt-ff-upload { margin-top: 16px; } }
@media(prefers-reduced-motion:reduce) { #contact .tt-fluent .ff-el-input--label { transition: none; } }


