/* LEXVICO • VISUAL REFINEMENT • October 2026
   Cosmetic layer only. Original HTML copy, interactions, forms, PHP and JS are retained.
   The four approved hero images and three real portraits are present unchanged.
   Append AFTER the site's original stylesheets. */
:root{
  --lx-ink:#12233a;--lx-deep:#08192e;--lx-night:#0c1b30;
  --lx-plum:#50213e;--lx-wine:#741f4b;--lx-mauve:#aa748b;
  --lx-rose:#cc8e9d;--lx-gold:#d6ac70;--lx-cream:#f9f2e9;
  --lx-paper:#fffbf5;--lx-line:#dccab9;
}
html{scroll-padding-top:95px}
body.lex-refined{background:var(--lx-cream)!important;color:#30313a}
body.lex-refined ::selection{background:#b17892;color:#fff}
body.lex-refined a:focus-visible,body.lex-refined button:focus-visible,
body.lex-refined :is(input,textarea,select):focus-visible{outline:3px solid #d6ac70!important;outline-offset:3px}
body.lex-refined .eyebrow{color:#9b5575;font-weight:700;letter-spacing:.20em}
body.lex-refined h1,body.lex-refined h2,body.lex-refined h3{font-family:'Cormorant Garamond',Georgia,serif;letter-spacing:-.015em}
body.lex-refined main h2{line-height:1.09}
body.lex-refined .heading-rule{background:var(--lx-gold)!important;width:68px;height:3px}
body.lex-refined .container{max-width:1370px!important}

/* THE ORIGINAL LEXVICO IDENTITY • dark version is the firm's supplied original footer logo. */
body.lex-refined .site-header{background:linear-gradient(105deg,rgba(8,24,41,.99),rgba(24,25,43,.985) 68%,rgba(62,29,49,.99))!important;
 border-bottom:1px solid rgba(218,173,111,.35)!important;box-shadow:0 6px 26px rgba(6,13,27,.19)!important;backdrop-filter:blur(18px)}
body.lex-refined .site-header .nav-wrap{min-height:90px!important;gap:clamp(14px,1.6vw,26px)!important}
body.lex-refined .site-header .brand{background:transparent!important;border:0!important;box-shadow:none!important;min-width:0!important;
 width:clamp(214px,20vw,290px)!important;max-width:290px!important;flex:0 1 290px!important;overflow:visible!important}
body.lex-refined .site-header .brand img{width:100%!important;height:auto!important;max-height:76px!important;
 filter:none!important;object-fit:contain!important;object-position:left center!important}
body.lex-refined .primary-nav{gap:clamp(9px,1.08vw,19px)!important;letter-spacing:.08em!important}
body.lex-refined .primary-nav>a,body.lex-refined .nav-dropdown-toggle{
 color:#f5e9df!important;border-bottom-color:transparent!important;font-size:clamp(9px,.71vw,11px)!important;
 font-weight:700!important;letter-spacing:.07em!important}
body.lex-refined .primary-nav>a.active,body.lex-refined .primary-nav>a[aria-current=page],
body.lex-refined .primary-nav>a:hover,body.lex-refined .nav-dropdown-toggle:hover,
body.lex-refined .nav-dropdown.active>.nav-dropdown-toggle{color:#f8d7a7!important;border-bottom-color:#d6ac70!important}
body.lex-refined .primary-nav .contact-link{color:#f8d7a7!important}
body.lex-refined .menu-toggle{color:#fff!important}
body.lex-refined .menu-toggle span:not(.sr-only){background:#f9f2e9!important}
body.lex-refined .nav-dropdown-menu{background:#fffaf4!important;border-top:3px solid #d6ac70!important}
body.lex-refined .nav-dropdown-menu a{color:var(--lx-ink)!important}
body.lex-refined .nav-dropdown-menu a:hover{color:#6c244b!important}

/* Buttons and color-depth accents retain all original actions and destinations. */
body.lex-refined a.button,body.lex-refined button.button,
body.lex-refined a.btn,body.lex-refined button.btn{
 color:#fff!important;background:linear-gradient(135deg,#862951,#612040)!important;
 border:1px solid #c78a9d!important;border-radius:3px!important;
 box-shadow:0 6px 15px rgba(27,7,27,.13);font-weight:700!important;
 letter-spacing:.07em!important;text-decoration:none!important}
body.lex-refined :is(a.button,button.button,a.btn,button.btn):hover{
 background:linear-gradient(135deg,#9a355e,#6d2249)!important;box-shadow:0 10px 22px rgba(36,13,37,.23)!important}
body.lex-refined .button-outline,body.lex-refined .hero-actions .button-outline{
 background:rgba(8,22,40,.18)!important;border:1px solid var(--lx-gold)!important;color:#fff8ec!important;box-shadow:none!important}
body.lex-refined .button-light{color:#63213e!important;background:#fffaf3!important;border-color:#f5e7d2!important}

/* Navy-plum cinematic hero system. Page-specific background art is applied below. */
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero){
 position:relative!important;display:flex!important;align-items:center!important;height:auto!important;
 min-height:590px!important;max-height:none!important;overflow:hidden!important;
 background:linear-gradient(110deg,#07182b,#15243c 59%,#522c43)!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-photo,.hero-image,.about-hero-image){
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 grid-column:auto!important;grid-row:auto!important;min-height:0!important;
 background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-overlay,.about-hero-overlay){
 position:absolute!important;inset:0!important;display:block!important;z-index:1!important;
 background:linear-gradient(90deg,rgba(7,22,39,.98) 0%,rgba(9,25,44,.91) 31%,rgba(12,25,44,.74) 47%,rgba(14,29,44,.14) 76%,rgba(14,29,44,.02) 100%)!important;
 pointer-events:none!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-content,.about-hero-content){
 position:relative!important;z-index:2!important;grid-column:auto!important;grid-row:auto!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
 width:min(1350px,calc(100% - 90px))!important;max-width:1350px!important;
 margin:0 auto!important;padding:72px 0!important;align-self:stretch!important;
 min-height:590px!important;background:transparent!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-content > *,
body.lex-refined .about-hero .about-hero-copy-wrap,body.lex-refined .services-hero .hero-text-column{
 max-width:560px!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) h1{
 font-size:clamp(54px,5vw,77px)!important;color:#fff9ef!important;
 line-height:.91!important;font-weight:600!important;letter-spacing:-.027em!important;
 text-shadow:0 5px 18px rgba(0,0,0,.12)!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .eyebrow{
 color:#e1b77e!important;font-size:12px!important;letter-spacing:.19em!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-copy,
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-lead,
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-note{
 color:#f5e7d9!important;max-width:560px!important;width:auto!important;
 font-size:15px!important;line-height:1.66!important;text-shadow:0 1px 7px rgba(0,0,0,.16)}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-lead{
 font-family:'Cormorant Garamond',Georgia,serif;font-size:26px!important;line-height:1.2!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .heading-rule{
 background:#e0b77c!important;margin:21px 0!important}
body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-actions{
 display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:25px!important}

/* FOUR APPROVED BANNERS • Original image pixels unchanged (1916 × 821 each). */
body.lex-services .services-hero > .hero-photo{
 background-image:url('../assets/refined/banner-investigations.png')!important;background-position:center center!important}
body.lex-expert_testimony .consulting-hero > .hero-photo{
 background-image:url('../assets/refined/banner-expert-testimony.png')!important;background-position:center center!important}
body.lex-consulting .consulting-hero > .hero-photo{
 background-image:url('../assets/refined/banner-research.png')!important;background-position:center center!important}
body.lex-wrongful_conviction .wc-hero > .hero-photo{
 background-image:url('../assets/refined/banner-case-review.png')!important;background-position:center center!important}
body.lex-refined main > :is(.services-hero,.consulting-hero,.wc-hero) > .hero-photo::before{display:none!important}
body.lex-consulting .consulting-hero > .hero-overlay{
 background:linear-gradient(90deg,rgba(8,25,41,.08) 0%,rgba(8,25,41,.2) 45%,rgba(8,23,39,.81) 66%,rgba(8,23,39,.93) 100%)!important}
body.lex-consulting .consulting-hero > .hero-content{align-items:flex-end!important}
body.lex-consulting .consulting-hero > .hero-content > *{width:100%!important;max-width:515px!important}
body.lex-consulting .consulting-hero h1{font-size:clamp(48px,4.5vw,67px)!important}
body.lex-expert_testimony .consulting-hero h1{font-size:clamp(48px,4.35vw,66px)!important}

/* Home hero: real unaltered photo, separate from cinematic atmosphere; no simulated portrait. */
body.lex-index main>.hero{min-height:655px!important}
body.lex-index .hero>.hero-image{background-image:url('../assets/home/homepage-hero.jpg')!important;opacity:.14!important;filter:saturate(.7)}
body.lex-index .hero>.hero-overlay{
 background:radial-gradient(circle at 92% 20%,rgba(121,52,73,.58),transparent 39%),
 linear-gradient(105deg,rgba(6,21,38,.98) 0%,rgba(11,25,43,.95) 53%,rgba(53,24,48,.83) 100%)!important}
body.lex-index .hero>.hero-content{min-height:655px!important}
body.lex-index .hero-copy-wrap{max-width:590px!important;width:54%!important}
body.lex-index .hero h1{font-size:clamp(64px,5.6vw,85px)!important;max-width:580px!important}
body.lex-index .hero .hero-copy{max-width:530px!important}
body.lex-index .trust-row{max-width:580px!important;gap:10px!important}
body.lex-index .trust-item{border-right:1px solid rgba(221,175,116,.36)!important;padding-right:9px!important}
body.lex-index .trust-icon{color:#deb77c!important}
body.lex-index .trust-item strong{color:#fff4e4!important}
body.lex-index .trust-item span{color:#dfd7d1!important}
body.lex-index .lex-home-portrait{
 position:absolute;z-index:3;right:max(50px,calc((100vw - 1320px)/2));top:50%;
 width:min(32vw,445px);height:520px;transform:translateY(-50%);
 padding:9px;border:1px solid var(--lx-gold);background:#eee0d1;
 box-shadow:0 25px 75px rgba(0,0,0,.44);pointer-events:none}
body.lex-index .lex-home-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 21%;filter:none!important}
body.lex-index .lex-home-portrait:after{content:'';position:absolute;inset:9px;border:1px solid rgba(212,166,109,.72)}

/* About: real photographs only, and a proper landscape founder rectangle. */
body.lex-about .about-hero>.about-hero-image{
 inset:0 0 0 45%!important;width:55%!important;
 background-image:url('../assets/refined/portrait-outdoor.png')!important;
 background-position:center 24%!important;background-size:cover!important}
body.lex-about .about-hero>.about-hero-overlay{
 background:linear-gradient(90deg,rgba(7,23,40,1) 0%,rgba(8,25,43,.97) 37%,rgba(10,25,43,.69) 50%,rgba(10,25,43,.02) 77%)!important}
body.lex-about .about-hero h1{font-size:clamp(68px,6.8vw,94px)!important}
body.lex-about .mission{background:#fffaf3!important}
body.lex-about .founder{background:linear-gradient(132deg,#f9f1e9,#fcf7f0)!important;padding:90px 0!important}
body.lex-about .founder-grid{grid-template-columns:minmax(410px,.98fr) minmax(0,1.15fr)!important;gap:clamp(38px,5vw,80px)!important;align-items:start!important}
body.lex-about .founder-photo{
 max-width:640px!important;width:100%!important;height:auto!important;aspect-ratio:1.3 / 1!important;
 border:9px solid #fffdf9!important;outline:1px solid #d5aa73!important;outline-offset:-19px!important;
 border-radius:0!important;box-shadow:0 26px 52px rgba(14,29,42,.17)!important}
body.lex-about .founder-photo img{width:100%!important;height:100%!important;
 object-fit:cover!important;object-position:50% 24%!important;filter:none!important}
body.lex-about .founder-copy{background:transparent!important}
body.lex-about .founder-copy h2{color:#472238!important}
body.lex-about .lexvico-meaning{border-left:4px solid var(--lx-gold)!important;background:#fffaf4!important}
body.lex-about .expertise{background:linear-gradient(115deg,#0b2038,#142940 55%,#54233f)!important}

/* Home services: elevated editorial images; all five exact original card labels and emoji remain. */
body.lex-index .services-section{background:linear-gradient(140deg,#fffdf9,#f6ece2)!important;padding:80px 0 90px!important}
body.lex-index .services-section .section-heading h2{font-size:clamp(43px,4vw,60px)!important;color:#462238!important}
body.lex-index .service-grid{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:20px!important;
 margin-top:40px!important}
body.lex-index .service-card{
 grid-column:span 2;display:flex!important;flex-direction:column!important;text-align:left!important;
 position:relative;min-height:365px!important;padding:0 0 26px!important;overflow:hidden;
 border:1px solid #ddc9b7!important;border-top:3px solid #c59c6d!important;border-radius:2px!important;
 background:#fffdf9!important;box-shadow:0 15px 28px rgba(39,24,40,.1)!important}
body.lex-index .service-card:nth-child(4),body.lex-index .service-card:nth-child(5){grid-column:span 3}
body.lex-index .service-card::before{content:'';display:block;flex:0 0 126px;height:126px;width:100%;background-size:cover;background-position:center}
body.lex-index .service-card.blue::before{background-image:linear-gradient(90deg,#101c2b55,#59253d1a),url('../assets/refined/banner-case-review.png')}
body.lex-index .service-card.plum::before{background-image:linear-gradient(90deg,#101c2b55,#59253d1a),url('../assets/refined/banner-investigations.png')}
body.lex-index .service-card.rose::before{background-image:linear-gradient(90deg,#101c2b44,#59253d1a),url('../assets/refined/adobe-romance.jpg')}
body.lex-index .service-card.gold::before{background-image:linear-gradient(90deg,#101c2b55,#59253d1a),url('../assets/refined/adobe-research.jpg')}
body.lex-index .service-card.navy::before{background-image:linear-gradient(90deg,#101c2b55,#59253d1a),url('../assets/refined/banner-expert-testimony.png')}
body.lex-index .service-card .service-icon{width:53px!important;height:53px!important;flex:0 0 53px!important;
 position:relative;margin:-27px 22px 14px!important;border:3px solid #fffcf7!important;border-radius:50%!important;
 background:#6f254a!important;color:#fff!important;font-size:25px!important;box-shadow:0 4px 12px #111a2a27}
body.lex-index .service-card h3{min-height:0!important;margin:0 22px 8px!important;
 color:#421e35!important;font-size:clamp(25px,2.2vw,33px)!important;line-height:1.04!important}
body.lex-index .service-card p{min-height:0!important;margin:0 22px 16px!important;color:#3d414c!important}
body.lex-index .service-card a{margin:auto 22px 0!important;font-size:11px!important;letter-spacing:.08em!important;color:#7b204c!important}
body.lex-index .process-section{background:linear-gradient(112deg,#091e35,#132d47 55%,#50213e)!important;padding:62px 0 69px!important}
body.lex-index .process-section .section-heading h2{color:#f7eadb!important;font-size:clamp(41px,3.8vw,57px)!important}
body.lex-index .process-section .eyebrow{color:#e2b980!important}
body.lex-index .process-grid{gap:24px!important;margin-top:34px!important}
body.lex-index .step-icon{border:1px solid #e5c8a0!important;background:#fff7ec!important}
body.lex-index .process-step h3{color:#fff5e7!important}
body.lex-index .about-section{background:#f9f1e9!important;min-height:500px!important}
body.lex-index .about-copy{padding:64px 40px!important}
body.lex-index .about-inner h2{font-size:clamp(43px,3.9vw,57px)!important;color:#482139!important}
body.lex-index .about-image{
 background:linear-gradient(90deg,rgba(7,22,40,.62) 0%,rgba(7,22,40,.03) 72%),
 url('../assets/refined/portrait-blue.png') 62% 25% / cover no-repeat!important;
 border-left:5px solid var(--lx-gold)!important}
body.lex-index .about-values{width:48%!important;color:#fff!important;
 background:linear-gradient(90deg,rgba(8,28,46,.95),rgba(8,28,46,.82) 66%,rgba(8,28,46,.01))!important}
body.lex-index .about-value-icon{color:#e3bd86!important}
body.lex-index .about-values p{color:#fff0df!important}
body.lex-index .cta-band{background:linear-gradient(102deg,#532340,#842d55,#0e2943)!important;min-height:104px!important}
body.lex-index .cta-inner{padding-block:22px!important}

/* Interior content stays in its exact original sequence, elevated with gentle gradients and crisp borders. */
body.lex-refined main :is(.section,.mission,.founder,.contact-main,.form-section,.pricing-section,.policies-section,.long-form,.resource-section,.faq-section,.expectations,.core-services,.detail-services){scroll-margin-top:94px}
body.lex-refined main :is(.section,.mission,.pricing-section,.policies-section,.contact-main,.form-section,.resource-section){
 background-color:#fffbf6}
body.lex-refined main :is(.service-card,.consulting-card,.price-card,.topic-card,.value-card,.card,.case-card,.detail-card){
 border-color:#dec7b5;box-shadow:0 8px 26px rgba(21,26,39,.06)}
body.lex-refined main :is(.service-card,.consulting-card,.price-card,.topic-card,.value-card,.card,.case-card,.detail-card):hover{box-shadow:0 15px 32px rgba(21,26,39,.1)}
body.lex-refined main :is(.trust-strip,.partner-strip,.values-strip){
 border-top:1px solid #d8b88b!important;border-bottom:1px solid #e5d6c7!important}
body.lex-refined main :is(.process-section,.expertise,.deliverables-section).section-tone-blue{
 background:linear-gradient(108deg,#0c233c,#18324b 58%,#4f2944)!important;color:#fff}
body.lex-refined main .cta:not(.resource-cta) .cta-overlay{
 background:linear-gradient(115deg,rgba(14,29,49,.92),rgba(104,35,70,.86))!important}
body.lex-refined main .cta h2{color:#fff!important}
body.lex-refined main :is(.lex-feature,.lex-accent){border-color:var(--lx-gold)}
body.lex-refined form input:not([type=checkbox]):not([type=radio]),
body.lex-refined form select,body.lex-refined form textarea{
 border-radius:4px!important;border-color:#c9b8ac!important;background:#fffefd!important;
 color:#192735!important;min-height:42px}
body.lex-refined form :is(input,textarea,select):focus{border-color:#78234f!important;box-shadow:0 0 0 2px rgba(120,35,79,.11)!important}
body.lex-refined form :is(button[type=submit],input[type=submit]){
 border-radius:4px!important;box-shadow:0 6px 20px rgba(66,26,55,.17)}

/* Shared footer with same original exact logo and all of its existing links. */
body.lex-refined .site-footer{
 background:linear-gradient(111deg,#08192c,#14283e 52%,#3f1d37)!important;
 color:#f8ede1!important;border-top:3px solid rgba(215,168,104,.68)}
body.lex-refined .site-footer h2{color:#f0c692!important;letter-spacing:.16em!important}
body.lex-refined .site-footer a{color:#f3e9e0!important}
body.lex-refined .site-footer a:hover{color:#efba99!important}
body.lex-refined .site-footer .footer-brand img.footer-logo{filter:none!important;opacity:1!important}
body.lex-refined .site-footer .footer-grid{max-width:1370px!important}
body.lex-refined .site-footer .footer-bottom{border-color:rgba(215,168,104,.22)!important}

/* Retina-friendly sizes and robust tablet/mobile without modifying the site's menu scripts. */
@media(max-width:1200px){
 body.lex-refined .site-header .brand{width:225px!important;flex-basis:225px!important}
 body.lex-refined .primary-nav{gap:11px!important}
 body.lex-index .hero-copy-wrap{width:52%!important}
 body.lex-index .lex-home-portrait{width:32vw!important;height:490px!important}
 body.lex-index .hero h1{font-size:clamp(54px,5.8vw,73px)!important}
}
@media(max-width:1020px){
 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 var(--lx-gold)!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;font-size:12px!important;
  border-bottom:1px solid rgba(247,231,210,.15)!important}
 body.lex-refined .primary-nav .nav-dropdown{width:100%!important;display:block!important}
 body.lex-refined .nav-dropdown-menu{position:static!important;width:100%!important;min-width:0!important;max-width:none!important;
  background:#fffaf4!important;transform:none!important;border-radius:8px!important;box-shadow: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}
 body.lex-index .lex-home-portrait{right:25px!important}
 body.lex-index .hero-copy-wrap{max-width:53%!important}
}
@media(max-width:900px){
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero){
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;
  background:var(--lx-night)!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-photo,.hero-image,.about-hero-image){
  order:0!important;display:block!important;position:relative!important;inset:auto!important;
  width:100%!important;height:auto!important;min-height:0!important;
  flex:0 0 auto!important;aspect-ratio:1916/821!important;
  background-size:cover!important;background-position:center center!important;grid-row:auto!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-overlay,.about-hero-overlay){display:none!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-content,.about-hero-content){
  position:relative!important;order:1!important;grid-row:auto!important;grid-column:auto!important;
  min-height:0!important;height:auto!important;align-self:stretch!important;align-items:flex-start!important;
  width:100%!important;max-width:100%!important;margin:0!important;padding:46px clamp(22px,5vw,54px) 53px!important;
  background:linear-gradient(120deg,#0b1d34,#3a2340)!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) h1{
  font-size:clamp(46px,8vw,69px)!important;max-width:760px!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-content > *,
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .about-hero-copy-wrap{
  width:100%!important;max-width:760px!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-actions{
  max-width:100%!important;display:flex!important;flex-wrap:wrap!important}
 body.lex-consulting .consulting-hero>.hero-content{align-items:flex-start!important}
 body.lex-consulting .consulting-hero>.hero-content>*{max-width:760px!important}
 body.lex-about .about-hero>.about-hero-image{inset:auto!important;width:100%!important;
  background-position:center 22%!important;aspect-ratio:1.8!important}
 body.lex-index main>.hero{min-height:0!important;overflow:hidden!important}
 body.lex-index .hero>.hero-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  aspect-ratio:auto!important;opacity:.12!important}
 body.lex-index .hero>.hero-overlay{display:block!important;position:absolute!important;inset:0!important;
  background:linear-gradient(165deg,rgba(7,23,40,.94),rgba(40,24,45,.89))!important}
 body.lex-index .hero>.hero-content{order:0!important;position:relative!important;min-height:0!important;
  width:100%!important;padding:56px clamp(23px,5vw,49px) 12px!important;background:transparent!important}
 body.lex-index .hero-copy-wrap{max-width:690px!important;width:100%!important}
 body.lex-index .hero h1{font-size:clamp(55px,8vw,76px)!important}
 body.lex-index .lex-home-portrait{order:1!important;position:relative!important;top:auto!important;right:auto!important;
  width:min(500px,88vw)!important;height:420px!important;transform:none!important;margin:25px auto 43px!important}
 body.lex-index .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.lex-index .service-card,body.lex-index .service-card:nth-child(4),body.lex-index .service-card:nth-child(5){grid-column:span 1!important}
 body.lex-index .about-section{grid-template-columns:1fr!important}
 body.lex-index .about-image{min-height:500px!important}
 body.lex-about .founder-grid{grid-template-columns:1fr!important;gap:42px!important}
 body.lex-about .founder-photo{max-width:690px!important}
}
@media(max-width:620px){
 body.lex-refined .site-header .nav-wrap{min-height:74px!important}
 body.lex-refined .site-header .brand{width:205px!important;max-width:65vw!important;flex:0 1 205px!important}
 body.lex-refined .site-header .brand img{max-height:59px!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) > :is(.hero-content,.about-hero-content){
  padding:33px 22px 42px!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) h1{
  font-size:clamp(41px,10.5vw,57px)!important;line-height:.99!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-lead{
  font-size:23px!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-actions{
  display:grid!important;grid-template-columns:1fr!important;gap:11px!important}
 body.lex-refined main > :is(.hero,.about-hero,.services-hero,.consulting-hero,.wc-hero) .hero-actions .button{
  width:100%!important;max-width:none!important;padding:13px 12px!important;font-size:10.5px!important}
 body.lex-index .hero>.hero-content{padding:43px 22px 0!important}
 body.lex-index .hero h1{font-size:clamp(49px,11.5vw,64px)!important}
 body.lex-index .hero .trust-row{grid-template-columns:1fr 1fr!important;gap:17px 8px!important}
 body.lex-index .hero .trust-item{border:0!important;padding:0!important}
 body.lex-index .hero .trust-item:last-child{grid-column:span 2!important}
 body.lex-index .lex-home-portrait{height:370px!important;width:min(365px,87vw)!important;margin:23px auto 38px!important}
 body.lex-index .service-grid{grid-template-columns:1fr!important}
 body.lex-index .service-card{min-height:330px!important}
 body.lex-index .services-section{padding:52px 0!important}
 body.lex-index .service-card h3{font-size:30px!important}
 body.lex-index .about-copy{padding:48px 23px!important}
 body.lex-index .about-image{min-height:440px!important;background-position:61% 18%!important}
 body.lex-index .about-values{width:52%!important;padding:19px 14px!important;gap:16px!important}
 body.lex-index .about-values p{font-size:11px!important}
 body.lex-about .founder{padding:49px 0!important}
 body.lex-about .founder-photo{aspect-ratio:1.28/1!important}
 body.lex-refined .site-footer .footer-grid{gap:23px!important;padding:33px 0!important}
}
@media(prefers-reduced-motion:reduce){body.lex-refined *,body.lex-refined *::after,body.lex-refined *::before{transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Research artwork reserves its dark negative space on the right (mobile stacks image first). */
@media(min-width:901px){
 body.lex-refined.lex-consulting main>.consulting-hero>.hero-content{align-items:flex-end!important}
 body.lex-refined.lex-consulting main>.consulting-hero>.hero-content>*{max-width:510px!important;width:100%!important}
 body.lex-refined.lex-consulting main>.consulting-hero>.hero-overlay{
  background:linear-gradient(90deg,rgba(7,22,41,.03) 0%,rgba(7,22,41,.07) 37%,rgba(7,22,41,.45) 58%,rgba(7,22,41,.88) 73%,rgba(7,22,41,.92) 100%)!important}
}
/* Keep the original accessible skip link offscreen until focused by keyboard. */
body.lex-refined .skip-link{position:fixed!important;top:8px!important;left:8px!important;z-index:20000!important;
 transform:translateY(-180%)!important;opacity:0!important;pointer-events:none!important;background:#fffaf4!important;color:#0c2239!important}
body.lex-refined .skip-link:focus,body.lex-refined .skip-link:focus-visible{
 transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important}
body.lex-refined .lex-stock-credit{max-width:1370px;margin:0 auto;padding:0 20px 13px;color:#e5c7b9;
 font:500 10.5px/1.5 Montserrat,Arial,sans-serif;letter-spacing:.025em}
@media(max-width:900px){
 body.lex-refined.lex-about main>.about-hero>.about-hero-image{
  background-color:#0d2035!important;background-size:auto 140%!important;
  background-position:center 27%!important;background-repeat:no-repeat!important;
  aspect-ratio:1.65!important}
}
