
:root{--navy:#061633;--blue:#1357b4;--blue2:#1c73d2;--ink:#1a2941;--muted:#607089;--line:#dce5f1;--mist:#f4f7fb;--white:#fff;--shadow:0 24px 70px rgba(6,22,51,.13);--container:1340px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:"Segoe UI",Arial,Helvetica,sans-serif;font-size:16px;line-height:1.72;-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}.skip-link{position:fixed;left:16px;top:-80px;z-index:9999;background:#fff;padding:10px 16px;box-shadow:var(--shadow)}.skip-link:focus{top:16px}.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.98);border-bottom:1px solid rgba(6,22,51,.09);backdrop-filter:blur(14px)}.nav-wrap{position:relative;min-height:116px;display:flex;align-items:center;justify-content:space-between}.brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:flex;align-items:center;justify-content:center}.brand img{width:150px;height:108px;object-fit:contain}.nav-group{display:flex;align-items:center;gap:38px;width:calc(50% - 105px)}.nav-left{justify-content:flex-end;padding-right:26px}.nav-right{justify-content:flex-start;padding-left:26px}.nav-group a{position:relative;padding:44px 0 40px;text-decoration:none;color:#273650;font-size:16px;font-weight:700;letter-spacing:.005em;white-space:nowrap}.nav-group a:after{content:"";position:absolute;left:50%;right:50%;bottom:30px;height:3px;background:linear-gradient(90deg,var(--blue),#69a8f4);transition:.25s}.nav-group a:hover:after,.nav-group a.active:after{left:0;right:0}.nav-group a.active{color:var(--navy)}.menu-toggle{display:none;width:46px;height:46px;border:0;background:var(--navy);padding:11px}.menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0}.main-nav.mobile-nav{display:none}
.hero-slider{position:relative;overflow:hidden;background:var(--mist)}.hero-track{display:flex;transition:transform .58s cubic-bezier(.4,0,.2,1)}.hero-slide{min-width:100%;display:grid;grid-template-columns:1fr 1fr;min-height:650px}.hero-content{display:flex;flex-direction:column;justify-content:center;padding:78px max(54px,calc((100vw - var(--container))/2 + 24px));padding-right:10px;background:
linear-gradient(90deg,
  rgba(28,115,210,.24) 0%,
  rgba(28,115,210,.14) 9%,
  rgba(28,115,210,.06) 19%,
  rgba(28,115,210,0) 36%
),
linear-gradient(135deg,#fff 0%,#f9fbff 100%);
position:relative;overflow:hidden}.hero-content:before{content:none}.hero-kicker,.eyebrow{display:inline-flex;align-items:center;gap:12px;color:var(--blue);text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:850;margin-bottom:15px}.eyebrow:before{content:"";width:34px;height:2px;background:currentColor}.hero-content h1{margin:0;max-width:650px;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(46px,4.7vw,74px);line-height:1.02;font-weight:500;letter-spacing:-.035em}.hero-rule{width:78px;height:5px;background:linear-gradient(90deg,var(--blue),#76b2ff);margin:29px 0}.hero-content p{margin:0;color:var(--muted);max-width:590px;font-size:18px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.hero-media{min-height:650px;background:#dfe9f8;overflow:hidden;position:relative}.hero-media img{width:100%;height:100%;object-fit:cover}.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,22,51,.1),transparent 35%);pointer-events:none}.slider-controls{position:absolute;z-index:10;right:max(24px,calc((100vw - var(--container))/2 + 24px));bottom:28px;display:flex;align-items:center;gap:9px;background:rgba(6,22,51,.94);padding:9px;border-radius:5px;box-shadow:0 12px 30px rgba(6,22,51,.22)}.slider-arrow{width:42px;height:42px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:19px}.slider-dots{display:flex;gap:7px;padding:0 7px}.slider-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.38)}.slider-dot.active{width:25px;border-radius:9px;background:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 23px;border:1px solid transparent;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.01em;transition:.2s;border-radius:3px}.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;box-shadow:0 10px 24px rgba(19,87,180,.22)}.btn-primary:hover{background:var(--navy)}.btn-outline{border-color:var(--navy);color:var(--navy);background:#fff}.btn-outline:hover{background:var(--navy);color:#fff}
.section{padding:96px 0}.bg-mist{background:var(--mist)}.bg-navy{background:linear-gradient(135deg,#061633,#0a2d67);color:#fff}.section-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.88fr);gap:80px;align-items:center}.section-grid.reverse .visual-block{order:2}h1,h2,h3,h4{color:var(--navy)}h2{margin:0 0 25px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,3.6vw,54px);line-height:1.08;font-weight:500;letter-spacing:-.025em}h3{margin:0 0 12px;font-size:22px;line-height:1.3}p{margin:0 0 20px}.lead{color:#34435c;font-size:19px;line-height:1.78}.visual-block,.image-placeholder,.leader-photo{position:relative;min-height:440px;background:linear-gradient(145deg,#e9f0f9,#cedced);border:1px solid #c6d4e7;overflow:hidden;box-shadow:var(--shadow)}.visual-block:before,.image-placeholder:before,.leader-photo:before{content:attr(data-label);position:absolute;left:28px;bottom:24px;color:rgba(6,22,51,.68);font-size:11px;font-weight:850;letter-spacing:.16em}.visual-block:before{content:"IMAGE PLACEHOLDER"}.leader-photo:before{content:"LEADERSHIP IMAGE PLACEHOLDER"}.visual-block:after,.image-placeholder:after,.leader-photo:after{content:"";position:absolute;width:380px;height:380px;border:56px solid rgba(19,87,180,.09);transform:rotate(45deg);right:-160px;top:-170px}
.page-banner{height:340px;position:relative;overflow:hidden;background:var(--navy)}.page-banner-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.page-banner-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,22,51,.64),rgba(6,22,51,.34) 58%,rgba(6,22,51,.12))}.page-banner-content{position:relative;z-index:2;height:100%;display:flex;align-items:center}.page-banner h1{margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,5vw,74px);font-weight:500;letter-spacing:-.035em;text-shadow:0 3px 12px rgba(0,0,0,.14)}
.services-intro{padding-bottom:30px}.wide-placeholder{width:min(1120px,100%);margin:0 auto;aspect-ratio:2.5/1;object-fit:cover;border-radius:10px;box-shadow:var(--shadow)}.service-showcase{padding-top:52px;background:linear-gradient(#fff,#f6f9fd)}.service-stack{display:grid;gap:52px}.service-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 18px 55px rgba(6,22,51,.09)}.service-card-image{width:100%;aspect-ratio:2.5/1;object-fit:cover}.service-card-body{padding:46px 52px 50px}.service-title-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:22px;align-items:start;margin-bottom:12px}.service-title-row h2{font-size:clamp(32px,3.1vw,47px);margin:0 0 9px}.section-icon,.check-icon,.other-icon,.card-icon,.step-icon,.contact-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.section-icon{width:64px;height:64px;color:var(--blue);background:#edf4fd;border:1px solid #d3e3f6;border-radius:12px}.section-icon svg{width:31px;height:31px}.section-icon svg,.check-icon svg,.other-icon svg,.card-icon svg,.step-icon svg,.contact-icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.service-tagline{color:var(--blue);font-size:18px;font-weight:750;margin:0}.deliverable-title{margin-top:30px;font-family:Georgia,serif;font-size:25px}.deliverable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 30px}.deliverable{display:flex;align-items:flex-start;gap:13px;padding:16px 17px;background:#f5f8fc;border:1px solid #dfe8f3;border-left:4px solid var(--blue);border-radius:5px;font-size:14px;line-height:1.55}.check-icon{width:28px;height:28px;color:#fff;background:var(--blue);border-radius:50%;margin-top:1px}.check-icon svg{width:16px;height:16px}.other-heading{margin-bottom:35px}.other-heading h2{color:#fff}.other-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.other-service-card{min-height:220px;padding:30px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.16);border-radius:9px;transition:.2s}.other-service-card:hover{transform:translateY(-4px);background:rgba(255,255,255,.11)}.other-service-card h3{color:#fff;font-size:20px}.other-service-card p{color:rgba(255,255,255,.72);font-size:14px}.other-icon{width:58px;height:58px;margin-bottom:24px;color:#fff;border:1px solid rgba(255,255,255,.32);border-radius:10px;background:rgba(255,255,255,.08)}.other-icon svg{width:28px;height:28px}
.expertise-top-grid,.expertise-feature{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:68px;align-items:center}.expertise-section{padding:86px 0;border-top:1px solid var(--line)}.expertise-feature.reverse{grid-template-columns:minmax(330px,.65fr) minmax(0,1.35fr)}.expertise-feature.reverse .expertise-copy{order:2}.expertise-feature.reverse .expertise-visual{order:1}.expertise-heading{display:grid;grid-template-columns:240px minmax(0,1fr);gap:44px}.expertise-heading h2{font-size:clamp(33px,3vw,47px)}.numbered-grid{display:grid;gap:16px;margin-top:30px}.number-card{position:relative;padding:29px 72px 29px 88px;background:#fff;border:1px solid #dce6f2;border-radius:7px;box-shadow:0 9px 25px rgba(6,22,51,.055)}.number-card p{margin:0}.number-card .number{position:absolute;right:21px;top:19px;color:rgba(19,87,180,.18);font-size:34px;font-weight:850}.card-icon{position:absolute;left:24px;top:27px;width:48px;height:48px;color:var(--blue);background:#edf4fc;border:1px solid #d2e2f5;border-radius:10px}.card-icon svg{width:24px;height:24px}.feature-list{list-style:none;padding:0;margin:20px 0}.feature-list li{position:relative;padding:11px 0 11px 34px;border-bottom:1px solid var(--line)}.feature-list li:before{content:"✓";position:absolute;left:0;top:10px;color:var(--blue);font-weight:900}.after-cards{margin-top:30px}.section-heading-media{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:62px;align-items:center;margin-bottom:48px}.expertise-visual.compact{min-height:260px}.case-table{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.case-column{padding:31px;background:#fff;border:1px solid var(--line);border-top:5px solid var(--blue);box-shadow:0 12px 35px rgba(6,22,51,.07)}.case-column ul{margin:15px 0 0;padding-left:20px}.case-column li{margin:7px 0}.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.step{position:relative;padding:39px 38px 38px 116px;background:#fff;border:1px solid var(--line);min-height:260px}.step>span:not(.step-icon){color:var(--blue);font-size:12px;font-weight:850;letter-spacing:.13em}.step-icon{position:absolute;left:36px;top:39px;width:60px;height:60px;color:var(--blue);background:#edf4fc;border:1px solid #d3e2f5;border-radius:12px}.step-icon svg{width:29px;height:29px}.people-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.people-card{margin:0;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 12px 30px rgba(6,22,51,.07)}.people-card img{width:100%;aspect-ratio:1.18/1;object-fit:cover}.people-card h3{font-size:17px;padding:20px;margin:0;text-align:center}.people-card:hover{transform:translateY(-4px);transition:.2s}
.leadership-card{display:grid;grid-template-columns:minmax(360px,.75fr) minmax(0,1.25fr);gap:72px;align-items:center;background:#fff;padding:42px;border:1px solid var(--line);box-shadow:var(--shadow)}.leader-photo{min-height:520px}.role{display:inline-block;color:var(--blue);font-size:13px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;margin-bottom:13px}.contact-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:44px;align-items:stretch}.contact-panel{padding:48px;background:linear-gradient(145deg,#061633,#0b3b83);color:#fff;box-shadow:var(--shadow)}.contact-panel h2,.contact-panel .eyebrow{color:#fff}.contact-item{position:relative;padding:24px 0 24px 76px;border-top:1px solid rgba(255,255,255,.15);min-height:90px}.contact-item small{display:block;color:rgba(255,255,255,.62);text-transform:uppercase;letter-spacing:.12em;margin-bottom:4px}.contact-item a{text-decoration:none}.contact-icon{position:absolute;left:0;top:22px;width:56px;height:56px;color:#fff;border:1px solid rgba(255,255,255,.26);border-radius:10px;background:rgba(255,255,255,.07)}.contact-icon svg{width:27px;height:27px}.form-card{padding:48px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:800;color:var(--navy)}.field input,.field textarea{width:100%;border:1px solid #cbd8e8;background:#fbfdff;padding:13px 14px;outline:none}.field input:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(19,87,180,.12)}.field textarea{min-height:145px;resize:vertical}
.site-footer{background:#041127;color:rgba(255,255,255,.75);padding:62px 0 0}.footer-grid{display:grid;grid-template-columns:1.2fr .65fr 1fr;gap:70px;padding-bottom:46px}.footer-logo{width:200px;height:210px;object-fit:contain;}.footer-copy{max-width:430px}.footer-col h4{color:#fff;margin:0 0 18px;font-size:16px}.footer-links{display:grid;gap:10px}.footer-links a{text-decoration:none}.footer-links a:hover{color:#fff}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0;border-top:1px solid rgba(255,255,255,.12);font-size:13px}.site-credit{display:inline-flex;align-items:center;gap:9px}.site-credit a{display:inline-flex}.site-credit img{width:32px;height:32px;object-fit:contain;border-radius:4px}
.modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:18px}.modal.show{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(2,11,27,.74);backdrop-filter:blur(5px)}.modal-dialog{position:relative;z-index:2;width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;padding:42px;box-shadow:0 30px 90px rgba(0,0,0,.3)}.modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:32px;color:var(--navy)}.modal-form{display:grid;gap:15px}.modal-footnote{font-size:12px;color:var(--muted)}.modal-open{overflow:hidden}.form-status{min-height:24px;font-size:13px}.form-status.success{color:#087a4b}.form-status.error{color:#b42318}
@media(max-width:1220px){.container{width:min(var(--container),calc(100% - 36px))}.nav-group{gap:24px}.nav-group a{font-size:14px}.brand img{width:130px}.section-grid{gap:50px}.people-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:960px){.nav-wrap{min-height:96px;justify-content:center}.nav-group{display:none}.brand{position:static;transform:none}.brand img{width:118px;height:88px}.menu-toggle{display:block;position:absolute;right:0}.main-nav.mobile-nav{position:absolute;top:96px;left:-18px;right:-18px;display:none;background:#fff;padding:12px 22px 24px;box-shadow:0 24px 40px rgba(6,22,51,.13)}.main-nav.mobile-nav.open{display:grid}.main-nav.mobile-nav a{padding:13px 0;border-bottom:1px solid #e9eef5;text-decoration:none;font-size:15px;font-weight:700}.hero-slide{grid-template-columns:1fr;min-height:0}.hero-media{order:1;min-height:0;aspect-ratio:16/9}.hero-media img{object-fit:contain;background:#e7eef8}.hero-content{order:2;padding:52px 34px 78px}.slider-controls{right:20px;bottom:20px}.section-grid,.expertise-top-grid,.expertise-feature,.expertise-feature.reverse,.section-heading-media,.leadership-card,.contact-grid{grid-template-columns:1fr}.section-grid.reverse .visual-block{order:initial}.expertise-feature.reverse .expertise-copy,.expertise-feature.reverse .expertise-visual{order:initial}.service-card-body{padding:37px}.deliverable-grid{grid-template-columns:1fr}.other-service-grid{grid-template-columns:repeat(2,1fr)}.expertise-heading{grid-template-columns:1fr;gap:8px}.case-table{grid-template-columns:1fr}.people-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.leader-photo{min-height:420px}}
@media(max-width:680px){.container{width:calc(100% - 24px)}.hero-content{background:
linear-gradient(90deg,
  rgba(28,115,210,.21) 0%,
  rgba(28,115,210,.11) 14%,
  rgba(28,115,210,.04) 28%,
  rgba(28,115,210,0) 52%
),
linear-gradient(135deg,#fff 0%,#f9fbff 100%)}.nav-wrap{min-height:88px}.brand img{width:106px;height:80px}.main-nav.mobile-nav{top:88px;left:-12px;right:-12px}.hero-media{aspect-ratio:16/10}.hero-content{padding:42px 22px 82px}.hero-content h1{font-size:39px}.hero-content p{font-size:16px}.slider-controls{left:50%;right:auto;transform:translateX(-50%);bottom:18px}.section{padding:68px 0}.section-grid{gap:32px}.page-banner{height:240px}.page-banner h1{font-size:42px}.wide-placeholder,.service-card-image{aspect-ratio:16/9}.service-card-body{padding:26px 21px 30px}.service-title-row{grid-template-columns:1fr;gap:14px}.section-icon{width:58px;height:58px}.service-title-row h2{font-size:32px}.other-service-grid{grid-template-columns:1fr}.expertise-section{padding:65px 0}.expertise-top-grid,.expertise-feature{gap:31px}.visual-block,.image-placeholder{min-height:290px}.number-card{padding:78px 22px 25px}.card-icon{left:21px;top:20px}.number-card .number{right:21px;top:18px}.steps{grid-template-columns:1fr}.step{padding:112px 26px 30px}.step-icon{left:26px;top:30px}.people-grid{grid-template-columns:1fr}.people-card img{aspect-ratio:16/10}.leadership-card{padding:20px;gap:28px}.leader-photo{min-height:330px}.contact-panel,.form-card{padding:29px 23px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer-grid{grid-template-columns:1fr;gap:34px}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{flex-direction:column;align-items:flex-start}.modal-dialog{padding:34px 22px}}


/* V5 navigation and requested refinements */
.site-header{transition:box-shadow .28s ease,background .28s ease}
.nav-wrap{min-height:124px;display:flex;align-items:center;gap:38px;transition:min-height .3s ease}
.brand{position:static;transform:none;display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;margin-right:auto;transition:transform .3s ease}
.brand img{width:178px;height:116px;object-fit:contain;transition:width .3s ease,height .3s ease}
.desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:34px;margin-left:auto}
.desktop-nav a{position:relative;display:flex;align-items:center;min-height:124px;padding:0;text-decoration:none;color:#24344e;font-size:17px;font-weight:750;letter-spacing:.006em;white-space:nowrap;transition:min-height .3s ease,color .2s ease,font-size .3s ease}
.desktop-nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:28px;height:3px;background:linear-gradient(90deg,var(--blue),#69a8f4);transition:left .25s ease,right .25s ease,bottom .3s ease}
.desktop-nav a:hover:after,.desktop-nav a.active:after{left:0;right:0}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--navy)}
.site-header.scrolled{box-shadow:0 9px 28px rgba(6,22,51,.1)}
.site-header.scrolled .nav-wrap{min-height:76px}
.site-header.scrolled .brand img{width:112px;height:68px}
.site-header.scrolled .desktop-nav a{min-height:76px;font-size:15px}
.site-header.scrolled .desktop-nav a:after{bottom:15px}
.site-header.scrolled .menu-toggle{transform:scale(.9)}
.main-nav.mobile-nav{display:none}

/* Services refinements */
.service-showcase{padding-top:78px}
.other-service-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.other-service-card{min-height:178px;padding:22px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.other-service-card h3{font-size:16px;line-height:1.35;margin-bottom:5px}
.other-service-card p{font-size:12.5px;line-height:1.45;margin:0}
.other-icon{width:50px;height:50px;margin-bottom:16px}
.other-icon svg{width:24px;height:24px}

/* Expertise refinements */
.expertise-highlight{margin:30px 0 0;padding:27px 30px;border-left:6px solid var(--blue);background:linear-gradient(135deg,#eef5ff,#f8fbff);box-shadow:0 14px 38px rgba(6,22,51,.08);color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,2vw,31px);line-height:1.38}
.expertise-heading{grid-template-columns:minmax(300px,335px) minmax(0,1fr)}
.medical-negligence-title{font-size:clamp(31px,2.8vw,45px)!important;line-height:1.09}
.medical-negligence-title span{display:block;white-space:nowrap;color:var(--blue);font-size:.82em;margin-top:5px}

/* Leadership refinement */
.leader-copy h2{margin-bottom:24px}

@media(max-width:1220px){
  .nav-wrap{gap:25px}
  .brand img{width:150px;height:104px}
  .desktop-nav{gap:21px}
  .desktop-nav a{font-size:15px}
  .site-header.scrolled .brand img{width:104px;height:64px}
  .other-service-card{padding-inline:13px}
  .other-service-card h3{font-size:14px}
}
@media(max-width:960px){
  .nav-wrap{min-height:96px;justify-content:space-between;gap:16px}
  .brand{margin-right:0}
  .brand img{width:136px;height:88px}
  .desktop-nav{display:none}
  .menu-toggle{display:block;position:static;margin-left:auto;transition:transform .3s ease}
  .main-nav.mobile-nav{position:absolute;top:100%;left:-18px;right:-18px;display:none;background:#fff;padding:12px 22px 24px;box-shadow:0 24px 40px rgba(6,22,51,.13)}
  .main-nav.mobile-nav.open{display:grid}
  .main-nav.mobile-nav a{padding:13px 0;border-bottom:1px solid #e9eef5;text-decoration:none;font-size:15px;font-weight:700}
  .site-header.scrolled .nav-wrap{min-height:72px}
  .site-header.scrolled .brand img{width:102px;height:64px}
  .other-service-grid{grid-template-columns:repeat(2,1fr)}
  .other-service-card{min-height:180px;padding:24px 20px}
  .other-service-card h3{font-size:17px}
  .expertise-heading{grid-template-columns:1fr}
  .medical-negligence-title span{display:inline;white-space:normal;color:inherit;font-size:1em;margin:0}
}
@media(max-width:680px){
  .nav-wrap{min-height:88px}
  .brand img{width:122px;height:80px}
  .main-nav.mobile-nav{left:-12px;right:-12px}
  .site-header.scrolled .nav-wrap{min-height:66px}
  .site-header.scrolled .brand img{width:92px;height:58px}
  .service-showcase{padding-top:58px}
  .other-service-grid{grid-template-columns:1fr}
  .other-service-card{min-height:0;text-align:left;align-items:flex-start;padding:24px}
  .other-icon{margin-bottom:15px}
  .expertise-highlight{padding:22px 21px;font-size:21px}
}


/* V6 menu icons and mobile footer refinement */
.menu-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--blue);transition:color .2s ease,transform .2s ease}
.desktop-nav a{gap:8px}
.desktop-nav a:hover .menu-icon,.desktop-nav a.active .menu-icon{color:var(--navy);transform:translateY(-1px)}
.mobile-nav a{display:flex;align-items:center;gap:12px;color:#233550}
.mobile-nav .menu-icon{width:20px;height:20px;flex-basis:20px;color:var(--blue)}
.mobile-nav a.active{color:var(--navy)}

@media(max-width:1220px){
  .desktop-nav{gap:16px}
  .desktop-nav a{gap:6px;font-size:14px}
  .desktop-nav .menu-icon{width:16px;height:16px;flex-basis:16px}
}

@media(max-width:680px){
  .site-footer{padding-top:48px}
  .footer-grid{grid-template-columns:1fr;gap:28px;padding-bottom:36px;text-align:center}
  .footer-grid>div:first-child{grid-column:auto;display:flex;flex-direction:column;align-items:center}
  .footer-logo{width:132px;height:92px;margin:0 auto 10px}
  .footer-copy{max-width:330px;margin:0 auto;color:rgba(255,255,255,.72)}
  .footer-col{padding-top:25px;border-top:1px solid rgba(255,255,255,.11)}
  .footer-col h4{font-size:18px;margin-bottom:20px;position:relative;padding-bottom:11px}
  .footer-col h4:after{content:"";position:absolute;left:50%;bottom:0;width:38px;height:2px;background:#4d93ea;transform:translateX(-50%)}
  .footer-links{justify-items:center;gap:12px}
  .footer-links a,.footer-links span{max-width:330px;text-align:center;line-height:1.65}
  .footer-bottom{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:24px 0}
  .site-credit{justify-content:center}
  .site-credit img{width:34px;height:34px}
}


/* V7 header call link, larger navigation icons, homepage and expertise refinements */
.nav-wrap{gap:26px}
.brand{margin-right:0}
.desktop-nav{margin-left:auto;gap:27px}
.menu-icon{width:23px;height:23px;flex-basis:23px;stroke-width:1.9}
.desktop-nav a{gap:9px}
.header-call{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:9px 13px 9px 9px;border:1px solid #d7e3f2;border-radius:999px;background:linear-gradient(135deg,#f8fbff,#edf5ff);text-decoration:none;color:var(--navy);box-shadow:0 8px 22px rgba(6,22,51,.07);transition:transform .2s ease,padding .3s ease,box-shadow .2s ease}
.header-call:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(6,22,51,.12)}
.header-call-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;box-shadow:0 7px 17px rgba(19,87,180,.25);transition:width .3s ease,height .3s ease}
.header-call-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.header-call-copy{display:flex;flex-direction:column;line-height:1.12;white-space:nowrap}
.header-call-copy small{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:#6c7b91;font-weight:800;margin-bottom:3px}
.header-call-copy strong{font-size:14px;font-weight:850}
.site-header.scrolled .header-call{padding:6px 10px 6px 6px}
.site-header.scrolled .header-call-icon{width:34px;height:34px}
.site-header.scrolled .header-call-icon svg{width:18px;height:18px}
.site-header.scrolled .header-call-copy strong{font-size:13px}
.site-header.scrolled .header-call-copy small{font-size:9px}

.what-we-do-cta{margin-top:30px}

/* The first three expertise blocks use a clean content-left / equal-height-image-right layout. */
.expertise-feature-v7{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:58px;align-items:stretch}
.expertise-feature-v7 .expertise-copy{display:flex;flex-direction:column;min-width:0;padding:6px 0}
.expertise-feature-v7 .expertise-copy>h2{margin:0 0 18px;font-size:clamp(38px,3.6vw,55px);line-height:1.08}
.expertise-feature-v7 .expertise-copy>p{max-width:900px}
.expertise-feature-v7 .expertise-copy>p:first-of-type{font-size:17px;line-height:1.8;color:#34435c}
.expertise-feature-v7 .expertise-visual{width:100%;height:100%;min-height:100%;align-self:stretch}
.expertise-feature-v7 .numbered-grid{margin-top:24px}
.expertise-feature-v7 .number-card{padding-top:24px;padding-bottom:24px}
.expertise-feature-v7 .medical-negligence-title span{display:inline;white-space:normal;color:inherit;font-size:1em;margin:0}

@media(max-width:1220px){
  .desktop-nav{gap:14px}
  .desktop-nav a{font-size:14px;gap:6px}
  .desktop-nav .menu-icon{width:20px;height:20px;flex-basis:20px}
  .header-call{padding:7px}
  .header-call-copy{display:none}
  .header-call-icon{width:38px;height:38px}
  .expertise-feature-v7{grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:38px}
}
@media(max-width:960px){
  .nav-wrap{gap:12px}
  .header-call{margin-left:auto;padding:5px;border-radius:50%}
  .header-call-icon{width:42px;height:42px}
  .site-header.scrolled .header-call{padding:4px}
  .site-header.scrolled .header-call-icon{width:36px;height:36px}
  .menu-toggle{margin-left:0}
  .mobile-nav .menu-icon{width:25px;height:25px;flex-basis:25px;stroke-width:1.9}
  .main-nav.mobile-nav a{font-size:16px;gap:14px;padding:14px 0}
  .expertise-feature-v7{grid-template-columns:1fr;gap:30px}
  .expertise-feature-v7 .expertise-visual{height:auto;min-height:360px}
}
@media(max-width:680px){
  .brand img{width:116px}
  .header-call-icon{width:40px;height:40px}
  .menu-toggle{width:43px;height:43px}
  .expertise-feature-v7 .expertise-copy>h2{font-size:36px}
  .expertise-feature-v7 .expertise-copy>p:first-of-type{font-size:16px}
  .expertise-feature-v7 .expertise-visual{min-height:290px}
}

/* V8: call information above the desktop menu, with a larger and clearer logo */
.header-right-stack{display:flex;align-items:center;min-width:0}

@media(min-width:961px){
  .nav-wrap{min-height:154px;align-items:center;gap:34px}
  .brand{align-self:center}
  .brand img{width:210px;height:140px}
  .header-right-stack{margin-left:auto;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px}
  .header-call{align-self:flex-end;margin:0;padding:6px 11px 6px 6px;gap:8px;box-shadow:none}
  .header-call-icon{width:32px;height:32px}
  .header-call-icon svg{width:17px;height:17px}
  .header-call-copy{display:flex}
  .header-call-copy small{font-size:9px;margin-bottom:2px}
  .header-call-copy strong{font-size:13px}
  .desktop-nav{margin-left:0;gap:clamp(13px,1.65vw,27px)}
  .desktop-nav a{min-height:58px;font-size:clamp(14px,1.12vw,17px)}
  .desktop-nav a:after{bottom:5px}

  .site-header.scrolled .nav-wrap{min-height:84px}
  .site-header.scrolled .brand img{width:124px;height:76px}
  .site-header.scrolled .header-right-stack{gap:0}
  .site-header.scrolled .header-call{padding:3px 8px 3px 3px;gap:6px}
  .site-header.scrolled .header-call-icon{width:27px;height:27px}
  .site-header.scrolled .header-call-icon svg{width:15px;height:15px}
  .site-header.scrolled .header-call-copy small{display:none}
  .site-header.scrolled .header-call-copy strong{font-size:11px}
  .site-header.scrolled .desktop-nav a{min-height:43px;font-size:14px}
  .site-header.scrolled .desktop-nav a:after{bottom:2px;height:2px}
  .site-header.scrolled .menu-icon{width:19px;height:19px;flex-basis:19px}
}

@media(min-width:961px) and (max-width:1220px){
  .brand img{width:184px;height:126px}
  .header-call-copy{display:flex}
  .desktop-nav{gap:12px}
  .desktop-nav a{font-size:13.5px;gap:5px}
  .desktop-nav .menu-icon{width:18px;height:18px;flex-basis:18px}
}

@media(max-width:960px){
  .header-right-stack{margin-left:auto;flex:0 0 auto}
  .header-right-stack .desktop-nav{display:none}
  .header-right-stack .header-call{margin:0}
}


/* V9 refinements: stable shrinking header, roomier menu, mobile image/card fixes */
@media (min-width:1281px){
  .desktop-nav{gap:36px}
  .desktop-nav a{gap:11px}
  .desktop-nav .menu-icon{width:27px;height:27px;flex-basis:27px}
}
@media (min-width:961px) and (max-width:1280px){
  .desktop-nav{gap:18px}
  .desktop-nav a{gap:7px}
  .desktop-nav .menu-icon{width:21px;height:21px;flex-basis:21px}
}

/* The leadership image should stretch with the content on desktop. */
.leadership-card{align-items:stretch}
.leader-photo{height:100%;min-height:560px}

@media (max-width:960px){
  /* Make the selected mobile page unmistakable. */
  .main-nav.mobile-nav{padding:12px 16px 20px}
  .main-nav.mobile-nav a{padding:13px 15px;border-radius:7px;border-bottom:1px solid #e9eef5}
  .main-nav.mobile-nav a.active{
    color:#fff;
    background:linear-gradient(135deg,var(--blue2),var(--blue));
    border-bottom-color:transparent;
    box-shadow:0 9px 22px rgba(19,87,180,.2)
  }
  .main-nav.mobile-nav a.active .menu-icon{color:#fff}
  .mobile-nav .menu-icon{width:29px;height:29px;flex-basis:29px}

  /* Sample/service images must show in full rather than being cropped. */
  .service-card-image{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    background:#eaf1fa
  }

  /* Every expertise visual scales to the available mobile width. */
  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual,
  .section-heading-media .expertise-visual{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:4/3;
    align-self:auto
  }
  .section-heading-media .expertise-visual.compact{aspect-ratio:16/9}

  /* Keep card icons in their own column so they cannot overlap the copy. */
  .expertise-feature-v7 .number-card{
    position:relative;
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    column-gap:15px;
    align-items:start;
    padding:20px;
  }
  .expertise-feature-v7 .number-card .card-icon{
    position:static;
    grid-column:1;
    grid-row:1;
    width:48px;
    height:48px;
    margin:0
  }
  .expertise-feature-v7 .number-card p{
    grid-column:2;
    grid-row:1;
    min-width:0;
    margin:0
  }

  /* Leadership photo retains a proper portrait height on mobile. */
  .leadership-card{align-items:stretch}
  .leader-photo{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:4/5
  }

  /* People images display completely when placeholders are replaced. */
  .people-card img{
    width:100%;
    height:auto;
    aspect-ratio:auto;
    object-fit:contain;
    background:#eaf1fa
  }
}

@media (max-width:680px){
  /* On phones, Other Services uses one clean icon-and-copy row. */
  .other-service-card{
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:16px;
    row-gap:4px;
    align-items:center;
    justify-items:stretch;
    text-align:left;
    padding:20px;
  }
  .other-service-card .other-icon{
    grid-column:1;
    grid-row:1 / span 2;
    width:54px;
    height:54px;
    margin:0;
    align-self:center
  }
  .other-service-card h3{
    grid-column:2;
    grid-row:1;
    margin:0;
    align-self:end;
    font-size:17px
  }
  .other-service-card p{
    grid-column:2;
    grid-row:2;
    margin:0;
    align-self:start
  }

  .expertise-feature-v7 .expertise-visual,
  .expertise-top-grid .expertise-visual{aspect-ratio:4/3}
  .leader-photo{aspect-ratio:4/5}
}

/* V10: preserve a confident image height on phones for the homepage and expertise pages. */
@media (max-width:960px){
  /* Homepage About Us / What We Do placeholders remain visually substantial after stacking. */
  body.home-page .section-grid .visual-block,
  .home-panel .visual-block,
  .section-grid .visual-block{
    width:100%;
    height:380px;
    min-height:380px;
    aspect-ratio:auto;
  }

  /* Expertise images keep a consistent, full-width presentation on mobile. */
  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual{
    width:100%;
    height:380px;
    min-height:380px;
    aspect-ratio:auto;
    align-self:auto;
  }

  /* The case-types banner is intentionally a little shorter. */
  .section-heading-media .expertise-visual.compact{
    width:100%;
    height:280px;
    min-height:280px;
    aspect-ratio:auto;
  }
}

@media (max-width:680px){
  body.home-page .section-grid .visual-block,
  .home-panel .visual-block,
  .section-grid .visual-block,
  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual{
    height:340px;
    min-height:340px;
  }

  .section-heading-media .expertise-visual.compact{
    height:240px;
    min-height:240px;
  }
}


/* V11: equal mobile heights for the three primary expertise images. */
.expertise-case-image{
  overflow:hidden;
}
.expertise-case-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Contact page now opens with a full-width location map rather than a title banner. */
.contact-map-section{
  width:100%;
  height:450px;
  background:#e9eff7;
  overflow:hidden;
  line-height:0;
}
.contact-map{
  display:block;
  width:100%;
  height:450px;
  border:0;
}

@media (max-width:960px){
  .expertise-feature-v7 .expertise-case-image{
    width:100%;
    height:380px;
    min-height:380px;
    max-height:380px;
    aspect-ratio:auto;
  }
}

@media (max-width:680px){
  .expertise-feature-v7 .expertise-case-image{
    width:100%;
    height:340px;
    min-height:340px;
    max-height:340px;
    aspect-ratio:auto;
  }
}

/* V12: fixed, predictable image frames across the complete website.
   Images no longer collapse to a shallow strip when the viewport becomes narrow. */
:root{
  --hero-image-height-desktop:650px;
  --hero-image-height-tablet:420px;
  --hero-image-height-mobile:340px;
  --content-image-height-desktop:480px;
  --content-image-height-mobile:420px;
  --expertise-image-height-desktop:520px;
  --expertise-image-height-mobile:440px;
  --service-image-height-desktop:360px;
  --service-image-height-mobile:300px;
  --people-image-height-desktop:190px;
  --people-image-height-mobile:250px;
  --leadership-image-height-desktop:560px;
  --leadership-image-height-mobile:500px;
}

/* Any real image inserted inside a placeholder fills the defined frame cleanly. */
.visual-block,
.image-placeholder,
.leader-photo{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.visual-block > img,
.image-placeholder > img,
.leader-photo > img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* Homepage slider: fixed media frame at every breakpoint. */
.hero-slide{min-height:var(--hero-image-height-desktop)}
.hero-media{
  height:var(--hero-image-height-desktop);
  min-height:var(--hero-image-height-desktop);
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Homepage section images use one stable frame instead of content-driven height. */
body.home-page .section-grid .visual-block,
.home-panel .visual-block{
  width:100%;
  height:var(--content-image-height-desktop);
  min-height:var(--content-image-height-desktop);
  max-height:var(--content-image-height-desktop);
  align-self:center;
}

/* Services: all four images have one identical wide frame. SVG/sample artwork remains fully visible. */
.service-card-image{
  width:100%;
  height:var(--service-image-height-desktop);
  min-height:var(--service-image-height-desktop);
  max-height:var(--service-image-height-desktop);
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  background:#eaf1fa;
}

/* Expertise: intro and the three main case images use fixed, consistent frames. */
.expertise-top-grid .expertise-visual{
  width:100%;
  height:var(--expertise-image-height-desktop);
  min-height:var(--expertise-image-height-desktop);
  max-height:var(--expertise-image-height-desktop);
  align-self:center;
}
.expertise-feature-v7{
  align-items:center;
}
.expertise-feature-v7 .expertise-visual,
.expertise-feature-v7 .expertise-case-image{
  width:100%;
  height:var(--expertise-image-height-desktop);
  min-height:var(--expertise-image-height-desktop);
  max-height:var(--expertise-image-height-desktop);
  align-self:center;
}
.section-heading-media .expertise-visual.compact{
  width:100%;
  height:320px;
  min-height:320px;
  max-height:320px;
  aspect-ratio:auto;
}

/* People cards keep equal image height even when replacement photos have different proportions. */
.people-card img{
  width:100%;
  height:var(--people-image-height-desktop);
  min-height:var(--people-image-height-desktop);
  max-height:var(--people-image-height-desktop);
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
}

/* Leadership portrait remains a proper portrait block on every screen. */
.leader-photo{
  width:100%;
  height:var(--leadership-image-height-desktop);
  min-height:var(--leadership-image-height-desktop);
  max-height:var(--leadership-image-height-desktop);
  align-self:center;
}

@media(max-width:960px){
  .hero-slide{min-height:0}
  .hero-media{
    order:1;
    width:100%;
    height:var(--hero-image-height-tablet);
    min-height:var(--hero-image-height-tablet);
    max-height:var(--hero-image-height-tablet);
    aspect-ratio:auto;
  }
  /* The complete slider artwork remains visible on mobile/tablet. */
  .hero-media img{
    object-fit:contain;
    object-position:center;
    background:#e7eef8;
  }

  body.home-page .section-grid .visual-block,
  .home-panel .visual-block,
  .section-grid .visual-block{
    width:100%;
    height:var(--content-image-height-mobile);
    min-height:var(--content-image-height-mobile);
    max-height:var(--content-image-height-mobile);
    aspect-ratio:auto;
  }

  .service-card-image{
    width:100%;
    height:var(--service-image-height-mobile);
    min-height:var(--service-image-height-mobile);
    max-height:var(--service-image-height-mobile);
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
  }

  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual,
  .expertise-feature-v7 .expertise-case-image{
    width:100%;
    height:var(--expertise-image-height-mobile);
    min-height:var(--expertise-image-height-mobile);
    max-height:var(--expertise-image-height-mobile);
    aspect-ratio:auto;
    align-self:center;
  }
  .section-heading-media .expertise-visual.compact{
    width:100%;
    height:300px;
    min-height:300px;
    max-height:300px;
    aspect-ratio:auto;
  }

  .people-card img{
    width:100%;
    height:var(--people-image-height-mobile);
    min-height:var(--people-image-height-mobile);
    max-height:var(--people-image-height-mobile);
    aspect-ratio:auto;
    object-fit:cover;
  }

  .leader-photo{
    width:100%;
    height:var(--leadership-image-height-mobile);
    min-height:var(--leadership-image-height-mobile);
    max-height:var(--leadership-image-height-mobile);
    aspect-ratio:auto;
  }
}

@media(max-width:680px){
  .hero-media{
    height:var(--hero-image-height-mobile);
    min-height:var(--hero-image-height-mobile);
    max-height:var(--hero-image-height-mobile);
  }

  /* Keep the same strong image presence on phones; do not derive height from width. */
  body.home-page .section-grid .visual-block,
  .home-panel .visual-block,
  .section-grid .visual-block{
    height:400px;
    min-height:400px;
    max-height:400px;
  }

  .service-card-image{
    height:280px;
    min-height:280px;
    max-height:280px;
  }

  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual,
  .expertise-feature-v7 .expertise-case-image{
    height:420px;
    min-height:420px;
    max-height:420px;
  }

  .section-heading-media .expertise-visual.compact{
    height:280px;
    min-height:280px;
    max-height:280px;
  }

  .people-card img{
    height:260px;
    min-height:260px;
    max-height:260px;
  }

  .leader-photo{
    height:480px;
    min-height:480px;
    max-height:480px;
  }
}

/* V13: content-height desktop imagery + gap-free fixed mobile frames.
   Desktop side images stretch exactly with their neighbouring content.
   On phones they use a consistent fixed height while the width adapts to the screen. */

@media (min-width:961px){
  /* Homepage split sections: image height follows the text column exactly. */
  body.home-page .section-grid{
    align-items:stretch;
  }
  body.home-page .section-grid .visual-block,
  body.home-page .home-panel .visual-block{
    height:auto;
    min-height:0;
    max-height:none;
    align-self:stretch;
  }

  /* Expertise intro and the three main expertise images match the full content height. */
  .expertise-top-grid,
  .expertise-feature-v7{
    align-items:stretch;
  }
  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual,
  .expertise-feature-v7 .expertise-case-image{
    height:auto;
    min-height:0;
    max-height:none;
    align-self:stretch;
  }

  /* Leadership portrait follows the biography height on desktop. */
  .leadership-card{
    align-items:stretch;
  }
  .leadership-card .leader-photo{
    height:auto;
    min-height:0;
    max-height:none;
    align-self:stretch;
  }
}

/* Service artwork always fills its media frame—no letterbox bands above or below. */
.service-card-image{
  display:block;
  width:100%;
  height:360px;
  min-height:360px;
  max-height:360px;
  object-fit:cover;
  object-position:center;
  background:transparent;
}

@media (max-width:960px){
  /* Keep a strong, equal image height after the desktop columns stack. */
  body.home-page .section-grid .visual-block,
  body.home-page .home-panel .visual-block{
    width:100%;
    height:400px;
    min-height:400px;
    max-height:400px;
    align-self:auto;
  }

  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual,
  .expertise-feature-v7 .expertise-case-image{
    width:100%;
    height:420px;
    min-height:420px;
    max-height:420px;
    align-self:auto;
  }

  .leadership-card .leader-photo{
    width:100%;
    height:480px;
    min-height:480px;
    max-height:480px;
    align-self:auto;
  }

  .service-card-image{
    width:100%;
    height:280px;
    min-height:280px;
    max-height:280px;
    object-fit:cover;
    /* The placeholder copy stays visible while the right-side art may crop naturally. */
    object-position:left center;
    background:transparent;
  }
}

@media (max-width:680px){
  /* Preserve the same visual height on small phones; only width responds. */
  body.home-page .section-grid .visual-block,
  body.home-page .home-panel .visual-block{
    height:400px;
    min-height:400px;
    max-height:400px;
  }

  .expertise-top-grid .expertise-visual,
  .expertise-feature-v7 .expertise-visual,
  .expertise-feature-v7 .expertise-case-image{
    height:420px;
    min-height:420px;
    max-height:420px;
  }

  .service-card-image{
    height:280px;
    min-height:280px;
    max-height:280px;
  }

  .leadership-card .leader-photo{
    height:480px;
    min-height:480px;
    max-height:480px;
  }
}

/* Keep the complete service placeholder/artwork visible inside the fixed frame.
   Width adapts to the viewport while the chosen frame height remains unchanged. */
.service-card-image{
  object-fit:fill;
  object-position:center;
}


/* V14 — targeted correction for Services Offered and Area of Expertise.
   The leadership portrait is restored to the stable V12 dimensions. */

/* A dedicated media frame prevents any inherited object-fit rule from creating
   white/blue letterbox gaps at the sides of service artwork. */
.service-card-media{
  width:100%;
  height:360px;
  min-height:360px;
  max-height:360px;
  overflow:hidden;
  line-height:0;
  background:#0b3478;
}
.service-card-media .service-card-image{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  aspect-ratio:auto !important;
  object-fit:fill !important;
  object-position:center !important;
  background:transparent !important;
}

/* Desktop expertise images continue to match the full neighbouring content height. */
@media (min-width:961px){
  .expertise-feature-v7{
    align-items:stretch !important;
  }
  .expertise-feature-v7 .personal-injury-image,
  .expertise-feature-v7 .medical-negligence-image,
  .expertise-feature-v7 .mass-tort-image{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    align-self:stretch !important;
  }

  /* Restore the leadership portrait exactly to the earlier stable desktop size. */
  .leadership-card{
    align-items:center !important;
  }
  .leadership-card .leader-photo{
    width:100% !important;
    height:560px !important;
    min-height:560px !important;
    max-height:560px !important;
    align-self:center !important;
  }
}

/* On tablets and phones, all three main expertise images keep the same strong
   fixed height. Width alone responds to the device, so Mass Tort cannot collapse. */
@media (max-width:960px){
  .service-card-media{
    width:100%;
    height:280px;
    min-height:280px;
    max-height:280px;
  }

  .expertise-feature-v7 .personal-injury-image,
  .expertise-feature-v7 .medical-negligence-image,
  .expertise-feature-v7 .mass-tort-image{
    width:100% !important;
    height:520px !important;
    min-height:520px !important;
    max-height:520px !important;
    aspect-ratio:auto !important;
    align-self:auto !important;
    background-size:cover !important;
    background-position:center !important;
  }
  .expertise-feature-v7 .personal-injury-image > img,
  .expertise-feature-v7 .medical-negligence-image > img,
  .expertise-feature-v7 .mass-tort-image > img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}

@media (max-width:680px){
  .service-card-media{
    height:280px;
    min-height:280px;
    max-height:280px;
  }

  .expertise-feature-v7 .personal-injury-image,
  .expertise-feature-v7 .medical-negligence-image,
  .expertise-feature-v7 .mass-tort-image{
    height:520px !important;
    min-height:520px !important;
    max-height:520px !important;
  }
}

/* Mobile hero image: remove the empty bands above and below.
   The media frame now follows the wide banner ratio instead of forcing a tall fixed height. */
@media (max-width:960px){
  .hero-media{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:2 / 1 !important;
    background:transparent !important;
  }

  .hero-media img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    background:transparent !important;
  }
}

/* Mobile hero alignment: center all text and actions for a cleaner stacked layout. */
@media (max-width:680px){
  .hero-content{
    align-items:center !important;
    text-align:center !important;
  }

  .hero-kicker{
    justify-content:center !important;
    width:100%;
  }

  .hero-content h1,
  .hero-content p{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero-rule{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero-actions{
    width:100%;
    justify-content:center !important;
  }
}

/* V16 — complete homepage redesign for About Us and What We Do */
.home-about-redesign{
  position:relative;
  overflow:hidden;
  padding:104px 0;
  background:
    radial-gradient(circle at 15% 15%,rgba(56,137,236,.22),transparent 32%),
    linear-gradient(135deg,#041127 0%,#082b63 58%,#0b4d9f 100%);
}
.home-about-redesign::before{
  content:"";
  position:absolute;
  width:560px;
  height:560px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:50%;
  right:-220px;
  top:-270px;
}
.home-about-redesign::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
}
.about-showcase{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:88px;
  align-items:center;
}
.about-photo-stage{
  position:relative;
  min-height:560px;
}
.about-photo-stage::before{
  content:"";
  position:absolute;
  left:-24px;
  top:38px;
  width:72%;
  height:78%;
  border:1px solid rgba(255,255,255,.18);
  border-radius:30px 110px 30px 30px;
  transform:rotate(-4deg);
}
.about-photo-stage::after{
  content:"";
  position:absolute;
  right:-22px;
  bottom:38px;
  width:58%;
  height:54%;
  background:linear-gradient(145deg,rgba(39,130,235,.92),rgba(7,28,61,.95));
  border-radius:28px;
  transform:rotate(7deg);
  box-shadow:0 30px 70px rgba(0,0,0,.24);
}
.about-photo-mask{
  position:absolute;
  inset:0 34px 28px 0;
  z-index:2;
  overflow:hidden;
  border-radius:30px 110px 30px 30px;
  box-shadow:0 36px 90px rgba(0,0,0,.32);
}
.about-photo-mask::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 54%,rgba(2,12,30,.48));
  pointer-events:none;
}
.about-photo-mask img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.about-showcase:hover .about-photo-mask img{
  transform:scale(1.035);
}
.about-photo-badge{
  position:absolute;
  z-index:3;
  left:38px;
  bottom:0;
  width:min(330px,72%);
  padding:22px 24px;
  background:rgba(255,255,255,.96);
  color:var(--navy);
  border-radius:4px 24px 4px 4px;
  box-shadow:0 24px 55px rgba(0,0,0,.24);
}
.about-photo-badge span{
  display:block;
  margin-bottom:5px;
  color:var(--blue);
  font-size:11px;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.about-photo-badge strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.25;
  font-weight:500;
}
.about-copy-panel{
  color:rgba(255,255,255,.8);
}
.about-copy-panel h2{
  max-width:720px;
  margin-bottom:28px;
  color:#fff;
  font-size:clamp(42px,4vw,62px);
}
.about-copy-panel .lead{
  color:rgba(255,255,255,.92);
}
.home-section-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  color:#7fb8ff;
  font-size:12px;
  font-weight:850;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.home-section-kicker::before{
  content:"";
  width:40px;
  height:2px;
  background:currentColor;
}
.about-value-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:38px;
}
.about-value-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(8px);
  border-radius:8px;
  color:#fff;
  font-size:13px;
  font-weight:750;
  text-align:left;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.about-value-item:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.11);
  border-color:rgba(127,184,255,.48);
}
.about-value-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  color:#7fb8ff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.about-value-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.home-what-redesign{
  position:relative;
  overflow:hidden;
  padding:112px 0 124px;
  background:
    linear-gradient(180deg,#fff 0%,#f3f7fc 100%);
}
.home-what-redesign::before{
  content:"";
  position:absolute;
  left:-180px;
  bottom:-260px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(28,115,210,.14),transparent 68%);
}
.what-showcase{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);
  gap:86px;
  align-items:center;
}
.what-copy-panel{
  position:relative;
  padding-left:34px;
}
.what-copy-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  bottom:6px;
  width:4px;
  background:linear-gradient(var(--blue2),rgba(28,115,210,0));
  border-radius:10px;
}
.what-copy-panel h2{
  max-width:760px;
  margin-bottom:28px;
  font-size:clamp(42px,4vw,61px);
}
.what-copy-panel .home-section-kicker{
  color:var(--blue);
}
.what-copy-panel .lead{
  color:#2a3b56;
}
.what-visual-stage{
  position:relative;
  min-height:590px;
}
.what-visual-stage::before{
  content:"";
  position:absolute;
  inset:42px 0 0 54px;
  border-radius:36px 36px 120px 36px;
  background:linear-gradient(145deg,#d9e8fb,#eef4fb);
  box-shadow:inset 0 0 0 1px #d1deee;
}
.what-visual-stage::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-26px;
  top:16px;
  border:24px solid rgba(19,87,180,.10);
  border-radius:50%;
}
.what-photo-mask{
  position:absolute;
  z-index:2;
  inset:0 42px 54px 0;
  overflow:hidden;
  border-radius:36px 36px 120px 36px;
  box-shadow:0 35px 90px rgba(6,22,51,.20);
}
.what-photo-mask::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(150deg,rgba(6,22,51,.08),transparent 48%);
}
.what-photo-mask img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.what-showcase:hover .what-photo-mask img{
  transform:scale(1.035);
}
.what-float-card{
  position:absolute;
  z-index:3;
  padding:18px 20px;
  background:#fff;
  color:var(--navy);
  border:1px solid rgba(19,87,180,.12);
  box-shadow:0 20px 50px rgba(6,22,51,.16);
}
.what-float-card small{
  display:block;
  margin-bottom:4px;
  color:var(--blue);
  font-size:10px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.what-float-card strong,
.what-float-card span{
  display:block;
}
.what-float-card strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  font-weight:500;
}
.what-float-card span{
  margin-top:3px;
  color:#607089;
  font-size:12px;
}
.what-float-card-one{
  right:0;
  top:92px;
  width:230px;
  border-radius:4px 22px 4px 4px;
}
.what-float-card-two{
  left:-26px;
  bottom:10px;
  width:220px;
  border-radius:22px 4px 4px 4px;
}
.home-what-redesign .what-we-do-cta{
  margin-top:34px;
}

@media(max-width:1080px){
  .about-showcase,
  .what-showcase{
    gap:52px;
  }
  .what-showcase{
    grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);
  }
}

@media(max-width:960px){
  .home-about-redesign,
  .home-what-redesign{
    padding:78px 0;
  }
  .about-showcase,
  .what-showcase{
    grid-template-columns:1fr;
    gap:48px;
  }
  .about-photo-stage{
    min-height:520px;
  }
  .what-copy-panel{
    order:2;
  }
  .what-visual-stage{
    order:1;
    min-height:520px;
  }
}

@media(max-width:680px){
  .home-about-redesign,
  .home-what-redesign{
    padding:62px 0;
  }
  .about-showcase,
  .what-showcase{
    gap:36px;
  }
  .about-photo-stage{
    min-height:390px;
  }
  .about-photo-stage::before{
    left:-8px;
    top:20px;
    width:78%;
    height:80%;
    border-radius:22px 66px 22px 22px;
  }
  .about-photo-stage::after{
    right:-6px;
    bottom:24px;
    width:58%;
    height:50%;
  }
  .about-photo-mask{
    inset:0 14px 24px 0;
    border-radius:22px 66px 22px 22px;
  }
  .about-photo-badge{
    left:18px;
    width:min(275px,78%);
    padding:17px 18px;
  }
  .about-photo-badge strong{
    font-size:19px;
  }
  .about-copy-panel h2,
  .what-copy-panel h2{
    font-size:39px;
  }
  .about-value-row{
    grid-template-columns:1fr;
  }
  .what-copy-panel{
    padding-left:20px;
  }
  .what-visual-stage{
    min-height:410px;
  }
  .what-visual-stage::before{
    inset:28px 0 0 24px;
    border-radius:24px 24px 70px 24px;
  }
  .what-photo-mask{
    inset:0 18px 46px 0;
    border-radius:24px 24px 70px 24px;
  }
  .what-float-card-one{
    top:38px;
    right:0;
    width:190px;
  }
  .what-float-card-two{
    left:10px;
    bottom:0;
    width:190px;
  }
  .what-float-card strong{
    font-size:18px;
  }
}

/* Leadership JPG image */
.leader-photo.has-image::before,
.leader-photo.has-image::after{
  display:none !important;
}

.leader-photo.has-image{
  padding:0;
  overflow:hidden;
  background:none;
}

.leader-photo.has-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}

@media(max-width:680px){
  .leader-photo.has-image img{
    object-position:center top;
  }
}

/* V17 — Service artwork keeps its original proportion.
   The image always uses the full card width and its height scales naturally,
   including on mobile. No horizontal or vertical stretching. */
.service-card-media{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  line-height:0 !important;
  background:#0b3478;
}

.service-card-media .service-card-image{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  background:transparent !important;
}

@media(max-width:960px){
  .service-card-media{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .service-card-media .service-card-image{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center !important;
  }
}

/* V19 — The People We Help image sizing.
   Desktop cards stay at a fixed square width.
   Tablet/mobile cards shrink evenly with the available screen width. */
.expertise-page .people-grid{
  justify-content:center !important;
  align-items:stretch !important;
}

@media (min-width:1221px){
  .expertise-page .people-grid{
    grid-template-columns:repeat(5,240px) !important;
    gap:18px !important;
  }

  .expertise-page .people-card{
    width:240px !important;
    min-width:240px !important;
    max-width:240px !important;
  }

  .expertise-page .people-card img{
    display:block !important;
    width:240px !important;
    height:240px !important;
    min-width:240px !important;
    max-width:240px !important;
    min-height:240px !important;
    max-height:240px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}

@media (min-width:961px) and (max-width:1220px){
  .expertise-page .people-grid{
    grid-template-columns:repeat(3,240px) !important;
    gap:18px !important;
  }

  .expertise-page .people-card{
    width:240px !important;
    min-width:240px !important;
    max-width:240px !important;
  }

  .expertise-page .people-card img{
    display:block !important;
    width:240px !important;
    height:240px !important;
    min-width:240px !important;
    max-width:240px !important;
    min-height:240px !important;
    max-height:240px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}

@media (max-width:960px){
  .expertise-page .people-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
  }

  .expertise-page .people-card{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }

  .expertise-page .people-card img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}

@media (max-width:560px){
  .expertise-page .people-grid{
    grid-template-columns:1fr !important;
  }

  .expertise-page .people-card{
    width:100% !important;
  }
}

/* V20 — separate header logos and centered, larger mobile logo.
   Home uses homelogo.png; inner pages use innerlogo.png in their HTML. */
@media (max-width:960px){
  .site-header .nav-wrap{
    position:relative !important;
    min-height:104px !important;
    justify-content:center !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .site-header .brand{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
    margin:0 !important;
    z-index:4 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .site-header .brand img{
    display:block !important;
    width:148px !important;
    max-width:148px !important;
    height:94px !important;
    object-fit:contain !important;
  }

  /* Call button on the left, menu button on the right, logo truly centered. */
  .site-header .header-right-stack{
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
    z-index:5 !important;
  }

  .site-header .header-right-stack .header-call{
    margin:0 !important;
  }

  .site-header .menu-toggle{
    position:absolute !important;
    right:0 !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
    z-index:5 !important;
  }

  .site-header .main-nav.mobile-nav{
    top:100% !important;
  }

  .site-header.scrolled .nav-wrap{
    min-height:82px !important;
  }

  .site-header.scrolled .brand img{
    width:126px !important;
    max-width:126px !important;
    height:76px !important;
  }

  .site-header.scrolled .menu-toggle{
    transform:translateY(-50%) scale(.9) !important;
  }
}

@media (max-width:420px){
  .site-header .brand img{
    width:138px !important;
    max-width:138px !important;
    height:88px !important;
  }

  .site-header.scrolled .brand img{
    width:120px !important;
    max-width:120px !important;
    height:72px !important;
  }
}

@media (max-width:360px){
  .site-header .brand img{
    width:126px !important;
    max-width:126px !important;
    height:82px !important;
  }

  .site-header .header-call-icon{
    width:37px !important;
    height:37px !important;
  }

  .site-header .menu-toggle{
    width:40px !important;
    height:40px !important;
  }
}

/* V21 — Inner-page logo visual height matches the homepage header logo.
   The slightly wider frame compensates for the inner logo's aspect ratio. */
@media (min-width:1221px){
  .site-header .brand img[src$="innerlogo.png"]{
    width:240px !important;
    max-width:240px !important;
    height:140px !important;
    object-fit:contain !important;
  }

  .site-header.scrolled .brand img[src$="innerlogo.png"]{
    width:142px !important;
    max-width:142px !important;
    height:76px !important;
  }
}

@media (min-width:961px) and (max-width:1220px){
  .site-header .brand img[src$="innerlogo.png"]{
    width:210px !important;
    max-width:210px !important;
    height:126px !important;
    object-fit:contain !important;
  }

  .site-header.scrolled .brand img[src$="innerlogo.png"]{
    width:142px !important;
    max-width:142px !important;
    height:76px !important;
  }
}

@media (max-width:960px){
  .site-header .brand img[src$="innerlogo.png"]{
    width:168px !important;
    max-width:168px !important;
    height:94px !important;
    object-fit:contain !important;
  }

  .site-header.scrolled .brand img[src$="innerlogo.png"]{
    width:143px !important;
    max-width:143px !important;
    height:76px !important;
  }
}

@media (max-width:420px){
  .site-header .brand img[src$="innerlogo.png"]{
    width:156px !important;
    max-width:156px !important;
    height:88px !important;
  }

  .site-header.scrolled .brand img[src$="innerlogo.png"]{
    width:136px !important;
    max-width:136px !important;
    height:72px !important;
  }
}

/* Compact server-validated math CAPTCHA used by PDF downloads and Contact Us. */
.simple-captcha{
  padding:12px 13px !important;
  border:1px solid #d5e1ef;
  border-radius:7px;
  background:#f5f9fe;
  gap:7px !important;
}

.simple-captcha > label{
  margin:0;
  color:var(--navy);
  font-size:13px;
  line-height:1.4;
}

.captcha-question{
  color:var(--blue);
  font-size:15px;
  white-space:nowrap;
}

.captcha-input-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  gap:8px;
  align-items:stretch;
}

.simple-captcha .captcha-input-row input{
  min-height:42px;
  padding:8px 11px;
  background:#fff;
}

.captcha-refresh{
  display:grid;
  place-items:center;
  width:42px;
  min-height:42px;
  padding:0;
  border:1px solid #c7d7ea;
  border-radius:5px;
  background:#fff;
  color:var(--blue);
  font-size:22px;
  line-height:1;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.captcha-refresh:hover{
  border-color:var(--blue);
  background:var(--blue);
  color:#fff;
}

.simple-captcha small{
  color:#6a7890;
  font-size:11px;
  line-height:1.35;
}

/* V22 — compact lead form, visual math CAPTCHA and Contact panel image slot */
.modal{
  overflow-y:auto;
  align-items:center;
  padding:10px;
}

.modal-dialog{
  width:min(760px,calc(100vw - 20px)) !important;
  max-height:none !important;
  overflow:visible !important;
  padding:27px 32px 25px !important;
  border-radius:10px;
}

.modal-dialog > .eyebrow{
  margin-bottom:5px;
}

.modal-dialog > h2{
  margin:0 0 8px;
  font-size:clamp(34px,5vw,46px);
  line-height:1.02;
}

.modal-dialog > p{
  margin:0 0 8px;
  line-height:1.5;
}

.modal-dialog > p strong{
  display:inline-block;
  margin-top:2px;
}

.modal-form{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 15px !important;
  margin-top:12px;
}

.modal-form .field{
  gap:4px;
}

.modal-form .field label{
  font-size:12px;
}

.modal-form .field input{
  min-height:40px;
  padding:8px 11px;
}

.modal-form .simple-captcha,
.modal-form > .btn,
.modal-form > .form-status,
.modal-form > .modal-footnote{
  grid-column:1 / -1;
}

.modal-form > .btn{
  min-height:44px;
}

.modal-form > .form-status{
  min-height:0;
  margin:0;
}

.modal-form > .modal-footnote{
  margin:0;
  font-size:11px;
  line-height:1.4;
}

.simple-captcha{
  position:relative;
  padding:10px 12px !important;
  border:1px solid #cfdeef;
  border-radius:8px;
  background:linear-gradient(135deg,#f6faff,#edf5ff);
  gap:6px !important;
}

.captcha-title{
  display:block;
  color:var(--navy);
  font-size:12px;
  font-weight:850;
  line-height:1.2;
}

.captcha-visual-row{
  display:grid;
  grid-template-columns:minmax(180px,225px) 120px 42px;
  gap:9px;
  align-items:end;
}

.captcha-image-box{
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:8px;
  background:#e7f0fb;
}

.captcha-image{
  display:block;
  width:100%;
  height:62px;
  object-fit:cover;
}

.captcha-loading,
.captcha-error{
  padding:8px 10px;
  color:#607089;
  font-size:11px;
  line-height:1.3;
  text-align:center;
}

.captcha-error{
  color:#a23a32;
}

.captcha-answer-field{
  display:grid !important;
  gap:4px !important;
  margin:0;
}

.captcha-answer-field > span{
  color:var(--navy);
  font-size:11px;
  font-weight:800;
}

.simple-captcha .captcha-answer-field input{
  width:100%;
  height:42px;
  min-height:42px;
  padding:7px 9px;
  text-align:center;
  font-size:18px;
  font-weight:800;
  background:#fff;
}

.captcha-refresh{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  border:1px solid #bed1e8;
  border-radius:6px;
  background:#fff;
  color:var(--blue);
  font-size:22px;
  line-height:1;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.captcha-refresh:hover{
  border-color:var(--blue);
  background:var(--blue);
  color:#fff;
}

.simple-captcha > small{
  color:#6a7890;
  font-size:10.5px;
  line-height:1.3;
}

.bot-trap{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.contact-panel{
  display:flex;
  flex-direction:column;
}

.contact-side-placeholder{
  min-height:240px;
  margin-top:auto;
  padding:28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:15px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  background:
    radial-gradient(circle at 75% 18%,rgba(107,173,255,.28),transparent 34%),
    linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));
  color:rgba(255,255,255,.75);
}

.contact-side-placeholder svg{
  width:76px;
  height:76px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.contact-side-placeholder span{
  font-size:11px;
  font-weight:850;
  letter-spacing:.16em;
  text-align:center;
}

@media(max-width:560px){
  .modal{
    align-items:flex-start;
    padding:8px;
  }

  .modal-dialog{
    width:100% !important;
    margin:auto;
    padding:24px 18px 21px !important;
  }

  .modal-form{
    grid-template-columns:1fr;
  }

  .modal-form .simple-captcha,
  .modal-form > .btn,
  .modal-form > .form-status,
  .modal-form > .modal-footnote{
    grid-column:auto;
  }

  .captcha-visual-row{
    grid-template-columns:minmax(0,1fr) 88px 42px;
  }

  .captcha-image-box,
  .captcha-image{
    height:56px;
  }

  .modal-form > .modal-footnote{
    display:none;
  }
}

@media(max-width:390px){
  .captcha-visual-row{
    grid-template-columns:minmax(0,1fr) 74px 40px;
    gap:6px;
  }

  .captcha-refresh{
    width:40px;
  }
}

@media(max-height:720px) and (min-width:561px){
  .modal{
    align-items:flex-start;
  }

  .modal-dialog{
    margin:6px auto;
    padding:20px 28px 18px !important;
  }

  .modal-dialog > h2{
    font-size:35px;
  }

  .modal-dialog > p{
    font-size:14px;
    margin-bottom:5px;
  }

  .modal-form{
    gap:7px 13px !important;
    margin-top:8px;
  }

  .modal-form > .modal-footnote{
    display:none;
  }
}

@media(max-width:960px){
  .contact-side-placeholder{
    min-height:0;
    aspect-ratio:16 / 9;
    margin-top:25px;
  }
}

/* V23 — Contact panel image */
.contact-side-placeholder.has-image{
  padding:0 !important;
  background:none !important;
  border:0 !important;
}

.contact-side-placeholder.has-image::before,
.contact-side-placeholder.has-image::after{
  display:none !important;
}

.contact-side-placeholder.has-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:240px;
  object-fit:cover;
  object-position:center;
  border-radius:10px;
}

@media(max-width:960px){
  .contact-side-placeholder.has-image img{
    min-height:0;
    height:100%;
    aspect-ratio:16 / 9;
  }
}

/* V24 — Contact image mobile fix:
   show the complete image at its natural proportion, with no cropping. */
@media(max-width:960px){
  .contact-side-placeholder,
  .contact-side-placeholder.has-image{
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    margin-top:25px !important;
  }

  .contact-side-placeholder.has-image img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:10px !important;
  }
}
