/* ABOUTME: Contact stencil styles, measured from the designer's ContactPage.tsx and ContactForm.tsx. The form is Gravity
   ABOUTME: Forms (Orbital theme, colors set in includes/forms.php); these rules bring its type and spacing to the design. */

/* == section: head == */
/* The title band is the theme's .page-hero. */
/* == /section == */

/* == section: block == */
.scribe-contact .ct-block { padding-block: 48px; }
.scribe-contact .ct-grid { display: grid; gap: 48px; }
.scribe-contact .ct-edit { margin-bottom: 16px; font: 400 14px/1.4 var(--sans); color: var(--n-600); }
.scribe-contact .ct-aside { display: flex; flex-direction: column; gap: 32px; }
.scribe-contact .ct-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-2xl); object-fit: cover; }
.scribe-contact .ct-follow { display: flex; flex-direction: column; gap: 20px; }
.scribe-contact .ct-follow li { display: flex; align-items: center; gap: 16px; }
.scribe-contact .ct-follow__label { font-weight: 600; color: var(--n-900); }
.scribe-contact .ct-follow__icons { display: flex; gap: 12px; }
.scribe-contact .ct-follow__icons a { display: flex; width: 48px; height: 48px; box-sizing: border-box; align-items: center; justify-content: center; border: 1px solid var(--n-400); border-radius: 50%; color: var(--azure-700); }
.scribe-contact .ct-follow__icons a:hover { background: var(--azure-50); color: var(--azure-700); }
@media (min-width: 1024px) {
	.scribe-contact .ct-block { padding-block: 80px; }
	.scribe-contact .ct-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
	.scribe-contact .ct-form { grid-column: span 7; }
	.scribe-contact .ct-aside { grid-column: span 5; }
}

/* The form (designer: ContactForm.tsx) */
.scribe-contact .gform_wrapper.gform-theme { --gf-form-gap-y: 24px; --gf-ctrl-btn-radius: 8px; --gf-ctrl-btn-font-size: 16px; --gf-ctrl-btn-font-weight: 600; --gf-ctrl-btn-font-family: var(--sans); --gf-ctrl-btn-padding-x: 24px; --gf-ctrl-label-font-family-primary: var(--sans); --gf-font-family-base: var(--sans); font-family: var(--sans); }
.scribe-contact .gform_wrapper .gform_fields { row-gap: 24px; }
.scribe-contact .gform_wrapper :is(.gfield_label, legend.gfield_label, .gform-field-label--type-sub) { font: 600 16px/22px var(--sans); color: var(--n-900); }
.scribe-contact .gform_wrapper .gfield--type-choice .gform-field-label--type-inline { font: 400 16px/1.5 var(--sans); color: var(--n-900); }
.scribe-contact .gform_wrapper .gfield_required { color: var(--error-dark); }
.scribe-contact .gform_wrapper .gfield_description { font: 400 16px/1.5 var(--sans); color: var(--n-700); }
.scribe-contact .gform_wrapper :is(input[type="text"], input[type="email"], select, textarea) { min-height: 48px; font: 400 16px/1.4 var(--sans); }
.scribe-contact .gform_wrapper textarea { min-height: 128px; padding-block: 12px; }
.scribe-contact .gform_wrapper.gform-theme .gfield select { height: 48px; padding-block: 0; line-height: 44px; }
.scribe-contact .gform_wrapper :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--azure-500); }
.scribe-contact .gform_wrapper .gfield--type-radio .gfield_radio { display: flex; flex-flow: row wrap; justify-content: flex-start; gap: 0 24px; padding-block: 12px; }
.scribe-contact .gform_wrapper .gfield--type-radio .gchoice { width: auto; flex: none; }
.scribe-contact .gform_wrapper .gfield_validation_message { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font: 400 16px/1.5 var(--sans); color: var(--error-dark); }
.scribe-contact .gform_wrapper .gfield_validation_message::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' x2='12' y1='8' y2='12'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' x2='12' y1='8' y2='12'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'/%3E%3C/svg%3E") center / contain no-repeat; }
.scribe-contact .gform_wrapper .gform_footer { margin-top: 24px; padding: 0; }
.scribe-contact .gform_wrapper .gform_footer :is(input[type="submit"], button) { min-height: 48px; border-radius: var(--r-sm); padding: 12px 24px; font: 600 16px/22px var(--sans); }
.scribe-contact .gform_wrapper .gform_footer :is(input[type="submit"], button):hover { background: var(--azure-600); }
.scribe-contact .gform_wrapper .ginput_counter { display: none; }
/* Sent (designer: a pale green panel, a check, the thanks in heading type) */
.scribe-contact .gform_confirmation_message { display: flex; flex-direction: column; gap: 12px; border-radius: var(--r-2xl); background: var(--success-surface); padding: 32px; font: 500 clamp(25px, calc(5.469vw - 17px), 39px)/1.22 var(--display); color: var(--n-900); }
.scribe-contact .gform_confirmation_message::before { content: ""; width: 32px; height: 32px; background: var(--success-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
/* == /section == */

/* == section: cta == */
.scribe-contact .ct-cta { padding-bottom: 64px; }
.scribe-contact .ct-cta__box { display: flex; flex-direction: column; gap: 24px; border-radius: var(--r-xl); background: var(--azure-50); padding: 32px; }
@media (min-width: 1024px) {
	.scribe-contact .ct-cta { padding-bottom: 96px; }
	.scribe-contact .ct-cta__box { padding: 48px; }
}
/* == /section == */
