/* Qinet sitewide button lift v02, 18 Nov 2026.
   Source: /workspace/brand/button-lift-18nov/final-v02/lift-v02.css and SPEC.md.
   Approved by Diane in Lumi's chat, 18 Nov 2026, 9:18 AM SGT.
   Fill and text colours are left unchanged. Contact Send Enquiry is excluded.

   Class mapping from the reference file:
   .btn-fill  -> .r10 .btn:not(.cta-alt), .btn-primary, .v4-btn-contact,
                 .r10 .cta-band .cta-pair .btn:not(.cta-alt)
   .btn-line  -> .r10 .btn.cta-alt, .btn-secondary,
                 .r10 .cta-band .cta-pair .btn.cta-alt
   .dark      -> .night, footer.site-footer-compact
   The Contact Send Enquiry button (.v4-contact .btn-primary, .v4-contact-submit)
   is excluded from every rule below. */

/* Shared motion and positioning. */
.r10 .btn:not(.v4-contact-submit),
.btn-primary:not(.v4-contact-submit),
.v4-btn-contact:not(.v4-contact-submit),
.btn-secondary,
.r10 .btn.cta-alt,
.r10 .cta-band .cta-pair .btn:not(.v4-contact-submit){
  position:relative;
  transition:transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s cubic-bezier(.2,.7,.2,1);
}

/* Rest: faint lift shadow. Filled (btn-fill). */
.r10 .btn:not(.cta-alt):not(.v4-contact-submit),
.btn-primary:not(.v4-contact-submit),
.v4-btn-contact:not(.v4-contact-submit),
.r10 .cta-band .cta-pair .btn:not(.cta-alt){
  box-shadow:0 1px 2px rgba(40,61,61,.10),0 6px 14px -8px rgba(192,86,27,.38);
}

/* Rest: faint lift shadow. Outline (btn-line). */
.r10 .btn.cta-alt,
.btn-secondary,
.r10 .cta-band .cta-pair .btn.cta-alt{
  box-shadow:0 1px 2px rgba(40,61,61,.08),0 6px 14px -8px rgba(40,61,61,.22);
}

/* Dark sections: brighter rest glow. */
.night .r10 .btn:not(.cta-alt):not(.v4-contact-submit),
.r10 .night .btn:not(.cta-alt):not(.v4-contact-submit),
.night .btn-primary:not(.v4-contact-submit),
footer.site-footer-compact .btn:not(.cta-alt):not(.v4-contact-submit),
footer.site-footer-compact .btn-primary:not(.v4-contact-submit){
  box-shadow:0 1px 2px rgba(0,0,0,.25),0 6px 16px -8px rgba(255,140,70,.45);
}

.night .r10 .btn.cta-alt,
.r10 .night .btn.cta-alt,
.night .btn-secondary,
footer.site-footer-compact .btn.cta-alt,
footer.site-footer-compact .btn-secondary{
  box-shadow:0 6px 16px -8px rgba(65,182,185,.30);
}


/* Neutralize style.css hover fill (#d96520) and translateY(-2px) on .btn-primary
   and .btn-secondary. Colours stay at rest. Phone and touch get no hover motion.
   Fine-pointer lift and glow are reapplied in the hover media query below. */
.btn-primary:not(.v4-contact-submit):hover{
  background:var(--brand-orange, #f27b36);
  background-color:var(--brand-orange, #f27b36);
  color:#ffffff;
  transform:none;
  box-shadow:0 1px 2px rgba(40,61,61,.10),0 6px 14px -8px rgba(192,86,27,.38);
  filter:none;
}
.home-page .btn-primary:not(.v4-contact-submit):hover{
  background:var(--btn-primary-bg, #c2561a);
  background-color:var(--btn-primary-bg, #c2561a);
}
.btn-secondary:hover{
  background:transparent;
  background-color:transparent;
  transform:none;
  box-shadow:0 1px 2px rgba(40,61,61,.08),0 6px 14px -8px rgba(40,61,61,.22);
  filter:none;
}

/* Hover (fine pointer only) and :focus-visible: lift 3px with glow beneath.
   Orange under filled buttons, teal under outline buttons. Colours unchanged. */
@media (hover:hover) and (pointer:fine){
  .r10 .btn:not(.cta-alt):not(.v4-contact-submit):hover,
  .btn-primary:not(.v4-contact-submit):hover,
  .v4-btn-contact:not(.v4-contact-submit):hover,
  .r10 .cta-band .cta-pair .btn:not(.cta-alt):hover{
    transform:translateY(-3px);
    box-shadow:0 2px 4px rgba(40,61,61,.10),0 16px 24px -10px rgba(242,123,54,.62);
    filter:none;
  }

  .r10 .btn.cta-alt:hover,
  .btn-secondary:hover,
  .r10 .cta-band .cta-pair .btn.cta-alt:hover{
    transform:translateY(-3px);
    box-shadow:0 2px 4px rgba(40,61,61,.08),0 16px 24px -10px rgba(23,155,158,.55);
    filter:none;
  }

  .night .r10 .btn:not(.cta-alt):not(.v4-contact-submit):hover,
  .r10 .night .btn:not(.cta-alt):not(.v4-contact-submit):hover,
  .night .btn-primary:not(.v4-contact-submit):hover,
  footer.site-footer-compact .btn:not(.cta-alt):not(.v4-contact-submit):hover{
    box-shadow:0 2px 4px rgba(0,0,0,.25),0 16px 28px -9px rgba(255,150,80,.85);
  }

  .night .r10 .btn.cta-alt:hover,
  .r10 .night .btn.cta-alt:hover,
  .night .btn-secondary:hover,
  footer.site-footer-compact .btn.cta-alt:hover,
  footer.site-footer-compact .btn-secondary:hover{
    box-shadow:0 16px 28px -9px rgba(90,205,208,.85);
  }

}


/* Keep existing outline and secondary rest fills; cancel pre-existing hover tints
   on every pointer type, including sticky :hover on touch. */
.r10 .btn.cta-alt:hover,
.r10 .cta-band .cta-pair .btn.cta-alt:hover,
.btn-secondary:hover,
.btn-secondary:focus-visible{
  background:transparent;
  background-color:transparent;
}
/* :focus-visible uses the same lift and glow on every pointer type,
   plus the lit bar below. Phone and touch have no :hover state. */
.r10 .btn:not(.cta-alt):not(.v4-contact-submit):focus-visible,
.btn-primary:not(.v4-contact-submit):focus-visible,
.v4-btn-contact:not(.v4-contact-submit):focus-visible,
.r10 .cta-band .cta-pair .btn:not(.cta-alt):focus-visible{
  transform:translateY(-3px);
  box-shadow:0 2px 4px rgba(40,61,61,.10),0 16px 24px -10px rgba(242,123,54,.62);
  outline:none;
  filter:none;
}
.btn-primary:not(.v4-contact-submit):focus-visible{
  background:var(--brand-orange, #f27b36);
  background-color:var(--brand-orange, #f27b36);
  color:#ffffff;
}
.home-page .btn-primary:not(.v4-contact-submit):focus-visible{
  background:var(--btn-primary-bg, #c2561a);
  background-color:var(--btn-primary-bg, #c2561a);
}

.r10 .btn.cta-alt:focus-visible,
.btn-secondary:focus-visible,
.r10 .cta-band .cta-pair .btn.cta-alt:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 2px 4px rgba(40,61,61,.08),0 16px 24px -10px rgba(23,155,158,.55);
  outline:none;
  background:transparent;
  background-color:transparent;
  filter:none;
}

.night .r10 .btn:not(.cta-alt):not(.v4-contact-submit):focus-visible,
.r10 .night .btn:not(.cta-alt):not(.v4-contact-submit):focus-visible,
.night .btn-primary:not(.v4-contact-submit):focus-visible,
footer.site-footer-compact .btn:not(.cta-alt):not(.v4-contact-submit):focus-visible{
  box-shadow:0 2px 4px rgba(0,0,0,.25),0 16px 28px -9px rgba(255,150,80,.85);
  outline:none;
}

.night .r10 .btn.cta-alt:focus-visible,
.r10 .night .btn.cta-alt:focus-visible,
.night .btn-secondary:focus-visible,
footer.site-footer-compact .btn.cta-alt:focus-visible,
footer.site-footer-compact .btn-secondary:focus-visible{
  box-shadow:0 16px 28px -9px rgba(90,205,208,.85);
  outline:none;
}

.r10 .btn:not(.v4-contact-submit):active,
.btn-primary:not(.v4-contact-submit):active,
.v4-btn-contact:not(.v4-contact-submit):active,
.btn-secondary:active,
.r10 .btn.cta-alt:active{
  transform:translateY(-1px);
  transition-duration:.08s;
}

/* Keyboard focus: 3px rounded bar, 44% of button width, 11px below. */
.r10 .btn:not(.v4-contact-submit):focus-visible::after,
.btn-primary:not(.v4-contact-submit):focus-visible::after,
.v4-btn-contact:not(.v4-contact-submit):focus-visible::after,
.btn-secondary:focus-visible::after,
.r10 .btn.cta-alt:focus-visible::after,
.r10 .cta-band .cta-pair .btn:not(.v4-contact-submit):focus-visible::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-11px;
  width:44%;
  height:3px;
  border-radius:3px;
  background:#188c8f;
  transform:translateX(-50%);
  pointer-events:none;
}

.night .r10 .btn:not(.v4-contact-submit):focus-visible::after,
.r10 .night .btn:not(.v4-contact-submit):focus-visible::after,
.night .btn-primary:not(.v4-contact-submit):focus-visible::after,
.night .btn-secondary:focus-visible::after,
footer.site-footer-compact .btn:not(.v4-contact-submit):focus-visible::after,
footer.site-footer-compact .btn-primary:not(.v4-contact-submit):focus-visible::after,
footer.site-footer-compact .btn-secondary:focus-visible::after{
  background:#41b6b9;
}

/* Phone (max-width 760px): 3px bar, 44% of the button width, centred, 2px below.
   Desktop stays at 11px. Look is for Lumi to confirm. */
/* Phone bar placement: ::after is positioned against the padding box, so
   the button's border-bottom width has to be added. A 2px CSS gap is then
   measured from the visible bottom edge of the lifted button. */
.r10 .btn:not(.v4-contact-submit),
.btn-primary:not(.v4-contact-submit),
.v4-btn-contact:not(.v4-contact-submit),
.btn-secondary,
.r10 .btn.cta-alt,
.r10 .cta-band .cta-pair .btn:not(.v4-contact-submit){
  --lift-focus-bar-inset:1px;
}
.r10 .btn:not(.cta-alt):not(.v4-contact-submit),
.r10 .cta-band .cta-pair .btn:not(.cta-alt){
  --lift-focus-bar-inset:2px;
}

/* Phone (max-width 760px): 3px bar, 44% wide, centred. The top edge sits
   2px below the lifted button's bottom edge, leaving a visible 2px gap of
   page colour. Desktop stays at 11px (bottom:-11px above). Look is for
   Lumi to confirm. */
@media (max-width:760px){
  .r10 .btn:not(.v4-contact-submit):focus-visible::after,
  .btn-primary:not(.v4-contact-submit):focus-visible::after,
  .v4-btn-contact:not(.v4-contact-submit):focus-visible::after,
  .btn-secondary:focus-visible::after,
  .r10 .btn.cta-alt:focus-visible::after,
  .r10 .cta-band .cta-pair .btn:not(.v4-contact-submit):focus-visible::after{
    top:calc(100% + 2px + var(--lift-focus-bar-inset, 1px));
    bottom:auto;
    height:3px;
    width:44%;
    left:50%;
    transform:translateX(-50%);
  }
}

/* Pricing cards: overflow:hidden is not required. There are no images or
   other content that need it for rounded-corner clipping. The featured
   badge sits 12px above the card and already sets overflow:visible inline.
   Make overflow visible so the button glow is not clipped. No extra padding. */
.card.pricing-card,
.pricing-card{
  overflow:visible;
}

/* Text links: 2px teal underline, offset 4px, never through the text.
   :focus-visible uses a 3px underline so the focus state is distinct.
   Nav, logos, skip, social icons and buttons are left alone. */
main a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-alt):not(.menu-btn):not(.sol-yt-btn):not(.footer-social-link):not(.v4-skip):not(.logo),
.sec-links a,
.r10 .sec-links a{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:4px;
  text-decoration-color:#188c8f;
  text-decoration-skip-ink:auto;
}

.night .sec-links a,
.r10 .night .sec-links a,
.night main a:not(.btn):not(.menu-btn):not(.sol-yt-btn){
  text-decoration-color:#41b6b9;
}

main a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-alt):not(.menu-btn):not(.sol-yt-btn):not(.footer-social-link):not(.v4-skip):not(.logo):focus-visible,
.sec-links a:focus-visible,
.r10 .sec-links a:focus-visible{
  outline:none;
  text-decoration-thickness:3px;
  text-underline-offset:4px;
  text-decoration-skip-ink:auto;
}


/* Footer compact text links only (Diane, 18 Nov 1:06 PM SGT).
   No underline at rest on any device. Teal underline on hover only
   inside (hover:hover) and (pointer:fine), so it never sticks on tap.
   Phone: no underline at rest or hover. Explicit footer selector so the
   text-link underline rules above cannot apply here at rest.
   Non-footer links, Send Enquiry and social icons are unchanged. */
footer.site-footer-compact .footer-compact-links a,
footer.site-footer-compact .footer-compact-links a:hover,
footer.site-footer-compact .footer-compact-links a:active{
  text-decoration:none;
  text-decoration-line:none;
  border-bottom:none;
  box-shadow:none;
}
@media (hover:hover) and (pointer:fine){
  footer.site-footer-compact .footer-compact-links a:hover{
    text-decoration:underline;
    text-decoration-line:underline;
    text-decoration-thickness:2px;
    text-underline-offset:4px;
    text-decoration-color:#41b6b9;
    border-bottom:none;
    box-shadow:none;
  }
}
/* Plain :focus (tap or click) shows nothing. Keyboard :focus-visible
   uses the 2px #41b6b9 underline, offset 4px, at all widths, and no
   focus ring. Lift v02 has no focus rings (Wenda, 18 Nov 1:15 PM SGT). */
footer.site-footer-compact .footer-compact-links a:focus{
  outline:none;
  text-decoration:none;
  text-decoration-line:none;
  border-bottom:none;
  box-shadow:none;
}
footer.site-footer-compact .footer-compact-links a:focus-visible{
  outline:none;
  text-decoration:underline;
  text-decoration-line:underline;
  text-decoration-thickness:2px;
  text-underline-offset:4px;
  text-decoration-color:#41b6b9;
  border-bottom:none;
  box-shadow:none;
}

/* prefers-reduced-motion: no movement; the glow and focus bar still show.
   This follows the v02 brief and SPEC. It conflicts with Diane's site rule
   that every visitor gets the same animations and that there are no
   reduced-motion restrictions. The brief is followed here, and the
   conflict is flagged in the MR and the Raven request. */
@media (prefers-reduced-motion:reduce){
  .r10 .btn:not(.v4-contact-submit),
  .btn-primary:not(.v4-contact-submit),
  .v4-btn-contact:not(.v4-contact-submit),
  .btn-secondary,
  .r10 .btn.cta-alt,
  .r10 .cta-band .cta-pair .btn:not(.v4-contact-submit){
    transition:box-shadow .01s;
  }
  /* Same specificity as the lift rules so transform stays none. */
  .r10 .btn:not(.cta-alt):not(.v4-contact-submit):hover,
  .r10 .btn:not(.cta-alt):not(.v4-contact-submit):focus-visible,
  .r10 .btn:not(.cta-alt):not(.v4-contact-submit):active,
  .btn-primary:not(.v4-contact-submit):hover,
  .btn-primary:not(.v4-contact-submit):focus-visible,
  .btn-primary:not(.v4-contact-submit):active,
  .v4-btn-contact:not(.v4-contact-submit):hover,
  .v4-btn-contact:not(.v4-contact-submit):focus-visible,
  .v4-btn-contact:not(.v4-contact-submit):active,
  .btn-secondary:hover,
  .btn-secondary:focus-visible,
  .btn-secondary:active,
  .r10 .btn.cta-alt:hover,
  .r10 .btn.cta-alt:focus-visible,
  .r10 .btn.cta-alt:active,
  .r10 .cta-band .cta-pair .btn:not(.cta-alt):hover,
  .r10 .cta-band .cta-pair .btn:not(.cta-alt):focus-visible,
  .r10 .cta-band .cta-pair .btn:not(.cta-alt):active,
  .r10 .cta-band .cta-pair .btn.cta-alt:hover,
  .r10 .cta-band .cta-pair .btn.cta-alt:focus-visible,
  .r10 .cta-band .cta-pair .btn.cta-alt:active{
    transform:none;
  }
}

/* Contact Send Enquiry: explicitly unchanged. White on #d3611c, hover #b55218,
   existing 2px Slate focus ring at offset 3px, no lift, no glow, no bar. */
.v4-contact .btn-primary,
.v4-contact .v4-contact-submit,
.v4-contact button.v4-contact-submit,
.v4-contact button.btn-primary{
  background:#d3611c;
  background-color:#d3611c;
  border-color:#d3611c;
  color:#ffffff;
  transform:none;
  box-shadow:none;
  transition:none;
  filter:none;
}

.v4-contact .btn-primary:hover,
.v4-contact .v4-contact-submit:hover,
.v4-contact button.v4-contact-submit:hover,
.v4-contact button.btn-primary:hover,
.v4-contact .btn-primary:active,
.v4-contact .v4-contact-submit:active{
  background:#b55218;
  background-color:#b55218;
  border-color:#b55218;
  color:#ffffff;
  filter:none;
  transform:none;
  box-shadow:none;
}

.v4-contact .btn-primary:focus-visible,
.v4-contact .v4-contact-submit:focus-visible,
.v4-contact button.v4-contact-submit:focus-visible,
.v4-contact button.btn-primary:focus-visible{
  outline:2px solid #283d3d;
  outline-offset:3px;
  border-radius:6px;
  box-shadow:none;
  transform:none;
}

.v4-contact .btn-primary:focus-visible::after,
.v4-contact .v4-contact-submit:focus-visible::after,
.v4-contact button.v4-contact-submit:focus-visible::after,
.v4-contact button.btn-primary:focus-visible::after{
  content:none;
}
