/* ZAVYANS final review layer: legibility, restraint and consistent interaction */
html body.ux-site{
  --zf-paper:#f7f5ef;
  --zf-ink:#181d24;
  --zf-muted:#5b6164;
  --zf-rule:#d9d5ca;
  --zf-accent:#a74631;
  --zf-dark:#202730;
  background:var(--zf-paper)!important;
  color:var(--zf-ink)!important;
  overflow-x:hidden!important;
}

html body.ux-site .ux-motion-ribbon,
html body.ux-site .ux-motion-ribbon-track{
  max-width:100vw!important;
  overflow:hidden!important;
}

/* Never let entrance effects leave content hidden. */
html body.ux-site :is([data-reveal],.reveal-on-scroll,.stagger-item){
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
}

html body.ux-site main>section,
html body.ux-site main>div,
html body.ux-site details{
  opacity:1!important;
  visibility:visible!important;
}

html body.ux-site main :is(h1,h2,h3,h4,h5,strong){
  color:var(--zf-ink)!important;
  -webkit-text-fill-color:currentColor!important;
}

html body.ux-site main :is(p,li,small,.text-secondary){
  color:var(--zf-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html body.ux-site main a:not(.btn-cta):not(.btn-ghost):not(.ux-scene-card){
  color:#2e568d!important;
  -webkit-text-fill-color:currentColor!important;
}

html body.ux-site main .text-gradient{
  background:none!important;
  background-image:none!important;
  color:var(--zf-accent)!important;
  -webkit-text-fill-color:var(--zf-accent)!important;
}

html body.ux-site main :is(.btn-cta,a.btn-cta,button.btn-cta){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  background:var(--zf-accent)!important;
  background-image:none!important;
  border:1px solid var(--zf-accent)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  box-shadow:0 8px 20px rgba(167,70,49,.18)!important;
}

html body.ux-site main :is(.btn-cta,a.btn-cta,button.btn-cta):hover{
  background:#803322!important;
  border-color:#803322!important;
}

html body.ux-site main :is(.btn-ghost,a.btn-ghost,button.btn-ghost){
  background:#fffefa!important;
  background-image:none!important;
  border:1px solid #bbb5aa!important;
  color:var(--zf-ink)!important;
  -webkit-text-fill-color:var(--zf-ink)!important;
  opacity:1!important;
}

/* Dark surfaces keep their intended light type. */
html body.ux-site main :is(#home-ai,.v18-start,.ux-growth-panel){
  background:var(--zf-dark)!important;
  background-image:none!important;
}

html body.ux-site main :is(#home-ai,.v18-start,.ux-growth-panel) :is(h1,h2,h3,h4,strong){
  color:#fffefa!important;
  -webkit-text-fill-color:#fffefa!important;
}

html body.ux-site main :is(#home-ai,.v18-start,.ux-growth-panel) :is(p,li,small,span){
  color:#d4d7d7!important;
  -webkit-text-fill-color:currentColor!important;
}

html body.ux-site main :is(#home-ai,.v18-start,.ux-growth-panel) a{
  color:#f4c2b1!important;
  -webkit-text-fill-color:currentColor!important;
}

/* Image-led cards need a real overlay so copy remains readable. */
html body.ux-site .ux-cinematic-section{
  background:#ece8df!important;
  color:var(--zf-ink)!important;
}

html body.ux-site .ux-scene-card{
  position:relative!important;
  min-height:480px!important;
  overflow:hidden!important;
  background:#151a20!important;
  border:1px solid rgba(24,29,36,.12)!important;
}

html body.ux-site .ux-scene-card>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  opacity:.82!important;
  filter:saturate(.72) contrast(1.04)!important;
}

html body.ux-site .ux-scene-card .ux-scene-shade{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(10,14,17,.08) 10%,rgba(10,14,17,.86) 92%)!important;
  opacity:1!important;
}

html body.ux-site .ux-scene-card :is(.ux-scene-number,.ux-scene-copy,.ux-scene-copy strong,.ux-scene-copy span){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:0 2px 18px rgba(0,0,0,.45)!important;
}

html body.ux-site .ux-goal-section{
  background:#eeeae2!important;
  color:var(--zf-ink)!important;
}

html body.ux-site .ux-goal-section :is(h2,h3,strong){
  color:var(--zf-ink)!important;
  -webkit-text-fill-color:var(--zf-ink)!important;
}

html body.ux-site .ux-goal-section :is(p,span){
  color:var(--zf-muted)!important;
  -webkit-text-fill-color:var(--zf-muted)!important;
}

html body.ux-site .ux-goal-section .ux-goal-copy{
  background:#fffefa!important;
}

html body.ux-site .ux-goal-section .ux-goal-services a,
html body.ux-site .ux-goal-all a{
  color:#234f87!important;
  -webkit-text-fill-color:#234f87!important;
  text-decoration-color:rgba(35,79,135,.35)!important;
}

html body.ux-site .ux-editorial-process .card::before,
html body.ux-site .ux-editorial-process .card::after{
  background:var(--zf-accent)!important;
  background-image:none!important;
  box-shadow:none!important;
  opacity:.65!important;
}

/* Conversion block: explicit contrast instead of a pale decorative gradient. */
html body.ux-site main>section>.relative.overflow-hidden.text-center{
  background:#e8e3d9!important;
  background-image:none!important;
  border:1px solid #d2ccc0!important;
}

html body.ux-site main>section>.relative.overflow-hidden.text-center>div[aria-hidden="true"]{
  display:none!important;
}

/* Footer is intentionally dark and must never inherit light-surface colours. */
html body.ux-site footer{
  background:var(--zf-dark)!important;
  color:#eef0ec!important;
}

html body.ux-site footer :is(h2,h3,h4,strong,p,li,small,span,a){
  color:#e5e8e2!important;
  -webkit-text-fill-color:currentColor!important;
}

html body.ux-site footer a:hover{color:#fff!important}

/* Keyboard, mobile and reduced-motion safeguards. */
html body.ux-site :is(a,button,summary):focus-visible{
  outline:3px solid #d36b50!important;
  outline-offset:4px!important;
}

@media(max-width:900px){
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero>.container-page{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero .ux-hero-copy,
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero aside.v18-start{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero .ux-hero-copy{
    grid-row:1!important;
  }
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero aside.v18-start{
    grid-row:2!important;
  }
  html body.ux-site .ux-scene-card{min-height:380px!important}
}

@media(max-width:600px){
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero .ux-hero-copy>h1.eyebrow{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
  }
  html :is(#zavyans-private-visual-review,body).ux-site.ux-home main>section.v18-hero .ux-hero-copy>.font-display{
    font-size:clamp(46px,13vw,60px)!important;
    line-height:.98!important;
    overflow-wrap:normal!important;
  }
  html body.ux-site .ux-mobile-dock :is(a,button),
  html body.ux-site .mobile-sticky-cta :is(a,button),
  html body.ux-site .ux-mobile-bar :is(a,button){
    background:#fffefa!important;
    background-image:none!important;
    color:var(--zf-ink)!important;
    -webkit-text-fill-color:var(--zf-ink)!important;
    border-color:#c9c3b8!important;
    box-shadow:none!important;
  }
  html body.ux-site .ux-mobile-bar :is(a,button):last-child{
    background:var(--zf-accent)!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border-color:var(--zf-accent)!important;
  }
  html :is(#zavyans-private-visual-review,body).ux-site .ux-mobile-bar a{
    background:#fffefa!important;
    background-image:none!important;
    color:var(--zf-ink)!important;
    -webkit-text-fill-color:var(--zf-ink)!important;
    border:1px solid #c9c3b8!important;
    box-shadow:none!important;
  }
  html :is(#zavyans-private-visual-review,body).ux-site .ux-mobile-bar a:last-child{
    background:var(--zf-accent)!important;
    background-image:none!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border-color:var(--zf-accent)!important;
  }
  html body.ux-site main>section{overflow:visible!important}
  html body.ux-site .ux-scene-card{min-height:340px!important}
  html body.ux-site main :is(.btn-cta,.btn-ghost){min-height:46px!important}
  html body.ux-site main :is(h1,h2,h3,p,a,span){overflow-wrap:anywhere}
}

@media(prefers-reduced-motion:reduce){
  html body.ux-site *,html body.ux-site *::before,html body.ux-site *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
