/* The disconnected preview form extends the source layout. */
[hidden]{display:none!important}
html{scroll-padding-top:74px}
#lead-form .gform_footer{flex-wrap:wrap}
#lead-form .replica-preview-note{flex-basis:100%;font-family:sofia-pro,sans-serif;color:rgba(255,255,255,.65);font-size:12px;line-height:1.7;margin:20px 0 0;text-align:center}
#lead-form .replica-form-status{flex-basis:100%;max-width:700px;margin:18px auto 0;padding:14px 20px;border:1px solid rgba(240,211,198,.4);border-radius:4px;color:#f0d3c6;font-size:14px;line-height:1.8;text-align:center}
#lead-form :focus-visible{outline:2px solid #f26845;outline-offset:4px}
.replica-preview-footer{position:relative;z-index:2;text-align:center;margin:0;padding:16px 20px 20px;font-family:sofia-pro,sans-serif;font-size:10px;color:rgba(255,255,255,.5)}
#ghl-form-container{width:100%;max-width:1200px;margin:0 auto}
#privacy-dialog{max-width:540px;width:calc(100% - 36px);border:0;border-radius:6px;padding:0;background:#edebe2;color:#2e3d21;font-family:sofia-pro,sans-serif;box-shadow:0 20px 100px #0006}
#privacy-dialog::backdrop{background:#101a12b3;backdrop-filter:blur(5px)}
.replica-dialog{padding:36px}.replica-dialog h2{font-size:27px;line-height:1.35;margin:0 0 18px}.replica-dialog p{font-size:16px;line-height:1.9;margin:0 0 25px}.replica-dialog button{background:#2e3d21;color:white;font:inherit;border:0;border-radius:4px;padding:10px 28px;cursor:pointer}
/* Hidden logo artwork must not leave an invisible keyboard stop. */
@media(min-width:992px){header #primary-nav .logo{display:none}}
@media(max-width:991px){header #primary-nav.transparent:not(.menu-open) .logo{visibility:hidden}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero .hero-video{display:none!important}.animate,.animate .sequence,.animate img,.map-image{transition:none!important}.splide__list{scroll-behavior:auto!important}}

/* Keep the independent brand notice readable at both footer widths. */
section.form .footer .legal{flex-wrap:wrap;gap:12px 24px}
section.form .footer .legal .rights{flex-wrap:wrap;gap:8px 16px}
section.form .footer .legal .brand-notice{max-width:36rem;line-height:1.6}
@media(max-width:767px){section.form .footer .legal .rights{justify-content:center}section.form .footer .legal .brand-notice{flex-basis:100%}}
@media(max-width:575px){#lead-form .replica-preview-note{font-size:11px}.replica-dialog{padding:26px}}

/* Project disclosure stays visible; house preferences use a native mobile select. */
.hero .editor-content .replica-site-notice{max-width:35rem;margin:16px auto 0;font-size:13px;line-height:1.6}
.hero .replica-site-notice a{color:inherit;font-size:inherit;line-height:inherit;text-decoration:underline;text-underline-offset:3px}
.hero .replica-site-notice a:focus-visible{outline:2px solid #fff;outline-offset:4px}
#lead-form .register-form__field--home-type select{width:100%;min-width:0}
#lead-form .register-form__field--home-type .gfield_label{line-height:1.5}
section.form .replica-disclaimer{position:relative;z-index:2;max-width:920px;margin:64px auto 0;padding:28px 0 0;border-top:1px solid rgba(237,235,226,.3);color:#edebe2;font-family:sofia-pro,sans-serif}
section.form .replica-disclaimer h2{margin:0 0 16px;font-size:18px;line-height:1.4;font-weight:600;letter-spacing:.03em;text-transform:none}
section.form .replica-disclaimer p{color:inherit;margin:0 0 14px;font-size:14px;line-height:1.8;max-width:none}
section.form .replica-disclaimer p:last-child{margin-bottom:0}
@media(max-width:575px){section.form .replica-disclaimer{margin-top:42px;padding-top:24px}.hero .editor-content .replica-site-notice{font-size:12px}}

/* Imported theme spans must inherit the light form-label colour. */
#lead-form .gfield_label > span[data-i18n]{color:inherit}
#lead-form .replica-preview-note{font-size:14px;color:#edebe2}
