/* Queen Luxe WordPress layer. Loaded after the ten design files, so it only adds what the React build did in JS/React:
   no-JS fallbacks, WordPress admin bar, plain pages, Contact Form 7 skin (form markup is generated by Contact Form 7). */

/* No-JS / failed-JS fallback: nothing may stay invisible. */
.no-js .rv, html:not(.js) .rv { opacity: 1; transform: none; transition: none; }
.no-js .intro { display: none; }
.no-js .hero__copy .line > span, html:not(.js) .hero__copy .line > span { transform: none; opacity: 1; }

/* Admin bar offset for the fixed header. */
.admin-bar .hdr { top: var(--wp-admin--admin-bar--height, 32px); }

/* Visually hidden text (used by the React build as .sr). */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The intro overlay exists in the markup but only shows while the early head script has set html.intro-active. */
.intro { display: none; }
html.intro-active .intro { display: grid; }
@media (prefers-reduced-motion: reduce) { html.intro-active .intro { display: none; } }

/* Burger icons swap by the hidden attribute. */
.hdr__burger [hidden] { display: none; }

/* Stage titles in the hero bar: JS shows one at a time. */
.hbar__title.is-off { display: none; }

/* Plain fallback pages (404, posts). */
.ql-plain { background: var(--black); color: var(--ivory); min-height: 70vh; padding: calc(var(--header-h) + 4rem) 0 6rem; }
.ql-plain__in { display: grid; gap: 1.25rem; justify-items: start; }
.ql-plain__body { color: var(--muted); max-width: 62ch; }

/* ===== Contact Form 7 skin: the form markup comes from Contact Form 7, the look is the approved React form ===== */
.wpcf7 { margin: 0; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-form .ql-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-not-valid-tip { display: block; margin-top: 0.4rem; font-size: 0.85rem; line-height: 1.45; color: #8a1c1c; font-weight: 500; }
.wpcf7-form .fld.has-error .fld__in, .wpcf7-form .fld__in[aria-invalid='true'] { border-bottom-color: #8a1c1c; }
.wpcf7-form .fld.has-error textarea.fld__in { border-color: #8a1c1c; }
.fld__ok { display: none; }
.fld.is-ok .fld__ok { display: block; }
.card-form__submit { cursor: pointer; }
.card-form__submit.is-busy { opacity: 0.7; pointer-events: none; }
.card-form__alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wpcf7-form .wpcf7-response-output { display: none; } /* messages are shown in .card-form__alert; Contact Form 7 still announces them in its screen-reader region */
.wpcf7-form.sent .wpcf7-response-output { color: var(--muted-ink); }
.wpcf7-form .wpcf7-spinner { display: none; }
