/* V5: a shared shell, natural photo ratios and content-driven responsive layouts. */
:root { --v5-stage:1440px; --v5-navy:#17263e; --v5-ink:#1c2c43; --v5-gold:var(--v7-gold, #a49250); --v5-paper:#faf8f4; --v5-line:#ddd6ca; --v5-serif:'Cormorant Garamond',Georgia,serif; --v5-sans:'DM Sans',Arial,sans-serif; }
html { zoom:1 !important; scroll-behavior:smooth; scroll-padding-top:100px; }
body.v5 { margin:0; min-width:0 !important; overflow-x:clip; background:var(--v5-paper); color:var(--v5-ink); font-family:var(--v5-sans); font-size:22px; line-height:1.65; }
body.v5 *, body.v5 *::before, body.v5 *::after { box-sizing:border-box; }
body.v5 img { max-width:100%; }
body.v5 a { text-underline-offset:4px; }
.v5-skip { position:fixed; top:-100px; left:15px; z-index:10000; background:white; color:var(--v5-ink); padding:12px; }
.v5-skip:focus { top:8px; }
body.v5 .v5-header { position:sticky; top:0; z-index:1000; display:grid; grid-template-columns: minmax(245px, var(--v5-header-split,46%)) 1fr; width:100%; max-width:var(--v5-stage); margin-inline:auto; min-height:86px; background:var(--v5-paper); border-bottom:1px solid var(--v5-line); }
body.v5 .v5-logo { grid-column:1; grid-row:1 / 3; display:flex; align-items:center; justify-content:center; padding:24px 28px; background:var(--v5-brand-field,var(--v5-navy)); }
body.v5 .v5-utility { grid-column:2; grid-row:1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; padding:20px 28px 4px; font:400 clamp(12px,1vw,14.4px)/1.5 var(--v5-sans); color:var(--v5-ink); }
body.v5 .v5-utility a { display:inline-flex; align-items:center; gap:7px; color:inherit; text-decoration:none; }
body.v5 .v5-utility a:hover { text-decoration:underline; }
body.v5 .v5-utility svg { width:13px; height:15px; flex:none; fill:none; stroke:var(--v5-gold); stroke-width:1.7; }
.v5-languages { display:flex; gap:7px; align-items:center; white-space:nowrap; }
.v5-languages [aria-disabled] { opacity:.45; cursor:not-allowed; }
body.v5 .v5-logo img { display:block; width:320px; max-width:100%; height:auto; }
body.v5-home .v5-header, body.v5.wissen-master .v5-header { position:relative; border-bottom:0; }
body.v5-home .v5-logo, body.v5.wissen-master .v5-logo { padding:34px clamp(28px,4vw,57.6px) 22px; }
body.v5-home .v5-logo img, body.v5.wissen-master .v5-logo img { width:100%; max-width:500px; }
/* The wordmark belongs to the same colour field as the editorial hero. */
body.v5:has([data-master-hero="index"]) { --v5-header-split:42.25%; --v5-brand-field:#01254a; }
body.v5:has([data-master-hero="work"]) { --v5-header-split:40.1%; --v5-brand-field:#002040; }
body.v5:has([data-master-hero="dismissal"]), body.v5:has([data-master-hero="contract"]) { --v5-header-split:49.85%; --v5-brand-field:#071f3b; }
body.v5:has([data-master-hero="settlement"]) { --v5-header-split:49.7%; --v5-brand-field:#071f3b; }
body.v5:has([data-master-hero="employer"]) { --v5-header-split:49.7%; --v5-brand-field:#012244; }
body.v5:has([data-master-hero="family"]) { --v5-header-split:40.65%; --v5-brand-field:#1c4047; }
body.v5:has([data-master-hero="divorce"]) { --v5-header-split:46.4%; --v5-brand-field:#1c4047; }
body.v5:has([data-master-hero="care"]) { --v5-header-split:47.8%; --v5-brand-field:#1c4047; }
body.v5:has([data-master-hero="international"]) { --v5-header-split:42.25%; --v5-brand-field:#1c4047; }
body.v5 .v5-nav { grid-column:2; grid-row:2; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px clamp(12px,1.3vw,18.72px); padding:4px 28px 18px; }
body.v5 .v5-nav a { display:block; font:500 clamp(14px,1.25vw,18px)/1.45 var(--v5-sans); color:var(--v5-ink); text-decoration:none; padding:12px 0; border-bottom:2px solid transparent; white-space:nowrap; }
body.v5 .v5-nav a:hover, body.v5 .v5-nav a[aria-current] { border-color:var(--v5-gold); }
body.v5 .v5-menu { display:none; }
body.v5 :focus-visible { outline:2px solid var(--v5-gold); outline-offset:5px; }
body.v5 .v5-footer { margin:0; padding:62px max(24px,calc((100% - 1240px)/2)); display:grid; grid-template-columns:1.2fr 1fr .8fr 1.1fr; gap:36px; background:var(--v5-navy); color:#dfe3e9; }
body.v5 .v5-footer img { width:240px; height:auto; }
body.v5 .v5-footer h2 { font:500 22px var(--v5-sans); letter-spacing:.08em; text-transform:uppercase; color:var(--v7-gold, #a49250); margin:0 0 20px; }
body.v5 .v5-footer p, body.v5 .v5-footer a { font:400 22px/1.9 var(--v5-sans); color:#dfe3e9; }
body.v5 .v5-footer a { display:block; text-decoration:none; }
body.v5 .v5-footer a:hover { color:var(--v7-gold, #a49250); }
body.v5 .v5-footer-bottom { grid-column:1/-1; border-top:1px solid #ffffff26; display:flex; flex-wrap:wrap; gap:20px; padding-top:25px; font-size:22px; }
body.v5 .v5-footer-bottom span { margin-right:auto; }
.v5-custom h1, .v5-custom h2, .v5-custom h3 { font-family:var(--v5-serif); font-weight:400; line-height:1.08; margin:0; }
.v5-custom h1 { font-size:max(22px, clamp(40px,4.7vw,72px)); }
.v5-custom h2 { font-size:max(22px, clamp(34px,3vw,48px)); }
.v5-custom h3 { font-size:30px; }
.v5-custom a { color:inherit; text-decoration:none; }
.v5-custom figure { margin:0; }
.v5-home-hero { display:grid; grid-template-columns:46% 54%; max-width:var(--v5-stage); margin-inline:auto; background:var(--v5-navy); color:white; align-items:center; }
.v5-home-copy { padding:clamp(22px,3vw,43.2px) clamp(28px,3.7vw,53.28px); }
.v5-home-copy h1 { font-size:max(22px, clamp(40px,4.1vw,59.04px)); }
.v5-home-copy h1 span { color:var(--v7-gold, #a49250); }
.v5-home-copy p { font-family:var(--v5-serif); font-size:max(22px, clamp(20px,1.8vw,25.92px)); line-height:1.4; margin:26px 0 34px; }
.v5-home-photo { align-self:stretch; display:flex; align-items:center; background:#d8cdbf; }
.v5-home-photo img { display:block; width:100%; height:auto; aspect-ratio:2846/1660; }
.v5-home-hero { align-items:stretch; }
.v5-home-copy { display:flex; flex-direction:column; justify-content:center; }
.v5-hero-link { border-bottom:1px solid var(--v7-gold, #a49250); padding-bottom:12px; text-transform:uppercase; font-size:22px; letter-spacing:.12em; display:flex; justify-content:space-between; max-width:450px; }
.v5-hero-link span { color:var(--v7-gold, #a49250); font-size:22px; line-height:1; }
.v5-section { max-width:1300px; margin:0 auto; padding:74px 30px; }
.v5-section-heading { max-width:760px; margin-bottom:38px; }
.v5-section-heading > p:last-child { max-width:620px; color:#647081; }
.v5-eyebrow { color:var(--v5-gold); text-transform:uppercase; letter-spacing:.12em; font-size:22px; font-weight:500; margin:0 0 17px; }
.v5-area-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-bottom:24px; }
.v5-area { padding:36px; border:1px solid var(--v5-line); }
.v5-area--work { color:white; background:var(--v5-navy); border-color:var(--v5-navy); }
.v5-area h3 { font-size:39px; }
.v5-area > p:not(.v5-eyebrow) { min-height:50px; font-size:22px; margin-bottom:28px; }
.v5-topic-link { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--v5-line); padding:17px 0; font-size:22px; }
.v5-topic-link > span:last-child { color:var(--v5-gold); }
.v5-area--work .v5-topic-link { border-color:#ffffff30; }
.v5-text-link { display:inline-block; margin-top:18px; border-bottom:1px solid var(--v5-gold); font-size:22px; padding:0 0 4px; }
.v5-knowledge-band { display:grid; grid-template-columns:1fr 1fr 1fr; gap:36px; padding:52px max(30px,calc((100% - 1240px)/2)); background:#ede8de; }
.v5-knowledge-band > a { border-left:1px solid #c5bcae; padding-left:30px; }
.v5-knowledge-band span { text-transform:uppercase; letter-spacing:.1em; font-size:22px; color:var(--v7-gold, #a49250); }
.v5-knowledge-band h3 { margin-top:10px; }
.v5-knowledge-band p { font-size:22px; }
.v5-knowledge-band b { font-size:22px; font-weight:500; }
.v5-people-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:25px; }
.v5-person-card { border:1px solid var(--v5-line); background:#fff; }
.v5-person-card > div { padding:23px; }
.v5-person-card h3 { font-size:29px; }
.v5-person-card p { color:#647081; font-size:22px; min-height:42px; }
.v5-person-image { display:block; aspect-ratio:1; overflow:hidden; background:#d8cdbf; }
.v5-portrait { width:100%; height:100%; object-fit:cover; object-position:95% 50%; display:block; }
.v5-portrait--martin { object-position:100% 50%; }
.v5-portrait--leona { object-position:92% 50%; }
.v5-contact-band { display:flex; align-items:center; flex-wrap:wrap; gap:28px; justify-content:space-between; background:var(--v5-navy); color:white; padding:48px max(30px,calc((100% - 1240px)/2)); }
.v5-contact-band h2 { max-width:560px; font-size:36px; }
.v5-button { display:inline-block; padding:16px 24px; background:var(--v5-gold); color:#fff !important; font-size:22px; }
.v5-team-intro { display:grid; grid-template-columns:42% 58%; max-width:var(--v5-stage); margin-inline:auto; align-items:center; background:#eee8de; }
.v5-team-intro > div { padding:45px; }
.v5-team-intro h1 { font-size:max(22px, clamp(36px,3.5vw,58px)); }
.v5-team-intro img { width:100%; height:auto; display:block; }
.v5-profile { display:grid; grid-template-columns:1fr 1fr; max-width:1300px; margin:0 auto; }
.v5-profile-copy { padding:52px 40px; align-self:center; }
.v5-profile-copy h1 { font-size:max(22px, clamp(44px,4.1vw,65px)); }
.v5-profile-copy > .v5-text-link { margin:0 0 35px; }
.v5-profile-copy > p:not(.v5-eyebrow) { max-width:480px; }
.v5-profile-role { font-weight:500; }
.v5-profile figure { aspect-ratio:1; margin:0; align-self:center; }
.v5-profile-details { display:grid; grid-template-columns:1.1fr 1fr; gap:70px; border-top:1px solid var(--v5-line); }
.v5-career { list-style:none; margin:28px 0 0; padding:0; }
.v5-career li { border-bottom:1px solid var(--v5-line); padding:17px 0; font-size:22px; }
.v5-profile-details h2 { margin-bottom:24px; }
.v5-note { color:#67717f; font-size:22px; margin-top:23px; }
/* Bring retained editorial modules under the same navigation and spacing. */
body.v5 .wh-hero__copy { padding-top:0 !important; }
body.v5.wissen-master .wh-hero[data-master-hero] { --wh-hero-copy-top:12%; width:min(100%,var(--v5-stage)); }
body.v5.wissen-master .wh-hero__copy::before { display:none; }
body.v5.wissen-master .wh-hero__art { clip-path:inset(0 0 16.1% var(--wh-hero-split)); }
body.v5 .wh-hero { margin-top:0; }
body.v5 .wh-hero__brand-link, body.v5 .wh-hero__nav, body.v5 .wh-hero__menu { display:none !important; }
body.v5 .wh-hero h1 { font-size:max(22px, clamp(34px,3.1vw,44.64px))!important; }
body.v5 .page-hero { margin-top:0; min-height:280px !important; }
body.v5 .shell { max-width:1240px; }
body.v5 .gf-brand { max-width:260px; }
body.v5 .display-wrap { padding-top:32px; }
body.v5 .screen-header { justify-content:space-between; }
body.v5 .contact-master-form-note { max-width:70ch; }
body.v5 img[src*="assets/photos/team.jpg"] { object-fit:contain !important; }
body.v5 img[src*="assets/photos/"]:not([src*="team.jpg"]):not(.v5-portrait) { object-fit:cover !important; object-position:95% 30% !important; }
body.v5 .byline img, body.v5 .article-author-avatar, body.v5 .wh-author-avatar { aspect-ratio:1; }
/* Team and personal profiles: the navy/gold logo shares the warm paper field. */
body.v5-team-page { --v5-header-split:42%; --v5-brand-field:#eee8de; }
body.v5-profile-page { --v5-header-split:50%; --v5-brand-field:#eee8de; }
body.v5-firm-page { --v5-header-split:42.3%; --v5-brand-field:var(--v5-navy); }
body.v5-team-page .v5-header, body.v5-profile-page .v5-header, body.v5-firm-page .v5-header { position:relative; border-bottom:0; }
body.v5-team-page .v5-logo, body.v5-profile-page .v5-logo, body.v5-firm-page .v5-logo { padding:34px clamp(28px,4vw,57.6px) 22px; }
body.v5-team-page .v5-logo img, body.v5-profile-page .v5-logo img, body.v5-firm-page .v5-logo img { width:100%; max-width:500px; }
body.v5-profile-page .v5-header { max-width:1300px; }
body.v5-profile-page .v5-profile { background:var(--v5-brand-field); }
body.v5-profile-page .v5-profile-copy { padding-top:28px; }
body.v5-profile-page .v5-profile-copy > .v5-text-link { margin-bottom:24px; }
body.v5.firm-page .firm-master-hero { width:min(100%,var(--v5-stage)); margin:0 auto; min-height:0; grid-template-columns:42.3% 57.7%; background:var(--v5-navy); }
body.v5.firm-page .firm-master-hero__copy { padding:28px 40px; background:var(--v5-navy); }
body.v5.firm-page .firm-master-hero__copy .breadcrumbs { display:none; }
body.v5.firm-page .firm-master-hero__copy h1 { font-size:max(22px, clamp(38px,3.5vw,50.4px)); line-height:1.08; }
body.v5.firm-page .firm-master-hero figure { margin:0; min-height:0; height:auto; align-self:center; background:transparent; }
body.v5.firm-page .firm-master-hero figure img { display:block; width:100%; height:auto; aspect-ratio:2846/1660; }
/* Article-only Wissenshub: one continuous navy brand/copy column. */
body.v5.knowledge-page { --v5-header-split:42.3%; --v5-brand-field:var(--v5-navy); }
body.v5.knowledge-page .v5-header { position:relative; border-bottom:0; }
body.v5.knowledge-page .v5-logo { padding:34px clamp(28px,4vw,57.6px) 22px; }
body.v5.knowledge-page .v5-logo img { width:100%; max-width:500px; }
body.v5.knowledge-page .knowledge-hero { width:min(100%,var(--v5-stage)); margin:0 auto; padding:0; background:linear-gradient(90deg,var(--v5-navy) 0 42.3%,var(--v5-paper) 42.3% 100%); }
body.v5.knowledge-page .knowledge-hero__grid { width:100%; max-width:none; padding:0; gap:0; grid-template-columns:42.3% 57.7%; align-items:stretch; }
body.v5.knowledge-page .knowledge-hero__copy { padding:40px; background:var(--v5-navy); }
body.v5.knowledge-page .knowledge-hero__visual { margin:30px; }
body.v5.knowledge-page .knowledge-hero__filters button { color:#fff; background:transparent; border-color:#ffffff60; }
body.v5.knowledge-page .knowledge-hero__filters button.is-active { color:var(--v5-navy); background:var(--v7-gold, #a49250); border-color:var(--v7-gold, #a49250); }
body.v5.knowledge-page .knowledge-hero__filters button span { color:inherit; }
@media(min-width:951px) {
  /* Hide the former navigation band embedded in the retained artwork beneath
     the shared header. Logo and hero now form one uninterrupted field. */
  body.v5.wissen-master .wh-hero[data-master-hero] { margin-top:max(-5.29vw,-76.176px); }
}
@media(max-width:1100px) {
  .v5-people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v5-home-copy { padding:28px; }
  .v5-home-copy p { margin:20px 0 25px; }
  .v5-knowledge-band { gap:20px; }
}
@media(max-width:950px) {
  body.v5 .v5-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; min-height:76px; background:var(--v5-brand-field,var(--v5-navy)); }
  body.v5 .v5-logo { grid-row:1; max-width:100%; padding:19px 24px; }
  body.v5 .v5-menu { grid-column:2; grid-row:1; }
  body.v5 .v5-utility { grid-column:1 / -1; grid-row:2; padding:10px 20px; gap:6px 14px; background:var(--v5-paper); font-size:22px; }
  body.v5 .v5-logo img { width:230px; }
  body.v5 .v5-menu { display:flex; gap:14px; align-items:center; border:1px solid #ffffff50; margin-right:20px; padding:10px 12px; background:transparent; color:white; font:22px var(--v5-sans); cursor:pointer; }
  body.v5 .v5-nav { grid-column:1 / -1; grid-row:auto; display:none; position:absolute; top:100%; left:0; right:0; background:var(--v5-paper); box-shadow:0 14px 20px #17263e22; padding:18px 25px; }
  body.v5 .v5-nav.is-open { display:grid; grid-template-columns:1fr 1fr; }
  body.v5 .v5-nav a { font-size:22px; padding:13px; }
  .v5-home-hero { grid-template-columns:1fr; }
  body.v5-home .v5-logo, body.v5.wissen-master .v5-logo { padding:24px; }
  body.v5-home .v5-logo img, body.v5.wissen-master .v5-logo img { width:clamp(230px,40vw,360px); }
  body.v5.wissen-master .wh-hero[data-master-hero] { background:var(--v5-brand-field,var(--v5-navy)) !important; }
  .v5-home-copy { padding:38px 30px 45px; }
  .v5-home-copy h1 { font-size:max(22px, clamp(44px,7vw,65px)); }
  .v5-home-copy p { font-size:25px; }
  .v5-home-copy p br { display:none; }
  .v5-home-copy p { max-width:550px; }
  .v5-team-intro { grid-template-columns:1fr; }
  .v5-team-intro > div { padding:38px 28px; }
  .v5-knowledge-band { grid-template-columns:1fr 1fr; }
  .v5-knowledge-band > div { grid-column:1/-1; }
  body.v5 .v5-footer { grid-template-columns:1fr 1fr; }
  body.v5-team-page .v5-logo, body.v5-profile-page .v5-logo, body.v5-firm-page .v5-logo { padding:24px; }
  body.v5-team-page .v5-logo img, body.v5-profile-page .v5-logo img, body.v5-firm-page .v5-logo img { width:clamp(230px,40vw,360px); }
  body.v5-team-page .v5-menu, body.v5-profile-page .v5-menu { color:var(--v5-ink); border-color:var(--v5-gold); }
  body.v5.firm-page .firm-master-hero { grid-template-columns:1fr; }
  body.v5.firm-page .firm-master-hero__copy { padding:28px; }
  body.v5.knowledge-page .v5-logo { padding:24px; }
  body.v5.knowledge-page .v5-logo img { width:clamp(230px,40vw,360px); }
  body.v5.knowledge-page .knowledge-hero { background:var(--v5-navy); }
  body.v5.knowledge-page .knowledge-hero__grid { grid-template-columns:1fr; }
  body.v5.knowledge-page .knowledge-hero__copy { padding:28px; }
  body.v5.knowledge-page .knowledge-hero__visual { margin:0 24px 28px; }
}
@media(max-width:650px) {
  .v5-area-grid, .v5-profile, .v5-profile-details { grid-template-columns:1fr; }
  .v5-area { padding:26px; }
  .v5-section { padding:45px 22px; }
  .v5-people-grid { gap:16px; }
  .v5-person-card > div { padding:16px; }
  .v5-person-card h3 { font-size:24px; }
  .v5-person-card p { min-height:60px; }
  .v5-knowledge-band { grid-template-columns:1fr; padding:38px 24px; }
  .v5-knowledge-band > a { padding:20px 0; border-left:0; border-top:1px solid #c5bcae; }
  .v5-profile figure { order:-1; margin:20px 24px 0; }
  .v5-profile-copy { padding:30px 24px 45px; }
  .v5-profile-details { gap:40px; }
  body.v5 .v5-footer { padding:40px 24px; gap:32px 20px; }
  body.v5 .v5-footer > div:first-child { grid-column:1/-1; }
  .v5-contact-band { padding:40px 24px; }
  body.v5 .wh-hero__copy { padding-top:35px !important; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } body.v5 *, body.v5 *::before, body.v5 *::after { animation:none !important; transition:none !important; } }
@media print { .v5-header,.v5-footer,.v5-menu { display:none !important; } }
