/* Developed by Ali Hyder Bhutto */
/* APM PREMIUM EFFECTS — additive stylesheet; keep after style.css */
/* Palette and controlled page rhythm */
:root
{
    --apm-navy:#062653;
    --apm-deep:#031a39;
    --apm-gold:#e7ad24;
    --apm-soft:#edf2f8;
    --apm-shadow:0 18px 42px rgba(3,26,57,.14);
}
html
{
    scroll-behavior:smooth;
    scroll-padding-top:105px
}
body
{
    background:#edf2f8
}
/* Keep the header clean white, as requested */
.topbar
{
    background:#031a39
}
.header
{
    background:#fff;
    box-shadow:0 7px 25px rgba(3,26,57,.12);
    backdrop-filter:saturate(1.15);
}
/* Hero: preserve the original image, split navy overlay and gold diagonal */
.hero
{
    isolation:isolate;
    background-size:cover;
    background-position:center center;
    background-attachment:scroll;
}
.hero-shade
{
    background:linear-gradient(90deg,
    rgba(3,26,57,.98) 0%,
    rgba(6,38,83,.94) 37%,
    rgba(6,38,83,.77) 48%,
    rgba(6,38,83,.08) 72%);
}
.hero:after
{
    z-index:1;
    pointer-events:none;
    background:
    radial-gradient(ellipse at 79% 17%,rgba(255,255,255,.24),transparent 31%),
    linear-gradient(120deg,transparent 64%,rgba(255,255,255,.13) 64.2%,transparent 66%);
}
.hero-content
{
    z-index:3
}
.hero h3
{
    display:block;
    width:max-content;
    max-width:100%;
    white-space:nowrap;
    font-size:clamp(8px,1.08vw,16px);
    letter-spacing:clamp(0px,.09vw,1px);
}
.hero h3 i
{
    padding:0 clamp(2px,.45vw,7px)
}
.hero .hero-content
{
    animation:apmHeroEnter .85s ease both
}
@keyframes apmHeroEnter
{
    from
    {
        opacity:0;
        transform:translate3d(0,18px,0)
    }
    to
    {
        opacity:1;
        transform:translate3d(0,0,0)
    }
}
/* The three service cards remain on a white band */
.service-strip
{
    background:#fff;
    padding-top:28px;
    padding-bottom:30px;
}
.service-tile
{
    border:1px solid #e4eaf2;
    box-shadow:0 12px 30px rgba(3,26,57,.12);
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.service-tile:hover
{
    transform:translateY(-8px);
    border-color:rgba(231,173,36,.65);
    box-shadow:0 23px 44px rgba(3,26,57,.20);
}
.service-tile img
{
    transition:transform .65s ease,filter .65s ease;
}
.service-tile:hover img
{
    transform:scale(1.07);
    filter:saturate(1.12) contrast(1.03);
}
/* About: soft blue-grey, not plain white */
.about-section
{
    background:
    radial-gradient(circle at 12% 15%,rgba(255,255,255,.9),transparent 34%),
    linear-gradient(135deg,#e8eef6 0%,#f2f5fa 52%,#e5ecf5 100%);
}
.about-photo
{
    box-shadow:0 22px 48px rgba(3,26,57,.23);
    border:1px solid rgba(255,255,255,.7);
}
.about-photo img
{
    transition:transform .8s ease,filter .8s ease;
}
.about-photo:hover img
{
    transform:scale(1.055);
    filter:contrast(1.04) saturate(1.1);
}
/* Featured properties/posts: white band as requested */
.featured
{
    background:#fff
}
.featured .section-head h2
{
    letter-spacing:-1px
}
.post-card
{
    box-shadow:0 12px 32px rgba(3,26,57,.11);
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.post-card:hover
{
    transform:translateY(-8px);
    border-color:rgba(231,173,36,.6);
    box-shadow:0 23px 45px rgba(3,26,57,.19);
}
.post-card>img
{
    display:block;
    width:100%;
    height:200px;
    object-fit:cover;
    transition:transform .65s ease,filter .65s ease;
}
.post-card:hover>img
{
    transform:scale(1.045);
    filter:saturate(1.1)
}
/* Trust band stays white */
.trust-band
{
    background:#fff;
    padding-top:28px;
    padding-bottom:28px;
}
.trust-band>div
{
    min-height:58px;
    padding:10px 12px;
    border-radius:13px;
    transition:transform .3s ease,background .3s ease,box-shadow .3s ease;
}
.trust-band>div:hover
{
    background:#f4f7fb;
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(3,26,57,.10);
}
/* CTA: image-led, deep navy overlay */
.cta-section
{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background-image:
    linear-gradient(105deg,rgba(3,26,57,.96),rgba(6,38,83,.78)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=88");
    background-size:cover;
    background-position:center;
    background-attachment:scroll;
}
.cta-section:before
{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:radial-gradient(circle at 50% 0%,rgba(231,173,36,.19),transparent 58%);
    pointer-events:none;
}
.footer
{
    background:linear-gradient(145deg,#031a39 0%,#062653 100%)
}
/* Softly distinguish any additional content sections */
main>.section:not(.about-section):not(.featured)
{
    background:linear-gradient(135deg,#f1f5fa,#e8eef6);
}
/* Reusable scroll reveal states; JS adds these classes */
.apm-reveal
{
    opacity:0;
    transform:translate3d(0,26px,0);
    transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1);
    will-change:opacity,transform;
}
.apm-reveal.apm-visible
{
    opacity:1;
    transform:translate3d(0,0,0);
}
.service-tile.apm-reveal:nth-child(2),
.post-card.apm-reveal:nth-child(2)
{
    transition-delay:.10s
}
.service-tile.apm-reveal:nth-child(3),
.post-card.apm-reveal:nth-child(3)
{
    transition-delay:.20s
}
.trust-band>div.apm-reveal:nth-child(2)
{
    transition-delay:.07s
}
.trust-band>div.apm-reveal:nth-child(3)
{
    transition-delay:.14s
}
.trust-band>div.apm-reveal:nth-child(4)
{
    transition-delay:.21s
}
/* Mobile layout: fit all three service labels on one line */
@media(max-width:700px)
{
    .hero
    {
        min-height:500px;
        padding:48px 5%;
        background-position:58% center;
        background-attachment:scroll;
    }
    .hero-shade
    {
        clip-path:none;
        background:linear-gradient(90deg,rgba(3,26,57,.97),rgba(6,38,83,.88) 76%,rgba(6,38,83,.66));
    }
    .hero:before
    {
        display:none
    }
    .hero h1
    {
        font-size:clamp(34px,9vw,43px);
        letter-spacing:-1.3px
    }
    .hero h3
    {
        width:100%;
        max-width:100%;
        white-space:nowrap;
        font-size:clamp(7.5px,2.55vw,11px);
        letter-spacing:0;
        line-height:1.5;
    }
    .hero h3 i
    {
        padding:0 2px
    }
    .hero-tag
    {
        font-size:19px
    }
    .service-strip
    {
        grid-template-columns:1fr;
        padding:20px 5%;
        gap:14px;
    }
    .service-tile
    {
        grid-template-columns:36% minmax(0,1fr);
        min-height:126px;
    }
    .service-tile img
    {
        min-height:126px
    }
    .service-tile div
    {
        padding:13px 12px;
        min-width:0
    }
    .service-tile h3
    {
        font-size:clamp(14px,4vw,18px);
        line-height:1.15
    }
    .service-tile p
    {
        font-size:11px;
        line-height:1.4;
        margin:7px 0
    }
    .about-section
    {
        background:linear-gradient(145deg,#e8eef6,#f4f7fb);
    }
    .featured,.trust-band
    {
        background:#fff
    }
    .cta-section
    {
        padding:58px 6%;
        background-attachment:scroll
    }
    .post-card>img
    {
        height:210px
    }
    .apm-reveal
    {
        transform:translate3d(0,19px,0)
    }
}
@media(max-width:360px)
{
    .hero
    {
        padding-left:4%;
        padding-right:4%
    }
    .hero h3
    {
        font-size:7.2px;
        letter-spacing:-.12px
    }
    .service-tile
    {
        grid-template-columns:34% minmax(0,1fr)
    }
    .service-tile h3
    {
        font-size:13px
    }
    .service-tile p
    {
        font-size:10px
    }
}
/* Respect reduced-motion accessibility settings */
@media(prefers-reduced-motion:reduce)
{
    html
    {
        scroll-behavior:auto
    }
    *,*::before,*::after
    {
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important
    }
    .apm-reveal
    {
        opacity:1;
        transform:none
    }
}
/* ===== APM motion refinement v2: service card flip + hero depth ===== */
.hero
{
    background-position:center var(--apm-hero-y, 50%);
    background-size:cover;
    background-repeat:no-repeat;
    will-change:background-position;
}
.hero-shade
{
    transition:opacity .35s ease
}
.hero-content
{
    transform-style:preserve-3d
}
.service-tile
{
    perspective:1100px;
    transform-style:preserve-3d;
    backface-visibility:hidden;
    will-change:transform,opacity;
}
.service-tile img,
.service-tile>div
{
    backface-visibility:hidden;
}
.service-tile.apm-reveal
{
    opacity:0;
    transform:translate3d(-70px,30px,0) rotateY(-11deg) scale(.965);
    filter:blur(3px);
}
.service-tile.apm-reveal:nth-child(even)
{
    transform:translate3d(70px,30px,0) rotateY(11deg) scale(.965);
}
.service-tile.apm-reveal.apm-visible
{
    opacity:1;
    transform:translate3d(0,0,0) rotateY(0) scale(1);
    filter:blur(0);
}
.service-tile.apm-visible:hover
{
    transform:translate3d(0,-8px,0) rotateY(0) scale(1.015);
}
.service-tile:after
{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.28) 48%,transparent 70%);
    opacity:0;
    transform:translateX(-110%);
    transition:transform .8s ease,opacity .4s ease;
}
.service-tile:hover:after
{
    opacity:1;
    transform:translateX(110%);
}
.hero:before
{
    content:"";
    position:absolute;
    inset:-5%;
    z-index:0;
    pointer-events:none;
    background:radial-gradient(ellipse at 75% 35%,rgba(255,255,255,.16),transparent 38%),
             linear-gradient(115deg,transparent 35%,rgba(231,173,36,.12) 52%,transparent 70%);
    background-size:180% 180%;
    animation:apmHeroAtmosphere 12s ease-in-out infinite alternate;
}
@keyframes apmHeroAtmosphere
{
    0%
    {
        background-position:0% 30%;
        transform:scale(1)
    }
    100%
    {
        background-position:100% 70%;
        transform:scale(1.045)
    }
}
@media(max-width:700px)
{
    .hero h3
    {
        font-size:clamp(7px,2.15vw,9.5px);
        letter-spacing:-.15px;
        font-weight:900;
    }
    .hero h3 i
    {
        padding:0 1.5px
    }
    .service-tile.apm-reveal
    {
        transform:translate3d(-38px,24px,0) rotateY(-8deg) scale(.97)
    }
    .service-tile.apm-reveal:nth-child(even)
    {
        transform:translate3d(38px,24px,0) rotateY(8deg) scale(.97)
    }
    .service-tile.apm-reveal.apm-visible
    {
        transform:translate3d(0,0,0) rotateY(0) scale(1)
    }
}
@media(prefers-reduced-motion:reduce)
{
    .hero:before
    {
        animation:none
    }
    .service-tile.apm-reveal,
  .service-tile.apm-reveal:nth-child(even)
    {
        opacity:1;
        transform:none;
        filter:none
    }
}
/* APM premium interaction layer — purely visual, no CMS/auth changes */
:root
{
    --apm-ink:#081d3b;
    --apm-gold:#f2bd45;
    --apm-glass:rgba(255,255,255,.72)
}
body
{
    font-family:"DM Sans",sans-serif;
    background:#e9eff7;
    color:var(--apm-ink)
}
h1,h2,h3,.brand b,.section-head h2,.service-hero h1
{
    font-family:"Manrope","DM Sans",sans-serif
}
main>.section, .about-section,.featured,.listings-section,.service-strip
{
    position:relative;
    isolation:isolate;
}
main>.section:not(.about-section):not(.featured):not(.listings-section)
{
    background:linear-gradient(135deg,#e7edf6 0%,#f7f9fc 48%,#e1eaf5 100%);
}
.featured,.listings-section
{
    background:linear-gradient(145deg,#fff 0%,#f3f6fb 100%)
}
.section-head h2
{
    letter-spacing:-.035em;
    text-wrap:balance
}
.header
{
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(18px) saturate(1.25)
}
.header nav>a
{
    position:relative
}
.header nav>a:after
{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:3px;
    height:2px;
    background:linear-gradient(90deg,#d99b16,#ffe18a);
    transition:right .28s ease
}
.header nav>a:hover:after,.header nav>a.active:after
{
    right:0
}
.gold-btn,.glass-btn,.outline-gold,.post-contact,.admin-login-link,.view-merger-map-btn
{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    transform:translateZ(0)
}
.gold-btn,.post-contact
{
    box-shadow:0 10px 26px rgba(207,151,25,.22)
}
.gold-btn:hover,.post-contact:hover
{
    box-shadow:0 16px 36px rgba(207,151,25,.36)
}
.gold-btn.compact
{
    animation:apmSoftPulse 3.4s ease-in-out infinite
}
@keyframes apmSoftPulse
{
    0%,100%
    {
        box-shadow:0 8px 22px #dba31735
    }
    50%
    {
        box-shadow:0 8px 28px #dba31770
    }
}
.hero,.service-hero,.cta-section
{
    background-position:center var(--apm-scene-y,50%);
    background-size:cover
}
.hero,.service-hero
{
    overflow:hidden
}
.hero:after,.service-hero:after
{
    content:"";
    position:absolute;
    inset:-10%;
    pointer-events:none;
    z-index:1;
    background:radial-gradient(ellipse at 75% 35%,rgba(255,222,143,.17),transparent 38%);
    transform:translate3d(0,var(--apm-glow-y,0px),0);
    transition:transform .12s linear
}
.service-hero
{
    isolation:isolate
}
.service-hero-content
{
    position:relative;
    z-index:3
}
.feature-card,.post-card,.service-tile,.about-photo
{
    border-radius:20px;
    box-shadow:0 16px 38px rgba(5,28,61,.12);
    transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s
}
.feature-card:hover,.post-card:hover
{
    transform:translateY(-7px);
    box-shadow:0 24px 52px rgba(5,28,61,.2)
}
.cta-section
{
    background-attachment:scroll
}
.footer
{
    position:relative;
    overflow:hidden
}
.footer:before
{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(ellipse at 90% 0%,rgba(238,183,48,.14),transparent 45%)
}
.apm-ripple
{
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    z-index:5;
    width:12px;
    height:12px;
    left:var(--ripple-x);
    top:var(--ripple-y);
    background:rgba(255,255,255,.5);
    transform:translate(-50%,-50%) scale(0);
    animation:apmRipple .72s ease-out forwards
}
@keyframes apmRipple
{
    to
    {
        transform:translate(-50%,-50%) scale(22);
        opacity:0
    }
}
.apm-button-flash
{
    animation:apmButtonFlash .42s ease-out
}
@keyframes apmButtonFlash
{
    0%
    {
        filter:brightness(1)
    }
    45%
    {
        filter:brightness(1.22)
    }
    100%
    {
        filter:brightness(1)
    }
}
@media(max-width:700px)
{
    .hero,.service-hero,.cta-section
    {
        background-attachment:scroll
    }
    .header
    {
        backdrop-filter:blur(12px)
    }
}
@media(prefers-reduced-motion:reduce)
{
    .gold-btn.compact
    {
        animation:none
    }
    .apm-ripple
    {
        display:none
    }
}
/* ===== VISIBLE APM AMBIENT BACKGROUND + ALWAYS-ON CONTACT PULSE ===== */
html
{
    background:#071b38
}
body
{
    position:relative;
    isolation:isolate;
    background:linear-gradient(135deg,#eaf0f8 0%,#f7f9fc 42%,#e5edf7 100%);
    background-attachment:fixed
}
#apm-moving-background
{
    position:fixed;
    inset:-18vh -12vw;
    z-index:-1;
    pointer-events:none;
    overflow:hidden;
    opacity:.98;
    will-change:transform;
    background:
 radial-gradient(ellipse 38% 30% at 14% 18%,rgba(222,169,37,.24),transparent 72%),
 radial-gradient(ellipse 42% 38% at 88% 28%,rgba(54,119,190,.20),transparent 72%),
 radial-gradient(ellipse 34% 42% at 62% 88%,rgba(13,55,111,.14),transparent 74%),
 linear-gradient(125deg,rgba(232,239,249,.88),rgba(248,250,253,.92) 48%,rgba(225,235,247,.88));
    background-size:150% 150%,160% 160%,145% 145%,100% 100%;
    animation:apmAmbientDrift 17s ease-in-out infinite alternate
}
#apm-moving-background:before,#apm-moving-background:after
{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(2px);
    opacity:.55;
    will-change:transform
}
#apm-moving-background:before
{
    width:42vw;
    height:42vw;
    left:4%;
    top:26%;
    border:1px solid rgba(206,157,36,.22);
    box-shadow:0 0 0 42px rgba(206,157,36,.035),0 0 0 92px rgba(206,157,36,.025);
    animation:apmOrbFloat 13s ease-in-out infinite alternate
}
#apm-moving-background:after
{
    width:35vw;
    height:35vw;
    right:7%;
    top:54%;
    border:1px solid rgba(36,92,158,.18);
    box-shadow:0 0 0 48px rgba(36,92,158,.035),0 0 0 100px rgba(36,92,158,.025);
    animation:apmOrbFloat 16s ease-in-out infinite alternate-reverse
}
@keyframes apmAmbientDrift
{
    0%
    {
        background-position:0% 15%,100% 20%,45% 100%,0 0
    }
    100%
    {
        background-position:100% 85%,0% 90%,100% 0%,0 0
    }
}
@keyframes apmOrbFloat
{
    0%
    {
        transform:translate3d(-3vw,-2vh,0) rotate(-8deg)
    }
    100%
    {
        transform:translate3d(5vw,6vh,0) rotate(12deg)
    }
}
/* Make every real contact/consultation CTA pulse continuously, not on hover only. */
.gold-btn,.post-contact,.glass-btn,a[href*="wa.me"]
{
    animation:apmContactBeacon 1.75s ease-in-out infinite!important;
    transform-origin:center
}
.gold-btn:hover,.post-contact:hover,.glass-btn:hover,a[href*="wa.me"]:hover
{
    animation-duration:.85s!important
}
@keyframes apmContactBeacon
{
    0%,100%
    {
        box-shadow:0 0 0 0 rgba(226,170,36,.32),0 7px 20px rgba(5,28,61,.12);
        filter:brightness(1)
    }
    50%
    {
        box-shadow:0 0 0 7px rgba(226,170,36,0),0 9px 30px rgba(226,170,36,.42);
        filter:brightness(1.09)
    }
}
/* Keep moving visuals behind content and avoid covering text/cards. */
.topbar,.header,main,.footer
{
    position:relative;
    z-index:1
}
@media(max-width:700px)
{
    #apm-moving-background
    {
        inset:-8vh -25vw;
        opacity:.82
    }
    #apm-moving-background:before
    {
        width:70vw;
        height:70vw
    }
    #apm-moving-background:after
    {
        width:62vw;
        height:62vw
    }
}
@media(prefers-reduced-motion:reduce)
{
    #apm-moving-background,#apm-moving-background:before,#apm-moving-background:after
    {
        animation:none!important
    }
    .gold-btn,.post-contact,.glass-btn,a[href*="wa.me"]
    {
        animation:none!important
    }
}
/* Per-section drifting color wash: motion remains visible while scrolling through content. */
main>.section:not(.hero):not(.service-hero):not(.cta-section),main>section:not(.hero):not(.service-hero):not(.cta-section)
{
    isolation:isolate;
    position:relative
}
main>.section:not(.hero):not(.service-hero):not(.cta-section):before,main>section:not(.hero):not(.service-hero):not(.cta-section):before
{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:radial-gradient(ellipse at 12% 25%,rgba(223,170,40,.14),transparent 36%),radial-gradient(ellipse at 88% 76%,rgba(35,99,169,.13),transparent 40%);
    background-size:160% 160%;
    animation:apmSectionWash 10s ease-in-out infinite alternate;
    transform:translate3d(0,var(--apm-page-depth,0px),0)
}
@keyframes apmSectionWash
{
    0%
    {
        background-position:0% 20%,100% 80%
    }
    100%
    {
        background-position:100% 90%,0% 10%
    }
}
@media(prefers-reduced-motion:reduce)
{
    main>.section:before,main>section:before
    {
        animation:none!important
    }
}
/* FIX 2026: real architectural photo backdrop behind featured listings.
   The photo drifts upward as the visitor scrolls; cards remain readable. */
.featured
{
    position:relative!important;
    isolation:isolate!important;
    background:transparent!important;
    overflow:hidden;
}
.featured:before
{
    content:"";
    position:absolute;
    z-index:-1;
    inset:-24% -3% -18%;
    pointer-events:none;
    background:
    linear-gradient(180deg,rgba(246,249,253,.48),rgba(240,245,251,.58) 35%,rgba(5,27,57,.19)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=88");
    background-size:cover;
    background-position:center 48%;
    opacity:.92;
    filter:saturate(.82);
    transform:translate3d(0,var(--apm-building-y,0px),0) scale(1.08);
    will-change:transform;
}
.featured .section-head
{
    background:rgba(248,250,253,.68);
    backdrop-filter:blur(5px);
    border-radius:18px;
    padding:14px 20px
}
.featured .filters
{
    position:relative;
    z-index:2
}
.featured .post-card
{
    background:#fff!important;
    border:1px solid rgba(255,255,255,.82);
    box-shadow:0 18px 42px rgba(3,26,57,.24),0 0 0 1px rgba(226,174,43,.12);
}
.featured .post-card .post-body
{
    background:#fff
}
.featured .post-card:hover
{
    box-shadow:0 24px 54px rgba(3,26,57,.30),0 0 0 1px rgba(226,174,43,.45)
}
/* WhatsApp buttons: unmistakable two-colour blink, one colour every 500ms. */
a.post-contact,a[href*="wa.me"],.post-contact
{
    background:#087b48!important;
    color:#fff!important;
    border:2px solid #e9b62c!important;
    animation:apmWhatsAppTwoTone 1s steps(1,end) infinite!important;
    box-shadow:0 0 0 3px rgba(7,123,72,.16),0 8px 24px rgba(5,28,61,.18)!important;
}
a.post-contact i,a[href*="wa.me"] i,.post-contact i
{
    color:inherit!important
}
@keyframes apmWhatsAppTwoTone
{
    0%,49.999%
    {
        background:#087b48!important;
        color:#fff!important;
        border-color:#f2c443!important;
        box-shadow:0 0 0 3px rgba(8,123,72,.18),0 8px 24px rgba(5,28,61,.18)!important
    }
    50%,100%
    {
        background:#ffd23f!important;
        color:#062653!important;
        border-color:#087b48!important;
        box-shadow:0 0 0 4px rgba(255,210,63,.28),0 8px 26px rgba(5,28,61,.20)!important
    }
}
@media(max-width:700px)
{
    .featured:before
    {
        inset:-12% -18%;
        background-position:55% center
    }
    .featured .section-head
    {
        padding:12px
    }
}
@media(prefers-reduced-motion:reduce)
{
    a.post-contact,a[href*="wa.me"],.post-contact
    {
        animation:apmWhatsAppTwoTone 1s steps(1,end) infinite!important
    }
}
/* FORCE-VISIBLE LISTING BACKDROP — photo, texture and strong scroll travel */
.featured,.listings-section
{
    position:relative!important;
    isolation:isolate!important;
    background:transparent!important;
    overflow:hidden!important;
}
.featured::before,.listings-section::before
{
    content:""!important;
    position:absolute!important;
    inset:-35% -4% -30%!important;
    z-index:0!important;
    pointer-events:none!important;
    background-image:
    linear-gradient(180deg,rgba(255,255,255,.20),rgba(245,248,252,.28) 42%,rgba(3,25,54,.24)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90")!important;
    background-size:cover!important;
    background-position:center!important;
    opacity:1!important;
    filter:saturate(1.05)!important;
    transform:translate3d(0,var(--apm-building-y,0px),0) scale(1.12)!important;
    will-change:transform!important;
}
.featured>.section-head,.featured>.filters,.featured>#home-posts,
.listings-section>.section-head,.listings-section>.filters,.listings-section>.post-grid,
.featured>.post-grid,.listings-section>div
{
    position:relative;
    z-index:1;
}
/* Override all prior pulse styles: exact 2-colour flash on every WhatsApp CTA. */
a.post-contact,a[href*="wa.me"],.post-contact
{
    animation:apmButtonBlinkFinal .5s steps(1,end) infinite!important;
    transition:none!important;
    border:2px solid #f5ca35!important;
}
@keyframes apmButtonBlinkFinal
{
    0%,49.999%
    {
        background:#078347!important;
        color:#fff!important;
        border-color:#f4cb36!important;
        filter:brightness(1)!important
    }
    50%,100%
    {
        background:#ffd43b!important;
        color:#062653!important;
        border-color:#078347!important;
        filter:brightness(1.02)!important
    }
}
a.post-contact i,a[href*="wa.me"] i,.post-contact i
{
    color:inherit!important
}
@media(prefers-reduced-motion:reduce)
{
    a.post-contact,a[href*="wa.me"],.post-contact
    {
        animation:apmButtonBlinkFinal .5s steps(1,end) infinite!important
    }
}
/* FINAL REQUEST: replace listing-section photo backgrounds with cinematic HD video */
.featured,.listings-section
{
    position:relative!important;
    isolation:isolate!important;
    background:transparent!important;
    overflow:hidden!important;
}
.featured::before,.listings-section::before
{
    content:none!important;
    display:none!important;
    background:none!important
}
.apm-building-video
{
    position:absolute!important;
    z-index:0!important;
    inset:-18% 0!important;
    width:100%!important;
    height:136%!important;
    object-fit:cover!important;
    object-position:center 45%!important;
    pointer-events:none!important;
    opacity:.52!important;
    filter:saturate(1.1) contrast(1.06)!important;
    transform:translate3d(0,var(--apm-video-y,0px),0) scale(1.04)!important;
    will-change:transform!important;
}
.apm-building-video-shade
{
    position:absolute!important;
    z-index:0!important;
    inset:0!important;
    pointer-events:none!important;
    background:linear-gradient(180deg,rgba(245,248,252,.46),rgba(245,248,252,.58) 42%,rgba(3,25,54,.30))!important;
}
.featured>.section-head,.featured>.filters,.featured>#home-posts,
.listings-section>.section-head,.listings-section>.filters,.listings-section>.post-grid,
.featured>.post-grid,.listings-section>div
{
    position:relative!important;
    z-index:1!important;
}
/* Blink ONLY the website's own contact/consultation CTAs; no listing/ad buttons. */
a.post-contact,a[href*="wa.me"].post-contact,.post-card a[href*="wa.me"]
{
    animation:none!important;
}
.gold-btn[href*="wa.me"],.glass-btn[href*="wa.me"],.cta-section a[href*="wa.me"]
{
    animation:apmSiteCTAOnly .5s steps(1,end) infinite!important;
    transition:none!important;
}
@keyframes apmSiteCTAOnly
{
    0%,49.999%
    {
        background:#078347!important;
        color:#fff!important;
        border-color:#f4cb36!important
    }
    50%,100%
    {
        background:#ffd43b!important;
        color:#062653!important;
        border-color:#078347!important
    }
}
.gold-btn[href*="wa.me"] i,.glass-btn[href*="wa.me"] i,.cta-section a[href*="wa.me"] i
{
    color:inherit!important
}
@media(max-width:700px)
{
    .apm-building-video
    {
        opacity:.42!important;
        inset:-8% 0!important;
        height:116%!important
    }
}
/* Final offline video backgrounds */
.apm-video-host
{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important
}
.apm-local-bg-video
{
    position:absolute!important;
    inset:-7% 0!important;
    width:100%!important;
    height:114%!important;
    object-fit:cover!important;
    object-position:center 48%!important;
    z-index:0!important;
    pointer-events:none!important;
    opacity:.68!important;
    filter:saturate(1.06) contrast(1.04)!important;
}
.apm-local-video-shade
{
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    pointer-events:none!important;
    background:linear-gradient(90deg,rgba(3,26,57,.80),rgba(6,38,83,.38) 58%,rgba(3,26,57,.14))!important;
}
.hero .hero-content,.hero .hero-scroll,.service-hero-content
{
    position:relative!important;
    z-index:3!important
}
.hero .hero-shade
{
    z-index:2!important
}
.hero:after
{
    z-index:2!important
}
.featured,.listings-section
{
    background:transparent!important;
    isolation:isolate!important;
    position:relative!important;
    overflow:hidden!important;
}
.featured:before,.featured::before,.listings-section:before,.listings-section::before
{
    content:none!important;
    display:none!important;
    background:none!important;
}
.featured .section-head,.featured .filters,.featured #home-posts,
.listings-section .section-head,.listings-section .filters,.listings-section .post-grid,
.featured .post-card,.listings-section .post-card
{
    position:relative!important;
    z-index:2!important;
}
.featured .section-head
{
    background:rgba(250,252,255,.82)!important;
    backdrop-filter:blur(7px)
}
.featured .post-card,.listings-section .post-card
{
    box-shadow:0 14px 35px rgba(3,26,57,.24)!important
}
@media(max-width:700px)
{
    .apm-local-bg-video
    {
        opacity:.52!important;
        inset:-4% 0!important;
        height:108%!important
    }
    .apm-local-video-shade
    {
        background:linear-gradient(90deg,rgba(3,26,57,.84),rgba(6,38,83,.48))!important
    }
}
/* MATCH HOMEPAGE FEATURED HEADING PANEL ON ALL THREE SERVICE PAGES
   Only the heading panel changes; page content and layout remain untouched. */
.listings-section .section-head
{
    background:rgba(250,252,255,.82)!important;
    backdrop-filter:blur(7px);
    border-radius:18px;
    padding:14px 20px;
}
/* FINAL USER REQUEST: clear background videos and stop all button blinking */
.apm-local-bg-video,
.apm-building-video
{
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}
.apm-local-video-shade,
.apm-building-video-shade
{
    background: transparent !important;
    opacity: 0 !important;
}
.apm-video-host .hero-shade
{
    /* Preserve the original hero readability overlay; video clarity is unaffected. */
}
.gold-btn,
.glass-btn,
.post-contact,
a[href*="wa.me"],
.gold-btn.compact,
.gold-btn[href*="wa.me"],
.glass-btn[href*="wa.me"],
.cta-section a[href*="wa.me"]
{
    animation: none !important;
}
@keyframes apmSiteCTAOnly
{
    0%, 100%
    {
        background: inherit !important;
        color: inherit !important;
        border-color: inherit !important;
    }
}
.featured .section-head,
.listings-section .section-head
{
    backdrop-filter: none !important;
}
@media (max-width: 700px)
{
    .apm-local-bg-video,
  .apm-building-video
    {
        opacity: 1 !important;
        filter: none !important;
    }
}
/* FIX 2: Contact button animation and color-switching are fully disabled. */
html body a.gold-btn,
html body a.glass-btn,
html body a.post-contact,
html body .post-contact,
html body a[href*="wa.me"],
html body a[href*="whatsapp"],
html body .cta-section a,
html body .header a.gold-btn,
html body .hero-actions a,
html body .service-hero-content a,
html body .gold-btn.compact,
html body .gold-btn.shine,
html body .apmSiteCTAOnly,
html body a.gold-btn::before,
html body a.gold-btn::after,
html body a.glass-btn::before,
html body a.glass-btn::after,
html body a.post-contact::before,
html body a.post-contact::after,
html body a[href*="wa.me"]::before,
html body a[href*="wa.me"]::after
{
    animation: none !important;
    animation-name: none !important;
    transition: none !important;
    filter: none !important;
}
/* FINAL: motion video stays only in the top hero. Posts use a real estate
   photo backdrop with a scroll-linked parallax drift instead. */
.featured,.listings-section
{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    background:transparent!important;
}
.featured::before,.listings-section::before
{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:-32% -4% -28%!important;
    z-index:0!important;
    pointer-events:none!important;
    background-image:linear-gradient(180deg,rgba(245,249,253,.78),rgba(238,244,251,.80) 45%,rgba(3,26,57,.38)),url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90")!important;
    background-size:cover!important;
    background-position:center 48%!important;
    opacity:1!important;
    filter:saturate(1.04)!important;
    transform:translate3d(0,var(--apm-building-y,0px),0) scale(1.10)!important;
    will-change:transform!important;
}
.featured>.section-head,.featured>.filters,.featured>#home-posts,.featured>.post-grid,.featured>.post-card,.listings-section>.section-head,.listings-section>.filters,.listings-section>.post-grid,.listings-section>.post-card
{
    position:relative!important;
    z-index:2!important;
}
.featured .apm-local-bg-video,.listings-section .apm-local-bg-video,.featured .apm-local-video-shade,.listings-section .apm-local-video-shade
{
    display:none!important;
}
.hero>.apm-local-bg-video,.service-hero>.apm-local-bg-video
{
    z-index:0!important;
}
/* APM FINAL BACKGROUND MAP — every section has its own local image file. */
.featured::before
{
    background-image:linear-gradient(180deg,rgba(245,248,252,.76),rgba(238,244,250,.82) 55%,rgba(3,25,54,.30)),url("images/home-posts-bg.jpg")!important;
    background-size:cover!important;
    background-position:center!important;
}
.apm-page-construction .listings-section::before
{
    background-image:linear-gradient(180deg,rgba(245,248,252,.72),rgba(238,244,250,.78) 55%,rgba(3,25,54,.34)),url("images/construction-posts-bg.jpg")!important;
}
.apm-page-realestate .listings-section::before
{
    background-image:linear-gradient(180deg,rgba(245,248,252,.72),rgba(238,244,250,.78) 55%,rgba(3,25,54,.34)),url("images/real-estate-posts-bg.jpg")!important;
}
.apm-page-renovation .listings-section::before
{
    background-image:linear-gradient(180deg,rgba(245,248,252,.72),rgba(238,244,250,.78) 55%,rgba(3,25,54,.34)),url("images/renovation-posts-bg.jpg")!important;
}
.about-photo
{
    position:relative;
    isolation:isolate;
    overflow:hidden
}
.about-photo img
{
    position:relative;
    z-index:1;
    object-fit:cover!important
}
.about-photo .photo-caption
{
    z-index:3
}
.featured::before,.listings-section::before
{
    inset:-45% -5% -40%!important;
    transform:translate3d(0,var(--apm-building-y,0px),0) scale(1.18)!important;
    transition:none!important;
}
@media(prefers-reduced-motion:reduce)
{
    .featured::before,.listings-section::before
    {
        transform:scale(1.08)!important
    }
}
/* APM contact CTA pulse restored (posts/cards contact links intentionally excluded).
   Uses the APM navy + gold brand palette rather than harsh green/yellow flashing. */
@keyframes apmContactCtaPulse
{
    0%,100%
    {
        box-shadow: 0 0 0 0 rgba(213,169,79,0),
                0 4px 14px rgba(10,35,67,.18);
        border-color: #d5a94f;
        filter: brightness(1);
    }
    50%
    {
        box-shadow: 0 0 0 5px rgba(213,169,79,.18),
                0 0 22px rgba(213,169,79,.42);
        border-color: #f0d18a;
        filter: brightness(1.06);
    }
}
/* Header/footer and main-page contact action buttons */
html body header a[href*="wa.me"]:not(.post-contact):not(.post-card a),
html body .topbar a[href*="wa.me"]:not(.post-contact),
html body .hero-actions a[href*="wa.me"]:not(.post-contact),
html body .service-hero a[href*="wa.me"]:not(.post-contact),
html body .contact-section a[href*="wa.me"]:not(.post-contact),
html body footer a[href*="wa.me"]:not(.post-contact),
html body .site-footer a[href*="wa.me"]:not(.post-contact),
html body .cta-section a[href*="wa.me"]:not(.post-contact),
html body a.gold-btn[href*="wa.me"]:not(.post-contact):not(.post-card a),
html body a.gold-btn[href*="contact"]:not(.post-contact):not(.post-card a),
html body a[href^="tel:"]:not(.post-contact):not(.post-card a),
html body .contact-cta:not(.post-contact):not(.post-card a)
{
    animation: apmContactCtaPulse 2.1s ease-in-out infinite !important;
    transition: box-shadow .25s ease, filter .25s ease, border-color .25s ease !important;
}
/* Preserve calm, static contact links embedded within dynamic property posts/cards. */
html body .post-card a[href*="wa.me"],
html body .post-card a[href^="tel:"],
html body .post-contact,
html body #home-posts a[href*="wa.me"],
html body #home-posts a[href^="tel:"]
{
    animation: none !important;
    box-shadow: none !important;
    filter: none !important;
}
/* CORRECT CONTACT CTA COLORS + FAST BLINK (0.5s), posts excluded */
@keyframes apmFastContactBlink
{
    0%,100%
    {
        box-shadow: 0 0 3px rgba(229,167,20,.18), 0 3px 10px rgba(5,25,55,.16);
        filter:brightness(1);
    }
    50%
    {
        box-shadow: 0 0 0 4px rgba(255,220,123,.48), 0 0 20px rgba(229,167,20,.9);
        filter:brightness(1.14);
    }
}
/* Yellow contact buttons inside property posts: keep yellow and completely still. */
html body .post-card .post-contact,
html body #home-posts .post-contact,
html body .post-contact
{
    background:linear-gradient(110deg,#e5a714,#ffdc7b)!important;
    color:#0b1d38!important;
    border:1px solid #d5a02b!important;
    animation:none!important;
    animation-name:none!important;
    box-shadow:0 5px 14px rgba(217,158,13,.22)!important;
    filter:none!important;
}
/* Every contact action outside posts pulses rapidly; preserve its original
   white/gold/navy fill and text colors, only the glow/brightness moves. */
html body a.gold-btn:not(.post-contact):not(.post-card a),
html body a.glass-btn:not(.post-contact):not(.post-card a),
html body a[href*="wa.me"]:not(.post-contact):not(.post-card a),
html body a[href*="whatsapp"]:not(.post-contact):not(.post-card a),
html body a[href^="tel:"]:not(.post-contact):not(.post-card a),
html body .contact-cta:not(.post-contact):not(.post-card a),
html body header a[href*="wa.me"],
html body .topbar a[href*="wa.me"],
html body .hero-actions a,
html body .service-hero-content a,
html body .contact-section a,
html body footer a[href*="wa.me"],
html body .site-footer a[href*="wa.me"],
html body .cta-section a[href*="wa.me"]
{
    animation:apmFastContactBlink .5s ease-in-out infinite!important;
    animation-name:apmFastContactBlink!important;
    transition:box-shadow .12s ease,filter .12s ease!important;
}
/* Posts/cards: no animation whatsoever, including phone and WhatsApp links. */
html body .post-card a,
html body .post-contact,
html body #home-posts a[href*="wa.me"],
html body #home-posts a[href*="whatsapp"],
html body #home-posts a[href^="tel:"]
{
    animation:none!important;
    animation-name:none!important;
    filter:none!important;
}
/* FINAL OVERRIDE: non-post contact buttons WHITE + clearly blinking every 0.5s */
@keyframes apmContactWhiteFlash
{
    0%,100%
    {
        background:#fff!important;
        color:#082653!important;
        box-shadow:0 0 0 2px #e5a714, 0 2px 8px rgba(5,25,55,.18);
        transform:scale(1);
    }
    50%
    {
        background:#fff!important;
        color:#082653!important;
        box-shadow:0 0 0 4px #f2bd35, 0 0 24px 7px rgba(229,167,20,.8);
        transform:scale(1.035);
    }
}
/* All prominent contact/WhatsApp/telephone CTAs outside property posts */
html body header a.gold-btn.compact,
html body .hero-actions a[href*="wa.me"],
html body .hero-actions a[href*="whatsapp"],
html body .service-hero-content a[href*="wa.me"],
html body .service-hero-content a[href*="whatsapp"],
html body .cta-section a[href*="wa.me"],
html body .cta-section a[href*="whatsapp"],
html body a[href*="wa.me"]:not(.post-contact):not(.post-card a),
html body a[href*="whatsapp"]:not(.post-contact):not(.post-card a),
html body a[href^="tel:"]:not(.post-contact):not(.post-card a),
html body a.contact-cta:not(.post-contact):not(.post-card a)
{
    background:#fff!important;
    background-image:none!important;
    color:#082653!important;
    border:2px solid #e5a714!important;
    animation:apmContactWhiteFlash .5s steps(2,end) infinite!important;
    animation-name:apmContactWhiteFlash!important;
    opacity:1!important;
    visibility:visible!important;
}
/* Ensure contact icons inherit navy, while button's white surface remains */
html body header a.gold-btn.compact i,
html body .hero-actions a[href*="wa.me"] i,
html body .cta-section a[href*="wa.me"] i
{
    color:#082653!important;
}
/* Post buttons retain the original yellow style and never blink. */
html body .post-card .post-contact,
html body .post-contact
{
    background:linear-gradient(110deg,#e5a714,#ffdc7b)!important;
    background-image:linear-gradient(110deg,#e5a714,#ffdc7b)!important;
    color:#0b1d38!important;
    border:1px solid #d5a02b!important;
    animation:none!important;
    animation-name:none!important;
    transform:none!important;
    box-shadow:0 5px 14px rgba(217,158,13,.22)!important;
}
html body .post-card a,
html body #home-posts a[href*="wa.me"],
html body #home-posts a[href*="whatsapp"],
html body #home-posts a[href^="tel:"]
{
    animation:none!important;
    animation-name:none!important;
    transform:none!important;
}
/* Developed by Ali Hyder Bhutto */


/* APM BACKGROUND VISIBILITY FIX — user requested 90% photo visibility.
   Only the posts-section backdrop/head panel is changed; post cards stay readable. */
.featured,
.listings-section {
    background: transparent !important;
    background-color: transparent !important;
    isolation: isolate !important;
    position: relative !important;
    overflow: hidden !important;
}

.featured::before,
.listings-section::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: -35% -5% -30% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    filter: saturate(1.04) !important;
    background-size: cover !important;
    background-position: center !important;
    transform: translate3d(0, var(--apm-building-y, 0px), 0) scale(1.12) !important;
    will-change: transform;
}

/* Homepage posts backdrop */
.featured::before {
    background-image:
        linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)),
        url("images/home-posts-bg.jpg") !important;
}

/* Construction / Real Estate / Renovation page-specific backdrops */
.apm-page-construction .listings-section::before {
    background-image:
        linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)),
        url("images/construction-posts-bg.jpg") !important;
}
.apm-page-realestate .listings-section::before {
    background-image:
        linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)),
        url("images/real-estate-posts-bg.jpg") !important;
}
.apm-page-renovation .listings-section::before {
    background-image:
        linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)),
        url("images/renovation-posts-bg.jpg") !important;
}

/* Keep section content above its photo */
.featured > *,
.listings-section > * {
    position: relative;
    z-index: 2;
}

/* Heading panels: remove the heavy white haze/blur so the backdrop shows through */
.featured .section-head,
.listings-section .section-head {
    background: rgba(250,252,255,.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Filters remain transparent; cards themselves retain their clean readable surface */
.featured .filters,
.listings-section .filters {
    background: transparent !important;
}


/* === FINAL QA: mobile menu text, equal leadership cards + visible motion, footer grid === */
/* Mobile navigation: explicitly paint the link text (previous cascaded rules made labels blank). */
@media (max-width: 700px) {
  .header { position: sticky !important; top: var(--apm-welcome-h, 106px) !important; }
  .header .menu-toggle { z-index: 2147483001 !important; position: relative !important; }
  .header nav,
  .header nav.open,
  .header nav.active,
  .header.menu-open nav {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 2147483000 !important;
  }
  .header nav.open,
  .header nav.active,
  .header nav.glossy-open,
  .header.menu-open nav {
    display: flex !important;
    position: fixed !important;
    top: calc(var(--apm-welcome-h, 106px) + 68px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - var(--apm-welcome-h, 106px) - 84px) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    overflow-y: auto !important;
    background: #f8fafc !important;
    border: 1px solid #e2b43c !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 42px rgba(0,20,48,.32) !important;
  }
  .header nav a,
  .header nav a:link,
  .header nav a:visited,
  .header nav a:hover,
  .header nav a:focus,
  .header nav a:active {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    color: #08264b !important;
    -webkit-text-fill-color: #08264b !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    text-indent: 0 !important;
    white-space: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    background: #fff !important;
    border: 1px solid #e3b33a !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .header nav a:hover,
  .header nav a:focus,
  .header nav a:active,
  .header nav a.active {
    background: #f5c64f !important;
    color: #061b36 !important;
    -webkit-text-fill-color: #061b36 !important;
  }
  .header nav a::before,
  .header nav a::after { content: none !important; display: none !important; }
}
/* Desktop menu is button-like, without a stray underline on hover. */
@media (min-width: 701px) {
  .header nav a,
  .header nav a:hover,
  .header nav a:focus,
  .header nav a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 1px solid #e2b43c !important;
  }
  .header nav a::before,
  .header nav a::after { content: none !important; display: none !important; }
}
/* Desktop footer: keep brand LEFT, quick links CENTER, socials RIGHT.
   Heading is left aligned inside the social column; icon row stays on the right. */
@media (min-width: 901px) {
  .footer-main-compact {
    display: grid !important;
    grid-template-columns: minmax(220px, .9fr) minmax(380px, 1.45fr) minmax(260px, .95fr) !important;
    grid-template-areas: "brand quick social" !important;
    align-items: center !important;
    gap: 26px !important;
  }
  .footer-main-compact .footer-brand {
    grid-area: brand !important;
    justify-self: start !important;
    text-align: left !important;
  }
  .footer-main-compact .footer-quick-actions {
    grid-area: quick !important;
    justify-self: stretch !important;
  }
  .footer-main-compact .footer-social-column {
    grid-area: social !important;
    justify-self: end !important;
    width: 100% !important;
    text-align: left !important;
    order: initial !important;
  }
  .footer-main-compact .footer-social-column .social-follow {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .footer-main-compact .footer-social-column .social-follow span {
    display: block !important;
    flex: 0 0 100% !important;
    text-align: left !important;
    margin: 0 0 4px !important;
  }
}
/* Equal card dimensions; leader has the same width as one advisor card. */
.apm-team-section { overflow: visible !important; }
.apm-team-section .team-leader,
.apm-team-section .team-pair > .team-card {
  box-sizing: border-box !important;
  height: 218px !important;
  min-height: 218px !important;
  max-height: 218px !important;
  padding: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  overflow: hidden !important;
}
.apm-team-section .team-leader {
  width: calc((100% - 36px) / 3) !important;
  max-width: none !important;
  margin: 0 auto 20px !important;
}
.apm-team-section .team-pair {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: none !important;
}
.apm-team-section .team-photo {
  flex: 0 0 112px !important;
  width: 112px !important;
  height: 138px !important;
  max-width: 112px !important;
  overflow: hidden !important;
}
.apm-team-section .team-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .55s ease, filter .55s ease !important;
}
.apm-team-section .team-card:hover .team-photo img {
  transform: scale(1.075) !important;
  filter: saturate(1.12) contrast(1.04) !important;
}
.apm-team-section .team-card {
  position: relative !important;
  isolation: isolate !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}
.apm-team-section .team-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: linear-gradient(115deg, transparent 25%, rgba(255,205,66,.18) 48%, transparent 68%) !important;
  transform: translateX(-130%) !important;
  transition: transform .75s ease !important;
}
.apm-team-section .team-card:hover {
  transform: translateY(-8px) !important;
  border-color: #e5b52f !important;
  box-shadow: 0 22px 42px rgba(2,23,52,.24) !important;
}
.apm-team-section .team-card:hover::after { transform: translateX(130%) !important; }
/* Four clearly visible staggered entrance animations on initial page view. */
.apm-team-section .team-leader { animation: apmCardPop .85s cubic-bezier(.2,.75,.25,1) .08s both !important; }
.apm-team-section .team-left { animation: apmCardSlideLeft .9s cubic-bezier(.2,.75,.25,1) .22s both !important; }
.apm-team-section .team-right { animation: apmCardSlideRight .9s cubic-bezier(.2,.75,.25,1) .38s both !important; }
.apm-team-section .team-third { animation: apmCardRise .9s cubic-bezier(.2,.75,.25,1) .54s both !important; }
@keyframes apmCardPop { 0% { opacity: .15; transform: translateY(32px) scale(.91); } 72% { opacity: 1; transform: translateY(-5px) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes apmCardSlideLeft { 0% { opacity: .15; transform: translateX(-54px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes apmCardSlideRight { 0% { opacity: .15; transform: translateX(54px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes apmCardRise { 0% { opacity: .15; transform: translateY(42px); } 100% { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) and (min-width: 701px) {
  .apm-team-section .team-leader { width: calc((100% - 24px) / 3) !important; }
  .apm-team-section .team-pair { gap: 12px !important; }
  .apm-team-section .team-leader, .apm-team-section .team-pair > .team-card { height: 204px !important; min-height: 204px !important; max-height: 204px !important; padding: 12px !important; gap: 9px !important; }
  .apm-team-section .team-photo { flex-basis: 86px !important; width: 86px !important; height: 116px !important; max-width: 86px !important; }
}
@media (max-width: 700px) {
  .apm-team-section .team-leader,
  .apm-team-section .team-pair > .team-card {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    padding: 13px !important;
    gap: 12px !important;
  }
  .apm-team-section .team-leader { max-width: 560px !important; margin: 0 auto 14px !important; }
  .apm-team-section .team-pair { grid-template-columns: 1fr !important; max-width: 560px !important; margin: 0 auto !important; gap: 14px !important; }
  .apm-team-section .team-photo { flex-basis: 100px !important; width: 100px !important; height: 124px !important; max-width: 100px !important; }
  .footer-main-compact .footer-brand { order: 0 !important; }
  .footer-main-compact .footer-social-column { order: 0 !important; }
}
@media (max-width: 380px) {
  .apm-team-section .team-leader,
  .apm-team-section .team-pair > .team-card { height: 176px !important; min-height: 176px !important; max-height: 176px !important; padding: 10px !important; gap: 9px !important; }
  .apm-team-section .team-photo { flex-basis: 84px !important; width: 84px !important; height: 108px !important; max-width: 84px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .apm-team-section .team-leader,
  .apm-team-section .team-left,
  .apm-team-section .team-right,
  .apm-team-section .team-third { animation: none !important; opacity: 1 !important; transform: none !important; }
  .apm-team-section .team-card, .apm-team-section .team-photo img { transition: none !important; }
}


/* === APM MOTION UPDATE: scroll-reveal leadership, mobile menu micro-motion, universal glossy click === */
.apm-team-section .team-card.apm-team-reveal {
  opacity: 0 !important;
  animation: none !important;
  transform: translate3d(0,34px,0) scale(.985) !important;
  will-change: opacity, transform;
}
.apm-team-section .team-card.apm-team-reveal.apm-team-in {
  opacity: 1 !important;
  animation: apmLeadershipReveal .88s cubic-bezier(.18,.72,.22,1) var(--apm-team-delay,0ms) both !important;
}
.apm-team-section .team-leader.apm-team-reveal { --apm-team-delay: 80ms; }
.apm-team-section .team-left.apm-team-reveal { --apm-team-delay: 120ms; }
.apm-team-section .team-right.apm-team-reveal { --apm-team-delay: 230ms; }
.apm-team-section .team-third.apm-team-reveal { --apm-team-delay: 340ms; }
@keyframes apmLeadershipReveal {
  0% { opacity:0; transform:translate3d(var(--apm-team-x,0),36px,0) scale(.96); filter:blur(2px); }
  62% { opacity:1; transform:translate3d(0,-5px,0) scale(1.012); filter:blur(0); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
.apm-team-section .team-left.apm-team-reveal { --apm-team-x:-72px; }
.apm-team-section .team-right.apm-team-reveal { --apm-team-x:72px; }
.apm-team-section .team-third.apm-team-reveal { --apm-team-x:52px; }
.apm-team-section .team-card.apm-team-in:hover {
  transform: translateY(-8px) !important;
}
@media(max-width:700px) {
  .apm-team-section .team-left.apm-team-reveal { --apm-team-x:-44px; }
  .apm-team-section .team-right.apm-team-reveal { --apm-team-x:44px; }
  .apm-team-section .team-third.apm-team-reveal { --apm-team-x:-44px; }
  /* The menu panel itself softly drops in; each nav item cascades in order. */
  .header nav.open, .header nav.glossy-open {
    animation: apmMenuPanelIn .22s cubic-bezier(.2,.8,.25,1) both !important;
    transform-origin: top center !important;
  }
  .header nav.open a, .header nav.glossy-open a {
    opacity:0 !important;
    animation: apmMenuItemIn .42s cubic-bezier(.2,.8,.25,1) forwards !important;
  }
  .header nav.open a:nth-child(1), .header nav.glossy-open a:nth-child(1) { animation-delay:40ms!important; }
  .header nav.open a:nth-child(2), .header nav.glossy-open a:nth-child(2) { animation-delay:90ms!important; }
  .header nav.open a:nth-child(3), .header nav.glossy-open a:nth-child(3) { animation-delay:140ms!important; }
  .header nav.open a:nth-child(4), .header nav.glossy-open a:nth-child(4) { animation-delay:190ms!important; }
  .header nav.open a:nth-child(5), .header nav.glossy-open a:nth-child(5) { animation-delay:240ms!important; }
  .header nav.open a:nth-child(6), .header nav.glossy-open a:nth-child(6) { animation-delay:290ms!important; }
  .header nav.open a:nth-child(7), .header nav.glossy-open a:nth-child(7) { animation-delay:340ms!important; }
  .header .menu-toggle {
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
  }
  .header .menu-toggle:active, .header .menu-toggle[aria-expanded="true"] {
    transform: rotate(90deg) scale(.96) !important;
    box-shadow: 0 0 0 5px rgba(231,173,36,.2), 0 8px 20px rgba(4,28,61,.2) !important;
  }
}
@keyframes apmMenuPanelIn {
  from { opacity:0; transform:translateY(-12px) scale(.97); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes apmMenuItemIn {
  from { opacity:0; transform:translateX(-16px); }
  to { opacity:1; transform:translateX(0); }
}
/* Shared glossy press overlay for every link, button and clickable card on desktop/mobile. */
a, button, [role="button"], .service-tile, .post-card {
  -webkit-tap-highlight-color: transparent;
}
a.apm-glossy-press, button.apm-glossy-press,
[role="button"].apm-glossy-press, .service-tile.apm-glossy-press,
.post-card.apm-glossy-press {
  filter: brightness(1.06) saturate(1.08) !important;
  box-shadow: 0 0 0 2px rgba(255,205,68,.48), 0 10px 26px rgba(5,29,62,.2) !important;
}
.apm-gloss-sweep {
  position:absolute !important;
  inset:0 !important;
  z-index:20 !important;
  pointer-events:none !important;
  border-radius:inherit !important;
  overflow:hidden !important;
}
.apm-gloss-sweep::after {
  content:"" !important;
  position:absolute !important;
  top:-35% !important;
  left:-85% !important;
  width:48% !important;
  height:170% !important;
  transform:skewX(-22deg) !important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.76),rgba(255,224,139,.35),transparent) !important;
  animation:apmGlossSweep .58s ease-out forwards !important;
}
@keyframes apmGlossSweep {
  to { left:145%; }
}
a, button, [role="button"] {
  transition: transform .2s ease, box-shadow .22s ease, filter .22s ease !important;
}
a:active, button:active, [role="button"]:active {
  transform:scale(.975);
}
@media(prefers-reduced-motion:reduce) {
  .apm-team-section .team-card.apm-team-reveal,
  .apm-team-section .team-card.apm-team-reveal.apm-team-in {
    animation:none!important; opacity:1!important; transform:none!important; filter:none!important;
  }
  .header nav.open, .header nav.glossy-open,
  .header nav.open a, .header nav.glossy-open a,
  .apm-gloss-sweep::after { animation:none!important; opacity:1!important; }
}

/* Mobile menu entrance is orchestrated by JS transitions so it remains visible despite legacy !important menu styles. */
@media(max-width:700px){
 .header nav.open,.header nav.glossy-open { animation:none!important; }
 .header nav.open a,.header nav.glossy-open a { animation:none!important; opacity:1!important; transform:none!important; }
}


/* FINAL SLOW, TRUE SCROLL-TRIGGERED LEADERSHIP MOTION — no entrance jump */
.apm-team-section .team-card,
.apm-team-section .team-card:hover,
.apm-team-section .team-card:focus-within {
  animation: none !important;
  transform: none !important;
  transition: box-shadow .65s ease, border-color .65s ease, filter .65s ease !important;
}
.apm-team-section .team-card:hover,
.apm-team-section .team-card:focus-within {
  box-shadow: 0 16px 34px rgba(2,23,52,.20) !important;
  filter: saturate(1.035) !important;
}
.apm-team-section .team-card.apm-scroll-motion {
  opacity: 0 ;
  animation: none !important;
  transform: translate3d(0,0,0) ;
  will-change: opacity, transform;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start {
  animation: none !important;
  opacity: 1 ;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start.apm-motion-pop {
  animation: apmDirectorSlow 1.55s cubic-bezier(.22,.68,.18,1) var(--apm-motion-delay,0ms) both !important;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start.apm-motion-left {
  animation: apmAdvisorLeftSlow 1.65s cubic-bezier(.2,.65,.22,1) var(--apm-motion-delay,0ms) both !important;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start.apm-motion-right {
  animation: apmAdvisorRightSlow 1.65s cubic-bezier(.2,.65,.22,1) var(--apm-motion-delay,0ms) both !important;
}
@keyframes apmDirectorSlow {
  0% { opacity:0; transform:translate3d(0,48px,0) scale(.90); filter:blur(3px); }
  58% { opacity:1; transform:translate3d(0,-3px,0) scale(1.015); filter:blur(.4px); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
@keyframes apmAdvisorLeftSlow {
  0% { opacity:0; transform:translate3d(-82px,8px,0) scale(.97); filter:blur(2px); }
  65% { opacity:1; transform:translate3d(4px,0,0) scale(1.005); filter:blur(.3px); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
@keyframes apmAdvisorRightSlow {
  0% { opacity:0; transform:translate3d(82px,8px,0) scale(.97); filter:blur(2px); }
  65% { opacity:1; transform:translate3d(-4px,0,0) scale(1.005); filter:blur(.3px); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
/* Desktop social heading and all seven icons stay in one fixed-width, aligned column. */
@media (min-width:901px) {
 .footer-main-compact .footer-social-column {
   width:100% !important; min-width:0 !important; justify-self:start !important;
   text-align:left !important; overflow:hidden !important;
 }
 .footer-main-compact .footer-social-column .social-follow {
   display:grid !important;
   grid-template-columns:repeat(7,minmax(0,1fr)) !important;
   gap:9px !important; align-items:center !important;
   justify-content:start !important; justify-items:stretch !important;
   width:100% !important; max-width:330px !important; margin:0 !important;
 }
 .footer-main-compact .footer-social-column .social-follow span {
   grid-column:1/-1 !important; width:100% !important;
   text-align:left !important; margin:0 0 7px !important;
 }
 .footer-main-compact .footer-social-column .social-follow a {
   width:100% !important; min-width:0 !important; max-width:38px !important;
   justify-self:start !important; margin:0 !important;
 }
}
@media (prefers-reduced-motion:reduce) {
 .apm-team-section .team-card.apm-scroll-motion,
 .apm-team-section .team-card.apm-scroll-motion.apm-motion-start {
   animation:none!important;opacity: 1;transform: none;filter:none!important;
 }
}


/* === Requested minimal update: welcome stays pinned; navigation scrolls away === */
:root {
  --apm-welcome-h: 112px;
  --apm-fixed-stack: var(--apm-welcome-h);
}
html {
  scroll-padding-top: calc(var(--apm-welcome-h) + 12px) !important;
}
body {
  padding-top: var(--apm-welcome-h) !important;
}
.apm-welcome-banner {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 2147483646 !important;
}
.header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  z-index: 1000 !important;
}
@media (max-width: 700px) {
  :root {
    --apm-welcome-h: 106px;
    --apm-fixed-stack: var(--apm-welcome-h);
  }
  .apm-welcome-banner {
    height: var(--apm-welcome-h) !important;
    min-height: var(--apm-welcome-h) !important;
  }
  .header {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
  }
  .header nav {
    top: 100% !important;
  }
}

/* Leadership cards: reveal on entering the viewport, like the service tiles. */
.apm-team-section .team-card.apm-scroll-motion {
  opacity:  0 !important;
  transform: translate3d(0, 28px, 0) scale(.985) !important;
  animation: none !important;
  transition: opacity .72s ease,
              transform .72s cubic-bezier(.2,.7,.2,1) !important;
  transition-delay: var(--apm-motion-delay, 0ms) !important;
  will-change: opacity, transform;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-left {
  transform: translate3d(-34px, 24px, 0) scale(.985) !important;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-right {
  transform: translate3d(34px, 24px, 0) scale(.985) !important;
}
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start,
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start.apm-motion-left,
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start.apm-motion-right,
.apm-team-section .team-card.apm-scroll-motion.apm-motion-start.apm-motion-pop {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .apm-team-section .team-card.apm-scroll-motion,
  .apm-team-section .team-card.apm-scroll-motion.apm-motion-start {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ==========================================================
   APM MOBILE MENU — compact premium alignment and motion
   Additive override: mobile menu only; desktop/site layout intact.
   ========================================================== */
@media (max-width: 700px) {
  .header {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate !important;
  }

  .header .menu-toggle {
    position: relative !important;
    z-index: 2147483001 !important;
  }

  .header nav,
  .header nav.open,
  .header nav.glossy-open,
  .header nav.active,
  .header.menu-open nav {
    box-sizing: border-box !important;
    width: min(310px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(410px, calc(100dvh - 190px)) !important;
    padding: 9px !important;
    gap: 6px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: auto !important;
    right: 10px !important;
    bottom: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border: 1px solid rgba(231, 173, 36, .95) !important;
    border-radius: 17px !important;
    background:
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,248,252,.98)) !important;
    box-shadow:
      0 18px 42px rgba(3, 26, 57, .27),
      0 4px 12px rgba(3, 26, 57, .10),
      inset 0 1px 0 rgba(255,255,255,.95) !important;
    backdrop-filter: blur(16px) saturate(1.18) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.18) !important;
    transform-origin: top right !important;
  }

  .header nav:not(.open):not(.glossy-open):not(.active) {
    display: none !important;
  }

  .header nav.open,
  .header nav.glossy-open,
  .header nav.active,
  .header.menu-open nav {
    display: flex !important;
    animation: apmCompactMenuEnter .38s cubic-bezier(.18,.82,.22,1) both !important;
  }

  .header nav a,
  .header nav a:link,
  .header nav a:visited,
  .header nav a:hover,
  .header nav a:focus,
  .header nav a:active {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 39px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 13px !important;
    box-sizing: border-box !important;
    border-radius: 11px !important;
    border: 1px solid rgba(218, 174, 51, .72) !important;
    background: linear-gradient(115deg, #fff 0%, #fffdf7 100%) !important;
    color: #09284d !important;
    -webkit-text-fill-color: #09284d !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .05px !important;
    box-shadow: 0 2px 5px rgba(3,26,57,.035) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: background .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease !important;
  }

  .header nav a:hover,
  .header nav a:focus-visible,
  .header nav a.active {
    background: linear-gradient(110deg, #ffedb0, #f4c64e) !important;
    border-color: #c89416 !important;
    color: #061b36 !important;
    -webkit-text-fill-color: #061b36 !important;
    box-shadow: 0 5px 12px rgba(195,145,23,.18) !important;
    transform: translateX(-2px) !important;
  }

  .header nav a::before,
  .header nav a::after {
    display: none !important;
    content: none !important;
  }

  .header nav.glossy-open a,
  .header nav.open a {
    animation: apmCompactMenuItem .34s cubic-bezier(.2,.75,.25,1) both !important;
  }
  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1) { animation-delay: 35ms !important; }
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2) { animation-delay: 75ms !important; }
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3) { animation-delay: 115ms !important; }
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4) { animation-delay: 155ms !important; }
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5) { animation-delay: 195ms !important; }
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6) { animation-delay: 235ms !important; }
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7) { animation-delay: 275ms !important; }
}

@keyframes apmCompactMenuEnter {
  from { opacity: 0; transform: translateY(-9px) scale(.965); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes apmCompactMenuItem {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.open a,
  .header nav.glossy-open a {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* FINAL MOBILE MENU MOTION OVERRIDE — preserve existing panel dimensions */
@media (max-width:700px) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.active {
    animation: apmVipPanelOpen .42s cubic-bezier(.16,1,.3,1) !important;
    transform-origin: top right !important;
    will-change: transform, opacity, filter !important;
  }

  .header nav.open a,
  .header nav.glossy-open a,
  .header nav.active a {
    opacity: 0 !important;
    animation: apmVipLinkReveal .48s cubic-bezier(.16,1,.3,1) forwards !important;
    will-change: transform, opacity, filter !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* Rich but restrained gold light sweep on each menu link */
  .header nav.open a::after,
  .header nav.glossy-open a::after,
  .header nav.active a::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: -35% !important;
    bottom: -35% !important;
    left: -125% !important;
    width: 48% !important;
    background: linear-gradient(100deg, transparent, rgba(255,218,119,.58), transparent) !important;
    transform: skewX(-22deg) !important;
    pointer-events: none !important;
    animation: apmVipGoldSweep .9s ease-out both !important;
    animation-delay: inherit !important;
  }

  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1) { animation-delay: 45ms !important; }
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2) { animation-delay: 105ms !important; }
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3) { animation-delay: 165ms !important; }
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4) { animation-delay: 225ms !important; }
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5) { animation-delay: 285ms !important; }
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6) { animation-delay: 345ms !important; }
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7) { animation-delay: 405ms !important; }

  .header .menu-toggle[aria-expanded="true"] {
    transform: rotate(90deg) scale(.96) !important;
    box-shadow: 0 0 0 5px rgba(231,173,36,.18),
                0 9px 24px rgba(4,28,61,.22) !important;
  }
}
@keyframes apmVipPanelOpen {
  0% { opacity: 0; transform: translateY(-13px) scale(.94); filter: blur(4px); }
  70% { opacity: 1; transform: translateY(2px) scale(1.006); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: none; }
}
@keyframes apmVipLinkReveal {
  0% { opacity: 0; transform: translateX(22px) translateY(5px); filter: blur(3px); }
  70% { opacity: 1; transform: translateX(-2px) translateY(0); filter: blur(0); }
  100% { opacity: 1; transform: translateX(0) translateY(0); filter: none; }
}
@keyframes apmVipGoldSweep {
  0% { left: -125%; opacity: 0; }
  15% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}
@media (prefers-reduced-motion:reduce) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.active,
  .header nav.open a,
  .header nav.glossy-open a,
  .header nav.active a,
  .header nav.open a::after,
  .header nav.glossy-open a::after,
  .header nav.active a::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* APM MOBILE MENU — slow, sequential, colorful premium reveal */
@media (max-width:700px) {
  .header nav.open,
  .header nav.glossy-open {
    animation: apmRoyalPanelReveal 720ms cubic-bezier(.22,.75,.2,1) both !important;
    transform-origin: top right !important;
    will-change: opacity, transform, filter !important;
  }

  .header nav.open a,
  .header nav.glossy-open a {
    opacity: 0 !important;
    animation: apmRoyalItemReveal 760ms cubic-bezier(.2,.72,.18,1) both !important;
    animation-delay: var(--apm-menu-delay, 0ms) !important;
    border-width: 1px !important;
    border-style: solid !important;
    box-shadow: 0 5px 13px rgba(5,29,61,.10),
                inset 0 1px 0 rgba(255,255,255,.72) !important;
    transition: box-shadow .28s ease, filter .28s ease !important;
  }

  /* A distinct, coordinated color treatment for every menu option */
  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1) {
    background: linear-gradient(115deg,#fff5cf,#ffe18a) !important;
    border-color:#d5a52b !important;
  }
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2) {
    background: linear-gradient(115deg,#e8f3ff,#c7e1ff) !important;
    border-color:#8bbbe9 !important;
  }
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3) {
    background: linear-gradient(115deg,#e6f8f2,#bcebdc) !important;
    border-color:#85cdb7 !important;
  }
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4) {
    background: linear-gradient(115deg,#f4eaff,#dfccff) !important;
    border-color:#bba0e5 !important;
  }
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5) {
    background: linear-gradient(115deg,#fff0e5,#ffd4b2) !important;
    border-color:#e6ad83 !important;
  }
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6) {
    background: linear-gradient(115deg,#e5f5ff,#b8e6f5) !important;
    border-color:#82c7df !important;
  }
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7) {
    background: linear-gradient(115deg,#edf1f8,#d4deed) !important;
    border-color:#aabbd2 !important;
  }

  .header nav.open a:hover,
  .header nav.glossy-open a:hover,
  .header nav.open a:focus-visible,
  .header nav.glossy-open a:focus-visible {
    filter: saturate(1.18) brightness(1.025) !important;
    box-shadow: 0 8px 20px rgba(5,29,61,.17),
                inset 0 1px 0 rgba(255,255,255,.85) !important;
  }

  .header .menu-toggle[aria-expanded="true"] {
    transition: transform .42s cubic-bezier(.2,.8,.2,1),
                box-shadow .42s ease !important;
    transform: rotate(90deg) scale(.97) !important;
  }
}
@keyframes apmRoyalPanelReveal {
  0% { opacity:0; transform:translateY(-16px) scale(.955); filter:blur(5px); }
  65% { opacity:1; transform:translateY(2px) scale(1.008); filter:blur(0); }
  100% { opacity:1; transform:translateY(0) scale(1); filter:none; }
}
@keyframes apmRoyalItemReveal {
  0% { opacity:0; transform:translateX(30px) translateY(7px) scale(.965); filter:blur(4px); }
  72% { opacity:1; transform:translateX(-2px) translateY(0) scale(1.006); filter:blur(0); }
  100% { opacity:1; transform:translateX(0) translateY(0) scale(1); filter:none; }
}
@media (prefers-reduced-motion:reduce) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.open a,
  .header nav.glossy-open a {
    animation:none !important; opacity:1 !important;
    transform:none !important; filter:none !important;
  }
}


/* HOTFIX: final cascade cleanup — never leave an empty menu panel */
@media (max-width:700px) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.active,
  .header.menu-open nav {
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    animation:apmFinalMenuPanel 650ms cubic-bezier(.2,.75,.18,1) both !important;
    transform-origin:top right !important;
  }

  .header nav.open a,
  .header nav.glossy-open a,
  .header nav.active a,
  .header.menu-open nav a {
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    color:#082747 !important;
    -webkit-text-fill-color:#082747 !important;
    font-weight:800 !important;
    border:1px solid rgba(221,177,57,.85) !important;
    box-shadow:0 5px 14px rgba(5,28,55,.12), inset 0 1px 0 rgba(255,255,255,.8) !important;
    animation:apmFinalMenuItem 850ms cubic-bezier(.22,.72,.18,1) both !important;
    animation-delay:var(--apm-menu-delay,0ms) !important;
  }

  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1) {--apm-menu-delay:100ms;background:linear-gradient(120deg,#fff4c9,#ffdc73)!important;border-color:#d8a929!important}
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2) {--apm-menu-delay:460ms;background:linear-gradient(120deg,#e7f3ff,#c3e0ff)!important;border-color:#8bbce9!important}
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3) {--apm-menu-delay:820ms;background:linear-gradient(120deg,#e4f8ef,#bcebd8)!important;border-color:#82cbb0!important}
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4) {--apm-menu-delay:1180ms;background:linear-gradient(120deg,#f3eaff,#ddcaff)!important;border-color:#b79be2!important}
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5) {--apm-menu-delay:1540ms;background:linear-gradient(120deg,#fff0e3,#ffd2ac)!important;border-color:#e2aa7c!important}
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6) {--apm-menu-delay:1900ms;background:linear-gradient(120deg,#e4f7ff,#b9e5f3)!important;border-color:#7fc6dc!important}
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7) {--apm-menu-delay:2260ms;background:linear-gradient(120deg,#edf1f8,#d1deee)!important;border-color:#a6b9d1!important}

  /* Disable the old pseudo-element animation rules that had overridden item visibility */
  .header nav.open a::before,
  .header nav.glossy-open a::before,
  .header nav.open a::after,
  .header nav.glossy-open a::after {
    content:none !important;
    display:none !important;
    animation:none !important;
  }
}
@keyframes apmFinalMenuPanel {
  0% {opacity:0;transform:translateY(-10px) scale(.975);filter:blur(3px)}
  100% {opacity:1;transform:translateY(0) scale(1);filter:none}
}
@keyframes apmFinalMenuItem {
  0% {opacity:0;transform:translateX(25px) translateY(4px);filter:blur(3px)}
  75% {opacity:1;transform:translateX(-2px) translateY(0);filter:blur(0)}
  100% {opacity:1;transform:translateX(0) translateY(0);filter:none}
}
@media (prefers-reduced-motion:reduce) {
 .header nav.open,.header nav.glossy-open,
 .header nav.open a,.header nav.glossy-open a {
  animation:none!important;opacity:1!important;transform:none!important;filter:none!important
 }
}


/* FINAL USER REQUEST: transparent floating menu + sequential left-to-right reveal */
@media (max-width:700px) {
  /* Remove the enclosing white/glass card entirely; keep menu dimensions/anchor */
  .header nav.open,
  .header nav.glossy-open,
  .header nav.active,
  .header.menu-open nav {
    background:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    padding:0 !important;
    gap:8px !important;
    overflow:visible !important;
    animation:apmFloatMenuIn 520ms cubic-bezier(.2,.75,.2,1) both !important;
  }

  /* Individual premium gradient pills — no white outer panel */
  .header nav.open a,
  .header nav.glossy-open a,
  .header nav.active a,
  .header.menu-open nav a {
    display:flex !important;
    width:100% !important;
    min-height:43px !important;
    box-sizing:border-box !important;
    align-items:center !important;
    padding:11px 16px !important;
    border-radius:12px !important;
    border:1px solid rgba(241,198,83,.82) !important;
    background:linear-gradient(105deg,#071d3b 0%,#103d68 52%,#1a5b83 100%) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    letter-spacing:.15px !important;
    text-decoration:none !important;
    box-shadow:0 7px 17px rgba(1,18,43,.22),inset 0 1px 0 rgba(255,255,255,.13) !important;
    clip-path:inset(0 100% 0 0 round 12px) !important;
    transform:translateX(-9px) !important;
    animation:apmLineRevealLeftToRight 760ms cubic-bezier(.22,.72,.16,1) both !important;
    animation-delay:var(--apm-menu-delay,0ms) !important;
  }

  /* Thin gold accent on each line */
  .header nav.open a::before,
  .header nav.glossy-open a::before,
  .header nav.active a::before,
  .header.menu-open nav a::before {
    content:"" !important;
    display:block !important;
    position:absolute !important;
    inset:0 auto 0 0 !important;
    width:3px !important;
    height:100% !important;
    background:linear-gradient(180deg,#fff0a6,#dca51c,#fff0a6) !important;
    opacity:1 !important;
    animation:none !important;
    pointer-events:none !important;
  }
  .header nav.open a::after,
  .header nav.glossy-open a::after,
  .header nav.active a::after,
  .header.menu-open nav a::after {
    content:none !important;
    display:none !important;
  }

  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1) {--apm-menu-delay:0ms!important}
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2) {--apm-menu-delay:360ms!important}
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3) {--apm-menu-delay:720ms!important}
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4) {--apm-menu-delay:1080ms!important}
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5) {--apm-menu-delay:1440ms!important}
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6) {--apm-menu-delay:1800ms!important}
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7) {--apm-menu-delay:2160ms!important}

  .header nav.open a:hover,
  .header nav.glossy-open a:hover,
  .header nav.open a:focus-visible,
  .header nav.glossy-open a:focus-visible {
    background:linear-gradient(105deg,#f8d66c,#e9b735 52%,#ffe9a0) !important;
    color:#082345 !important;
    -webkit-text-fill-color:#082345 !important;
    border-color:#fff0b0 !important;
    transform:translateX(3px) !important;
    box-shadow:0 9px 23px rgba(218,166,35,.28),inset 0 1px 0 #fff8d9 !important;
  }
}
@keyframes apmFloatMenuIn {
  from {opacity:.25;transform:translateY(-7px)}
  to {opacity:1;transform:translateY(0)}
}
@keyframes apmLineRevealLeftToRight {
  0% {clip-path:inset(0 100% 0 0 round 12px);transform:translateX(-9px)}
  100% {clip-path:inset(0 0 0 0 round 12px);transform:translateX(0)}
}
@media (prefers-reduced-motion:reduce) {
 .header nav.open,.header nav.glossy-open,.header nav.open a,.header nav.glossy-open a {
  animation:none!important;clip-path:none!important;transform:none!important
 }
}


/* MENU OPEN STATE RELIABILITY PATCH — keep nav visible until user closes it */
@media (max-width:700px) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.open.glossy-open {
    display:flex !important;
    position:fixed !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    z-index:2147483000 !important;
    /* Keep the transparent floating style from the final design */
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    overflow:visible !important;
  }
  .header nav.open a,
  .header nav.glossy-open a {
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    clip-path:inset(0 0 0 0 round 12px) !important;
    animation:apmStableLeftReveal 680ms cubic-bezier(.22,.68,.18,1) both !important;
    animation-delay:var(--apm-menu-delay,0ms) !important;
  }
  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1){--apm-menu-delay:0ms!important}
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2){--apm-menu-delay:260ms!important}
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3){--apm-menu-delay:520ms!important}
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4){--apm-menu-delay:780ms!important}
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5){--apm-menu-delay:1040ms!important}
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6){--apm-menu-delay:1300ms!important}
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7){--apm-menu-delay:1560ms!important}
}
@keyframes apmStableLeftReveal {
  0% {clip-path:inset(0 100% 0 0 round 12px);transform:translateX(-12px);opacity:.35}
  100% {clip-path:inset(0 0 0 0 round 12px);transform:translateX(0);opacity:1}
}


/* FINAL REFERENCE-INSPIRED MOBILE NAV:
   transparent ribbon-like rows, clear type, uniform dark tap/hover state,
   sequential left-to-right reveal. No enclosing white panel. */
@media (max-width:700px) {
  .header nav.open,
  .header nav.glossy-open,
  .header nav.open.glossy-open {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:9px !important;
    padding:8px 12px 12px !important;
    margin:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .header nav.open a,
  .header nav.glossy-open a {
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    min-height:48px !important;
    height:auto !important;
    box-sizing:border-box !important;
    padding:12px 20px 12px 25px !important;
    margin:0 !important;
    border:1px solid rgba(145,224,255,.78) !important;
    border-radius:0 !important;
    /* Low-opacity blue/cyan fill: text stays fully opaque and crisp */
    background:rgba(17,111,160,.53) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-family:inherit !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1.25 !important;
    letter-spacing:.15px !important;
    text-shadow:0 1px 3px rgba(0,20,45,.8) !important;
    text-decoration:none !important;
    box-shadow:0 4px 12px rgba(0,20,45,.18),inset 0 1px 0 rgba(255,255,255,.15) !important;
    clip-path:inset(0 100% 0 0) !important;
    opacity:1 !important;
    transform:translateX(-10px) !important;
    animation:apmReferenceLineReveal 720ms cubic-bezier(.22,.68,.18,1) both !important;
    animation-delay:var(--apm-ribbon-delay,0ms) !important;
    transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease !important;
  }

  /* The arrow/ribbon ends echo the supplied banner without adding a white card */
  .header nav.open a,
  .header nav.glossy-open a {
    clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%) !important;
  }

  /* All rows turn the same solid deep navy on hover, focus or tap */
  .header nav.open a:hover,
  .header nav.glossy-open a:hover,
  .header nav.open a:focus-visible,
  .header nav.glossy-open a:focus-visible,
  .header nav.open a:active,
  .header nav.glossy-open a:active {
    background:rgba(3,28,62,.98) !important;
    background-image:none !important;
    border-color:#f0c84d !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:0 1px 3px rgba(0,0,0,.55) !important;
    box-shadow:0 7px 20px rgba(0,12,34,.35),inset 0 0 0 1px rgba(255,221,115,.16) !important;
  }

  .header nav.open a:nth-child(1),
  .header nav.glossy-open a:nth-child(1){--apm-ribbon-delay:0ms!important}
  .header nav.open a:nth-child(2),
  .header nav.glossy-open a:nth-child(2){--apm-ribbon-delay:260ms!important}
  .header nav.open a:nth-child(3),
  .header nav.glossy-open a:nth-child(3){--apm-ribbon-delay:520ms!important}
  .header nav.open a:nth-child(4),
  .header nav.glossy-open a:nth-child(4){--apm-ribbon-delay:780ms!important}
  .header nav.open a:nth-child(5),
  .header nav.glossy-open a:nth-child(5){--apm-ribbon-delay:1040ms!important}
  .header nav.open a:nth-child(6),
  .header nav.glossy-open a:nth-child(6){--apm-ribbon-delay:1300ms!important}
  .header nav.open a:nth-child(7),
  .header nav.glossy-open a:nth-child(7){--apm-ribbon-delay:1560ms!important}
}
@keyframes apmReferenceLineReveal {
  0% {clip-path:inset(0 100% 0 0);transform:translateX(-10px)}
  100% {clip-path:inset(0 0 0 0);transform:translateX(0)}
}
@media (prefers-reduced-motion:reduce) {
 .header nav.open a,.header nav.glossy-open a {
   animation:none!important;clip-path:none!important;transform:none!important;
 }
}


/* FINAL FIX based on screenshot: true stagger, unified translucent navy rows,
   high-contrast white labels. Do not show rows before their individual turn. */
@media (max-width:700px) {
  body .header nav.open,
  body .header nav.glossy-open,
  body .header nav.open.glossy-open {
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    background:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    padding:7px 10px 10px !important;
    overflow:visible !important;
  }

  body .header nav.open > a,
  body .header nav.glossy-open > a {
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex:0 0 auto !important;
    width:100% !important;
    min-height:47px !important;
    box-sizing:border-box !important;
    padding:12px 26px !important;
    margin:0 !important;
    clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%) !important;
    background:rgba(7,43,78,.72) !important;
    background-color:rgba(7,43,78,.72) !important;
    background-image:none !important;
    border:1px solid rgba(180,225,245,.72) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    opacity:0 !important;
    visibility:visible !important;
    transform:translateX(-28px) !important;
    text-shadow:0 2px 4px rgba(0,0,0,.95) !important;
    font-size:15px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    letter-spacing:.2px !important;
    box-shadow:0 5px 13px rgba(0,12,30,.24),inset 0 1px 0 rgba(255,255,255,.14) !important;
    animation:apmActuallyStaggeredReveal 680ms cubic-bezier(.2,.72,.16,1) both !important;
    animation-delay:var(--apm-real-delay,0ms) !important;
  }

  /* Fixed, identical translucent fill for every row */
  body .header nav.open > a:hover,
  body .header nav.glossy-open > a:hover,
  body .header nav.open > a:focus,
  body .header nav.glossy-open > a:focus,
  body .header nav.open > a:active,
  body .header nav.glossy-open > a:active {
    background:rgba(2,20,45,.98) !important;
    background-color:rgba(2,20,45,.98) !important;
    background-image:none !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    border-color:#f4d36b !important;
    opacity:1 !important;
  }

  body .header nav.open > a:nth-of-type(1),
  body .header nav.glossy-open > a:nth-of-type(1){--apm-real-delay:0ms!important}
  body .header nav.open > a:nth-of-type(2),
  body .header nav.glossy-open > a:nth-of-type(2){--apm-real-delay:320ms!important}
  body .header nav.open > a:nth-of-type(3),
  body .header nav.glossy-open > a:nth-of-type(3){--apm-real-delay:640ms!important}
  body .header nav.open > a:nth-of-type(4),
  body .header nav.glossy-open > a:nth-of-type(4){--apm-real-delay:960ms!important}
  body .header nav.open > a:nth-of-type(5),
  body .header nav.glossy-open > a:nth-of-type(5){--apm-real-delay:1280ms!important}
  body .header nav.open > a:nth-of-type(6),
  body .header nav.glossy-open > a:nth-of-type(6){--apm-real-delay:1600ms!important}
  body .header nav.open > a:nth-of-type(7),
  body .header nav.glossy-open > a:nth-of-type(7){--apm-real-delay:1920ms!important}
}
@keyframes apmActuallyStaggeredReveal {
  0% {opacity:0;visibility:visible;clip-path:inset(0 100% 0 0);transform:translateX(-28px)}
  100% {opacity:1;visibility:visible;clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%);transform:translateX(0)}
}
@media (prefers-reduced-motion:reduce) {
 body .header nav.open > a,body .header nav.glossy-open > a {
   opacity:1!important;animation:none!important;transform:none!important;clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%)!important;
 }
}


/* User-requested balance: clearly visible 50% navy row fill, crisp opaque text */
@media (max-width:700px) {
  body .header nav.open > a,
  body .header nav.glossy-open > a {
    background:rgba(7,43,78,.50) !important;
    background-color:rgba(7,43,78,.50) !important;
    background-image:none !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    opacity:0 !important; /* row reveal animation controls visibility only */
    font-weight:900 !important;
    text-shadow:0 2px 3px rgba(0,0,0,.95),0 0 1px #071b30 !important;
    border:1px solid rgba(210,238,255,.85) !important;
  }
  body .header nav.open > a:hover,
  body .header nav.glossy-open > a:hover,
  body .header nav.open > a:focus,
  body .header nav.glossy-open > a:focus,
  body .header nav.open > a:active,
  body .header nav.glossy-open > a:active {
    background:rgba(3,23,49,1) !important;
    background-color:rgba(3,23,49,1) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:0 1px 3px rgba(0,0,0,.75) !important;
  }
}


/* MENU FINAL: 50% visible navy fill, fully legible white type; JS reveals rows sequentially */
@media(max-width:700px){
 .header nav.open,.header nav.glossy-open{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:8px!important;padding:8px 10px!important;margin:0!important;
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;overflow:visible!important;
 }
 .header nav.open>a,.header nav.glossy-open>a{
  display:flex!important;position:relative!important;align-items:center!important;
  width:100%!important;min-height:46px!important;box-sizing:border-box!important;
  padding:12px 25px!important;margin:0!important;
  clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%)!important;
  background:rgba(7,43,78,.50)!important;background-color:rgba(7,43,78,.50)!important;
  background-image:none!important;border:1px solid rgba(220,240,255,.9)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:15px!important;font-weight:900!important;line-height:1.25!important;
  letter-spacing:.2px!important;text-shadow:0 2px 3px rgba(0,0,0,.98),0 0 1px #00152b!important;
  box-shadow:0 5px 14px rgba(0,10,28,.24),inset 0 1px 0 rgba(255,255,255,.2)!important;
  animation:none!important;opacity:1!important;
 }
 .header nav.open>a:hover,.header nav.glossy-open>a:hover,
 .header nav.open>a:focus,.header nav.glossy-open>a:focus,
 .header nav.open>a:active,.header nav.glossy-open>a:active{
  background:rgba(3,20,43,1)!important;background-color:rgba(3,20,43,1)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#f4d36b!important;
 }
}


/* LAST FIX: Never hide the menu or its rows. Row fill is 50% navy;
   text itself stays 100% opaque, white and readable. */
@media(max-width:700px){
 body .header nav.open,body .header nav.glossy-open{
  display:flex!important;visibility:visible!important;opacity:1!important;
  pointer-events:auto!important;position:relative!important;
  flex-direction:column!important;align-items:stretch!important;gap:8px!important;
  padding:8px 10px!important;margin:0!important;
  background:none!important;background-image:none!important;
  border:0!important;box-shadow:none!important;overflow:visible!important;
 }
 body .header nav.open>a,body .header nav.glossy-open>a{
  display:flex!important;visibility:visible!important;opacity:1!important;
  position:relative!important;align-items:center!important;
  width:100%!important;min-height:47px!important;height:auto!important;
  box-sizing:border-box!important;padding:12px 25px!important;margin:0!important;
  clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%)!important;
  background:rgba(8,42,76,.50)!important;background-color:rgba(8,42,76,.50)!important;
  background-image:none!important;
  border:1px solid #d8edff!important;border-radius:0!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:15px!important;font-weight:900!important;line-height:1.3!important;
  text-shadow:0 2px 3px #001329,0 0 1px #001329!important;
  box-shadow:0 4px 10px rgba(0,12,32,.2),inset 0 1px rgba(255,255,255,.18)!important;
  transform:translateX(0)!important;animation:apmSafeVisibleStagger 700ms ease-out both!important;
 }
 body .header nav.open>a:nth-child(1),body .header nav.glossy-open>a:nth-child(1){animation-delay:0ms!important}
 body .header nav.open>a:nth-child(2),body .header nav.glossy-open>a:nth-child(2){animation-delay:300ms!important}
 body .header nav.open>a:nth-child(3),body .header nav.glossy-open>a:nth-child(3){animation-delay:600ms!important}
 body .header nav.open>a:nth-child(4),body .header nav.glossy-open>a:nth-child(4){animation-delay:900ms!important}
 body .header nav.open>a:nth-child(5),body .header nav.glossy-open>a:nth-child(5){animation-delay:1200ms!important}
 body .header nav.open>a:nth-child(6),body .header nav.glossy-open>a:nth-child(6){animation-delay:1500ms!important}
 body .header nav.open>a:nth-child(7),body .header nav.glossy-open>a:nth-child(7){animation-delay:1800ms!important}
 body .header nav.open>a:hover,body .header nav.glossy-open>a:hover,
 body .header nav.open>a:focus,body .header nav.glossy-open>a:focus,
 body .header nav.open>a:active,body .header nav.glossy-open>a:active{
  background:rgba(3,20,43,1)!important;background-color:rgba(3,20,43,1)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#ffdc7b!important;
 }
}
@keyframes apmSafeVisibleStagger{
 from{transform:translateX(-14px);filter:brightness(.88)}
 to{transform:translateX(0);filter:brightness(1)}
}


/* FINAL OVERRIDE: identical semi-transparent gold menu rows + dark readable text.
   Each row is revealed left-to-right with a gentle stagger; no row is hidden by opacity. */
@media (max-width:700px) {
  body .header nav.open,
  body .header nav.glossy-open {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    padding:8px 10px!important;
    margin:0!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  body .header nav.open > a,
  body .header nav.glossy-open > a {
    display:flex!important;
    position:relative!important;
    align-items:center!important;
    width:100%!important;
    min-height:47px!important;
    height:auto!important;
    box-sizing:border-box!important;
    padding:12px 25px!important;
    margin:0!important;
    clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%)!important;
    background:rgba(255,207,64,.50)!important;
    background-color:rgba(255,207,64,.50)!important;
    background-image:none!important;
    border:1px solid rgba(255,224,130,.95)!important;
    border-radius:0!important;
    color:#082747!important;
    -webkit-text-fill-color:#082747!important;
    font-size:15px!important;
    font-weight:900!important;
    line-height:1.3!important;
    text-shadow:0 1px 0 rgba(255,255,255,.45)!important;
    box-shadow:0 4px 10px rgba(0,12,32,.22),inset 0 1px rgba(255,255,255,.22)!important;
    transform:none!important;
    filter:none!important;
    opacity:1!important;
    animation:apmMenuRowReveal 720ms cubic-bezier(.22,.72,.18,1) both!important;
  }
  body .header nav.open > a:nth-child(1),body .header nav.glossy-open > a:nth-child(1){animation-delay:0ms!important}
  body .header nav.open > a:nth-child(2),body .header nav.glossy-open > a:nth-child(2){animation-delay:260ms!important}
  body .header nav.open > a:nth-child(3),body .header nav.glossy-open > a:nth-child(3){animation-delay:520ms!important}
  body .header nav.open > a:nth-child(4),body .header nav.glossy-open > a:nth-child(4){animation-delay:780ms!important}
  body .header nav.open > a:nth-child(5),body .header nav.glossy-open > a:nth-child(5){animation-delay:1040ms!important}
  body .header nav.open > a:nth-child(6),body .header nav.glossy-open > a:nth-child(6){animation-delay:1300ms!important}
  body .header nav.open > a:nth-child(7),body .header nav.glossy-open > a:nth-child(7){animation-delay:1560ms!important}
  body .header nav.open > a:hover,body .header nav.glossy-open > a:hover,
  body .header nav.open > a:focus,body .header nav.glossy-open > a:focus,
  body .header nav.open > a:active,body .header nav.glossy-open > a:active {
    background:rgba(255,207,64,.50)!important;
    background-color:rgba(255,207,64,.50)!important;
    color:#082747!important;
    -webkit-text-fill-color:#082747!important;
    border-color:#fff0b7!important;
    filter:brightness(1.08)!important;
  }
}
@keyframes apmMenuRowReveal {
  from { clip-path:inset(0 100% 0 0); }
  to { clip-path:inset(0 0 0 0); }
}


/* APM MENU DEFINITIVE HORIZONTAL WIPE
   Anchors stay in their rows; only the pointed ribbon's reveal mask animates. */
@media screen and (max-width:700px) {
  html body .header nav.open,
  html body .header nav.glossy-open {
    display:flex!important; visibility:visible!important; opacity:1!important;
    pointer-events:auto!important; flex-direction:column!important;
    align-items:stretch!important; gap:8px!important; padding:8px 10px!important;
    margin:0!important; overflow:visible!important;
    background:transparent!important; background-image:none!important;
    border:0!important; box-shadow:none!important;
    animation:none!important; transform:none!important; transition:none!important;
  }
  html body .header nav.open > a,
  html body .header nav.glossy-open > a {
    display:flex!important; position:relative!important; visibility:visible!important;
    opacity:1!important; transform:none!important; transition:none!important;
    animation:none!important; flex:0 0 auto!important;
    width:100%!important; min-height:47px!important; height:auto!important;
    box-sizing:border-box!important; align-items:center!important;
    padding:12px 25px!important; margin:0!important; border-radius:0!important;
    clip-path:polygon(0 0,0 0,0 50%,0 100%,0 100%,0 50%)!important;
    background:linear-gradient(115deg,rgba(5,27,56,.70),rgba(9,48,85,.70),rgba(16,68,108,.70),rgba(5,27,56,.70))!important;
    background-size:260% 100%!important;
    color:#fff!important; -webkit-text-fill-color:#fff!important;
    font-size:15px!important; font-weight:900!important; line-height:1.3!important;
    text-shadow:0 1px 3px rgba(0,0,0,.7)!important;
    border:1px solid rgba(220,240,255,.35)!important;
    box-shadow:0 4px 10px rgba(0,12,30,.18)!important;
    transform-origin:left center!important;
    will-change:clip-path,background-position!important;
  }
  html body .header nav.open > a.apm-menu-row-in,
  html body .header nav.glossy-open > a.apm-menu-row-in {
    /* A triggered keyframe animation, not a transition relying on first paint */
    animation:apmMenuNavyGradientFlow 8s ease-in-out infinite!important;
    clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%)!important;
  }
  /* Continuous automatic gradient drift; every row uses the same palette */
  html body .header nav.open > a,
  html body .header nav.glossy-open > a {
    background-size:260% 100%!important;
  }
  html body .header nav.open > a.apm-menu-row-in,
  html body .header nav.glossy-open > a.apm-menu-row-in {
    animation:apmMenuNavyGradientFlow 8s ease-in-out infinite!important;
  }
  html body .header nav.open > a:hover,
  html body .header nav.glossy-open > a:hover,
  html body .header nav.open > a:focus-visible,
  html body .header nav.glossy-open > a:focus-visible {
    color:#fff!important;-webkit-text-fill-color:#fff!important;
    filter:brightness(1.08)!important;
  }
  html body .header nav.open > a:active,
  html body .header nav.glossy-open > a:active {
    background:#000!important;background-image:none!important;
    color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
}
@keyframes apmMenuHorizontalWipe {
  0% { clip-path:polygon(0 0,0 0,0 50%,0 100%,0 100%,0 50%); }
  100% { clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%); }
}
@keyframes apmMenuNavyGradientFlow {
  0%,100% { background-position:0% 50%; }
  50% { background-position:100% 50%; }
}
/* User explicitly requested the motion; do not let reduced-motion legacy rules
   turn the mobile menu's reveal off. */
@media (prefers-reduced-motion:reduce) {
  html body .header nav.open > a.apm-menu-row-in,
  html body .header nav.glossy-open > a.apm-menu-row-in {
    animation:apmMenuNavyGradientFlow 8s linear infinite!important;
  }
}


/* FINAL HORIZONTAL REVEAL: class toggling transitions the ribbon mask left-to-right.
   Layout is held constant, so no vertical opening/reflow. */
@media screen and (max-width:700px) {
 html body .header nav.open>a,
 html body .header nav.glossy-open>a {
   clip-path:polygon(0 0,0 0,0 50%,0 100%,0 100%,0 50%)!important;
   transition:clip-path .78s cubic-bezier(.16,.78,.22,1)!important;
   animation:apmMenuNavyGradientFlow 8s ease-in-out infinite!important;
   background:linear-gradient(115deg,rgba(5,27,56,.70),rgba(9,48,85,.70),rgba(16,68,108,.70),rgba(5,27,56,.70))!important;
   background-size:260% 100%!important;
 }
 html body .header nav.open>a.apm-menu-row-in,
 html body .header nav.glossy-open>a.apm-menu-row-in {
   clip-path:polygon(0 0,96% 0,100% 50%,96% 100%,0 100%,4% 50%)!important;
   transition:clip-path .78s cubic-bezier(.16,.78,.22,1)!important;
 }
 @media(prefers-reduced-motion:reduce) {
  html body .header nav.open>a,
  html body .header nav.glossy-open>a {transition:clip-path .78s linear!important}
 }
}


/* FINAL COLOR OVERRIDE — every menu option shares navy at 70% opacity */
@media screen and (max-width:700px) {
  html body .header nav.open > a,
  html body .header nav.glossy-open > a {
    background:rgba(7,33,64,.70)!important;
    background-color:rgba(7,33,64,.70)!important;
    background-image:none!important;
    opacity:1!important; /* background alpha is 70%; text stays fully opaque */
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html body .header nav.open > a:hover,
  html body .header nav.glossy-open > a:hover,
  html body .header nav.open > a:focus,
  html body .header nav.glossy-open > a:focus,
  html body .header nav.open > a:focus-visible,
  html body .header nav.glossy-open > a:focus-visible {
    background:rgba(7,33,64,.70)!important;
    background-color:rgba(7,33,64,.70)!important;
    background-image:none!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html body .header nav.open > a:active,
  html body .header nav.glossy-open > a:active,
  html body .header nav.open > a.apm-menu-clicked,
  html body .header nav.glossy-open > a.apm-menu-clicked {
    background:#000!important;
    background-color:#000!important;
    background-image:none!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
}


/* FINAL FIX: persistent navy 70% background on every menu row.
   The same color remains on hover, focus, press and after clicking. */
@media screen and (max-width:700px) {
  html body .header nav.open > a,
  html body .header nav.glossy-open > a,
  html body .header nav.open > a.apm-menu-row-in,
  html body .header nav.glossy-open > a.apm-menu-row-in,
  html body .header nav.open > a:hover,
  html body .header nav.glossy-open > a:hover,
  html body .header nav.open > a:focus,
  html body .header nav.glossy-open > a:focus,
  html body .header nav.open > a:focus-visible,
  html body .header nav.glossy-open > a:focus-visible,
  html body .header nav.open > a:active,
  html body .header nav.glossy-open > a:active,
  html body .header nav.open > a.apm-menu-clicked,
  html body .header nav.glossy-open > a.apm-menu-clicked {
    background-color:rgba(7,33,64,.70)!important;
    background-image:none!important;
    background:rgba(7,33,64,.70)!important;
    opacity:1!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
}
/* QUICK YELLOW GRADIENT SWEEP: click feedback; navy 70% remains the resting color */
@media screen and (max-width:700px) {
  html body .header nav > a.apm-menu-yellow-flash {
    background-color: rgba(7,33,64,.70) !important;
    background-image: linear-gradient(105deg,
      rgba(255,214,0,0) 0%,
      rgba(255,214,0,.98) 32%,
      rgba(255,246,150,1) 48%,
      rgba(255,190,0,.95) 62%,
      rgba(255,214,0,0) 100%) !important;
    background-size: 240% 100% !important;
    background-position: 160% 0 !important;
    animation: apmFastYellowGradientSweep .62s cubic-bezier(.2,.75,.25,1) both !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}
@keyframes apmFastYellowGradientSweep {
  0% { background-position: 160% 0; }
  100% { background-position: -80% 0; }
}


/* FINAL MOBILE MENU CORRECTION:
   - Navigation rows remain navy at 70% opacity at rest.
   - A clicked row gets a clearly visible, fast yellow gradient sweep.
   - Hamburger control is plain: no yellow fill, only the three-bar icon. */
@media screen and (max-width:700px) {
  html body .header .menu-toggle,
  html body .header .menu-toggle:hover,
  html body .header .menu-toggle:focus,
  html body .header .menu-toggle:active,
  html body .header .menu-toggle[aria-expanded="true"] {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #072140 !important;
    -webkit-text-fill-color: #072140 !important;
    border-radius: 0 !important;
  }
  html body .header .menu-toggle i,
  html body .header .menu-toggle .fa-bars {
    color: #072140 !important;
    -webkit-text-fill-color: #072140 !important;
    font-size: 29px !important;
    background: transparent !important;
    text-shadow: none !important;
  }

  html body .header nav.open > a.apm-menu-yellow-flash,
  html body .header nav.glossy-open > a.apm-menu-yellow-flash,
  html body .header nav.active > a.apm-menu-yellow-flash {
    background-color: rgba(7,33,64,.70) !important;
    background-image: linear-gradient(105deg,
      rgba(7,33,64,.70) 0%,
      rgba(7,33,64,.70) 18%,
      rgba(255,204,0,.98) 38%,
      rgba(255,247,145,1) 50%,
      rgba(255,184,0,.98) 62%,
      rgba(7,33,64,.70) 82%,
      rgba(7,33,64,.70) 100%) !important;
    background-size: 320% 100% !important;
    background-position: 100% 0 !important;
    animation: apmClickYellowSweepVisible .48s ease-out both !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 0 14px rgba(255,204,0,.48) !important;
  }
}
@keyframes apmClickYellowSweepVisible {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


/* FINAL USER REQUEST: permanent navy menu background at 90% opacity */
@media screen and (max-width:700px) {
  html body .header nav.open > a,
  html body .header nav.glossy-open > a,
  html body .header nav.active > a {
    background-color: rgba(7,33,64,.90) !important;
    background: rgba(7,33,64,.90) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  html body .header nav.open > a:hover,
  html body .header nav.glossy-open > a:hover,
  html body .header nav.active > a:hover,
  html body .header nav.open > a:focus,
  html body .header nav.glossy-open > a:focus,
  html body .header nav.active > a:focus,
  html body .header nav.open > a:active,
  html body .header nav.glossy-open > a:active,
  html body .header nav.active > a:active,
  html body .header nav.open > a.apm-menu-clicked,
  html body .header nav.glossy-open > a.apm-menu-clicked {
    background-color: rgba(7,33,64,.90) !important;
    background: rgba(7,33,64,.90) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  html body .header nav.open > a.apm-menu-yellow-flash,
  html body .header nav.glossy-open > a.apm-menu-yellow-flash,
  html body .header nav.active > a.apm-menu-yellow-flash {
    /* Yellow sweep sits over the new 90% navy base */
    background-color: rgba(7,33,64,.90) !important;
    background-image: linear-gradient(105deg,
      rgba(7,33,64,.90) 0%,
      rgba(7,33,64,.90) 18%,
      rgba(255,204,0,.98) 38%,
      rgba(255,247,145,1) 50%,
      rgba(255,184,0,.98) 62%,
      rgba(7,33,64,.90) 82%,
      rgba(7,33,64,.90) 100%) !important;
    background-size: 320% 100% !important;
    background-position: 100% 0 !important;
    animation: apmClickYellowSweepVisible .48s ease-out both !important;
  }
}


/* FINAL CASCADE FIX: lock menu rows to a genuinely 90%-opaque navy fill.
   Old layered stylesheets had a .70 gradient and a .50 legacy yellow rule.
   This last rule overrides those backgrounds while leaving reveal motion intact. */
@media screen and (max-width:700px) {
  html body .header nav.open > a,
  html body .header nav.glossy-open > a,
  html body .header nav.active > a,
  html body .header.menu-open nav > a,
  html body .header nav.open > a.apm-menu-row-in,
  html body .header nav.glossy-open > a.apm-menu-row-in {
    background-color: rgba(7,33,64,.90) !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    filter: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  html body .header nav.open > a:hover,
  html body .header nav.glossy-open > a:hover,
  html body .header nav.open > a:focus,
  html body .header nav.glossy-open > a:focus,
  html body .header nav.open > a:focus-visible,
  html body .header nav.glossy-open > a:focus-visible,
  html body .header nav.open > a:active,
  html body .header nav.glossy-open > a:active,
  html body .header nav.open > a.apm-menu-clicked,
  html body .header nav.glossy-open > a.apm-menu-clicked {
    background-color: rgba(7,33,64,.90) !important;
    background-image: none !important;
    opacity: 1 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  /* Keep the yellow sweep as a temporary click animation over 90% navy. */
  html body .header nav.open > a.apm-menu-yellow-flash,
  html body .header nav.glossy-open > a.apm-menu-yellow-flash,
  html body .header nav.active > a.apm-menu-yellow-flash {
    background-color: rgba(7,33,64,.90) !important;
    background-image: linear-gradient(105deg,
      rgba(7,33,64,.90) 0%,
      rgba(7,33,64,.90) 20%,
      rgba(255,205,0,.98) 42%,
      rgba(255,246,145,1) 50%,
      rgba(255,184,0,.98) 60%,
      rgba(7,33,64,.90) 80%,
      rgba(7,33,64,.90) 100%) !important;
    background-size: 320% 100% !important;
    background-position: 100% 0 !important;
    animation: apmClickYellowSweepVisible .48s ease-out both !important;
    opacity: 1 !important;
  }
}


/* APM FINAL POLISH — desktop navigation, footer quick links, spacing and social icons */
@media (min-width: 701px) {
  /* Fixed welcome strip should meet the navigation header without an empty spacer. */
  :root { --apm-welcome-height: 76px !important; --apm-banner-height: 76px !important; }
  html body { padding-top: 76px !important; }
  html body .apm-welcome-banner { height: 76px !important; min-height: 76px !important; }
  html body .header { margin-top: 0 !important; }

  /* Consistent, centered premium menu controls: equal dimensions for all seven. */
  html body .header nav {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 7px !important;
    width: min(860px, calc(100vw - 330px)) !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  html body .header nav > a,
  html body .header nav > a:link,
  html body .header nav > a:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 5px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
  }
}
@media (min-width: 701px) and (max-width: 1250px) {
  html body .header nav { width: calc(100vw - 330px) !important; gap: 5px !important; }
  html body .header nav > a { font-size: 10px !important; }
}

/* Footer quick-link cards keep their current geometry; elegant 15%-opacity login-gold tint. */
html body .footer-main-compact .footer-stylish-link,
html body .footer-quick-actions .footer-stylish-link {
  background: rgba(255, 204, 66, .15) !important;
  background-color: rgba(255, 204, 66, .15) !important;
  font-size: 12px !important;
  transition: background .35s ease, background-color .35s ease, color .3s ease,
              border-color .3s ease, box-shadow .35s ease, transform .3s ease !important;
}
html body .footer-main-compact .footer-stylish-link:hover,
html body .footer-quick-actions .footer-stylish-link:hover,
html body .footer-main-compact .footer-stylish-link:focus-visible,
html body .footer-quick-actions .footer-stylish-link:focus-visible {
  background: linear-gradient(115deg, rgba(255, 204, 66, .18),
    rgba(255, 222, 119, .55), rgba(255, 181, 0, .24)) !important;
  background-color: rgba(255, 204, 66, .22) !important;
  border-color: #f4c64b !important;
  box-shadow: 0 8px 22px rgba(245, 190, 54, .20), inset 0 1px 0 rgba(255,255,255,.45) !important;
  transform: translateY(-2px) !important;
}

/* Social media controls: force true circles, including in compact/mobile footer layouts. */
html body .footer-main-compact .footer-social-column .social-follow a,
html body .footer-social-bottom .social-follow a,
html body .footer .social-follow a {
  display: inline-flex !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  overflow: hidden !important;
}
@media (max-width: 700px) {
  html body .footer-main-compact .footer-social-column .social-follow a,
  html body .footer-social-bottom .social-follow a,
  html body .footer .social-follow a {
    flex-basis: 36px !important;
    width: 36px !important; min-width: 36px !important; max-width: 36px !important;
    height: 36px !important; min-height: 36px !important; max-height: 36px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
  }
}


/* FINAL APM CODED WELCOME STRIP — responsive text, no banner artwork/image */
html body .apm-welcome-banner.apm-coded-banner {
  position:fixed !important; inset:0 0 auto 0 !important; z-index:10020 !important;
  width:100% !important; min-height:clamp(64px,5.15vw,86px) !important;
  height:auto !important; max-height:none !important; box-sizing:border-box !important;
  display:grid !important; grid-template-columns:minmax(205px, .36fr) 2px minmax(0, 1fr) !important;
  align-items:center !important; gap:clamp(12px,2.1vw,34px) !important;
  padding:clamp(9px,1.15vw,18px) clamp(14px,1.35vw,26px) !important;
  overflow:visible !important; background:#062653 !important;
  border-bottom:3px solid #f2b927 !important; box-shadow:0 5px 15px rgba(0,0,0,.17) !important;
  color:#fff !important; font-family:'DM Sans','Manrope',Arial,sans-serif !important;
}
html body .apm-welcome-banner.apm-coded-banner picture,
html body .apm-welcome-banner.apm-coded-banner img { display:none !important; }
html body .apm-coded-banner .apm-banner-brand {
  min-width:0 !important; display:flex !important; flex-direction:column !important;
  align-items:flex-start !important; justify-content:center !important; gap:2px !important;
  line-height:1.05 !important; text-align:left !important;
}
html body .apm-coded-banner .apm-banner-brand strong,
html body .apm-coded-banner .apm-banner-brand a {
  display:block !important; max-width:100% !important; margin:0 !important;
  color:#ff861d !important; -webkit-text-fill-color:#ff861d !important;
  font-size:clamp(13px,1.48vw,25px) !important; font-weight:900 !important;
  line-height:1.12 !important; letter-spacing:clamp(.25px,.08vw,1.2px) !important;
  white-space:normal !important; overflow-wrap:anywhere !important; text-decoration:none !important;
}
html body .apm-coded-banner .apm-banner-divider {
  display:block !important; width:2px !important; height:clamp(28px,2.6vw,43px) !important;
  justify-self:center !important; background:#f2b927 !important; border-radius:3px !important;
}
html body .apm-coded-banner .apm-banner-motto {
  min-width:0 !important; width:100% !important; margin:0 !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  font-size:clamp(15px,1.72vw,29px) !important; font-weight:900 !important;
  line-height:1.12 !important; letter-spacing:clamp(.1px,.06vw,.8px) !important;
  text-align:center !important; white-space:normal !important;
  overflow-wrap:anywhere !important; text-wrap:balance !important;
}
@media (max-width:760px) {
 html body .apm-welcome-banner.apm-coded-banner {
   position:fixed !important; grid-template-columns:minmax(0,1fr) !important;
   grid-template-rows:auto auto !important; gap:5px !important;
   min-height:0 !important; padding:9px 12px 10px !important;
   text-align:center !important;
 }
 html body .apm-coded-banner .apm-banner-brand {
   align-items:center !important; gap:2px !important; text-align:center !important;
 }
 html body .apm-coded-banner .apm-banner-brand strong,
 html body .apm-coded-banner .apm-banner-brand a {
   font-size:clamp(12px,3.15vw,17px) !important; line-height:1.1 !important;
   letter-spacing:.25px !important; overflow-wrap:anywhere !important;
 }
 html body .apm-coded-banner .apm-banner-divider { display:none !important; }
 html body .apm-coded-banner .apm-banner-motto {
   font-size:clamp(11px,3.15vw,16px) !important; line-height:1.15 !important;
   letter-spacing:.1px !important; text-align:center !important;
 }
}
@media (max-width:360px) {
 html body .apm-welcome-banner.apm-coded-banner { padding:7px 9px 8px !important; gap:4px !important; }
 html body .apm-coded-banner .apm-banner-brand strong,
 html body .apm-coded-banner .apm-banner-brand a { font-size:12px !important; }
 html body .apm-coded-banner .apm-banner-motto { font-size:11px !important; }
}


/* === FINAL MOBILE TOP BANNER + HEADER FIX (single authoritative override) === */
@media (max-width: 700px) {
  html body .apm-welcome-banner.apm-coded-banner {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 1200 !important;
    display: grid !important;
    grid-template-columns: minmax(108px, 0.43fr) 1px minmax(0, 0.57fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    overflow: visible !important;
    text-align: left !important;
  }
  html body .apm-coded-banner .apm-banner-brand {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    text-align: left !important;
    white-space: normal !important;
  }
  html body .apm-coded-banner .apm-banner-brand strong,
  html body .apm-coded-banner .apm-banner-brand a {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(10px, 3.15vw, 13px) !important;
    line-height: 1.13 !important;
    letter-spacing: 0 !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
  html body .apm-coded-banner .apm-banner-divider {
    display: block !important;
    width: 1px !important;
    height: 54px !important;
    min-height: 54px !important;
    justify-self: center !important;
  }
  html body .apm-coded-banner .apm-banner-motto {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(9px, 2.8vw, 11.5px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  html body {
    padding-top: 152px !important;
    scroll-padding-top: 152px !important;
  }
  html body .header {
    position: fixed !important;
    top: 82px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1100 !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    background: #f8fafc !important;
  }
  html body .header .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  html body .header .brand-logo {
    display: block !important;
    width: clamp(88px, 27vw, 125px) !important;
    height: 55px !important;
    max-height: 55px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  html body .header .header-admin-login {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    position: static !important;
    transform: none !important;
    white-space: nowrap !important;
  }
  html body .header .menu-toggle {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin-left: 0 !important;
  }
  html body .hero,
  html body .service-hero {
    scroll-margin-top: 152px !important;
    min-height: 460px !important;
    height: auto !important;
    max-height: none !important;
    padding-top: 42px !important;
    padding-bottom: 50px !important;
    background-attachment: scroll !important;
  }
}
@media (max-width: 360px) {
  html body .apm-welcome-banner.apm-coded-banner {
    grid-template-columns: minmax(94px, 0.43fr) 1px minmax(0, 0.57fr) !important;
    gap: 5px !important;
    padding: 6px 7px !important;
  }
  html body .apm-coded-banner .apm-banner-brand strong,
  html body .apm-coded-banner .apm-banner-brand a {
    font-size: 10px !important;
  }
  html body .apm-coded-banner .apm-banner-motto {
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
  }
  html body .header {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  html body .header .brand-logo {
    width: 88px !important;
  }
  html body .header .header-admin-login {
    font-size: 8px !important;
    padding: 6px 5px !important;
  }
  html body .header .menu-toggle {
    flex-basis: 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
}


/* FINAL MICRO-VIEWPORT FIT: keep all three banner columns inside the screen */
@media (max-width: 760px) {
  html body .apm-welcome-banner.apm-coded-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    grid-template-columns: minmax(0, 42%) 1px minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 7px 9px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    overflow: hidden !important;
    align-items: center !important;
  }
  html body .apm-coded-banner .apm-banner-brand {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
  }
  html body .apm-coded-banner .apm-banner-brand strong,
  html body .apm-coded-banner .apm-banner-brand a {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(10.5px, 2.85vw, 12px) !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }
  html body .apm-coded-banner .apm-banner-divider {
    width: 1px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
  }
  html body .apm-coded-banner .apm-banner-motto {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 1px !important;
    margin: 0 !important;
    font-size: clamp(9.4px, 2.45vw, 10.8px) !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: pretty !important;
  }
  html body .header {
    top: 68px !important;
  }
  html body {
    padding-top: 138px !important;
    scroll-padding-top: 138px !important;
  }
}
@media (max-width: 380px) {
  html body .apm-welcome-banner.apm-coded-banner {
    grid-template-columns: minmax(0, 40%) 1px minmax(0, 1fr) !important;
    gap: 5px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
  html body .apm-coded-banner .apm-banner-brand strong,
  html body .apm-coded-banner .apm-banner-brand a {
    font-size: 10px !important;
  }
  html body .apm-coded-banner .apm-banner-motto {
    font-size: 9px !important;
    line-height: 1.22 !important;
  }
}


/* APM MOBILE BANNER ROOT FIX — deliberately last in BOTH CSS files
   effects.css is loaded after style.css and used to override earlier patches. */
.apm-mobile-motto-break { display:none !important; }
@media screen and (max-width: 700px) {
  html, body { width:100% !important; max-width:100% !important; overflow-x:hidden !important; }
  body .apm-welcome-banner.apm-coded-banner {
    position:fixed !important;
    top:0 !important; left:0 !important; right:0 !important;
    z-index:2147483647 !important;
    display:grid !important;
    grid-template-columns:minmax(0, 41%) 1px minmax(0, 1fr) !important;
    grid-template-rows:1fr !important;
    column-gap:8px !important; row-gap:0 !important;
    align-items:center !important; justify-content:stretch !important;
    width:100% !important; max-width:100% !important;
    height:94px !important; min-height:94px !important; max-height:94px !important;
    box-sizing:border-box !important;
    padding:8px 10px !important;
    margin:0 !important;
    overflow:hidden !important;
    border-bottom:2px solid #e6a300 !important;
    background:#062653 !important;
  }
  body .apm-welcome-banner.apm-coded-banner > .apm-banner-brand {
    grid-column:1 !important; grid-row:1 !important;
    display:flex !important; flex-direction:column !important;
    align-items:flex-start !important; justify-content:center !important;
    width:100% !important; min-width:0 !important; max-width:100% !important;
    height:auto !important; gap:5px !important;
    margin:0 !important; padding:0 !important;
    overflow:visible !important; text-align:left !important;
  }
  body .apm-welcome-banner.apm-coded-banner .apm-banner-brand strong,
  body .apm-welcome-banner.apm-coded-banner .apm-banner-brand a {
    display:block !important; position:static !important;
    width:100% !important; max-width:100% !important; min-width:0 !important;
    margin:0 !important; padding:0 !important;
    color:#ff8500 !important;
    font-family:Arial, sans-serif !important;
    font-size:clamp(10px, 2.85vw, 13px) !important;
    font-weight:900 !important; line-height:1.17 !important;
    letter-spacing:0 !important; text-align:left !important;
    white-space:normal !important; overflow-wrap:anywhere !important;
    word-break:normal !important; text-decoration:none !important;
  }
  body .apm-welcome-banner.apm-coded-banner > .apm-banner-divider {
    grid-column:2 !important; grid-row:1 !important;
    display:block !important; width:1px !important; height:65px !important;
    min-height:65px !important; max-height:65px !important;
    margin:0 !important; padding:0 !important;
    background:#f5b400 !important; justify-self:center !important;
  }
  body .apm-welcome-banner.apm-coded-banner > .apm-banner-motto {
    grid-column:3 !important; grid-row:1 !important;
    display:block !important; position:static !important;
    width:100% !important; max-width:100% !important; min-width:0 !important;
    margin:0 !important; padding:0 1px !important;
    color:#fff !important;
    font-family:Arial, sans-serif !important;
    font-size:clamp(10px, 2.75vw, 13px) !important;
    font-weight:900 !important; line-height:1.3 !important;
    letter-spacing:0 !important; text-align:center !important;
    white-space:normal !important; overflow:visible !important;
    overflow-wrap:normal !important; word-break:normal !important;
    text-wrap:normal !important;
  }
  body .apm-welcome-banner .apm-mobile-motto-break { display:inline !important; }
  body .apm-welcome-banner .apm-motto-desktop-space { display:none !important; }
  body .header {
    position:fixed !important; top:94px !important; left:0 !important; right:0 !important;
    z-index:2147483000 !important;
    width:100% !important; height:68px !important;
    min-height:68px !important; max-height:68px !important;
    box-sizing:border-box !important; margin:0 !important;
    padding:5px 10px !important;
    display:flex !important; align-items:center !important;
    flex-wrap:nowrap !important; gap:8px !important;
  }
  body { padding-top:162px !important; scroll-padding-top:162px !important; }
  body main, body .hero, body .service-hero {
    scroll-margin-top:162px !important;
  }
}
@media screen and (max-width:360px) {
  body .apm-welcome-banner.apm-coded-banner {
    grid-template-columns:minmax(0, 40%) 1px minmax(0, 1fr) !important;
    column-gap:6px !important; padding:7px 8px !important;
  }
  body .apm-welcome-banner.apm-coded-banner .apm-banner-brand strong,
  body .apm-welcome-banner.apm-coded-banner .apm-banner-brand a {
    font-size:10px !important; line-height:1.18 !important;
  }
  body .apm-welcome-banner.apm-coded-banner .apm-banner-motto {
    font-size:9.8px !important; line-height:1.28 !important;
  }
}




/* FINAL SERVICE HERO NORMALIZATION — only service detail pages.
   Identical geometry on Construction, Real Estate and Renovation. */
html body.apm-service-detail-page main {
  display: flow-root !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
}
html body.apm-service-detail-page .service-hero {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  position: relative !important;
  width: 100% !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 68px 6% 56px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background-color: #082653 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  border: 0 !important;
}
html body.apm-service-detail-page .service-hero .hero-shade {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
html body.apm-service-detail-page .service-hero-content {
  position: relative !important;
  z-index: 5 !important;
  flex: 0 1 680px !important;
  width: min(680px, 100%) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
html body.apm-service-detail-page .service-hero-content .eyebrow {
  display: block !important;
  position: relative !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  line-height: 1.45 !important;
  overflow: visible !important;
}
html body.apm-service-detail-page .service-hero h1 {
  margin-top: 0 !important;
  line-height: 1.08 !important;
}
html body.apm-service-detail-page .breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 52px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 14px 5% !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  clear: both !important;
  line-height: 1.6 !important;
  white-space: normal !important;
  z-index: 2 !important;
}
html body.apm-service-detail-page .breadcrumb i {
  flex: 0 0 auto !important;
  margin: 0 7px !important;
}
html body.apm-service-detail-page main > section:not(.service-hero) {
  clear: both !important;
  position: relative !important;
}

/* Same shared mobile hero dimensions and safe top gap on all three pages. */
@media (max-width: 700px) {
  html body.apm-service-detail-page .service-hero {
    height: auto !important;
    min-height: 460px !important;
    max-height: none !important;
    padding: 58px 6% 48px !important;
    align-items: flex-start !important;
    background-position: center center !important;
  }
  html body.apm-service-detail-page .service-hero-content {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body.apm-service-detail-page .service-hero-content .eyebrow {
    margin-bottom: 12px !important;
  }
  html body.apm-service-detail-page .service-hero h1 {
    font-size: clamp(34px, 8.5vw, 50px) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word !important;
  }
  html body.apm-service-detail-page .service-hero-content > p:not(.eyebrow) {
    max-width: 100% !important;
    line-height: 1.55 !important;
  }
  html body.apm-service-detail-page .breadcrumb {
    min-height: 56px !important;
    padding: 14px 5% !important;
    font-size: 11px !important;
  }
}
@media (max-width: 380px) {
  html body.apm-service-detail-page .service-hero {
    min-height: 470px !important;
    padding: 54px 5% 42px !important;
  }
  html body.apm-service-detail-page .breadcrumb {
    padding-left: 4% !important;
    padding-right: 4% !important;
    font-size: 10px !important;
  }
  html body.apm-service-detail-page .breadcrumb i {
    margin: 0 4px !important;
  }
}




/* APM SERVICE HERO TOP-SAFE REPAIR — latest original files, final cascade.
   Shared only by Construction, Real Estate and Renovation pages. */
html body.apm-service-detail-page main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flow-root !important;
  overflow: visible !important;
}
html body.apm-service-detail-page .service-hero {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  height: auto !important;
  min-height: 470px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 6% 56px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background-color: #062653 !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: scroll !important;
}
html body.apm-service-detail-page .service-hero .hero-shade {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
html body.apm-service-detail-page .service-hero-content {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  animation: none !important;
  z-index: 5 !important;
  display: block !important;
  flex: 0 1 680px !important;
  width: min(680px, 100%) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 76px 0 0 !important;
  padding: 0 !important;
}
html body.apm-service-detail-page .service-hero-content .eyebrow {
  position: static !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  transform: none !important;
  line-height: 1.45 !important;
  overflow: visible !important;
}
html body.apm-service-detail-page .service-hero h1 {
  position: relative !important;
  margin: 0 0 14px !important;
  line-height: 1.08 !important;
}
html body.apm-service-detail-page .breadcrumb {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 52px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 14px 5% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  clear: both !important;
  line-height: 1.6 !important;
  white-space: normal !important;
  z-index: 2 !important;
}
html body.apm-service-detail-page .breadcrumb i {
  flex: 0 0 auto !important;
  margin: 0 7px !important;
}
html body.apm-service-detail-page main > section:not(.service-hero) {
  position: relative !important;
  clear: both !important;
}

/* Identical responsive hero geometry for all three service pages. */
@media (max-width: 700px) {
  html body.apm-service-detail-page .service-hero {
    min-height: 490px !important;
    padding: 0 6% 48px !important;
    background-position: center center !important;
  }
  html body.apm-service-detail-page .service-hero-content {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 58px !important;
  }
  html body.apm-service-detail-page .service-hero h1 {
    font-size: clamp(34px, 8.5vw, 50px) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word !important;
  }
  html body.apm-service-detail-page .service-hero-content > p:not(.eyebrow) {
    max-width: 100% !important;
    line-height: 1.55 !important;
  }
  html body.apm-service-detail-page .breadcrumb {
    min-height: 56px !important;
    padding: 14px 5% !important;
    font-size: 11px !important;
  }
}
@media (max-width: 380px) {
  html body.apm-service-detail-page .service-hero {
    min-height: 500px !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  html body.apm-service-detail-page .service-hero-content {
    margin-top: 54px !important;
  }
  html body.apm-service-detail-page .breadcrumb {
    padding-left: 4% !important;
    padding-right: 4% !important;
    font-size: 10px !important;
  }
  html body.apm-service-detail-page .breadcrumb i {
    margin: 0 4px !important;
  }
}
