/*
Theme Name: A&D Probuild Ltd
Theme URI: https://example.com/
Author: lovable-to-wordpress converter
Description: Block theme generated automatically from a Lovable (React/Vite/Tailwind) project.
Version: 1.0.22
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a-d-probuild-ltd
*/

/* Fluid container padding (theme sets it, so it does not depend on the global classes).
   Order matters: inner first, then section (outer sections carry both classes), then section media queries. */
body .wp-block-spectra-container.default-container.default-container{padding:0}
/* Spectra does not output the default-container class on inner containers, so target them by position instead */
body .wp-block-spectra-container:not(.section-container){padding:0}
body .wp-block-spectra-container.card-2,body .wp-block-spectra-container.card-3{padding:clamp(1rem,2.5%,1.5rem)}
body .wp-block-spectra-container.review-card{padding:0}
body .wp-block-spectra-container.section-container.section-container.section-container{padding:clamp(5rem,3.16rem + 3.2vw,7rem)}
@media (max-width:921px){body .wp-block-spectra-container.section-container.section-container.section-container{padding:clamp(3rem,0.1rem + 8.51vw,5rem)}}
@media (max-width:544px){body .wp-block-spectra-container.section-container.section-container.section-container{padding:clamp(2rem,0.571rem + 7.14vw,3rem)}}


/* Most styling lives in theme.json. Keep only small helpers here. */
.is-style-rounded img {
  border-radius: 0.75rem;
}
/* Links inside explicitly-colored text keep that color (muted links etc.) */
p.has-text-color a {
  color: inherit;
}
.converted-form-placeholder {
  border: 1px dashed currentColor;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  opacity: 0.7;
}
/* Icon-only links (header cart, footer socials) */
.converted-cart,
.converted-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #E2DFD7;
  border-radius: 0.375rem;
  color: inherit;
}
/* Live cart count badge (filled by WooCommerce cart fragments) */
.converted-cart {
  position: relative;
}
.converted-cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: var(--wp--preset--color--primary, #1e293b);
  color: var(--wp--preset--color--primary-foreground, #ffffff);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.converted-cart-count.is-empty {
  display: none;
}
/* A header button the source shows on small screens only (a "Call" link).
   It goes away at the width where WordPress swaps the menu toggle for the
   full menu. !important: the rule that lays a button out inside its row
   (.wp-block-buttons.is-layout-flex > .wp-block-button) is heavier than
   any single class. */
@media (min-width: 600px) {
  .converted-small-only {
    display: none !important;
  }
}
/* With that extra button the header's buttons no longer fit beside the menu
   toggle on a 360-375px phone and dropped to a third row. They sit a little
   closer and narrower there instead. */
@media (max-width: 599px) {
  header .wp-block-buttons:has(.converted-small-only) {
    gap: 0.5rem;
  }
  header .wp-block-buttons:has(.converted-small-only) .wp-block-button__link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
/* Converted footer: links inherit the footer text color, no underline,
   and link lists render without bullets (nav-style lists) */
.converted-footer a {
  color: inherit;
  text-decoration: none;
}
.converted-footer a:hover {
  text-decoration: underline;
}
.converted-footer ul {
  list-style: none;
  padding-left: 0;
}
/* An email address stays on one line in side-by-side columns: core's
   .wp-block-column breaks long words at any letter, so a narrow column
   split it mid-domain. Stacked (mobile) columns keep that safety net. */
@media (min-width: 782px) {
  .wp-block-column a[href^="mailto:"] {
    white-space: nowrap;
  }
}
/* Template-level blocks (header, content, footer) sit flush */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}
/* Page sections stack flush like the source — vertical rhythm lives inside
   each section's own padding, not in a block gap between them */
.wp-block-post-content > * + * {
  margin-block-start: 0 !important;
}
/* A page built in the editor starts with ordinary blocks, not a full-width
   section with its own padding, and would touch the header and footer */
main > .wp-block-post-content:first-child:not(:has(> .alignfull:first-child)) {
  padding-block: 3rem;
}
/* The source header is sticky */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Translucent blurred header bar (backdrop-blur in the source) */
.converted-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* A backdrop-filter makes its element a containing block for fixed-position
   descendants, which traps the navigation block's full-screen mobile menu
   inside the header. The blur has nothing to show while that menu covers the
   page, so it is dropped for as long as the menu is open. */
.has-modal-open .converted-blur {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Desktop popover for tel: links */
.converted-tel-popup {
  position: absolute;
  z-index: 100;
  background: #ffffff;
  border: 1px solid #E2DFD7;
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  padding: 1rem 1.25rem;
  max-width: 20rem;
}
.converted-tel-popup p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.converted-tel-popup .converted-tel-number {
  margin-top: 0.375rem;
  font-weight: 700;
  font-size: 1.0625rem;
}
/* Kept absolute decorations (card corner numbers) */
.converted-abs {
  position: absolute;
  margin: 0;
  pointer-events: none;
}
.wp-block-group:has(> .converted-abs) {
  position: relative;
}
/* Circular avatars / rounded media (radius lives here — inline radius on
   the img/figure is not part of the core blocks' save output) */
.converted-circle img {
  border-radius: 9999px;
}
.wp-block-video.converted-rounded video {
  border-radius: 0.75rem;
}
/* Buttons in one row stretch to equal height (the source rows are flex
   containers whose default alignment stretches every button) */
.wp-block-buttons.is-layout-flex {
  align-items: stretch;
}
.wp-block-buttons.is-layout-flex > .wp-block-button {
  display: flex;
}
.wp-block-buttons.is-layout-flex > .wp-block-button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
}
/* Flex-column cards (blog articles etc.): the body grows and the trailing
   call-to-action pins to the bottom, so buttons align across the row */
/* Sections with a source min-height and items-center: center the content
   vertically (constrained layout keeps centering children horizontally). */
/* Touch targets: menu links, quantity controls and shop buttons reach 44px */
body .wp-block-navigation .wp-block-navigation-item__content,
.woocommerce .quantity .qty,
.wc-block-components-quantity-selector button {
  min-height: 44px;
}
/* Loop buttons: one predictable size in both the classic and block markup —
   inline-flex so the height is padding + text, not a stray line box. */
.woocommerce ul.products li.product .button,
.wc-block-product-template .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}
body .wp-block-navigation .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
}
/* Navigation dropdown as the source designs it: a rounded, bordered card
   whose deeper level sits inline under its parent with a rule on the left,
   instead of WordPress's bare box with a second flyout to the side.
   WordPress prints its own navigation rules before or after the theme's
   depending on the page, and several weigh exactly the same as these, so
   every navigation rule here starts with "body": one notch heavier, it wins
   in either order. The two widths are !important because core's rule for
   keyboard focus is heavier still. */
body .wp-block-navigation .has-child > .wp-block-navigation__submenu-container {
  background: #F8F7F4;
  border: 1px solid #E2DFD7;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}
/* Core opens the dropdown at a fixed 200px, which wraps most labels; the
   width is widened only while it is open so the closed one stays collapsed. */
body .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
body .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container,
body .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
  min-width: 18rem !important;
}
body .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  min-height: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: #4A5568;
}
body .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: #EFECE6;
  color: #131C2E;
}
body .wp-block-navigation .has-child .wp-block-navigation__submenu-container .has-child {
  flex-direction: column;
  align-items: stretch;
}
body .wp-block-navigation .has-child .wp-block-navigation__submenu-container .has-child > .wp-block-navigation__submenu-icon {
  display: none;
}
body .wp-block-navigation .has-child .wp-block-navigation__submenu-container .has-child > .wp-block-navigation__submenu-container {
  position: static;
  display: flex;
  flex-direction: column;
  height: auto;
  width: auto;
  min-width: 0 !important;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  margin: 0 0 0 0.75rem;
  padding: 0 0 0 0.5rem;
  background: transparent;
  border: none;
  border-left: 1px solid #E2DFD7;
  border-radius: 0;
  box-shadow: none;
}
/* In the phone overlay every level is a plain indented list with that rule */
body .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  margin: 0.25rem 0 0 0.75rem;
  padding: 0 0 0 0.75rem !important;
  min-width: 0 !important;
  background: transparent;
  border: none;
  border-left: 1px solid #E2DFD7;
  border-radius: 0;
  box-shadow: none;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0.25rem 0;
  border-radius: 0;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: transparent;
}
/* A top-level parent that only groups its children reads as a heading */
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A5568;
}
/* Product photos on phones stay within the first screen so price and
   add-to-cart are visible without scrolling */
@media (max-width: 781px) {
  .woocommerce-product-gallery__image img,
  .wp-block-woocommerce-product-image-gallery img {
    max-height: 60vh;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
  }
}
.wp-block-group.converted-vcenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-block-group.converted-vcenter > * {
  width: 100%;
}
.converted-flex-card {
  display: flex;
  flex-direction: column;
}
/* Fixed-height cropped preview boxes (h-48 overflow-hidden): the inline
   min-height becomes the exact height and the overflow is clipped. */
.wp-block-group.converted-clip {
  height: 0;
  overflow: hidden;
}
.converted-flex-card > .wp-block-buttons:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
}
.converted-flex-card > .wp-block-group:last-child:not(.wp-block-buttons) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.converted-flex-card > .wp-block-group:last-child > .wp-block-buttons:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
}
/* A photo that filled its box with position:absolute in the source */
.wp-block-group.converted-cover {
  position: relative;
  overflow: hidden;
  /* Stretch to the row when the source sized the box from its neighbour
     (md:min-h-full); the inline min-height is the floor. */
  height: 100%;
  align-self: stretch;
}
.wp-block-group.converted-cover > .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}
.wp-block-group.converted-cover > .wp-block-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
/* Crossfade image carousel (stacked absolute slides in the source) */
.converted-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.converted-carousel .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.converted-carousel .wp-block-image.is-active {
  opacity: 1;
}
.converted-carousel .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.converted-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background 150ms ease;
  z-index: 1;
}
.converted-carousel-nav:hover {
  background: #ffffff;
}
.converted-carousel-nav.is-prev {
  left: 0.75rem;
}
.converted-carousel-nav.is-next {
  right: 0.75rem;
}
.converted-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 1;
}
.converted-carousel-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}
.converted-carousel-dots button.is-active {
  width: 1.5rem;
  background: var(--wp--preset--color--primary, #333333);
}
/* Cards that lift on hover in the source design */
.converted-lift {
  transition: transform 0.25s ease;
}
.converted-lift:hover {
  transform: translateY(-0.25rem);
}
/* Inline icons inside text and buttons */
.converted-inline-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.35em;
}
.converted-icon-solo {
  margin-right: 0 !important;
}
/* Source lists carry their own markers */
ul.converted-check-list {
  list-style: none;
  padding-left: 0;
}
ul.converted-dot-list {
  list-style: disc;
  padding-left: 1.25rem;
}
/* Quotes: no decorative side bar unless the source added one */
.wp-block-quote {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}
.wp-block-quote cite {
  font-style: normal;
  font-weight: 600;
}
/* A details block marked as a popup opens over the page instead of pushing
   the content below it down. <details> already carries the open/closed
   state, so the panel needs no script to appear — only to be dismissed by
   the backdrop or the Escape key. */
.wp-block-details.details-popup {
  border: none;
  padding: 0;
}
.wp-block-details.details-popup > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.wp-block-details.details-popup > summary::-webkit-details-marker {
  display: none;
}
.wp-block-details.details-popup[open] > summary::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
}
.wp-block-details.details-popup[open] > .converted-popup-panel {
  position: fixed;
  z-index: 201;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(30rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 2rem));
  overflow: auto;
  margin: 0;
  padding: 1.75rem;
  background: #F8F7F4;
  border: 1px solid #E2DFD7;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  text-align: left;
}
/* FAQ accordions (core/details) */
.wp-block-details {
  border-bottom: 1px solid #E2DFD7;
  padding: 1.25rem 0;
}
.wp-block-details summary {
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.wp-block-details[open] summary {
  margin-bottom: 0.75rem;
}
/* Single-post featured image: shown at its natural size, never upscaled */
.single .wp-block-post-featured-image {
  margin-bottom: 0;
}
.single .wp-block-post-featured-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 26rem;
  margin-inline: auto;
}
/* An audio player fills its box. The browser gives the control set a
   minimum width of its own — around 300px — which on a phone pushes it out
   past the card holding it, so that minimum is released. */
.wp-block-audio audio {
  width: 100%;
  min-width: 0;
}
/* Grid layouts collapse to one column on small screens */
@media (max-width: 781px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Native forms (Contact Form 7) styled like the source design */
.wpcf7 {
  background: #ffffff;
  border: 1px solid #E2DFD7;
  border-radius: 1rem;
  padding: 2rem;
}
.wpcf7 form > p {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
/* Short fields share a row only once there is room for them. The source
   pairs them at Tailwind's sm breakpoint and gives each its own row
   below it, where two inputs side by side are too narrow to use. */
@media (min-width: 640px) {
  .wpcf7 form > p {
    grid-template-columns: 1fr 1fr;
  }
}
.wpcf7 form > p > br {
  display: none;
}
/* Contact Form 7 splits a form into several <p> groups, and the grid gap
   only spaces the fields inside one of them. Without this the first field
   of a group sits flush against the last field of the one before it, and
   the submit button lands right under the message box. */
.wpcf7 form > p + p {
  margin-top: 1rem;
}
.wpcf7 label {
  display: block;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #4A5568;
}
/* Long fields (email, message) take the full row */
.wpcf7 form > p > label:has(textarea),
.wpcf7 form > p > label:has([type="email"]),
.wpcf7 form > p > label:has([type="url"]) {
  grid-column: 1 / -1;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.5rem;
}
/* Text-like fields only: an acceptance, checkbox or radio control is a <span>
   around its boxes, and styled as an input it becomes an empty-looking field
   with the boxes squeezed inside it. */
.wpcf7 .wpcf7-form-control:not(span):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  border: 1px solid #D4CFC5;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  box-sizing: border-box;
  color: #131C2E;
  background: #FFFFFF;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.wpcf7 .wpcf7-form-control:not([type="submit"]):focus {
  border-color: #131C2E;
  box-shadow: 0 0 0 2px rgba(19,28,46,0.2);
}
/* Contact Form 7 defaults to a 10-row textarea — match the source's compact
   message field */
.wpcf7 textarea.wpcf7-form-control {
  height: 7.375rem;
  min-height: 7.375rem;
  resize: vertical;
  /* Inline-level by default, which leaves a stray baseline gap below it
     inside the label and unbalances the space around the button. */
  display: block;
}
/* A phone has the room to spare and no comfortable way to drag the resize
   handle, so the message field starts taller there. */
@media (max-width: 781px) {
  .wpcf7 textarea.wpcf7-form-control {
    height: 11rem;
    min-height: 11rem;
  }
}
.wpcf7 [type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
  /* With the group margin above it, this leaves the button the same room
     above as the card's padding leaves below it. */
  margin-top: 1.25rem;
  border: none;
  cursor: pointer;
  border-radius: 0.375rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: var(--wp--preset--color--primary-foreground, #111111);
  background: var(--wp--preset--color--primary, #1e293b);
  transition: transform 150ms ease, filter 150ms ease;
}
.wpcf7 [type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
/* Contact Form 7 disables the button until a required consent box is ticked;
   without a visible state it looks broken rather than waiting. */
.wpcf7 [type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
  transform: none;
}
/* Consent and choice fields (acceptance, checkboxes, radios) take the whole
   row, each box beside its own text instead of indented above it. */
.wpcf7 form > p > .wpcf7-form-control-wrap:has(.wpcf7-list-item) {
  grid-column: 1 / -1;
  margin-top: 0;
}
.wpcf7 .wpcf7-list-item {
  display: block;
  margin: 0;
}
.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}
.wpcf7 .wpcf7-list-item input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2em 0 0;
  accent-color: var(--wp--preset--color--primary, currentColor);
}
/* The spinner shows only while the form is submitting, but Contact Form 7
   hides it with visibility, so its box still reserves a row under the
   button and pushes the card's bottom edge away from it. */
.wpcf7 .wpcf7-spinner {
  margin: 0.5rem auto 0;
  display: none;
}
.wpcf7 form.submitting .wpcf7-spinner {
  display: block;
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}
.wpcf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  border-radius: 10px;
  padding: 0.625rem 0.75rem;
}


/* CSS variables from the source project */
:root {
--font-xs: clamp(0.706rem, 0.686rem + 0.104vw, 0.765rem);
  --font-sm: clamp(0.824rem, 0.804rem + 0.104vw, 0.882rem);
  --font-base: clamp(0.941rem, 0.902rem + 0.208vw, 1.059rem);
  --font-lg: clamp(1.118rem, 1.059rem + 0.312vw, 1.294rem);
  --font-xl: clamp(1.235rem, 1.137rem + 0.521vw, 1.529rem);
  --font-2xl: clamp(1.412rem, 1.255rem + 0.833vw, 1.882rem);
  --font-3xl: clamp(1.647rem, 1.412rem + 1.25vw, 2.353rem);
  --font-4xl: clamp(1.941rem, 1.608rem + 1.771vw, 2.941rem);
  --font-5xl: clamp(2.353rem, 1.882rem + 2.5vw, 3.765rem);
  --font-6xl: clamp(2.824rem, 2.196rem + 3.333vw, 4.706rem);
  --font-7xl: clamp(3.412rem, 2.667rem + 3.958vw, 5.647rem);
  --font-8xl: clamp(4.235rem, 3.137rem + 5.833vw, 7.529rem);
  --font-9xl: clamp(5.176rem, 3.765rem + 7.5vw, 9.412rem);

  --gap: clamp(1rem, 0.85rem + 0.75vw, 1.75rem);
  --radius-btn: 10px;
  --border-fluid: clamp(1px, 0.06rem + 0.03vw, 2px);
  --border-fluid-strong: clamp(1px, 0.1rem + 0.04vw, 3px);
  --border-fluid-frame: clamp(2px, 0.125rem + 0.06vw, 4px);
  --border-fluid-accent: clamp(1px, 0.2rem + 0.06vw, 5px);

  --navy: #0D1629;
  --navy-soft: #16233E;
  --brand-red: #B52C21;
  --brand-green: #1F7D18;
  --brand-green-dark: #186413;
  --brand-gold: #C99A4E;
  --brand-gold-hover: #D8B16D;
  --contact-green-tint: #1F7D1814;
  --contact-green-tint-hover: #1F7D1822;

  --background: #F8F7F4;
  --foreground: #131C2E;
  --card: #FFFFFF;
  --card-foreground: #131C2E;
  --primary: #1F7D18;
  --primary-foreground: #FFFFFF;
  --secondary: #0D1629;
  --secondary-foreground: #FFFFFF;
  --muted: #EFECE6;
  --muted-foreground: #4A5568;
  --accent: #C99A4E;
  --accent-foreground: #0D1629;
  --border: #E2DFD7;
  --input: #D4CFC5;
  --ring: #1F7D18;
}

/* Ported from the source project's @utility border-fluid */
.border-fluid:not(.wp-block-button) {
border-style: solid;
  border-width: var(--border-fluid);
}
.wp-block-button.border-fluid .wp-block-button__link {
border-style: solid;
  border-width: var(--border-fluid);
}

/* Ported from the source project's @utility border-fluid-strong */
.border-fluid-strong:not(.wp-block-button) {
border-style: solid;
  border-width: var(--border-fluid-strong);
}
.wp-block-button.border-fluid-strong .wp-block-button__link {
border-style: solid;
  border-width: var(--border-fluid-strong);
}

/* Ported from the source project's @utility border-fluid-frame */
.border-fluid-frame:not(.wp-block-button) {
border-style: solid;
  border-width: var(--border-fluid-frame);
}
.wp-block-button.border-fluid-frame .wp-block-button__link {
border-style: solid;
  border-width: var(--border-fluid-frame);
}

/* Ported from the source project's @utility border-l-fluid-accent */
.border-l-fluid-accent:not(.wp-block-button) {
border-left-style: solid;
  border-left-width: var(--border-fluid-accent);
}
.wp-block-button.border-l-fluid-accent .wp-block-button__link {
border-left-style: solid;
  border-left-width: var(--border-fluid-accent);
}

/* Ported from the source project's @utility border-b-fluid */
.border-b-fluid:not(.wp-block-button) {
border-bottom-style: solid;
  border-bottom-width: var(--border-fluid);
}
.wp-block-button.border-b-fluid .wp-block-button__link {
border-bottom-style: solid;
  border-bottom-width: var(--border-fluid);
}

/* Ported from the source project's @utility border-t-fluid */
.border-t-fluid:not(.wp-block-button) {
border-top-style: solid;
  border-top-width: var(--border-fluid);
}
.wp-block-button.border-t-fluid .wp-block-button__link {
border-top-style: solid;
  border-top-width: var(--border-fluid);
}

/* Spectra container helpers */
.wp-block-spectra-container.hero-housing{background-image:linear-gradient(105deg,rgba(13,22,41,0.92) 0%,rgba(13,22,41,0.76) 52%,rgba(13,22,41,0.45) 100%),url("assets/images/housing-development.webp");background-size:cover;background-position:center;background-repeat:no-repeat}
.wp-block-spectra-container.hero-summer-room{background-image:linear-gradient(105deg,rgba(13,22,41,0.92) 0%,rgba(13,22,41,0.76) 52%,rgba(13,22,41,0.45) 100%),url("assets/images/summer-room.webp");background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-logo{display:block;width:clamp(18rem,45vw,40rem);max-width:100%;height:auto}
body .wp-block-spectra-container.card-2{flex:1 1 48%;max-width:100%;box-sizing:border-box}
body .wp-block-spectra-container.card-3{flex:1 1 30%;max-width:100%;box-sizing:border-box}
.wp-block-spectra-container.overflow-hidden{overflow:hidden}
@media (max-width:921px){.wp-block-spectra-container.card-2,.wp-block-spectra-container.card-3{flex-basis:48%}}
@media (max-width:544px){.wp-block-spectra-container.card-2,.wp-block-spectra-container.card-3{flex-basis:100%}}

/* Equal-height card rows */
.wp-block-spectra-container:has(> .card-2),.wp-block-spectra-container:has(> .card-3){align-items:stretch}
body .wp-block-spectra-container.card-2,.wp-block-spectra-container.card-3{display:flex;flex-direction:column;align-self:stretch}
body .wp-block-spectra-container.card-2>.wp-block-spectra-container:last-child,.wp-block-spectra-container.card-3>.wp-block-spectra-container:last-child{flex-grow:1}

/* Hover, active and animation (from the Lovable design) */
.wp-block-button__link,.wp-block-button .wp-element-button{transition:background-color .25s ease,border-color .25s ease,color .25s ease,transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1)}
.wp-block-button__link:hover{transform:translateY(-0.125rem) scale(1.025);box-shadow:0 0.625rem 1.5rem -0.5rem rgba(13,22,41,.34)}
.wp-block-button__link:active{transform:translateY(0) scale(.99)}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{background-color:var(--wp--preset--color--brand-green-dark)!important;border-color:var(--wp--preset--color--brand-green-dark)!important}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background-color:var(--wp--preset--color--brand-green)!important;color:#fff!important}
.hero-housing .wp-block-spectra-container>*,.hero-summer-room .wp-block-spectra-container>*{animation:heroFadeUp 1.35s cubic-bezier(.16,1,.3,1) both}
.hero-housing .wp-block-spectra-container>*:nth-child(2),.hero-summer-room .wp-block-spectra-container>*:nth-child(2){animation-delay:.18s}
.hero-housing .wp-block-spectra-container>*:nth-child(3),.hero-summer-room .wp-block-spectra-container>*:nth-child(3){animation-delay:.36s}
.hero-housing .wp-block-spectra-container>*:nth-child(4),.hero-summer-room .wp-block-spectra-container>*:nth-child(4){animation-delay:.54s}
@keyframes heroFadeUp{from{opacity:0;transform:translateY(1.5rem)}to{opacity:1;transform:translateY(0)}}
@keyframes revealUp{from{opacity:0;transform:translateY(1.5rem) scale(.99)}to{opacity:1;transform:none}}
@supports (animation-timeline:view()){.section-container:not(.hero-housing):not(.hero-summer-room)>.wp-block-spectra-container{animation:revealUp linear both;animation-timeline:view();animation-range:entry 0% entry 40%}}
body .wp-block-spectra-container.card-3,.wp-block-spectra-container.card-2{transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1),border-color .3s ease}
body .wp-block-spectra-container.card-3:hover{transform:translateY(-0.1875rem);box-shadow:0 0.875rem 1.875rem -0.75rem rgba(13,22,41,.18)}
.wp-block-spectra-container.overflow-hidden img{transition:transform 1.2s cubic-bezier(.16,1,.3,1)}
.wp-block-spectra-container.overflow-hidden:hover img{transform:scale(1.035)}
@media (prefers-reduced-motion:reduce){.hero-housing .wp-block-spectra-container>*,.hero-summer-room .wp-block-spectra-container>*,.section-container>.wp-block-spectra-container{animation:none}.wp-block-button__link:hover,.wp-block-spectra-container.card-3:hover,.wp-block-spectra-container.overflow-hidden:hover img{transform:none}}

/* Eyebrow labels */
.eyebrow-label{font-family:var(--wp--preset--font-family--body);font-size:var(--wp--preset--font-size--xs);font-weight:700;text-transform:uppercase;letter-spacing:0.25rem}

/* Container backgrounds */
.wp-block-spectra-container.bgc-0D1629{background-color:#0D1629}
.wp-block-spectra-container.bgc-EFECE6{background-color:#EFECE6}
.wp-block-spectra-container.bgc-F8F7F4{background-color:#F8F7F4}
.wp-block-spectra-container.bgc-FFFFFF{background-color:#FFFFFF}

/* Review cards (Lovable look) */
body .wp-block-spectra-container.review-card{border:0;border-radius:0.625rem;background-color:#0D1629;color:#fff;overflow:hidden}
body .wp-block-spectra-container.review-frame{flex:1 1 auto;width:100%;box-sizing:border-box;justify-content:space-between;gap:1rem;border:clamp(0.125rem,0.125rem + 0.06vw,0.25rem) solid #fff;border-radius:0.5rem;padding:clamp(1rem,0.8rem + 0.6vw,1.5rem)}
body .wp-block-spectra-container.review-head{flex-direction:row;flex-wrap:wrap;align-items:center;gap:clamp(0.5rem,0.4rem + 0.3vw,0.75rem);border:0;border-left:clamp(0.1875rem,0.15rem + 0.1vw,0.25rem) solid #B52C21;padding-left:clamp(0.5rem,0.4rem + 0.3vw,0.75rem)}
.review-stars{color:var(--wp--preset--color--brand-gold);margin:0;letter-spacing:0.1rem}
.review-rule{height:clamp(0.125rem,0.1rem + 0.05vw,0.1875rem);width:clamp(3.5rem,3rem + 1vw,5rem);background:var(--wp--preset--color--brand-green);margin-left:auto}
.review-card .eyebrow-label,.review-card p{margin:0}
.review-card p:last-child{text-align:right}

/* Header and footer containers */
body .wp-block-spectra-container.site-header{padding:clamp(0.6rem,0.4rem + 0.6vw,1rem) clamp(1rem,0.5rem + 2vw,3rem)}
.header-logo img{width:clamp(8rem,6rem + 8vw,12rem);height:auto}
.wp-block-spectra-container.converted-footer{color:#FFFFFF}
body .wp-block-spectra-container.footer-col{flex:1 1 clamp(14rem,30%,24rem);gap:clamp(0.5rem,0.4rem + 0.3vw,0.75rem)}
body .wp-block-spectra-container.footer-bottom{border:0;border-top:clamp(0.0625rem,0.04rem + 0.04vw,0.125rem) solid rgba(255,255,255,.13);padding-top:clamp(0.9rem,0.7rem + 0.5vw,1.5rem)}

/* Header: one tidy row, no stacked containers */
body .wp-block-spectra-container.site-header>.wp-block-spectra-container{width:100%;padding:0;gap:clamp(0.75rem,0.5rem + 1vw,1.5rem);flex-wrap:wrap;justify-content:space-between;align-items:center}
body .wp-block-spectra-container.site-header .wp-block-spectra-container .wp-block-spectra-container{width:auto;padding:0;flex:0 0 auto}
body .wp-block-spectra-container.site-header .wp-block-navigation{flex:0 1 auto}

/* Fluid root size (matches the Lovable html rule) */
html{font-size:clamp(1rem,0.958rem + 0.185vw,1.125rem)}

/* Template helpers: blog cards in flex rows, centred 404 */
.card-row{display:flex;flex-wrap:wrap;gap:clamp(1rem,0.8rem + 0.6vw,1.5rem);padding:0;list-style:none}
.card-row>li{flex:1 1 30%}
@media (max-width:921px){.card-row>li{flex-basis:48%}}
@media (max-width:544px){.card-row>li{flex-basis:100%}}
body .wp-block-spectra-container.text-center{text-align:center;align-items:center}

/* Mobile: every container is a single column, no wrap */
@media (max-width:544px){
body .wp-block-spectra-container.wp-block-spectra-container.wp-block-spectra-container{flex-direction:column;flex-wrap:nowrap;justify-content:flex-start}
body .wp-block-spectra-container.wp-block-spectra-container.wp-block-spectra-container.card-2,
body .wp-block-spectra-container.wp-block-spectra-container.wp-block-spectra-container.card-3,
body .wp-block-spectra-container.wp-block-spectra-container.wp-block-spectra-container.footer-col{flex:0 0 auto;width:100%}
body .site-header .wp-block-spectra-container.wp-block-spectra-container.wp-block-spectra-container{flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center}
.card-row{flex-direction:column;flex-wrap:nowrap}
.card-row>li{flex:0 0 auto;width:100%}
}

/* Rows are rows on desktop and tablet (columns only on mobile) */
@media (min-width:545px){
body .wp-block-spectra-container:has(>.card-2),body .wp-block-spectra-container:has(>.card-3),body .wp-block-spectra-container:has(>.footer-col){flex-direction:row;flex-wrap:wrap}
}
