/*
 * Aquarius design system layer — November 19, 2026
 * One shared set of type, colour, control and surface rules for every published
 * Mithril page. It sits after the page-specific style blocks and replaces the
 * separate button, heading and colour treatments those pages carried.
 * Presentation only: no content, link, form field, tracking hook or script changes.
 */

/* ---------- 0. Tokens ---------- */
:root {
  --aqx-navy: #071e36;
  --aqx-ink: #102a43;
  --aqx-body: #2f4558;
  --aqx-muted: #4c6274;
  --aqx-blue: #006faf;
  --aqx-blue-deep: #00568a;
  --aqx-water: #b5deeb;
  --aqx-mist: #eef6f8;
  --aqx-ivory: #f7f4ee;
  --aqx-line: #d3dfe6;
  --aqx-line-strong: #7b8e9c;
  --aqx-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --aqx-text: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --aqx-r-control: 10px;
  --aqx-r-card: 14px;
  --aqx-shadow: 0 1px 2px #071e360a, 0 10px 28px -14px #071e3633;
  --aqx-danger: #b42318;
  --aqx-danger-bg: #fdf3f2;
  --aqx-ease: cubic-bezier(.2, .7, .2, 1);
  /* Accent tones that replace the earlier gold and tan. Each has the same lightness
     as the tone it replaces, so a label keeps the contrast it had on light and on
     dark sections. */
  --aqx-sky: #4aa1d8;        /* for #b8913a */
  --aqx-sky-mid: #62b1e1;    /* for #c99a4b, #c9a85f, #d4ae62 */
  --aqx-sky-light: #a3d3ee;  /* for #e5ca8e */
}

/* ---------- 1. Base type ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) {
  font-family: var(--aqx-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(button, input, select, textarea) { font-family: var(--aqx-text); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) ::selection { background: var(--aqx-water); color: var(--aqx-navy); }

/* The page builder's global fonts and colours: one rule recolours every widget that uses them. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).elementor-kit-4066 {
  --e-global-color-primary: var(--aqx-navy);
  --e-global-color-accent: var(--aqx-blue);
  --e-global-color-text: var(--aqx-ink);
  --e-global-typography-primary-font-family: "DM Sans";
  --e-global-typography-secondary-font-family: "DM Sans";
  --e-global-typography-text-font-family: "DM Sans";
  --e-global-typography-accent-font-family: "DM Sans";
  --e-global-typography-a1e8ec0-text-transform: none;
  --e-global-typography-a1e8ec0-letter-spacing: 0;
  --e-global-typography-434816f-font-family: "DM Sans";
  --e-global-typography-434816f-letter-spacing: .14em;
}

/* The article, category and legal templates still carried the earlier gold and
   near-black presets. Mapping the presets recolours those pages in one place. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) {
  --wp--preset--color--midnight: var(--aqx-navy);
  --wp--preset--color--navy: var(--aqx-navy);
  --wp--preset--color--ink: var(--aqx-ink);
  --wp--preset--color--muted: var(--aqx-muted);
  --wp--preset--color--ocean: var(--aqx-blue-deep);
  --wp--preset--color--sand: var(--aqx-ivory);
  --wp--preset--color--brass: var(--aqx-sky);
  --wp--preset--color--brass-dark: var(--aqx-blue-deep);
  --wp--preset--color--gold-light: var(--aqx-sky-mid);
  --aq-brand-gold: var(--aqx-sky);
  --aq-brand-gold-light: var(--aqx-sky-mid);
  --aq-brand-gold-text: var(--aqx-blue-deep);
}

/* Only the 400 display weight and the 400/500/600 text weights are installed.
   Heavier values were being synthesised by the browser. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content, main, dialog) :is(strong, b) { font-weight: 600; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content, main) :is(h1, h2) {
  font-family: var(--aqx-display) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-wrap: balance;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content, main) :is(h3, h4, h5, h6) {
  font-family: var(--aqx-text) !important;
  font-weight: 600 !important;
  text-wrap: balance;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content, main) :is(p, li, dd, td, blockquote, figcaption) { text-wrap: pretty; }
/* Small headings set in the display face read better in the text face. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content, main) :is(.model-card__name, .jet-listing-grid__item h2, .jet-listing-grid__item .elementor-heading-title) {
  font-family: var(--aqx-text) !important;
  font-weight: 600 !important;
  letter-spacing: -.01em;
}

/* ---------- 2. One ink family: the green-grey tint becomes Aquarius navy ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd { --ink: var(--aqx-ink); --dim: var(--aqx-muted); color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main#content.aqc-page { --aqc-muted: var(--aqx-muted); --aqc-navy: var(--aqx-navy); --aqc-blue: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd :is(h1#aqpd-title, .aqpd-stats dd, .aqpd-dim strong, .aq-fit summary, .aq-fit label, .aq-fit .aq-fit-result:not(:empty)) { color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd :is(.aqpd-crumbs, .aqpd-crumbs a, .aqpd-crumbs [aria-current], .aqpd-eyebrow, .aqpd-lede, .aqpd-dim, .aqpd-local, .aqpd-stats dt, .aqpd-owner-links, .aq-fit p) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd :is(.aqpd-spec-link, .aqpd-local a, .aqpd-owner-links a) { color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd :is(.aqpd-front:checked ~ .aqpd-views label[for=aqpd-front], .aqpd-top:checked ~ .aqpd-views label[for=aqpd-top]) { background: var(--aqx-navy); border-color: var(--aqx-navy); }

html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 :is(#pools .aq-type a, #pools .aq-price-note strong, #services .aq-care h3, #planning-tools .aq-tool-list a, #aq13-finder, #planning-tools h2) { color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 :is(#pools .aq-type p, #services .aq-care p, #planning-tools .aq-tool-list small, .ed-owner-label, .ed-label, .ed-project-copy > p:not(.ed-label), .ed-project figcaption) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 :is(#pools .aq-price-note a, #services .aq-care-links a) { color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #spas .aq-feature-copy { background: var(--aqx-navy); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #spas .aq-actions .aq-btn { color: var(--aqx-navy); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #home.aqh-hero { background-color: var(--aqx-navy); }

html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 :is(#spa-collection-intro .collection-location, #spa-collection-intro .collection-intro, #shop-hot-tubs .collection-guide, #shop-hot-tubs .collection-seating p, #aq-hot .collection-showroom p span) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-pool26 :is(#pool-studio .pstudio-location, #pool-studio .pstudio-description) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-pool26 .pstudio-menu-link { color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-pool26 #pool-studio .pstudio-figure { background: var(--aqx-navy); }

html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #content.aqc-page :is(.visit-opening, .visit-phone, .visit-schedule .aqc-hours :is(th, td), .visit-links a, #showroom-hours #aqc-visit-title) { color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #content.aqc-page :is(.visit-label, .visit-intro address, .visit-schedule > p) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #content.aqc-page :is(h2, h3) { color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 :is(.af-top, details.af-links, .af-base) { border-color: #ffffff26; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-footer { background: var(--aqx-navy); }

/* ---------- 3. One button system ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
  .btn, .aq-btn, .aq-button, .elementor-button, .wp-block-button__link, .aq-submit,
  .aqpd-primary, .aqpd-secondary, .cm-button, .st-primary, .mat-primary, .sv-primary,
  .aq-btn-primary, .aq-btn-dark, .aq-btn-light, .aq-btn-cream, .aq-sticky-primary,
  .aqp-btn, .ed-primary, .bl-btn, .bp-btn, .sc-btn, .care-button, .wstore-primary,
  .by-button, .aqk-btn, .aql-btn, .aqs-btn, .pband-btn, .aqpg-primary, .btnPrimary,
  .aqp-pr-btn, .pstudio-primary, .pq-btn, .collection-primary, .aqbd-btn,
  .visit-directions, .aq-fit button
) {
  border-radius: 999px !important;
  font-family: var(--aqx-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background-color .18s var(--aqx-ease), border-color .18s var(--aqx-ease), color .18s var(--aqx-ease), box-shadow .18s var(--aqx-ease), transform .18s var(--aqx-ease);
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.btn, .aq-btn, .elementor-button, .wp-block-button__link, .aq-submit, .aqpd-primary, .cm-button, .bl-btn, .bp-btn, .sc-btn, .care-button, .aqk-btn, .aql-btn, .aqs-btn, .pband-btn, .aqbd-btn):active { transform: translateY(1px); }

/* Legacy fills that fell outside the palette: product green, article gold. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd :is(.aqpd-actions .aqpd-primary, .aq-fit button) { background: var(--aqx-blue); border-color: var(--aqx-blue); color: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd :is(.aqpd-actions .aqpd-primary, .aq-fit button):hover { background: var(--aqx-blue-deep); border-color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd .aqpd-actions .aqpd-secondary { color: var(--aqx-ink); border-color: var(--aqx-line-strong); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .aqpd .aqpd-actions .aqpd-secondary:hover { background: var(--aqx-mist); border-color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #content.aqc-page .visit-directions { background: var(--aqx-blue); border-color: var(--aqx-blue); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #content.aqc-page .visit-directions:hover { background: var(--aqx-blue-deep); border-color: var(--aqx-blue-deep); }
/* The article theme forces its gold fill with !important, so these do too. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .wp-block-button:not([class*="is-style-outline"]) > .wp-block-button__link { background: var(--aqx-blue) !important; color: #fff !important; padding: 14px 24px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .wp-block-button:not([class*="is-style-outline"]) > .wp-block-button__link:hover { background: var(--aqx-blue-deep) !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .aq-post-cta .wp-block-button:not([class*="is-style-outline"]) > .wp-block-button__link { background: var(--aqx-ivory) !important; color: var(--aqx-navy) !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .aq-post-cta .wp-block-button:not([class*="is-style-outline"]) > .wp-block-button__link:hover { background: #fff !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .aq-post-cta a:not(.wp-block-button__link) { color: var(--aqx-water); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-widget-button .elementor-button { padding: 14px 24px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-widget-button .elementor-button:hover { box-shadow: 0 6px 18px -8px #071e3666; }

/* ---------- 4. Focus ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #1a8fd0;
  outline-offset: 3px;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aq-privacy-footer button, .aq-privacy-dialog :is(a, button, input), .aq-privacy-notice button):focus-visible { outline-color: #1a8fd0; }

/* ---------- 5. Forms ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form { --aqf-ink: var(--aqx-ink); --aqf-muted: var(--aqx-muted); --aqf-line: var(--aqx-line-strong); --aqf-focus: var(--aqx-blue); font-family: var(--aqx-text); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea) {
  min-height: 48px;
  border-radius: var(--aqx-r-control) !important;
  border-color: var(--aqx-line-strong);
  background-color: #fff;
  color: var(--aqx-ink);
  font-size: 16px;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form :is(input, select, textarea):focus { border-color: var(--aqx-blue); box-shadow: 0 0 0 3px #006faf33; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form :is(.aq-field > label, .aq-field > legend) { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form :is(.aq-help, .aq-form-note, .aq-error) { font-size: 13.5px; line-height: 1.55; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form :is(.aq-help, .aq-form-note) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form .aq-form-section { font-family: var(--aqx-display); color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form .aq-choice:has(input:checked) { background: var(--aqx-mist); border-color: var(--aqx-blue); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form .aq-fprogress-bar span { background: var(--aqx-blue); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form .aq-submit { min-height: 52px; padding: 14px 28px; background: var(--aqx-blue); color: #fff; border: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form .aq-submit:hover { background: var(--aqx-blue-deep); }

/* ---------- 6. Header ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation { --an-ink: var(--aqx-ink); --an-accent: var(--aqx-blue); --an-line: var(--aqx-line); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-utility { background: var(--aqx-navy); }
@media (min-width: 981px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column h2 { font: 400 24px/1.15 var(--aqx-display) !important; letter-spacing: -.01em; color: var(--aqx-ink); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-feature { font-family: var(--aqx-display); font-weight: 400; }
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary { font-weight: 600; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-contact { background: var(--aqx-blue); border-radius: 999px !important; font-weight: 600; padding-inline: 20px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-contact:hover { background: var(--aqx-blue-deep); }

/* ---------- 7. Privacy notice and dialog ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice {
  /* Bottom right: the hero text and its buttons are on the left on every page. The site script's request button,
     which also sits bottom right, waits until the notice is answered. */
  inset: auto 20px 20px auto;
  width: min(26rem, calc(100% - 40px));
  padding: 18px 20px;
  border: 1px solid var(--aqx-line);
  border-radius: var(--aqx-r-card);
  box-shadow: 0 18px 48px -18px #071e3659;
  color: var(--aqx-body);
  font: 400 14px/1.55 var(--aqx-text);
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice p { margin: 0 0 14px; }
/* Bottom right is where the homepage hero's motion button sits: while the notice shows, the button waits in the
   hero's top corner instead, so the notice never covers it or its keyboard focus. */
@media (min-width: 641px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):has(.aq-privacy-notice:not([hidden])) #aq13 .aqx-eve-pause { top: clamp(20px, 3vw, 40px); bottom: auto; }
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aq-privacy-actions, .aq-privacy-footer) button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--aqx-navy);
  border-radius: 999px;
  background: var(--aqx-navy);
  color: #fff;
  font: 600 14px/1.3 var(--aqx-text);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-actions button:hover { background: var(--aqx-blue-deep); border-color: var(--aqx-blue-deep); color: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice .aq-privacy-actions button[data-aq-privacy-open] { background: #fff; color: var(--aqx-navy); border-color: var(--aqx-line-strong); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice .aq-privacy-actions button[data-aq-privacy-open]:hover { background: var(--aqx-mist); border-color: var(--aqx-navy); color: var(--aqx-navy); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-footer button { background: transparent; border-color: #ffffff59; font-weight: 500; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-footer button:hover { background: #ffffff14; border-color: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-dialog { border: 0; border-radius: 18px; padding: 28px; color: var(--aqx-body); font: 400 15px/1.6 var(--aqx-text); box-shadow: 0 30px 80px -20px #071e3680; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-dialog h2 { font: 400 30px/1.1 var(--aqx-display); color: var(--aqx-ink); letter-spacing: -.01em; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-dialog input[type=checkbox] { accent-color: var(--aqx-blue); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-dialog a { color: var(--aqx-blue-deep); }
@media (max-width: 640px) {
  /* As small as it can be without shortening the wording: it covers the first screen until it is answered. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice { inset: auto 8px calc(8px + env(safe-area-inset-bottom, 0px)) 8px; width: auto; padding: 10px 12px; font-size: 13px; line-height: 1.4; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice p { margin-bottom: 8px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice .aq-privacy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-notice .aq-privacy-actions button { padding-inline: 10px; }
}

/* ---------- 8. Footer ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 { background-color: var(--aqx-navy); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 :is(h2, h3, summary) { font-family: var(--aqx-text); }

/* ---------- 9. Hot tub and swim spa model pages ---------- */
/* The lower half of each model page came from the earlier template. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
/* Photo bands: a navy wash keeps the white text readable over any photo. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single > .e-con[class*="elementor-element-"]:is(.elementor-element-63a2114, .elementor-element-ed391f6) {
  background-color: var(--aqx-navy);
  background-blend-mode: multiply;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single > .e-con:is(.elementor-element-63a2114, .elementor-element-ed391f6)::before { background-color: var(--aqx-navy) !important; opacity: .62 !important; }
/* Feature rows */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item .elementor-widget-image img { border-radius: var(--aqx-r-control); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .elementor-widget-divider { --divider-color: var(--aqx-water); }
/* Series cards */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item > .elementor { border: 1px solid var(--aqx-line); border-radius: var(--aqx-r-card); overflow: hidden; background: #fff; transition: border-color .18s var(--aqx-ease), box-shadow .18s var(--aqx-ease); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item > .elementor:hover { border-color: #8fb3c6; box-shadow: var(--aqx-shadow); }

/* Phone: each feature becomes a thumbnail beside its text instead of a full-width photo
   above it. A model page listed two dozen features and ran to about 60 screens. */
@media (max-width: 640px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item > .elementor > .e-con > .e-con-inner:has(> .e-con > .elementor-widget-image):has(> .e-con > .elementor-widget-text-editor) {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item > .elementor > .e-con > .e-con-inner:has(> .e-con > .elementor-widget-text-editor) > .e-con:has(> .elementor-widget-image) {
    flex: 0 0 92px !important;
    width: 92px !important;
    padding: 0 !important;
  }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item > .elementor > .e-con > .e-con-inner:has(> .e-con > .elementor-widget-text-editor) > .e-con:has(> .elementor-widget-image) img {
    width: 92px !important;
    height: 92px !important;
    object-fit: cover;
  }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item > .elementor > .e-con > .e-con-inner:has(> .e-con > .elementor-widget-image) > .e-con:has(> .elementor-widget-text-editor) {
    flex: 1 1 0 !important;
    min-width: 0;
    width: auto !important;
    padding: 0 !important;
  }
}

/* ---------- 10. Hot tub catalogue ---------- */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card { border-radius: var(--aqx-r-card); border-color: var(--aqx-line); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__stat { border-radius: var(--aqx-r-control); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__stat span { font-size: 12px; letter-spacing: .08em; font-weight: 600; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__foot :is(.act, .aq-model-price) { border-radius: 999px; font-weight: 600; font-size: 14px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__foot .act { background: var(--aqx-navy); border-color: var(--aqx-navy); color: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__foot .act:hover { background: var(--aqx-blue-deep); border-color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__foot .aq-model-price { border-color: var(--aqx-line-strong); color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .aq-compare-toggle { border-radius: 0; font-weight: 600; letter-spacing: .02em; text-transform: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .filterbtn { border-radius: 999px; }
@media (max-width: 520px) {
  /* A 23-model list ran to roughly 60 phone screens. Tighter cards cut that by about half. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-grid { gap: 14px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__media { height: auto; aspect-ratio: 16 / 9; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__img { padding: 10px 14px 8px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__content { padding: 14px 16px 16px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__stats { grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 10px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__stat { padding: 7px 10px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__seat { margin: 0; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card__foot :is(.act, .aq-model-price) { width: 100%; min-height: 44px; padding: 8px 10px; }
}

/* ---------- 11. Phone: one floating element at a time ---------- */
@media (max-width: 760px) {
  body:not(.page-template-elementor_canvas, .elementor-template-canvas):has(.aq-privacy-notice:not([hidden])) :is(#aq13 .aq-mobile-actions, .aq-copy-mobile-actions, [class*="-sticky"][class*="mobile"]) { visibility: hidden; }
}

/* ---------- 13. Page palettes: remaining gold and tan accents join the brand blues ---------- */
/* Each of these page roots declared its own accent variables. Redefining the
   variables recolours that page without touching its layout rules. The about,
   backyard-planning and gallery roots were already mapped by the earlier brand layer. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-authority-v2, #aq-careers-v2, #aq-cold-plunge, #aq-faq-v2, #aq-fiberglass, #aq-fin, #aq-gunite, #aq-hot, #aq-install, #aq-maint-v2, #aq-process, #aq-products-page, #aq-products-v2, #aq-reno-page, #aq-spa-features, #aq-spa-health, #aq-swim-spas, #aq-vinyl, #aqEquip, #aqacc, #aqbd-page, #aqf26, #aqsd26, #aqtestimonials, #aqwhy) { --gold: var(--aqx-sky); --gold-lt: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aqp-kitchen-page, #aqp-landscape-page, #aqp-stone-page, #aqp-structures-page) { --gold: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aqp-footer) { --aq-gold: var(--aqx-sky); --aq-gold-lite: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-decking, #aq-liners, #aq-river-fiberglass) { --aq-sand: var(--aqx-sky-mid); --aq-sand-light: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aqp-site-page, .aqp-turf-page) { --sand: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-cover, #aq-equip, #aq-finish) { --gold: var(--aqx-sky); --goldlt: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-backyard-living) { --bl-sand: var(--aqx-sky-mid); --bl-sand-light: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-bioguard, #aq-coping, #aq-elements, #aq-tile-studio) { --sand: var(--aqx-sky-mid); --sand-light: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#bp-profile) { --bp-sand: var(--aqx-sky-mid); --bp-sand-light: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aqc-page) { --aqc-gold: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aqDesignGuide, #aqe) { --gold: var(--aqx-sky-mid); --gold2: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-community-page, #aq-owner-hub, #aq-service-page, #aq-work-with-us) { --gold: var(--aqx-sky); --gold-light: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aqp-pool-request) { --aqp-gold: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-learnhub, #aqswim) { --gold: var(--aqx-sky); --gold2: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aqPremiumSelections) { --gold: var(--aqx-sky-mid); --gold-lt: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#pool-cost-estimator) { --pb-gold: var(--aqx-sky); --pb-gold-lt: var(--aqx-sky-mid); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-store-care) { --sc-sand: var(--aqx-sky-mid); --sc-sand-light: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-sauna) { --aq-sand: var(--aqx-sky-mid); }
/* Small hero labels on these two templates sit directly on a photograph. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aqp-turf-page, .aqp-site-page) .hero .eyebrow { color: #eaf6fb; }
/* Buttons that were filled with gold or tan take the standard primary treatment. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(.btn-gold, .aq-btn--gold, .aq-btn--sand, .bl-btn--sand, .bp-btn--sand, .sc-btn--sand, .pband-btnGold, .pband-btnPrimary, .btn.bp, .aqk-btn:not(.aqk-btn--outline)) {
  background: var(--aqx-blue) !important;
  border-color: var(--aqx-blue) !important;
  color: #fff !important;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(.btn-gold, .aq-btn--gold, .aq-btn--sand, .bl-btn--sand, .bp-btn--sand, .sc-btn--sand, .pband-btnGold, .pband-btnPrimary, .btn.bp, .aqk-btn:not(.aqk-btn--outline)):hover {
  background: var(--aqx-blue-deep) !important;
  border-color: var(--aqx-blue-deep) !important;
}

/* ---------- 14. Page repairs ---------- */
/* /build-your-pool/: the pricing request sat directly on a dark photograph, so its
   heading, labels and progress text could not be read. It gets a surface. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqp-quote-anchor {
  background: #fff;
  color: var(--aqx-ink);
  border-radius: var(--aqx-r-card);
  box-shadow: var(--aqx-shadow);
  padding: clamp(20px, 4vw, 36px) !important;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqp-quote-anchor #aqp-quote-heading { color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqp-quote-anchor > p { color: var(--aqx-body); }

/* ---------- 15. Headings that were dark text on a dark section ---------- */
/* The theme gives every heading a near-black colour. These headings sit in dark
   sections whose own text is light, so they take the section colour instead.
   Found by measuring all 152 routes: 37 heading groups on 18 pages. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-827 :is(#content, main) :is(h2#aqacc-covers-h, .dark-grid .dark-card .dark-copy h3, h2#aqacc-final-h) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11673 :is(#content, main) :is(.aqp-turf-page .hero .wrap h1, .aqp-turf-page .cta .wrap h2) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11435 :is(#content, main) :is(.wrap .choice-grid .choice h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-601 :is(#content, main) :is(.form-shell .form-side .side-card h3, h2#aqbp-process-h, .steps .step h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11689 :is(#content, main) :is(.section .wrap h2, .aqp-site-page .cta .wrap h2) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-467 :is(#content, main) :is(h2#service-process-h, .aq-wrap .aq-process-grid .aq-process-card h3, h2#final-h) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11062 :is(#content, main) :is(.aq-featured-img .aq-featured-title h3, .aq-wrap .aq-section-head h2.aq-display, .aq-wrap .aq-pillar-grid .aq-pillar h3, .aq-wrap .aq-final-card h2.aq-display) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11447 :is(#content, main) :is(.wrap .more-grid .mini h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11234 :is(#content, main) :is(.wrap .family-grid .family h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-9871 :is(#content, main) :is(h2#reno-form-title) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11117 :is(#content, main) :is(.wrap .config-layout .config-summary h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11451 :is(#content, main) :is(.aq-uses .aq-wrap h2.aq-section-title, .aq-use-list .aq-use h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11496 :is(#content, main) :is(.aq-shell .aq-direction-grid .aq-direction--featured h3, .aq-shell .aq-heading-row h2) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-801 :is(#content, main) :is(h2#aq-how-title) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11723 :is(#content, main) :is(h2#aqsd26-series-h) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).post-type-archive-swim-spas :is(#content, main) :is(h2#aqswim-series-h, #surf-series .series-copy h3, #stream-series .series-copy h3) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-1866 :is(#content, main) :is(h2#process-h, .wrap .process-grid .process-card h3, h2#final-h) { color: inherit; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-10438 :is(#content, main) :is(h2#aqwhy-diff-h, .wrap .dark-card-grid .dark-card h3, h2#aqwhy-final-h) { color: inherit; }

/* ---------- 16. Text size floor ---------- */
/* Labels, badges and captions that measured under 12px on every route where they
   appear. Classes that are sometimes larger, layout containers and buttons are left alone. 2778 of 3533 small
   text measurements (desktop and phone runs combined) are covered. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #page :is(
  .aq-attribution, .aq-badge, .aq-brand, .aq-card-link, .aq-card__kicker, .aq-color-note, .aq-cred-label, .aq-filter-btn, .aq-filter-title, .aq-gallery-note,
  .aq-kicker, .aq-material-note, .aq-material-number, .aq-mini-label, .aq-pattern-footnote, .aq-photo-label, .aq-product-code, .aq-product-link, .aq-reset, .aq-shape,
  .aq-side-label, .aq-signs__num, .aq-step-no, .aq-sticky-label, .aq-sticky-light, .aq-tag, .aq-vendor-credit, .aq-vendor-label, .aqbd-chip,
  .aqbd-kicker, .aqbd-ledgerLbl, .aqbd-sideLabel, .aqk-credit-box, .aqk-cta__credit, .aqk-eyebrow, .aqk-hero__credit, .aql-credit-box, .aql-cta__credit, .aql-eyebrow,
  .aql-image-credit, .aql-supplier-disclosure, .aqp-card-label, .aqp-credit, .aqp-eyebrow, .aqp-step-num, .aqpf-kicker, .aqs-credit-box, .aqs-cta__credit, .aqs-eyebrow,
  .aqs-hero__credit, .aqs-product__badge, .aqs-product__credit, .aqs-type-credit, .bl-category-link, .bl-category-no, .bl-eyebrow, .bl-hero-panel-label, .bl-tag, .bp-build-no,
  .bp-contact-label, .bp-eyebrow, .card-kicker, .category-link, .choice-badge, .collection-location, .color-link,
  .conc__hrs, .conc__label, .conc__path-ico, .concierge-label, .config-recommendation, .contact-label, .count-label, .cred-label, .cred-lbl, .cred__lbl,
  .cta-kk, .cta__reassure, .dealer-seal-label, .dealer-seal-text, .disclaimer, .eq-card__badge, .filter, .filter-btn, .finish-name, .hero-card-label,
  .intro__chip-txt, .kicker, .kk, .label, .learn, .link, .mat-location, .matrix-eyebrow, .micro,
  .minihead, .model-badge, .model-series, .nap-label, .overview-label, .p-card__badge, .pband-eyebrow, .pband-miniKicker, .pband-resultBadge,
  .pband-sideIcon, .pband-sideLabel, .pband-stepMeta, .pband-stickyK, .pband-stickyPrimary, .pband-stickySecondary, .pband-summaryK, .pill, .plan-num, .plan-tier,
  .pq-photo-tag, .proc__fear, .product-badge, .product-kicker, .product-link, .profile-tag, .proof-label, .proof-lbl, .quote-attr, .route-badge,
  .route-link, .sc-category__link, .sc-eyebrow, .sc-tag, .section-label, .series-link, .serviceCard__badge, .side-label,
  .side-note, .small-note, .spa26-kicker, .spec__k, .st-call, .st-label, .st-light, .st-p, .st-s,
  .st-start, .stat-lbl, .stat-sub, .sticky-label, .sticky__lbl, .story__chip-txt, .sv-label, .texture, .tiny, .trust-label,
  .why__chip-txt, .wstore-place
) { font-size: 12px !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #wp--skip-link--target :is(
  .aq-catalog-category, .aq-catalog-credit, .aq-post-cat, .aq-post-tip-label, .aq5-eyebrow, .aq5-photo-note
) { font-size: 12px !important; }

/* ---------- 17. Navigation (November 19 audit) ---------- */
@media (max-width: 980px) {
  /* The open phone menu stopped 20px short of the screen and showed the page behind it. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation[data-ready] nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
  /* A first visit still has the privacy notice on screen; it covered the last menu links. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):has(.aq-privacy-notice:not([hidden])) #aquarius-navigation[data-ready] nav { padding-bottom: 180px; }
}
@media (min-width: 600px) and (max-width: 980px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation nav .an-column + .an-column { margin-top: 0; }
}
@media (max-width: 680px) {
  /* Keeps the logo full size beside the Contact button on small phones. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-main .an-contact { padding-inline: 12px; }
}
/* /catalog/ and /quote-request/ use a header wrapper without the usual class, so it scrolled away. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .wp-site-blocks > header:has(#aquarius-navigation) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000; background: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .wp-site-blocks > header:has(#aquarius-navigation .an-group[open]) { z-index: 2010; }
/* Floating phone action bar on article, listing and legal pages: its main action was gold text on gold. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-actionbar .aq-ab-quote { background: var(--aqx-blue) !important; color: #fff !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-actionbar .aq-ab-quote:is(:hover, :focus, :active) { background: var(--aqx-blue-deep) !important; color: #fff !important; }
/* Search form on the search and not-found pages. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .wp-block-search__input { min-height: 48px; padding: 0 16px; border: 1px solid var(--aqx-line-strong); border-radius: var(--aqx-r-control); font: 400 16px/1.4 var(--aqx-text); color: var(--aqx-ink); background: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .wp-block-search__button { min-height: 48px; margin-left: 10px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--aqx-blue); color: #fff; font: 600 15px/1 var(--aqx-text); letter-spacing: 0; text-transform: none; }
/* Article header: the Journal link and share row sat 286px left of the centred title. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-post-head > :is(.aq-post-crumb, .aq-share) { margin-left: auto !important; margin-right: auto !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-post-crumb a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--aqx-blue-deep); }
/* Model page breadcrumb links were 32px tall on a phone. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aqpd-crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }

/* ---------- 18. Galleries and photographs (November 19 audit) ---------- */
/* Homepage photo viewer: the builder's icon font is not loaded there, so the close control was invisible. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).home .dialog-lightbox-close-button { width: 44px; height: 44px; top: 8px; right: 8px; margin: 0; display: flex; align-items: center; justify-content: center; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).home .dialog-lightbox-close-button .eicon-close::before { content: "\00d7"; font: 400 34px/1 system-ui, sans-serif; color: #fff; }
/* Pool gallery: every photo opened the gallery's viewer and the builder's viewer behind it. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-5949 .dialog-lightbox-widget { display: none !important; }
/* Hot tub gallery: only a 42px plus sign in the middle of each photo opened it. The whole tile does now. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .bdt-ep-advanced-image-gallery-item :is(.bdt-ep-advanced-image-gallery-content, .bdt-ep-advanced-image-gallery-content-inner, .bdt-ep-advanced-image-gallery-item-link-wrapper, .bdt-ep-advanced-image-gallery-item-link) { position: static; transform: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .bdt-ep-advanced-image-gallery-item .bdt-overlay { display: flex; align-items: center; justify-content: center; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .bdt-ep-advanced-image-gallery-item .bdt-ep-advanced-image-gallery-item-link::after { content: ""; position: absolute; inset: 0; }
/* Estate project gallery ended with an empty tan cell. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqe .showcase-grid > .project-card:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) {
  /* Shell and cabinet swatches overlapped and ran off the screen. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa-features .finish-grid.finish-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)) !important; justify-items: center; }
}
/* Photo library: search and paging buttons match the page's main button; category labels centred. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aqpm-library-search button, .aqpm-library-pages .wp-element-button) { background: var(--aqx-blue); color: #fff; font-size: 15px; text-transform: none; letter-spacing: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aqpm-library-categories a { box-sizing: border-box; display: inline-flex; align-items: center; gap: .35em; min-height: 44px; }
/* Full-width pages were inset 10px, leaving white strips beside dark sections.
   The pool walls page has no side margin of its own on phones, so it keeps the inset. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor > .e-con.e-parent:has(> .elementor-widget-html:only-child):not(:has(#aqp-pool-walls)) { padding-left: 0; padding-right: 0; --padding-left: 0px; --padding-right: 0px; }
/* The project case study sets its 34px sub-headings in the display face. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aq5-case-details, .aq5-case-close) h3 { font-family: var(--aqx-display) !important; font-weight: 400 !important; }

/* ---------- 19. Header, menus and footer: proportions ---------- */
/* Desktop bar: slightly larger items with more room around each. The bars keep the heights the header has
   before this stylesheet arrives (30px + 70px): the stylesheet is printed at the end of the page, so a taller
   bar pushed the whole page down 10px after it had appeared (a layout shift of 0.13 on the homepage). */
@media (min-width: 981px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-utility { font-size: 12.5px; letter-spacing: .01em; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-utility a { min-height: 30px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-utility .an-container > span { display: inline-flex; align-items: center; min-height: 30px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-bar { min-height: 70px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation nav { gap: clamp(0px, .6vw, 10px); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary { padding: 0 10px; font-size: 15px; letter-spacing: .005em; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary::after { left: 10px; right: 10px; bottom: 14px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-contact { min-height: 46px; padding: 11px 22px; margin-left: 6px; }
  /* Dropdown panels: a white sheet with one clear edge, roomier columns and rows. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-panel { background: #fff; border-block: 1px solid var(--aqx-line); box-shadow: 0 28px 44px -26px #071e3655; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-panel-inner { padding-block: 34px 40px; gap: clamp(20px, 3vw, 52px); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column h2 { margin-bottom: 10px; padding-bottom: 12px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column a { min-height: 36px; padding: 6px 2px; font-weight: 400; color: var(--aqx-body); transition: color .16s var(--aqx-ease); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column a:hover { color: var(--aqx-blue-deep); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-feature { min-height: 200px; padding: 20px; border-radius: var(--aqx-r-card); font: 400 28px/1.08 var(--aqx-display) !important; letter-spacing: -.01em; } /* same older rule */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-feature b { font: 400 18px/1 var(--aqx-text); }
}
@media (min-width: 1280px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary { font-size: 16px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column a { font-size: 15.5px; }
}
/* Phone and tablet menu: one type family, a clear scale (section 18, label 12, link 16). */
@media (max-width: 980px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation[data-ready] nav { padding: 6px clamp(16px, 4vw, 40px) 20px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary { min-height: 56px; padding: 10px 2px; font-size: 18px; letter-spacing: -.005em; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group:is([open], [data-current]) > summary { color: var(--aqx-blue-deep); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-panel { background: var(--aqx-mist); border-radius: 12px; margin-bottom: 14px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation nav :is(.an-panel-inner, .an-panel-inner.an-wide) { padding: 6px 16px 16px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column h2 { font: 600 11.5px/1.3 var(--aqx-text); letter-spacing: .1em; text-transform: uppercase; color: var(--aqx-muted); margin: 0 0 2px; padding: 14px 0 9px; border-bottom-color: #c9dde4; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-column a { min-height: 46px; padding: 6px 0; font-size: 16px; font-weight: 400; color: var(--aqx-ink); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-feature { min-height: 52px; margin-top: 14px; padding: 12px 18px; border-radius: var(--aqx-r-control); background: var(--aqx-navy); font: 600 15px/1.3 var(--aqx-text); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-feature b { font: 400 15px/1 var(--aqx-text); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-mobile-links { display: grid; grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-mobile-links a { justify-content: center; min-height: 48px; padding: 10px 18px; border: 1px solid var(--aqx-line-strong); border-radius: 999px; color: var(--aqx-ink); font-size: 15px; font-weight: 600; text-align: center; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-mobile-links a[href^="tel:"] { background: var(--aqx-navy); border-color: var(--aqx-navy); color: #fff; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-toggle:not([hidden]) { font-weight: 600; border-radius: 999px; color: var(--aqx-ink); }
}
@media (min-width: 480px) and (max-width: 980px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-mobile-links { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 681px) and (max-width: 980px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-toggle:not([hidden]) { padding-inline: 16px; border-color: var(--aqx-line-strong); }
}
@media (min-width: 600px) and (max-width: 980px) {
  /* Tablets: link groups flow into two balanced columns, so no half of the sheet is left empty. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation nav :is(.an-panel-inner, .an-panel-inner.an-wide) { display: block; columns: 2; column-gap: 32px; padding: 6px 20px 18px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation nav .an-column { break-inside: avoid; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation nav .an-feature { column-span: all; }
}

/* Footer: one type scale (name 38, labels 12, text 15), tighter spacing, steadier columns. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-top { padding-block: clamp(34px, 3.6vw, 52px) clamp(26px, 2.8vw, 40px); gap: clamp(24px, 4.4vw, 64px); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-wordmark { font: 400 clamp(32px, 2.9vw, 42px)/1.08 var(--aqx-display) !important; letter-spacing: -.012em; } /* an older site rule with two IDs sets the text face on every footer link */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-identity p { margin-top: 10px; color: #b9cbd8; font-size: 14px; letter-spacing: .01em; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-top h2 { margin-bottom: 12px; color: #9fc3d8; font: 600 12px/1.4 var(--aqx-text); letter-spacing: .1em; text-transform: uppercase; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-contact address { font-size: 15px; line-height: 1.6; color: #e6eef3; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-hours dl div { margin-bottom: 6px; font-size: 15px; color: #e6eef3; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-hours dt { white-space: nowrap; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 :is(.af-contact .af-visit-action, .af-phone) { font-size: 15px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-phone { font-size: 17px; text-decoration: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-links a { min-height: 34px; font: 400 15px/1.4 var(--aqx-text); color: #d2e0e8; transition: color .16s var(--aqx-ease); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-base { padding: 16px 0 22px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-base :is(small, a) { color: #b9cbd8; }
@media (min-width: 601px) {
  /* The link groups are always open at this width, so they read as plain headings. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-columns { padding: 30px 0 34px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-links > summary { min-height: 0; margin-bottom: 10px; color: #9fc3d8; font: 600 12px/1.4 var(--aqx-text); letter-spacing: .1em; text-transform: uppercase; cursor: default; pointer-events: none; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-links > summary::after { content: none; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-top { grid-template-columns: 1fr 1fr; gap: 26px 40px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-identity { grid-column: 1 / -1; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-hours { max-width: 300px; }
}
@media (max-width: 600px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-top { gap: 22px; padding-block: 32px 24px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-links summary { min-height: 54px; font: 600 16px/1.4 var(--aqx-text); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-links ul { padding-bottom: 10px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-links a { min-height: 44px; }
  /* Policy links: three then two, instead of four and one left over. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-base nav { gap: 0 22px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-base nav::before { content: ""; flex-basis: 100%; order: 2; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-base nav a { order: 1; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-foot26 .af-base nav a:nth-child(n+4) { order: 3; }
}

/* ---------- 20. Repairs from the full-site audit (spas, pools, legal) ---------- */
/* Request buttons. On several pages an older page rule filled the button with a colour
   variable that is not defined where the form sits, leaving white text on nothing. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) .aq-form .aq-submit {
  background: var(--aqx-blue) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px #006faf1f !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) .aq-form .aq-submit:hover { background: var(--aqx-blue-deep) !important; }
/* Main buttons that were white text on the light accent blue (2.4:1 to 2.9:1) take the standard fill. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
  .btn.primary, .btn.btn-primary, .aqbd-btn.aqbd-btnPrimary, .aql-btn:not(.aql-btn--outline), .aqs-btn:not(.aqs-btn--outline),
  .aqp-btn:not(.aqp-btn--outline, .aqp-btn-outline), .mini-btn, .aqp-site-page a.button:not(.alt), .aqp-turf-page a.button:not(.alt),
  #aqCopyConfig, #aqEmailConfig, .st-p, .st-primary, .st-start, .aq-sticky-primary, .pband-stickyPrimary, #aqPremiumSelections .mobile-summary a
) {
  background: var(--aqx-blue) !important;
  border-color: var(--aqx-blue) !important;
  color: #fff !important;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
  .btn.primary, .btn.btn-primary, .aqbd-btn.aqbd-btnPrimary, .aql-btn:not(.aql-btn--outline), .aqs-btn:not(.aqs-btn--outline),
  .aqp-btn:not(.aqp-btn--outline, .aqp-btn-outline), .mini-btn, .aqp-site-page a.button:not(.alt), .aqp-turf-page a.button:not(.alt),
  #aqCopyConfig, #aqEmailConfig, .st-p, .st-primary, .st-start, .aq-sticky-primary, .pband-stickyPrimary, #aqPremiumSelections .mobile-summary a
):hover { background: var(--aqx-blue-deep) !important; border-color: var(--aqx-blue-deep) !important; }
/* A wrapped label must not turn a pill into an oval. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aql-btn, .aqs-btn, .aqk-btn, .aqp-btn, .aqbd-btn, .mini-btn) { white-space: nowrap; }
/* Floating phone bars: the small label was pale grey on white. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.sticky__lbl, .sticky-label, .aq-sticky-label, .pband-stickyK, .sticky .st-label) { color: var(--aqx-muted); }
/* Catalogue: "Discuss this option" was dark blue text on a near-black button. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-catalog-discuss { background: var(--aqx-blue) !important; border-color: var(--aqx-blue) !important; color: #fff !important; border-radius: 999px; font: 600 15px/1.3 var(--aqx-text); letter-spacing: 0; text-transform: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-catalog-discuss:hover { background: var(--aqx-blue-deep) !important; border-color: var(--aqx-blue-deep) !important; }
/* Article closing band: the outline button kept dark text on the dark band. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .aq-post-cta .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff !important; border-color: #ffffff99 !important; background: transparent !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .aq-post-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #ffffff1f !important; border-color: #fff !important; }

/* Hot tub shortlist bar: its white text had lost its dark surface. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .aqpc-compare-bar { background: var(--aqx-navy); color: #fff; }
/* Fact strips under a hero were a sideways-scrolling row with a hidden scrollbar, so the
   last facts were cut off. Every fact is now shown: rows of three or four, two on a phone. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(.cred-row, .cred__row, .aq-cred-row) { display: flex; flex-wrap: wrap; overflow: hidden; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(.cred-row, .cred__row, .aq-cred-row) > * { box-sizing: border-box; flex: 1 1 25%; min-width: 0; margin-top: -1px; padding: 18px 22px; border-top: 1px solid #7b8e9c33; }
@media (min-width: 721px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(.cred-row, .cred__row, .aq-cred-row):has(> :nth-child(5)):not(:has(> :nth-child(7))) > * { flex-basis: 33.333%; }
}
@media (max-width: 720px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(.cred-row, .cred__row, .aq-cred-row) > * { flex-basis: 50%; padding: 14px 12px; }
}
/* A bare theme page title ("Sauna") was printed above two full-page designs. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).ast-page-builder-template .entry-header.ast-header-without-markup { display: none; }
/* Model pages: series card names had grown to section-heading size. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .elementor-location-single .jet-listing-grid__item .elementor-widget-heading h2.elementor-heading-title { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
/* Model pages: empty boxes left where photographs were removed from the template. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-location-single :is(.elementor-element-3f2e2a5, .elementor-element-8bccbef):not(:has(img, video, iframe, picture)) { display: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-location-single #aqpd-specs > .e-con-inner > .e-con-full:not(:has(img, video, iframe, p, h2, h3, a)) { display: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-location-single #gform_wrapper_2 { scroll-margin-block-start: 300px; }
/* Hot tub hub: the comparison heading used a different serif from every other heading. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot #aq-hot-models { font-family: var(--aqx-display) !important; font-weight: 400 !important; }

/* Automatic cover and equipment pages: an unscoped ".primary" rule meant for a button also
   matched the theme's content wrapper, which turned mustard whenever the pointer was over the page. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #primary.content-area.primary,
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #primary.content-area.primary:hover { background: transparent !important; transform: none !important; box-shadow: none !important; color: inherit !important; }
/* Pool choices: on phones the section headings were squeezed into a zero-width column. */
@media (max-width: 1040px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqPremiumSelections .head { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 767px) {
  /* Pool shapes: the phone hero had a fixed height, so its first screen began mid-headline. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqDesignGuide section.hero { height: auto !important; min-height: 0 !important; max-height: none !important; }
}
/* Body copy that kept its light-section grey inside dark sections. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-cover :is(.hero, .choices, .cta) .copy,
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-finish :is(.hero, .families, .cta) .copy,
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-equip :is(.hero, .cta) .copy { color: #ffffffcc; }
/* Drainage page: near-black main heading in a hero built for white text. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aqp-site-page > .hero h1 { color: #fff; }
/* Financing: hero label and accent words sat on a bright photograph. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-fin .hero :is(.kk, #aq-fin-h1 em) { color: #fff; }
/* Legal pages: a readable measure and text size, and rows that show they open. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy { max-width: 720px; margin-inline: auto; font-size: 16px; line-height: 1.7; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy :is(p, li, .accordion-section-content) { font-size: 16px; line-height: 1.7; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy h3.tpt-section-heading { font-size: 20px; line-height: 1.3; margin: 2em 0 .6em; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#policy, .elementor-widget-text-editor, .entry-content) :is(p, li) > a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy summary.accordion-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy summary.accordion-summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy details[open] > summary.accordion-summary::after { transform: rotate(-135deg); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #policy summary.accordion-summary h3 { font-size: 16px; line-height: 1.4; margin: 0; }
@media (max-width: 767px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-section:has(#policy) > .elementor-container { padding-inline: 10px; }
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-6605 .elementor-widget-text-editor { max-width: 720px; margin-inline: auto; text-align: left; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-6605 .elementor-widget-text-editor p { font-size: 16px; line-height: 1.7; }
/* Privacy dialog: only the main action is filled. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-dialog .aq-privacy-actions button:not([type=submit]) { background: #fff; color: var(--aqx-navy); border-color: var(--aqx-line-strong); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-privacy-dialog .aq-privacy-actions button:not([type=submit]):hover { background: var(--aqx-mist); border-color: var(--aqx-navy); color: var(--aqx-navy); }
/* Newsletter: the Subscribe button sat 14px lower than the field beside it and neither matched the site's controls. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #subscribe-blog .wp-block-jetpack-subscriptions__form-elements { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #subscribe-blog :is(#subscribe-email, #subscribe-submit) { margin: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #subscribe-blog #subscribe-email { flex: 1 1 240px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #subscribe-blog #subscribe-field { width: 100%; min-height: 52px; border: 1px solid var(--aqx-line-strong) !important; border-radius: var(--aqx-r-control) !important; font: 400 16px/1.4 var(--aqx-text); color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #subscribe-blog #subscribe-submit button { min-height: 52px; margin: 0 !important; padding: 14px 28px !important; border: 0 !important; border-radius: 999px !important; }

/* ---------- 21. Small labels and accents: readable on the surface they sit on ---------- */
/* Found by measuring every text element on all 152 routes against the pixels behind it.
   Pale grey and light accent blue on light surfaces become the muted and deep-blue tokens;
   accents that were too dim on dark sections take the light sky tone. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  .aq-card__number, .aq-cred-label, .aq-disclaimer > .aq-wrap, .aqbd-ledgerLbl, .aqbd-reviewName, .aqp-credit, .aqs-product__credit,
  .compare > .wrap > .note, .cred-label, .cred-lbl, .cred__lbl, .disclaimer, .intro__txt, .kk.dim, .kk.kk--dim, .minihead, .model-series, .nap-label,
  .overview-label, .pband-help, .pband-stepMeta, .proof-lbl, .role-meta, .spec__k, .wrap > div > .fine
) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  #aqp-pool-walls > .aqp-wrap > .aqp-eyebrow, .aq-applications__head > div > .aqp-eyebrow, .aq-benefits > div > .aq-eyebrow, .aq-blog-title > .aq-kicker,
  .aq-card-icon, .aq-collection-head > div > .aq-kicker, .aq-cred-value.gold, .aq-form-card > .aq-kicker, .aq-intro > div > .aq-eyebrow, .aq-mini-label,
  .aq-panel > .aq-kicker, .aq-porcea__copy > .aqp-eyebrow, .aq-process-top > div > .aq-kicker, .aq-products__head > div > .aqp-eyebrow,
  .aq-section > .aq-shell > .aq-kicker, .aq-shell > .aq-eyebrow, .aq-signs__num, .aq-step-no, .aq-step__n, .aq-value__intro > .aq-kicker,
  .aq-vendor-arrow, .aq-vendor-label, .aq-wrap > div > .aq-kicker, .aq-wrap > div > .aqp-eyebrow, .aqbd-cardBody > .aqbd-kicker,
  .aqbd-final > .aqbd-kicker, .aqbd-sec-lg > .aqbd-kicker, .aqbd-stars, .aqk-faq__intro > .aqk-eyebrow, .aqk-gallery__head > div > .aqk-eyebrow,
  .aqk-infra__copy > .aqk-eyebrow, .aqk-inspiration__head > div > .aqk-eyebrow, .aqk-intro__copy > .aqk-eyebrow, .aqk-layouts__head > .aqk-eyebrow,
  .aql-faq__intro > .aql-eyebrow, .aql-head-split > div > .aql-eyebrow, .aql-intro__copy > .aql-eyebrow, .aql-privacy__copy > .aql-eyebrow, .aql-step__n,
  .aql-wrap > div > .aql-eyebrow, .aqp-card-label, .aqp-process-head > .aqp-eyebrow, .aqp-step-num, .aqs-comfort__head > .aqs-eyebrow,
  .aqs-faq__intro > .aqs-eyebrow, .aqs-inspiration__head > div > .aqs-eyebrow, .aqs-intro__copy > .aqs-eyebrow, .aqs-pavilion__copy > .aqs-eyebrow,
  .aqs-products__head > div > .aqs-eyebrow, .bl-category-no, .bl-eyebrow:not(.bl-eyebrow--light), .bp-eyebrow:not(.bp-eyebrow--light), .bp-year,
  .card > .card-kicker, .card > .kicker:not(.light), .care > .wrap > .eyebrow, .closing-box > div > .kicker:not(.light), .color-head > div > .eyebrow, .content-card > .kicker:not(.light),
  .cred-val.gold, .cred-value.gold, .cred__val.cred__val--gold, .d1 > .aq-kicker, .faq > .kicker:not(.light), .head > div > .eyebrow, .intro-copy > .eyebrow,
  .intro-copy > .kicker:not(.light), .intro-grid > div > .eyebrow, .kk:not(.kk--lt, .kk-light, .lt), .matrix-eyebrow, .micro, .overview-value.gold, .partner-number,
  .proc__fear, .process > .wrap > .eyebrow, .process-card > .kicker:not(.light), .product-kicker, .proof-line > .proof-label, .sc-eyebrow:not(.sc-eyebrow--light),
  .section > .wrap > .eyebrow, .section-head > div > .eyebrow, .section-heading > .eyebrow, .split > div > .kicker:not(.light), .split-copy > .kicker:not(.light),
  .step > .step-num, .step-card > .step-num, .support-number, .sys-card__num, .testing-copy > .eyebrow, .use-icon, .water-head > div > .eyebrow, .year
) { color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  .aqk-wrap > .aqk-eyebrow, .aql-wrap > .aql-eyebrow, .aqp-cta > .aqp-wrap > .aqp-eyebrow, .aqp-hero > .aqp-wrap > .aqp-eyebrow,
  .aqp-pr-investment-panel > .aqp-pr-kicker, .form-grid > div > .kicker.light, .hero-grid > div > .eyebrow, .hero-grid > div > .kicker.light,
  .hero-grid > div > .kk.kk-light, .hero__layout > div > .kk.kk--lt, .project-copy > .card-kicker, .season-copy > .kk.kk-light,
  .swim-photo-body > .kk.kk--lt, .wp-block-group > .aq-eyebrow
) { color: var(--aqx-sky-light); }

/* Second pass, scoped by the section that paints the background. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  .aq-card-body > .aq-meta > span, .aq-product dt, .aq-product.aq-product--concept dt, .bp-team-card.bp-team-card--aquarius li, .color span,
  .intro__panel .intro__txt, .matrix th, .spec span, .stats span, .table-wrap td, .water-card span
) { color: var(--aqx-muted); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  #aq-faq .aq-eyebrow, #aq-faq .aq-kicker, #aq-faq-v2 .kicker:not(.light), #aq-materials .aq-kicker, #aq-options .aq-eyebrow, #aq-projects .aq-kicker,
  #bottom-types .kicker:not(.light), #compatibility .kicker:not(.light), #faq-financing .kicker:not(.light), #faq-ownership .kicker:not(.light), #faq-pool-types .kicker:not(.light), #faq-pricing .kicker:not(.light),
  #faq-retail .kicker:not(.light), #faq-seasonal .kicker:not(.light), #featured-guides .aq-kicker, #full-guides .aq-kicker, #ht-common .aq-kicker, #ht-faq .aq-kicker,
  #owner-faq .aq-kicker, #owner-troubleshooting .aq-kicker, #plans .kicker:not(.light), #pool-type .kicker:not(.light), #process .kicker:not(.light), #vendor-support .aq-kicker,
  #vinyl-over-steps .kicker:not(.light), .aq-benefit-grid > .aq-benefit > span, .aq-cream.aq-section .aq-kicker, .aq-light.aq-section .aq-kicker, .aq-product small,
  .aqk-layout small, .aqk-plan .aqk-eyebrow, .aqk-plan .aqk-step__n, .aqs-product small, .bl-path .bl-tag, .bp-section.bp-story em,
  .bp-section.bp-team em, .card.aq-pick .tag, .entry-content.aq-entry .aq-post-cat, .intro .eyebrow, .light.aq-section .aq-kicker,
  .light.aq-section-sm .aq-kicker, .logo-section.section .kicker:not(.light), .pg-header em, .plan .plan-num, .plan .plan-tier, .process-card span, .related small,
  .sc-section.sc-intro em, .support-card .tag, .wrap.options .eyebrow
) { color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  #top .kicker.light, .aq-card-img .aq-badge, .aq-quick-img .aq-badge, .aq-stone-card small, .aql-finish-card small, .aqs-type small, .hero .eyebrow,
  .p-card .p-card__badge, .product-img .product-badge, .swim-photo-card .kk.kk--lt
) { color: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  #aq-fiberglass-colors .aq-color-note, #aqf26 .hero__proof-item, #process .step__text, .aq-section.aq-section-navy li, .aq-side small,
  .aq-side-card small, .cta .fine, .cta-panel .small-note, .hero .hero__proof-item, .intro__chip .intro__chip-txt,
  .pband-card.pband-cardAccent .pband-meterLabel, .pband-hero .pband-summaryK, .principles .darkCard__text, .series .series-note, .side-card .side-note,
  .story__chip .story__chip-txt, .trust-card > span, .why__chip .why__chip-txt
) { color: #ffffffbd; }
/* A light section inside a page whose accents were set for dark ones, and the reverse. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) #stone-options.aq-dark .aqp-eyebrow { color: var(--aqx-sky-light); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) .aqbd-process .aqbd-stepNo { color: var(--aqx-navy); }

/* ---------- 22. Forms: one treatment for the shared inquiry form (93 routes) ---------- */
/* ":not(#aqx)" excludes nothing. It lifts these rules above page rules written with an ID
   (#aq-pool26 .aq-form label) or a long builder chain, so !important is kept for the few
   properties a page forces with !important itself. */

/* Rhythm. Label to field was 6px on 88 routes and 14px on 4; rows 15 to 20px. Sizes were in rem,
   which shrank step and help text to 10-11px on phones. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form { font-size: 16px; line-height: 1.5; color: var(--aqx-ink); text-align: left; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fields:not(.is-stepped), .aq-fstep) { gap: 20px 16px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field { gap: 8px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-field > label, .aq-field > legend, .aq-pool-request-options span) { margin: 0; padding: 0; font: 600 14px/1.4 var(--aqx-text); color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field > legend { margin-bottom: 8px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-req { color: var(--aqx-danger); font-weight: 400; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-help, .aq-form-note, .aq-error) { margin: 0; font: 400 13.5px/1.55 var(--aqx-text); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-note { margin: 24px 0 16px; max-width: 68ch; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-note a { color: var(--aqx-blue-deep); text-decoration: underline; text-underline-offset: 2px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-section { margin: 4px 0 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; color: var(--aqx-ink); }

/* Fields. Three recipes were in use; on 12 routes text boxes were grey with 14px text beside white 16px selects. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field :is(input, select, textarea):not([type=checkbox], [type=radio], [type=file]) {
  box-sizing: border-box; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px;
  border: 1px solid var(--aqx-line-strong); background-color: #fff; color: var(--aqx-ink);
  font: 400 16px/1.4 var(--aqx-text); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field textarea:not([type=file], [hidden]) { min-height: 128px; line-height: 1.5; resize: vertical; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field :is(input, select, textarea):not([type=checkbox], [type=radio], [type=file]):hover { border-color: var(--aqx-blue-deep); }
/* One ring on focus instead of a ring plus the site outline. The transparent outline keeps a focus mark in forced-colour modes. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field :is(input, select, textarea):not([type=checkbox], [type=radio], [type=file]):focus { border-color: var(--aqx-blue); box-shadow: 0 0 0 3px #006faf40; outline: 2px solid transparent; outline-offset: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field :is(input, select, textarea):not([type=checkbox], [type=radio], [type=file]):is(.has-error *, [aria-invalid=true], :user-invalid) { border-color: var(--aqx-danger); background-color: var(--aqx-danger-bg); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field :is(input, select, textarea):is(.has-error *, [aria-invalid=true], :user-invalid):focus { box-shadow: 0 0 0 3px #b4231833; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-error { color: var(--aqx-danger); font-weight: 500; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-errors { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #f0c4bf; border-left: 4px solid var(--aqx-danger); border-radius: var(--aqx-r-control); background: var(--aqx-danger-bg); color: #7a1a12; font-size: 15px; }
/* File picker */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field > input[type=file] { box-sizing: border-box; width: 100%; padding: 12px; border: 1px dashed var(--aqx-line-strong); border-radius: var(--aqx-r-control); background: var(--aqx-mist); color: var(--aqx-muted); font-size: 14px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-field > input[type=file]:disabled { opacity: .65; cursor: not-allowed; }

/* Select arrow: a drawn chevron in place of the browser's, on the form and the two tools beside it. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) :is(.aq-form .aq-field, .aqpc-model-filters, #pool-cost-estimator .pband-label) select:not([multiple], [size]) {
  -webkit-appearance: none; appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--aqx-muted) 50%), linear-gradient(135deg, var(--aqx-muted) 50%, transparent 50%);
  background-position: right 19px top 50%, right 13px top 50%; background-size: 6px 6px; background-repeat: no-repeat;
}

/* Choice chips, price rows and the consent box */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice-list { gap: 8px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice { box-sizing: border-box; min-height: 44px; margin: 0; padding: 9px 16px 9px 12px; gap: 10px; border: 1px solid var(--aqx-line-strong); background: #fff; color: var(--aqx-ink); font: 500 15px/1.35 var(--aqx-text); transition: border-color .15s, background-color .15s, box-shadow .15s; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice:hover { border-color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice:has(input:checked) { border-color: var(--aqx-blue); background: var(--aqx-mist); box-shadow: inset 0 0 0 1px var(--aqx-blue); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .has-error .aq-choice { border-color: var(--aqx-danger); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--aqx-blue); }
/* Keyboard focus is drawn once, around the whole chip. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice:has(input:focus-visible) { outline: 3px solid #1a8fd0; outline-offset: 2px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-choice:has(input:focus-visible) input { outline: 0; box-shadow: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-consent .aq-choice { padding: 14px 16px; font-weight: 400; line-height: 1.5; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-consent .aq-choice input { margin-top: 2px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-price { color: var(--aqx-muted); font-size: 14px; font-weight: 400; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-total { margin: 24px 0 0; padding: 14px 16px; border-radius: var(--aqx-r-control); background: var(--aqx-mist); font-size: 15px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-total output { font-size: 18px; }

/* Step indicator */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fprogress { margin: 0 0 24px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fprogress-top { margin: 0 0 10px; align-items: baseline; font-size: 13px; line-height: 1.4; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fprogress-bar { height: 4px; border-radius: 4px; background: var(--aqx-line); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fprogress-topics { margin: 16px 0 0; padding: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fprogress-topics > li { margin: 0; gap: 8px; font-size: 13px; line-height: 1.3; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fprogress-number { font-size: 13px; line-height: 1; }

/* Continue, Back and Send. Back looked like a second primary button; six routes forced an empty or gold
   fill, a glow and their own padding on Send with !important, so those four properties answer in kind. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-nav { margin-top: 24px; gap: 12px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fstep-nav button, .aq-submit) { box-sizing: border-box; min-height: 50px; margin: 0; padding: 12px 28px; border: 1px solid var(--aqx-blue); background: var(--aqx-blue); color: #fff; box-shadow: none; cursor: pointer; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fstep-next, .aq-submit):hover { border-color: var(--aqx-blue-deep); background: var(--aqx-blue-deep); transform: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-back { border-color: var(--aqx-line-strong); background: #fff; color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-back:hover { border-color: var(--aqx-ink); background: var(--aqx-mist); color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-submit { min-width: 220px; min-height: 52px; padding: 14px 32px !important; background: var(--aqx-blue) !important; color: #fff !important; box-shadow: none !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-submit:hover { background: var(--aqx-blue-deep) !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-submit[disabled] { opacity: .6; cursor: progress; }
@media (min-width: 641px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form:not(.aq-project-form) .aq-submit { width: auto; }
}
@media (max-width: 640px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-nav button { flex: 1 1 0; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-submit { width: 100%; }
}

/* Optional details: read as a disclosure, not as another field. The browser's triangle gives way to a chevron. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional { margin: 24px 0 0; padding: 0 16px; border: 1px solid var(--aqx-line); border-radius: var(--aqx-r-control); background: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0; list-style: none; font: 600 15px/1.4 var(--aqx-text); color: var(--aqx-ink); cursor: pointer; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional > summary::-webkit-details-marker { display: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border: solid var(--aqx-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional[open] { padding-bottom: 20px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional > .aq-help { margin: 0 0 16px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-form-optional > .aq-fields { padding-bottom: 0; }

/* Notes, the review step and the pool request's extra questions */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-context-card, .aq-request-review, .aq-pool-request-preferences) { border: 1px solid var(--aqx-line); border-radius: var(--aqx-r-control); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-context-card, .aq-request-review) { background: var(--aqx-mist); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-context-card { margin: 0 0 24px; padding: 14px 16px; font-size: 15px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-request-review > h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-request-review-card { border-color: var(--aqx-line); border-radius: var(--aqx-r-control); }
/* "Edit ..." and "Remove ..." were filled pills with underlined text and no padding. They are text buttons. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-context-card, .aq-request-review-card, .aq-draft-note) button { min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--aqx-blue-deep); box-shadow: none; font: 600 14px/1.3 var(--aqx-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* The page-builder kit's button rule outranked Back and the step buttons, so these answer in kind. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-nav button { font-size: 15px !important; border-radius: 999px !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-nav .aq-fstep-back { border: 1px solid var(--aqx-line-strong) !important; background: #fff !important; color: var(--aqx-ink) !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-fstep-nav .aq-fstep-back:hover { border-color: var(--aqx-ink) !important; background: var(--aqx-mist) !important; }

/* Where the form sits */
/* 43 routes print the form alone in a full-width block: 1,420px-wide fields, 10px from the section above
   and from the footer. It becomes a centred card on a tinted band, like the forms that have a section. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .e-con:has(> .elementor-widget-bdt-gravity-form:only-child, > .e-con-inner > .elementor-widget-bdt-gravity-form:only-child) { --padding-top: clamp(40px, 6vw, 80px); --padding-bottom: clamp(40px, 6vw, 80px); background-color: var(--aqx-mist); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-widget-bdt-gravity-form:only-child .aq-published-form { box-sizing: border-box; max-width: 760px; margin-inline: auto; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--aqx-line); border-radius: var(--aqx-r-card); background: #fff; box-shadow: var(--aqx-shadow); }
/* Two routes set the form on a navy panel, where its labels and step text measured 1.1:1 to 1.3:1. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-maint-v2 .form-embed, #aq-reno-page .aq-inline-request) { padding: clamp(16px, 3vw, 32px); background: #fff; color: var(--aqx-ink); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-reno-page .aq-inline-request { border-radius: 20px; }
/* The contact card had 2px corners around 10px fields. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aqc-page .aqc-form-card { border-radius: var(--aqx-r-card); border-color: var(--aqx-line); }
/* Model request forms: Model takes the full row so City, ZIP and "How did you hear" share the next one. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-form .aq-field:has(> #aqf-hot_tub-model) { grid-column: 1 / -1; }

/* Other controls */
/* Newsletter: the button sat 14px lower than the email box on wide screens. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-community .wp-block-jetpack-subscriptions__form-elements { align-items: flex-end; }
/* Catalogue filters and estimator: the same field text as the form. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) :is(.aqpc-model-filters, #pool-cost-estimator .pband-label) select { border-color: var(--aqx-line-strong); border-radius: var(--aqx-r-control); color: var(--aqx-ink); font: 400 16px/1.4 var(--aqx-text); }

/* ---------- 23. Repairs from the full-site audit (forms, visual quality, service, articles) ---------- */
/* Homepage on phones: the three pool-type cards showed only their photographs; the names,
   descriptions and links were pushed off the right edge. */
@media (max-width: 760px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #pools .aq-compare article.aq-type { flex-direction: column; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #pools .aq-compare .aq-type-content { padding: 16px 18px 18px; }
}
/* Why choose us: the three checklist answers were squeezed into the 26px icon column. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqwhy .check-list li:has(> strong) { display: block; position: relative; padding-left: 36px; min-height: 26px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqwhy .check-list li:has(> strong)::before { position: absolute; left: 0; top: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqwhy .check-list li > strong { display: block; }
/* Cost estimator below desktop width: the choices come first and the result follows them. */
@media (max-width: 1080px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #pool-cost-estimator .pband-cardAccent { order: 0; }
}
@media (max-width: 760px) {
  /* While someone is typing in a form, floating bars step aside instead of covering the fields. */
  body:not(.page-template-elementor_canvas, .elementor-template-canvas):has(.aq-form:focus-within) :is([id$="-sticky"], [id$="_sticky"], [id$="Sticky"], #aqp-config-v9 .bottomBar, .mobile-summary, .aq-actionbar, #aq13 .aq-mobile-actions, .aq-copy-mobile-actions) { visibility: hidden !important; }
  /* A first visit: the privacy notice is the only floating element until it is answered. */
  body:not(.page-template-elementor_canvas, .elementor-template-canvas):has(.aq-privacy-notice:not([hidden])) :is([id$="-sticky"], [id$="_sticky"], [id$="Sticky"], .mobile-summary) { visibility: hidden; }
}
/* Pages' own quick-action bars (20 pages) wait at opacity 0 until their script adds ".on" (".is-visible" on /service/
   and /for-owners/). While waiting they still took taps: on /financing/ a tap on the hero's "Request a Quote" opened
   the lender's site. A bar that is not showing now takes none. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.sticky, .aq-sticky)[id$="-sticky"]:not(.on, .is-visible) { visibility: hidden; pointer-events: none; }
/* The homepage's phone bar with three links (pools, hot tubs, call; publishing handoff section 8) keeps one row. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .aq-mobile-actions:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .aq-mobile-actions:has(> :nth-child(3)) .aq-btn { padding-inline: 8px; white-space: nowrap; }
@media (max-width: 781px) {
  /* Article and listing pages: the floating bar sat on top of the footer's "Privacy choices" button. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):has(.aq-actionbar) .aq-privacy-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
}
/* Floating phone bars: both buttons the same size. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #page :is(.st-p, .st-s, .st-primary, .st-light, .st-start, .st-call, .aq-sticky-primary, .aq-sticky-light, .pband-stickyPrimary, .pband-stickySecondary) { font-size: 13.5px !important; }

/* Hot tub hub: labels and descriptions fell back to Arial; one typeface for the page. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot { font-family: var(--aqx-text); }
@media (min-width: 1025px) {
  /* "A simple path from browsing to soaking" was half empty: heading top right, steps lower left. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .proc__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .proc__copy { grid-column: 1; grid-row: 1; padding-bottom: 0; position: sticky; top: 132px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .proc__steps { grid-column: 2; grid-row: 1; }
}
/* Swim spa fit guide: the questions open and close but nothing showed it. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #swim-fit-guide details > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #swim-fit-guide details > summary::after { content: "+"; flex: none; font: 400 24px/1 var(--aqx-text); color: var(--aqx-blue); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #swim-fit-guide details[open] > summary::after { content: "\2013"; }

/* Contact page: three headings used a different serif, and the cards had 2px corners. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main#content.aqc-page :is(#showroom-hours #aqc-visit-title, .aqc-form-card #aqc-request-title, .aqc-section-top #aqc-paths-title) { font-family: var(--aqx-display) !important; letter-spacing: -.02em !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main#content.aqc-page :is(address, .aqc-hours :is(th, td)) { font-family: var(--aqx-text); }

/* Page-builder pages: a white strip sat between the header and the dark hero, and one page
   opened with an empty block that showed a 20px slice of photograph. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor > .e-con.e-parent:has(> .elementor-widget-html:only-child):not(:has(#aqp-pool-walls)) { padding-top: 0; padding-bottom: 0; --padding-top: 0px; --padding-bottom: 0px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor > .e-con.e-parent:not(:has(> *)) { display: none; }
/* Landscape and lighting page: an old footer template printed above the site footer. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).page-id-11640 footer.elementor-location-footer { display: none; }
/* FAQ page: every section label touched the top edge of its band. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-faq-v2 .faq-section + .faq-section { padding-top: clamp(56px, 6vw, 88px); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-faq-v2 .faq-section { padding-bottom: clamp(56px, 6vw, 88px); }
/* Equipment page: lead paragraphs kept the light-section grey on dark sections. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-equip :is(.hero, .catalog, .cta) .copy { color: #ffffffd6; }

/* Articles: three related cards on one row, the closing button matches the others, and the
   second, default share-and-like block under the article is not shown (the article already
   has share links under its title). */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas).is-block-theme main .wp-block-buttons .wp-block-button > .wp-block-button__link { border-radius: 999px !important; }
@media (min-width: 1100px) {
  /* The row is wider than the 720px text column so three cards fit properly. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-post-related { position: relative; left: 50%; width: 1040px; max-width: none !important; transform: translateX(-50%); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-post-related .aq-post-grid.aq-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main .sharedaddy { display: none; }
/* Catalogue and project request: gold labels and square black buttons join the system. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aq-catalog-category, .aq-catalog-hero [class*="kicker"]) { color: var(--aqx-blue-deep); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(.aq-catalog-filters button, .aq-catalog-pagination a, .aq-catalog-next a) { border-radius: 999px; font-family: var(--aqx-text); font-weight: 600; letter-spacing: 0; text-transform: none; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-catalog-filters button { background: var(--aqx-blue); border-color: var(--aqx-blue); color: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aq-catalog-filters button:hover { background: var(--aqx-blue-deep); border-color: var(--aqx-blue-deep); }

/* Small controls that kept their own shapes, and hover feedback where there was none. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main :is(a.aqrc-entry-main, #aq-owned-manual, #aq-owned-service, a.aq-vendor-link, .wp-block-query-pagination a, .wp-block-query-pagination .page-numbers) { border-radius: 999px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary { transition: color .18s var(--aqx-ease); }
@media (min-width: 981px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aquarius-navigation .an-group > summary:hover { color: var(--aqx-blue-deep); }
}
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq13 .aq-brand-band a, #aq-hot .aq-compare-toggle, main a.aqrc-entry-main):hover { background-color: var(--aqx-mist); border-color: var(--aqx-blue); }
/* Long notes and introductions ran up to 195 characters a line. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) main :is(.pq-fit-note, .care-small-note, #aq-fin .note, .pq-area p, .section-head p.bd) { max-width: 72ch; }

/* ---------- 24. Running text: a 15px floor ---------- */
/* About half of all paragraphs and list items on the older page designs were 13 to 13.5px
   (some under 12px on phones). These classes and card contexts measured under 14.5px on
   every route where they appear; notes, credits and labels are left alone. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  .aq-body-sm, .aq-body-small, .aq-callout, .aq-desc, .aq-list-copy, .aqbd-a, .aqbd-quote, .aqbd-stepDesc, .aqbd-text-sm, .body-sm, .bullet, .card__text,
  .compare-cell, .dark-card__text, .darkCard__text, .eq-card__desc, .expect__step-text, .faq-answer, .faq__a, .feature-card__text, .feature-item,
  .feature__text, .intro__pt-text, .intro__txt, .micro__text, .p-card__text, .path-card__text, .phase__text, .proc__step-text, .retail-text,
  .route-card__text, .serviceCard__desc, .step__text, .story__pt-text, .sys-card__desc, .text-sm, .text-small, .why__pt-text
) { font-size: 15px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#page, #content, #wp--skip-link--target, main) :is(
  .apsPayListL > li, .aq-application > p, .aq-benefit > p, .aq-card > p, .aq-card-body > p, .aq-faq > p, .aq-issue-body > p, .aq-mini-card > p,
  .aq-process-card > p, .aq-product-info > p, .aq-product__body > p, .aq-quick-body > p, .aq-vendor-card > p, .aqk-feature > p, .aqk-layout > p,
  .aql-light-card > p, .aqp-pr-step > p, .aqp-step > p, .aqs-comfort-card > p, .aqs-product__body > p, .bl-category > p, .bl-infra-list > li,
  .bp-step > p, .card-body > p, .category > p, .check-list > li, .choice > p, .choice-body > p, .color-body > p, .dark-card > p, .dark-copy > p,
  .detail > p, .family > p, .feature-body > p, .feature-card > p, .feature-copy > p, .guide-card > p, .image-tile-content > p, .list > li, .mini > li,
  .mini > p, .model-body > p, .navy-card > p, .panel > p, .process-card > p, .product-body > p, .product-card > p, .profile-body > p, .project-copy > p,
  .route-body > p, .sc-category > p, .sc-product__body > p, .series-copy > p, .service-card > p, .step > p, .step-card > p, .support-card > p,
  .time-row > p, .trust-card > p, .why-card > p
) { font-size: 15px; }

/* ---------- 25. Homepage opening ---------- */
/* The hero photograph fills the first screen under the header, so the page opens on the
   picture and the sky has room. It was two thirds of the screen. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #home.aqh-hero { min-height: clamp(540px, calc(100svh - 101px), 920px); }
@media (max-width: 980px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #home.aqh-hero { min-height: clamp(480px, calc(100svh - 64px), 820px); }
}
/* The story line beneath the hero heading (graphics/home-story.html: its first line is in the page; the page
   script adds the evening's other two lines in the same place). The same rules are in site/homepage-hero-early.css,
   printed before the hero so that its place is kept from the first paint; these keep its look if that is lost.
   Below 441px the longest of the three lines needs two lines, so two are reserved. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #home p.aq-home-story { margin: 14px 0 0; padding: 0; font: italic 400 clamp(28px, 2.6vw, 40px)/1.12 var(--aqx-display) !important; letter-spacing: -.012em; color: #fffdf7 !important; text-shadow: 0 1px 3px rgba(7, 20, 30, .35), 0 2px 20px rgba(7, 20, 30, .55); text-wrap: balance; }
@media (max-width: 440px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #home p.aq-home-story { min-height: 2.24em; }
}

/* ---------- 26. Hot tub and swim spa catalogues: every model seen at once ---------- */
/* The page script (graphics/dist/model-photos.js) adds each model's product photograph to
   its card. These rules lay the cards out around the picture and fit more models on a screen. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aqx-model-photo { display: block; aspect-ratio: 4 / 3; margin: 0; padding: 14px 18px 0; background: #fff; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .aqx-model-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; transition: transform .3s var(--aqx-ease); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .model-card:hover .aqx-model-photo img { transform: scale(1.03); }
/* Hot tubs: a tighter heading and filter block, so the first row of models starts sooner. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot #shop-hot-tubs { padding-top: clamp(32px, 4vw, 52px); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot #shop-hot-tubs .models__head { margin-bottom: 8px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot #shop-hot-tubs #aq-hot-models { font-size: clamp(34px, 3.4vw, 46px) !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot #shop-hot-tubs .aqpc-model-tools { margin-bottom: 16px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__content { padding: 12px 20px 18px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__name { font-size: 28px; margin-bottom: 8px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__foot :is(.act, .aq-model-price) { width: 100%; min-height: 44px; padding: 8px 10px; font-size: 14px !important; white-space: nowrap; }
@media (min-width: 900px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stats { gap: 6px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stat { padding: 8px 10px; min-width: 0; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stat span { letter-spacing: .04em; }
}
@media (min-width: 1240px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  /* Phones: one row per model with its picture beside the name, about half the height of a stacked card. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: start; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .aqx-model-photo { grid-column: 1; grid-row: 1 / span 4; align-self: center; aspect-ratio: 1 / 1; padding: 8px 0 8px 12px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__content { display: contents; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__content > * { grid-column: 2; margin-left: 12px; margin-right: 14px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stats { margin: 4px 14px 10px 12px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stat { padding: 7px 8px; min-width: 0; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stat span { letter-spacing: .02em; overflow-wrap: anywhere; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__series { margin-top: 14px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__name { font-size: 25px; margin-bottom: 6px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__seat { margin-bottom: 10px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__foot { grid-column: 1 / -1; margin: 0; padding: 4px 12px 12px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .aq-compare-toggle { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo { grid-template-columns: 98px minmax(0, 1fr); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-spa26 #aq-hot .model-card.aqx-has-photo .model-card__stats { grid-template-columns: 1fr; }
}
/* Swim spas: the series line sits under the picture as a label. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aqswim .model-card.aqx-has-photo > p:not([class]) { margin: 6px 24px 0 !important; color: var(--aqx-muted); font: 600 12px/1.4 var(--aqx-text); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 27. Phones: touch targets, field sizes, small labels, form layout ---------- */
/* Measured on all 150 Aquarius routes at 390px (November 20). */

/* Sections that slide in from the side made the page pan sideways until they arrived. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) { overflow-x: clip; }

@media (max-width: 980px) {
  /* A text field under 16px makes an iPhone zoom the whole page when it is tapped. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(select.sel, #aqSelectedSummary, #aqFaqInput, #aqTileSort, #aqpg-share-url, #pb-share-link) { font-size: 16px !important; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aqFaqInput, #aqTileSort) { min-height: 44px; }
}

@media (max-width: 720px) {
  /* Three fact strips scrolled sideways with nothing to show there was more: two by two instead. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-cover .stats, #aq-equip .bar, #aq-finish .trust) > .wrap { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 !important; width: auto !important; min-width: 0 !important; overflow: visible !important; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-cover .stats, #aq-equip .bar, #aq-finish .trust) > .wrap > div { box-sizing: border-box; width: auto !important; min-width: 0 !important; flex: none !important; padding: 14px 12px !important; border: 0 !important; }
}

/* Wide comparison tables keep their sideways scroll, and say so wherever they still scroll (up to about 780px). */
@media (max-width: 780px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-fin .table-wrap, #filter-comparison .table-wrap, #aq-compare .table-wrap, #aq-materials .aq-compare-wrap, #compatibility .matrix)::before { content: "Swipe sideways to see the whole table"; display: block; position: sticky; left: 0; width: max-content; max-width: 100%; margin: 0 0 8px; font: 500 12px/1.4 var(--aqx-text); letter-spacing: 0; text-transform: none; color: var(--aqx-muted); }
}

/* At the narrowest phones the pool cover colour notes break mid-word at 12px with their letter-spacing. */
@media (max-width: 340px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq-cover article.color > p > span { letter-spacing: 0 !important; overflow-wrap: normal; word-break: normal; hyphens: auto; }
}

/* Request forms on phones: first and last name share a row, and so do city, state and ZIP, wherever the form
   is wide enough (the row wraps by itself in a narrow column). Saves roughly 100px of scrolling per pair.
   Selectors use the fields' autofill names, which do not change. */
@media (max-width: 640px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fields:not(.is-stepped), .aq-fstep:not([hidden])) { display: flex; flex-wrap: wrap; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fields:not(.is-stepped), .aq-fstep) > * { box-sizing: border-box; flex: 1 1 100%; min-width: 0; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fields:not(.is-stepped), .aq-fstep) > .aq-field:has(> :is(input[autocomplete="given-name"], input[autocomplete="family-name"], input[autocomplete="address-level2"], input[autocomplete="postal-code"], select[autocomplete="address-level1"])) { flex: 1 1 calc(50% - 8px); min-width: 140px; }
  /* With a state list the row is state and ZIP, and the city keeps a row of its own. */
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form :is(.aq-fields:not(.is-stepped), .aq-fstep):has(select[autocomplete="address-level1"]) > .aq-field:has(> input[autocomplete="address-level2"]) { flex-basis: 100%; }
}
/* "(optional)" beside a label is quieter than the label (forms plugin 1.34.0 and later). */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas):not(#aqx) .aq-form .aq-optional { font-size: 12px; font-weight: 400; white-space: nowrap; color: var(--aqx-muted); }

/* Touch areas of at least 44px for the links and buttons that were smaller. Nothing moves: text links gain
   vertical padding, buttons a minimum height, and the rest an invisible strip centred on them. Links whose own
   ::before or ::after is already in use (a whole-card overlay, a chevron) are left out, and so is the footer address,
   whose strip would reach the "Contact our team" button below it. */
@media (max-width: 980px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    p.aqpd-source > a
  ) { padding-block: 1px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    h3.model-card__name > a
  ) { padding-block: 4px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.aq-catalog-card-body > h3 > a
  ) { padding-block: 6px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.info-text > a
  ) { padding-block: 8px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.aq-contact-card > p > a
  ) { padding-block: 9px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    h2.elementor-heading-title > a,
    h3.wp-block-heading > a,
    h2.wp-block-post-title > a,
    div.aqp-pr-call-box > a
  ) { padding-block: 10px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.contact-value > a,
    div#proof > a,
    section#process.by-shell.by-section > a,
    article#tour-terrace.aq-tour-detail > div > a,
    p.wstore-dealer > a,
    a#aq-source
  ) { padding-block: 12px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    p.aq5-link.wp-block-paragraph > a,
    aside.aq-owned-help > a,
    div.proof-value > a
  ) { padding-block: 13px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    a.aq-evidence-link,
    div.aqp-pr-pool-body > a.aqp-pr-link,
    div.nap-value > a
  ) { padding-block: 14px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.taxonomy-category.aq-post-cat > a,
    div.taxonomy-category.wp-block-post-terms > a,
    article.aq-pillar > a
  ) { padding-block: 15px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    p.aq-share > button.aq-share-btn,
    div.filters > button.filter,
    div.card-body > button.select-card-btn,
    div.aq-chip-row > button.aq-filter,
    div#cats.cats > button.cat,
    div.filter-group > button.filter-btn,
    div.aq-filter-row > button.aq-filter-btn,
    article.bottom-card > button.select-card-btn,
    div.filterbar > button.filterbtn,
    div.aq-filters > button,
    div.tools > button#zoomIn.chipBtn,
    div.tools > button#zoomOut.chipBtn,
    div.tools > button#openControls.chipBtn,
    div.aq-material-tabs > button#aq-standard-tab.aq-material-tab,
    div.aq-material-tabs > button#aq-colored-tab.aq-material-tab,
    div.aq-material-tabs > button#aq-stamped-tab.aq-material-tab,
    div.aq-material-tabs > button#aq-pavers-tab.aq-material-tab,
    div.aq-material-tabs > button#aq-stone-tab.aq-material-tab,
    div.aq-material-tabs > button#aq-borders-tab.aq-material-tab,
    div.config-actions > button#aqCopyConfig,
    div.config-actions > button#aqEmailConfig,
    div.config-actions > button#aqClearConfig,
    aside.aq-filters > button#aqTileReset.aq-reset
  ) { min-height: 44px; min-width: 44px; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.af-identity > a.af-wordmark,
    div.af-base > nav > a,
    div.elementor-button-wrapper > a.elementor-button.elementor-button-link,
    p.aq-share > a.aq-share-btn,
    div.aqpd-buy > a.aqpd-spec-link,
    div.elementor.elementor-location-single > nav > a,
    div.aq-vendor-links > a.aq-vendor-link,
    div.feature__body > a.act,
    div.cta__detail > a,
    div.sv-wide > a,
    div.aq-product-info > a.aq-product-link,
    div.aq-card-body > a.aq-card-link,
    div.wrap.subnav__row > a.chip,
    div.eq-card__body > a.act.act--wh,
    div.conc__foot > a.conc__phone,
    div.product-body > a.category-link,
    details.aq-faq > summary,
    div.serviceCard__body > a.act,
    nav.product-nav > a,
    div.profile-body > a.learn,
    div.aq-shell.aq-jump__inner > a,
    div.feature__body > a.act.act--wh,
    figure.wp-block-post-featured-image > a,
    div.aq-related > a,
    nav.aq-related > a,
    article.series-row > a.series-link,
    article.support-card > a.act,
    div.concierge-foot > a.phone,
    article.aq-mini-card > a.aq-card-link,
    div.color-body > a.color-link,
    div.aq-direction-grid > article > a,
    div.cm-wrap > a,
    div.sectionHead > a.act,
    div.bl-hero-meta > a,
    span.proof-item > a.aq-evidence-link,
    details.aqbp-spa-options.aq-w-full > summary,
    a.bp-contact-value,
    div.head > a.act,
    div.faq__items > details > summary,
    div.aq-split__copy > a.aq-text-link,
    article.aq-direction--featured > a,
    nav.pstudio-menu > a.pstudio-menu-link,
    a.act,
    ul.check-list > li > a
  ) { position: relative; }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.af-identity > a.af-wordmark,
    div.af-base > nav > a,
    div.elementor-button-wrapper > a.elementor-button.elementor-button-link,
    p.aq-share > a.aq-share-btn,
    div.aqpd-buy > a.aqpd-spec-link,
    div.elementor.elementor-location-single > nav > a,
    div.aq-vendor-links > a.aq-vendor-link,
    div.feature__body > a.act,
    div.cta__detail > a,
    div.sv-wide > a,
    div.aq-product-info > a.aq-product-link,
    div.aq-card-body > a.aq-card-link,
    div.wrap.subnav__row > a.chip,
    div.eq-card__body > a.act.act--wh,
    div.conc__foot > a.conc__phone,
    div.product-body > a.category-link,
    details.aq-faq > summary,
    div.serviceCard__body > a.act,
    nav.product-nav > a,
    div.profile-body > a.learn,
    div.aq-shell.aq-jump__inner > a,
    div.feature__body > a.act.act--wh,
    figure.wp-block-post-featured-image > a,
    div.aq-related > a,
    nav.aq-related > a,
    article.series-row > a.series-link,
    article.support-card > a.act,
    div.concierge-foot > a.phone,
    article.aq-mini-card > a.aq-card-link,
    div.color-body > a.color-link,
    div.aq-direction-grid > article > a,
    div.cm-wrap > a,
    div.sectionHead > a.act,
    div.bl-hero-meta > a,
    span.proof-item > a.aq-evidence-link,
    details.aqbp-spa-options.aq-w-full > summary,
    a.bp-contact-value,
    div.head > a.act,
    div.faq__items > details > summary,
    div.aq-split__copy > a.aq-text-link,
    article.aq-direction--featured > a,
    nav.pstudio-menu > a.pstudio-menu-link,
    a.act,
    ul.check-list > li > a
  )::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
}

/* No text under 12px on a phone: 180 kinds of label, tag and caption were between 8 and 11.5px. */
@media (max-width: 720px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(
    div.aqpd-intro > p.aqpd-eyebrow,
    div.wrap > p.fine,
    a.path-card > span.act.act--wh,
    a.path > span > small,
    div.concierge-foot > div.hours,
    div.intro-chip > span,
    div.hero-grid > div > p.eyebrow,
    div.intro-grid > div > p.eyebrow,
    div.cm-social > div > p.cm-kicker,
    div.aq-shell.aq-jump__inner > a,
    div.wrap.hero-copy > p.eyebrow,
    div.wrap.two-col > div > p.eyebrow,
    div.hero-content > p.eyebrow,
    div.section-head > div > p.eyebrow,
    div.cm-hero-copy > p.cm-kicker,
    figure.cm-hero-photo > figcaption,
    div.hero-grid > div > div.eyebrow,
    div.fact > span,
    div.intro-copy > div.eyebrow,
    div.section-heading > div.eyebrow,
    div.contact-grid > div > div.eyebrow,
    div.spec > span,
    ul.aq-proof > li > span,
    div.aq-shell.aq-jump__inner > a > span,
    div.metric > span,
    article.aql-finish-card > div > small,
    article.aql-finish-card > div > em,
    figure.aql-photo > figcaption,
    div.sectionHead > a.act,
    div.serviceCard__body > a.act,
    figure.aqk-photo > figcaption,
    article.aqk-layout > small,
    figure.aqk-wide-photo > figcaption,
    div.aqp-wrap > a.aqp-btn-outline,
    article.aqs-type > div > small,
    div.aqs-product__body > small,
    div.aqs-tags > span,
    figure.aqs-photo > figcaption,
    div.wrap.options > div > p.eyebrow,
    div.aq-proof > span,
    div.aq-tags > span,
    button.aq-swatch-btn > span > small,
    div.aq-studio__label > span,
    article.aq-benefit > span,
    div.color-head > div > p.eyebrow,
    article.color > p > span,
    article.detail > span.num,
    div.hero-facts > div > span,
    article.step > span.num,
    article.step > ul > li,
    div.product-body > ul > li,
    a.category > span,
    div.test-card > span,
    div.testing-copy > p.eyebrow,
    div.safety-box > div > p.eyebrow,
    div.safety-box > ul > li,
    section#brand-directory.cm-section.cm-wrap > p.cm-kicker,
    article.cm-brand-card > small,
    div.visit-intro > p.visit-label,
    div.aqc-call > p.aqc-kicker,
    div.related > a > small,
    div.hero-content > div.eyebrow,
    div.btn-row > a.btn-secondary,
    div.shell.position-grid > div > p,
    article.project-card.tall > div.badge,
    article.project-card > div.badge,
    article.project-card.focus-left > div.badge,
    article.project-card.focus-high > div.badge,
    article.service > div > p,
    div.cta-copy > p,
    div.shell.footer-grid > div.center,
    div.right > a,
    span.aq-path-text > small,
    div#home-route-shop.ed-hero-type > p.ed-location,
    div.aq-head-row > div > p.aq-eyebrow,
    div.aq-process-next > div > p.aq-eyebrow,
    div.aq-wrap.aq-faq-layout > div > p.aq-eyebrow,
    div.cm-wrap > p.cm-kicker,
    div.role-head > a.mini-btn,
    div.why-panel > div.eyebrow,
    div.proof > span,
    a.aq-path > span > small,
    div.aq-meta > span,
    article.aq-pillar > a,
    div.cm-newsletter-copy > p.cm-kicker,
    article.aq-stone-card > div > small,
    div.aq-product-group__title > span,
    div.aq-product__body > small,
    div.phase__chips > span.tag,
    div.om-intro-copy > p.cm-kicker,
    article.om-card > p.cm-kicker,
    figure.care-lead-media > figcaption,
    div.standards-panel > div.eyebrow,
    nav.product-nav > a,
    ul.features > li,
    a.mini > span,
    div.head > div > p.eyebrow,
    div.overview-item > span.overview-value.gold,
    div.overview-item > span.overview-value,
    button.card.aq-pick > span.tag,
    button.swatch.aq-pick > strong,
    div.links > a,
    div.trust > div > span,
    div.intro-copy > p.eyebrow,
    div.benefit > span,
    div.profile-body > span.series,
    div.color-names > span,
    div.gallery-item > span,
    div.notice > ul > li,
    div.aq-hero__proof > div > span,
    figure.aq-project > figcaption > span,
    div.aq-renovation-image__card > span,
    div.aq-related > a,
    div.eq-card__body > a.act.act--wh,
    span.aqpg-feature-cap > span > small,
    div.wrap.subnav__row > a.chip,
    div.tags > span.tag,
    div.p-card__body > span.act,
    div.aq-manufacturer-note > span,
    div.aq-pattern-tools > p.aq-result-count,
    div.aq-pattern-card__image > span,
    div.aq-pattern-card__body > div > p,
    div.aq-why__grid > article > span,
    div.aq-final__actions > span,
    div.aq-mobile-cta > a,
    div.water-head > div > p.eyebrow,
    div.water-card > p > span,
    div.stat-chip > span,
    aside.quick-card > p,
    button.config-option > small,
    div.config-result > span,
    div.config-result > strong,
    div.tag-row > span.tag,
    div.bottom-meta > span,
    div.bottom-meta > span > strong,
    article.bottom-card > button.select-card-btn,
    div.card-body > div.eyebrow,
    div.mini-tags > span,
    div.card-body > button.select-card-btn,
    div.cta-actions > p.fine,
    div.aq-wrap.aq-hero-grid > div > div.aq-eyebrow,
    div.aq-hero-note > strong,
    div.aq-facts > span.aq-fact,
    div.aq-chip-row > button.aq-filter,
    div.aq-wrap.aq-uses-grid > div > div.aq-eyebrow,
    div.aq-disclaimer > div.aq-wrap,
    div.aq-direction-grid > article > span,
    div.aq-direction-grid > article > a,
    article.aq-direction--featured > span,
    article.aq-direction--featured > a,
    div.aq-value__grid > article > strong,
    div.aq-value__grid > article > p,
    div.aq-collection-head > aside > span,
    div.aq-tools > p.aq-count,
    p.aq-count > strong,
    div.aq-product__media > span,
    div.aq-product__media.aq-product__media--accent > span,
    div.aq-product__media.aq-product__media--bubbler > span,
    div.aq-catalog-note > div > span,
    div.aq-option-grid > article > span,
    div.aq-option-grid > article > p,
    div.aq-planning-grid > article > p,
    aside.aq-safety > span,
    div.pstudio-copy > p.pstudio-location,
    div.chip-list > span.chip,
    a.route-card > span.act.act--wh,
    nav.aqr-paths > a > span,
    div.aq-hero-copy > p.aq-eyebrow,
    div.aq-section-head.aq-fx > div > p.aq-eyebrow,
    div.aq-container.aq-contact > div > p.aq-eyebrow,
    nav.breadcrumbs > a,
    div.answer-photo-note > span,
    div.section-head > div > a.act,
    article.support-card > span.tag,
    article.support-card > a.act,
    div.season-point > span,
    div.area-tags > span,
    div.info-row > div > div.info-title,
    div.final-badge > small,
    div.quick-item > div > span
  ) { font-size: 12px !important; }
}

/* ---------- 28. Older shared blocks: no font flip while they arrive ---------- */
/* Two older blocks in the published footer arrive one after the other: aq-glass-inner-pages sets the system font
   (--aq-glass-font) at weight 650 on the rebuilt pages, and aq-brand-consistency then sets the site fonts back. A
   phone that paints between them showed the /pools/ heading in the system font, wrapped to two lines, and the page
   jumped (layout shift 0.19). The finished pages never show the system font, so these rules only match what they
   end up as, and they win on their own (they do not rely on coming last), so they hold from the first paint once
   this stylesheet is in the head. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-pool26, #aq-care26, .aqc-page, #aq-spa26, #aq-community) { --aq-glass-font: var(--aqx-text); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#aq-pool26, #aq-care26, .aqc-page, #aq-spa26, #aq-community) :is(h1, h2) { --aq-glass-font: var(--aqx-display); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content #aq-pool26, #content #aq-care26, #aq-spa26 #aq-hot, main#content.aqc-page) :is(h1, h2) { font-weight: 400 !important; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) :is(#content #aq-pool26, #content #aq-care26, #aq-spa26 #aq-hot, main#content.aqc-page) h3 { font-weight: 600 !important; }

/* ---------- 29. Lighter background images ---------- */
/* Some heavy images are set as backgrounds inside the page builder's own stylesheets (files, not records), so the
   image swaps could not reach them; /financing/ downloaded a 5.5 MB PNG that way. These rules show the same picture
   from its optimized copy. Generated by images/background_overrides.py; do not edit by hand. */
/* BEGIN GENERATED background overrides (images/background_overrides.py) */
/* 892612ba74a8183099fd.css: 188a23b9ecf9ffed901b.png (5539 KB) → 241 KB, on /financing/, /pool-gallery/ */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-10670 .elementor-element.elementor-element-551ddb9:not(.elementor-motion-effects-element-type-background), html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-10670 .elementor-element.elementor-element-551ddb9 > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image: url(/wp-content/uploads/aquarius/untitled-design-47-1600.webp) !important; }
/* ada0dcc4cb33998d2b57.css: 1255de353720e57771c7.webp (450 KB) → 260 KB, on /about/ */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-137 .elementor-element.elementor-element-942f7bc:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-137 .elementor-element.elementor-element-942f7bc > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image: url(/wp-content/uploads/aquarius/sds-880-optima-platinum-ironwood-02-9cb7-1200.webp) !important; }
/* bd677d12599016b1dabf.css: 12c6bf7475924113e860.jpg (322 KB) → 203 KB, on /build-your-pool/ */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-10425 .elementor-element.elementor-element-9c9c847:not(.elementor-motion-effects-element-type-background), html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-10425 .elementor-element.elementor-element-9c9c847 > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image: url(/wp-content/uploads/aquarius/aq-recovered-990cea479b9d1f52-750.webp) !important; }
/* da9353fd1720d2619dc6.css: 49ac646280ae22ca8525.png (360 KB) → 163 KB, on /spa-sense-system/ */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-7142 .elementor-element.elementor-element-3af5e4ac:not(.elementor-motion-effects-element-type-background), html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-7142 .elementor-element.elementor-element-3af5e4ac > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image: url(/wp-content/uploads/aquarius/sundance-spa-sense-lifestyle-1600.webp) !important; }
/* e291ca600d220262a3d2.css: ddd3d9ae32717ccbb8d8.jpg (127 KB) → 71 KB, on /pools/ */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-664 .elementor-element.elementor-element-9415499:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-664 .elementor-element.elementor-element-9415499 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image: url(/wp-content/uploads/aquarius/simmermand069-1600.webp) !important; }
/* e3ed6832b630e060d872.css: dbcc49c036e82c7e45d6.jpg (914 KB) → 202 KB, on /bioguard-pool-chemicals-water-care-aquarius-pools/, /gunite-pool/ */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-8722 .elementor-element.elementor-element-df48069:not(.elementor-motion-effects-element-type-background), html body:not(.page-template-elementor_canvas, .elementor-template-canvas) .elementor-8722 .elementor-element.elementor-element-df48069 > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image: url(/wp-content/uploads/aquarius/aq-recovered-18696167875d2445-1600.webp) !important; }
/* END GENERATED background overrides */

/* ---------- 30. Homepage first screen: both paths, proof and service in view on a phone ---------- */
/* Work order, November 20: on a 390 x 844 phone a new visitor should recognize the offer, see local proof and choose
   the pool or spa path from the first screen, with Service in reach. The hero filled the screen (780 px), so its two
   buttons sat under the privacy notice. A shorter hero on phones brings the buttons, the proof line (homepage record:
   docs/deployments/mithril-2026-11-20/homepage-first-screen.html) and the pricing shortcuts into the first screen. */
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .ed-proof { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none; color: #ffffffe6; font: 500 14px/1.4 var(--aqx-text); }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .ed-proof li { margin: 0; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .ed-proof a { color: #fff; text-decoration: underline; text-decoration-color: #ffffff8c; text-underline-offset: 3px; }
html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .ed-proof a:hover { text-decoration-color: #fff; }
@media (max-width: 640px) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 #home.aqh-hero { min-height: clamp(440px, 60svh, 560px); }
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) #aq13 .ed-proof { gap: 4px 14px; margin-top: 14px; font-size: 13px; }
}

/* ---------- 12. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html body:not(.page-template-elementor_canvas, .elementor-template-canvas) *, html body:not(.page-template-elementor_canvas, .elementor-template-canvas) *::before, html body:not(.page-template-elementor_canvas, .elementor-template-canvas) *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
