/* LEXVICO | APPROVED VISUAL ADJUSTMENTS | 2026-10-23
   Cosmetics only. Forms, PHP, JavaScript, navigational actions, and approved
   service hero image files are UNCHANGED. This layer follows lexvico-refined.css. */

/* Navigation: professional but legible. Allow room for the original full logo. */
body.lex-refined .site-header .nav-wrap{
  width:min(1420px,calc(100% - 52px))!important;
  max-width:1420px!important;
  gap:24px!important;
  min-height:92px!important;
}
body.lex-refined .site-header .brand{
  width:clamp(215px,18.5vw,265px)!important;
  max-width:265px!important;
  flex:0 0 auto!important;
}
body.lex-refined .primary-nav{gap:clamp(10px,1.07vw,18px)!important;letter-spacing:.035em!important}
body.lex-refined .primary-nav>a,
body.lex-refined .primary-nav>.nav-dropdown .nav-dropdown-toggle{
  font-size:clamp(12px,.89vw,13.5px)!important;
  letter-spacing:.035em!important;
  line-height:1.35!important;
}
body.lex-refined .nav-dropdown-menu a{font-size:14px!important}
body.lex-refined .nav-dropdown-menu a::after{font-size:11.5px!important}

/* Home: keep a single real photograph in the upper-right hero.
   Replace repeated founder-face crops in all FIVE service cards with
   subject-relevant investigative photography. Original button, icon, text,
   link target, and card order untouched. */
body.lex-index .service-card.blue::before{
  background-image:linear-gradient(90deg,rgba(9,25,44,.20),rgba(75,25,54,.08)),
    url('../assets/wrongful-conviction/broken-handcuffs-freedom.jpg')!important;
  background-position:center 53%!important;
}
body.lex-index .service-card.plum::before{
  background-image:linear-gradient(90deg,rgba(9,25,44,.22),rgba(75,25,54,.08)),
    url('../assets/refined/adobe-research.jpg')!important;
  background-position:center 54%!important;
}
body.lex-index .service-card.rose::before{
  background-image:linear-gradient(90deg,rgba(9,25,44,.15),rgba(75,25,54,.10)),
    url('../assets/refined/adobe-romance.jpg')!important;
  background-position:center 47%!important;
}
body.lex-index .service-card.gold::before{
  background-image:linear-gradient(90deg,rgba(9,25,44,.18),rgba(75,25,54,.08)),
    url('../assets/about/about-hero.jpg')!important;
  background-position:center 58%!important;
}
body.lex-index .service-card.navy::before{
  background-image:linear-gradient(90deg,rgba(9,25,44,.22),rgba(75,25,54,.08)),
    url('../assets/consulting/consulting-hero.jpg')!important;
  background-position:center 56%!important;
}
body.lex-index .service-card::before{flex-basis:152px!important;height:152px!important}
body.lex-index .service-card{min-height:385px!important}
body.lex-index .service-card p{
  font-size:15px!important;line-height:1.6!important;
}
body.lex-index .service-card a{font-size:12.5px!important}
body.lex-index .about-image{
  background:linear-gradient(90deg,rgba(7,22,40,.72) 0%,rgba(7,22,40,.33) 75%),
    url('../assets/home/homepage-hero.jpg') center 53% / cover no-repeat!important;
}
body.lex-index .about-inner>p:not(.eyebrow):not(.signature):not(.founder-label){
  font-size:15.5px!important;line-height:1.72!important;
}
body.lex-index .about-values{background:linear-gradient(90deg,rgba(8,28,46,.95),rgba(8,28,46,.78) 82%,rgba(8,28,46,.12))!important}
body.lex-index .about-values p{font-size:13px!important;line-height:1.55!important}
body.lex-index .process-step p{font-size:13.5px!important;line-height:1.65!important}
body.lex-index .process-step h3{font-size:14px!important;line-height:1.3!important}
body.lex-index .trust-item span{font-size:12px!important;line-height:1.48!important}
body.lex-index .trust-item strong{font-size:12px!important}

/* About hero: a full cinematic composition, rather than an enlarged face crop.
   About founder portrait: VERTICAL 4:5, never the former horizontal 1.3:1. */
body.lex-about main>.about-hero>.about-hero-image{
  position:absolute!important;inset:0!important;width:100%!important;
  background-image:url('../assets/refined/banner-investigations.png')!important;
  background-size:cover!important;background-repeat:no-repeat!important;
  background-position:center center!important;
}
body.lex-about main>.about-hero>.about-hero-overlay{
  background:linear-gradient(90deg,rgba(7,23,40,.98) 0%,rgba(7,23,40,.94) 33%,rgba(7,23,40,.62) 50%,rgba(7,23,40,.06) 75%)!important;
}
body.lex-about .founder-grid{
  grid-template-columns:minmax(300px,435px) minmax(0,1fr)!important;
  gap:clamp(40px,5vw,76px)!important;
  align-items:start!important;
}
body.lex-about .founder-photo{
  width:100%!important;max-width:435px!important;
  height:auto!important;aspect-ratio:4/5!important;
  border:9px solid #fffdf9!important;
  outline:1px solid #d5aa73!important;
  outline-offset:-19px!important;
  box-shadow:0 22px 50px rgba(15,25,35,.14)!important;
}
body.lex-about .founder-photo img{
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center top!important;
}
body.lex-about .founder-copy>p:not(.eyebrow):not(.signature):not(.signature-title),
body.lex-about .lexvico-meaning p{
  font-size:16px!important;line-height:1.78!important;
}
body.lex-about .founder-copy h2{font-size:clamp(42px,3.9vw,58px)!important;line-height:1.06!important}
body.lex-about .lexvico-meaning h3{font-size:31px!important}
body.lex-about .mission .value-grid article p,
body.lex-about .expertise-grid article p{font-size:14.5px!important;line-height:1.64!important}
/* The small approved artistic founder/signature rendering is a quiet closer,
   shown once on the About page before its pre-existing call to action. */
body.lex-about .lex-founder-signoff{
  display:flex;align-items:center;justify-content:center;
  padding:26px 20px 36px;
  background:linear-gradient(180deg,#fffaf4,#f9f1e9);
}
body.lex-about .lex-founder-signoff img{
  display:block;width:min(420px,94%);height:auto;
  box-shadow:0 10px 30px rgba(30,22,33,.055);
}

/* Consulting + Expert: WCAG-friendly headings over the deep navy panels. */
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-section{
  color:#fff7ed!important;
  background:linear-gradient(110deg,#10243d 0%,#1a3251 55%,#4b2844 100%)!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-intro h2{
  color:#fffdf8!important;text-shadow:0 1px 5px rgba(0,0,0,.18)!important;
  font-size:clamp(45px,4vw,59px)!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-intro .eyebrow{
  color:#f2bfd1!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-intro p:last-child{
  color:#f6eee6!important;
  font-size:16px!important;line-height:1.75!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-grid{gap:16px!important}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-grid>div{
  min-height:132px!important;
  gap:18px!important;
  padding:20px 22px!important;
  border:1px solid #e4d1c4!important;
  background:#fffdfa!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-grid>div p{
  color:#10263e!important;
  font-size:clamp(21px,1.68vw,25px)!important;
  font-weight:600!important;
  line-height:1.2!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-grid>div span{
  width:44px!important;height:44px!important;flex:0 0 44px!important;
  font-size:14px!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .consulting-card p{
  font-size:15px!important;line-height:1.7!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .partner-grid p{
  font-size:13.5px!important;line-height:1.55!important;
}
body:is(.lex-consulting,.lex-expert_testimony).lex-refined .process-grid p{
  font-size:13.5px!important;line-height:1.6!important;
}

/* FAQ: all questions and expanded answers readable at standard zoom. */
body.lex-faq.lex-refined .accordion-trigger{
  min-height:88px!important;
  padding:19px 22px!important;
  gap:18px!important;
}
body.lex-faq.lex-refined .question-text{
  font-size:clamp(23px,2.1vw,29px)!important;
  line-height:1.2!important;
  font-weight:600!important;
  color:#122642!important;
}
body.lex-faq.lex-refined .question-number{
  width:40px!important;height:40px!important;
  font-size:14px!important;
}
body.lex-faq.lex-refined .accordion-trigger{grid-template-columns:48px minmax(0,1fr) 35px!important}
body.lex-faq.lex-refined .accordion-panel p{
  font-size:16px!important;
  line-height:1.75!important;
  color:#2a3544!important;
}
body.lex-faq.lex-refined .topic-grid p{font-size:14.5px!important;line-height:1.64!important}
body.lex-faq.lex-refined .trust-grid p{font-size:13px!important;line-height:1.54!important}

/* Comfortable general information and footers, preserving page section spacing. */
body.lex-refined .site-footer :is(a,p){font-size:12.5px!important;line-height:1.7!important}
body.lex-refined .site-footer h2{font-size:13px!important}

/* Tablet/mobile: vertical founder portrait, readable navigation, cards and FAQs. */
@media(max-width:1180px) and (min-width:1021px){
  body.lex-refined .menu-toggle{display:block!important}
  body.lex-refined .primary-nav{
    position:absolute!important;left:0!important;right:0!important;top:100%!important;
    display:none!important;align-items:stretch!important;flex-direction:column!important;
    justify-content:flex-start!important;gap:0!important;padding:16px 27px 26px!important;
    background:#0e243a!important;border-bottom:2px solid #d6ac70!important;
    box-shadow:0 25px 35px rgba(0,0,0,.25)!important;max-height:calc(100vh - 86px)!important;
    overflow-y:auto!important;
  }
  body.lex-refined .primary-nav.open{display:flex!important}
  body.lex-refined .primary-nav>a,body.lex-refined .nav-dropdown-toggle{
    width:100%!important;padding:13px 5px!important;border-bottom:1px solid rgba(247,231,210,.15)!important;
  }
  body.lex-refined .primary-nav .nav-dropdown{display:block!important;width:100%!important}
  body.lex-refined .nav-dropdown-menu{position:static!important;max-width:none!important;width:100%!important;transform:none!important}
  body.lex-refined .nav-dropdown:not(.open) .nav-dropdown-menu{display:none!important}
  body.lex-refined .nav-dropdown.open .nav-dropdown-menu{display:block!important}
}
@media(max-width:1180px){
  body.lex-refined .primary-nav>a,body.lex-refined .primary-nav>.nav-dropdown .nav-dropdown-toggle{
    font-size:15px!important;
  }
}
@media(max-width:900px){
  body.lex-about .founder-grid{grid-template-columns:minmax(0,1fr)!important;gap:36px!important}
  body.lex-about .founder-photo{width:min(430px,100%)!important;aspect-ratio:4/5!important;margin-inline:auto!important}
  body.lex-about main>.about-hero>.about-hero-image{
    aspect-ratio:1916/821!important;inset:auto!important;position:relative!important;
    background-image:url('../assets/refined/banner-investigations.png')!important;
    background-size:cover!important;background-position:center center!important;
  }
  body.lex-about main>.about-hero>.about-hero-overlay{display:none!important}
  body.lex-about .founder-copy>p:not(.eyebrow):not(.signature):not(.signature-title),
  body.lex-about .lexvico-meaning p{font-size:15.5px!important}
  body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-intro h2{
    font-size:clamp(39px,7vw,53px)!important;
  }
}
@media(max-width:620px){
  body.lex-index .about-values p{font-size:12px!important}
  body.lex-index .service-card{min-height:345px!important}
  body.lex-refined .site-header .nav-wrap{width:calc(100% - 36px)!important}
  body.lex-about .founder-photo{width:min(370px,100%)!important;aspect-ratio:4/5!important}
  body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-grid>div{
    min-height:106px!important;padding:16px 15px!important;
  }
  body:is(.lex-consulting,.lex-expert_testimony).lex-refined .deliverables-grid>div p{
    font-size:21px!important;
  }
  body.lex-faq.lex-refined .accordion-trigger{
    min-height:78px!important;grid-template-columns:34px minmax(0,1fr) 27px!important;
    gap:11px!important;padding:15px 14px!important;
  }
  body.lex-faq.lex-refined .question-text{font-size:23px!important}
  body.lex-faq.lex-refined .question-number{width:32px!important;height:32px!important;font-size:12px!important}
  body.lex-faq.lex-refined .accordion-panel{padding-left:22px!important;padding-right:22px!important}
  body.lex-faq.lex-refined .accordion-panel p{font-size:15.5px!important}
  body.lex-refined .site-footer :is(a,p){font-size:12px!important}
}
