/* Page composition. Header styling is deliberately owned by header.css. */
#main{--surface:#f4f1eb;--quiet:#e7e1d6;--section-space:88px}
#main h1,#main h2,#main h3{text-wrap:pretty}
#main .wrap{width:min(1280px,calc(100% - 112px))}
#main .section{padding-block:var(--section-space)}
#main .overline,#main .eyebrow{font-size:11px;letter-spacing:.15em;color:#796039}
#main .gold-line{width:54px;height:1px;margin-block:24px}
#main .button{min-height:54px;padding:15px 26px;font-size:13px;gap:28px}
.photo-crop>svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}

/* Real text sits beside a photograph, never over a masked screenshot. */
.editorial-hero{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);isolation:isolate}
.editorial-hero>div{min-width:0}
.editorial-hero .hero-visual{position:relative;overflow:hidden;min-height:540px;background:#e4e0d8}
.editorial-hero .hero-visual>.photo-crop{position:absolute;inset:0;height:100%;width:100%;max-height:none}
.editorial-hero .hero-copy{padding:60px clamp(32px,5vw,92px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.editorial-hero .hero-copy h1{font-size:clamp(42px,4.35vw,70px);line-height:1.04;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.editorial-hero .hero-copy h2{font-size:clamp(38px,3.7vw,60px);line-height:1.09;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.editorial-hero .hero-copy>p:not(.overline):not(.lawyer-name){font-size:15px;line-height:1.85;max-width:510px;margin:0 0 28px}
.editorial-hero .hero-copy>.button{margin-top:0;flex-shrink:0}
.editorial-hero .lawyer-name{font:27px/1.25 var(--serif);margin:0 0 20px}
.home-hero .hero-visual{min-height:630px}
.home-hero .hero-copy{padding-block:48px}
.home-hero .hero-copy>h1{max-width:440px}
.home-hero .hero-copy .overline{margin-bottom:22px}
.home-hero .hero-copy .scene-features{margin:34px 0 0;padding:25px 0 0;border-top:1px solid #d6c9b5;grid-template-columns:1fr 1fr;gap:22px;width:100%}
.home-hero .scene-features li{max-width:none;font:19px/1.3 var(--serif);gap:12px;align-items:flex-start}
.home-hero .scene-features svg{width:28px;height:28px;color:#8c7144}

/* One measured band of practice links, without a second competing contact band. */
#main .practice-ribbon{padding:30px max(28px,calc((100% - 1320px)/2));grid-template-columns:repeat(5,minmax(0,1fr));background:#fffefb;gap:0;border-bottom:1px solid var(--quiet)}
#main .practice-ribbon>a{font:20px/1.25 var(--serif);padding:0 22px;gap:14px;min-height:68px;min-width:0;grid-column:auto;border-inline-end:1px solid #dfd4c4}
#main .practice-ribbon>a:last-child{border:0}
#main .practice-ribbon svg{width:34px;height:34px}
#main .compact-ribbon{grid-template-columns:repeat(4,minmax(0,1fr));padding-block:32px}

/* Equal image, heading, description and action rows, including long translations. */
#main .section-heading{margin-bottom:34px;align-items:end}
#main .section-heading h2{font-size:clamp(38px,3.5vw,56px);line-height:1.1}
#main .section-heading .overline{margin-bottom:13px}
.expertise-section .photo-services{padding:0;gap:22px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;align-items:stretch;background:transparent}
.expertise-section .photo-services>.photo-service{display:grid;grid-column:auto;grid-row:span 5;grid-template-rows:subgrid;background:var(--surface);margin:0;min-width:0}
.expertise-section .photo-service>.photo-crop{grid-row:1;aspect-ratio:510/250!important;height:auto;min-height:0}
.expertise-section .photo-service>.tile-copy{grid-row:2/span 4;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:subgrid;gap:0 17px;padding:28px 24px 25px;min-height:0;background:transparent}
.expertise-section .tile-copy>svg{grid-column:1;grid-row:1;width:32px;height:32px;margin-top:3px}
.expertise-section .tile-copy>div{grid-column:2;grid-row:1/span 4;display:grid;grid-template-rows:subgrid;gap:0}
.expertise-section .tile-copy h2{grid-row:1;font-size:30px;line-height:1.12;margin:0}
#main .expertise-section .tile-copy .gold-line{grid-row:2;width:38px;margin-block:17px}
.expertise-section .tile-copy p{grid-row:3;font-size:13px;line-height:1.85;margin-bottom:22px}
.expertise-section .tile-copy .inline-link{grid-row:4;justify-self:start;align-self:end;font-size:12px;margin:0;padding:7px 0}
.expertise-section .photo-service:hover{background:#ece6dc}

/* The secondary photographs share a consistent frame; captions are live HTML. */
#main .editorial-triptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
#main .editorial-triptych>.image-tile{display:block;position:relative;height:340px;min-height:0;grid-column:auto;margin:0}
#main .editorial-triptych .photo-crop{height:100%;max-width:100%;aspect-ratio:auto!important}
#main .editorial-triptych .photo-crop>img{min-height:100%}
#main .editorial-triptych .tile-caption{padding:62px 30px 26px;background:linear-gradient(transparent,#102637e8 60%);min-height:0}
#main .editorial-triptych h2{font-size:31px;line-height:1.14;margin-bottom:10px}
#main .editorial-triptych p{font-size:13px;margin:0}
#main .personal-intro{grid-template-columns:.85fr 1.15fr;gap:clamp(40px,7vw,110px)}
#main .portrait-frame{height:560px;max-height:none;margin:0;background:var(--surface)}
#main .portrait-frame img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
#main .personal-copy h2{font-size:clamp(38px,3.6vw,56px);line-height:1.12;margin-bottom:0}
#main .personal-copy>p:not(.overline){font-size:15px;line-height:1.9}
#main .personal-copy .scene-features{gap:19px;margin:26px 0}
#main .personal-copy .scene-features li{font-size:22px}
#main .personal-copy .scene-features svg{width:30px;height:30px}
.business-feature{grid-template-columns:1.1fr 1fr;background:#142d40;color:#fff;direction:ltr}
.business-feature .hero-copy{order:-1;direction:ltr}
[dir=rtl] .business-feature,[dir=rtl] .business-feature .hero-copy{direction:rtl}
.business-feature .hero-visual{min-height:550px}
#main .business-feature .overline{color:#d5bc90}
.business-feature .business-links{margin:0 0 27px;width:100%;max-width:510px}
.business-feature .business-links a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #ffffff28;font:21px/1.3 var(--serif)}
.business-feature .business-links a span:last-child{color:#d5bc90}
.business-feature .outline{color:#fff;border-color:#b69a68}
.business-feature .outline:hover{color:#172538;background:#dfc89f}

/* Service pages use the same visual grammar, with topic-specific photographs. */
.practice-hero .hero-visual{min-height:510px}
.practice-hero .hero-copy{padding-block:44px}
.practice-hero .hero-copy h1{font-size:clamp(38px,3.6vw,58px);line-height:1.08}
.practice-hero .breadcrumbs{font-size:11px;line-height:1.6;margin:0 0 28px;display:flex;gap:10px;flex-wrap:wrap;color:#62615d}
.practice-hero .overline{margin-bottom:17px}
.hero-footnote{display:flex;gap:11px;align-items:center;margin-top:25px;font:19px/1.4 var(--serif)}
.hero-footnote svg{width:23px;height:23px;color:#937544}
.hero-court{background:#142d40;color:white}
#main .hero-court .overline,.hero-court .breadcrumbs{color:#ddc79f}
.hero-court .hero-footnote svg{color:#ddc79f}
#main .reference-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-block:40px 0;padding:0}
.reference-gallery>div{overflow:hidden;height:230px}
.reference-gallery .photo-crop{min-height:100%}
#main .page-layout{grid-template-columns:minmax(0,1fr) 260px;gap:64px;padding-block:64px 80px;align-items:start}
#main .page-article{min-width:0}
#main .prose{font-size:16px;line-height:1.95;color:#344252;overflow-wrap:anywhere}
#main .prose h1,#main .prose h2{font-size:38px;line-height:1.15;color:var(--ink);margin-top:35px;margin-bottom:20px}
#main .prose h3{font-size:30px;line-height:1.2;color:var(--ink);margin-block:28px 16px}
#main .prose p{margin-bottom:23px}
#main .prose a{color:#775e36;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
#main .page-sidebar{background:var(--surface);padding:30px 24px;border:0}
#main .page-sidebar h2{font-size:29px;line-height:1.15;margin-bottom:22px}
#main .page-sidebar>a{display:flex;gap:13px;font:21px/1.3 var(--serif);padding:17px 0;border-bottom:1px solid #dcd2c2}
#main .page-sidebar>a svg{width:26px;height:26px}
#main .page-sidebar .button{font-size:12px;gap:12px;padding-inline:14px;width:100%;margin-top:25px}
#main .inline-consult{background:var(--surface);padding:32px;margin-top:48px;border-top:2px solid #a88b55}
#main .inline-consult h2{font-size:37px}
.international-feature .hero-visual{min-height:570px}
.international-feature .scene-features{margin:0 0 30px;gap:20px}
.international-feature .scene-features li{font-size:22px}

/* Journal, enquiry and closing sections follow the same rhythm. */
#main .journal-section{background:#f4f1eb}
#main .article-grid{gap:26px}
#main .article-card{display:flex;flex-direction:column;min-width:0}
#main .article-card>img{height:auto;aspect-ratio:1.35;object-fit:cover;margin-bottom:23px}
#main .article-card h3{font-size:28px;line-height:1.15;margin-bottom:24px}
#main .article-card .text-link{margin-top:auto;align-self:flex-start}
#main .journal-heading{padding-block:50px 35px}
#main .journal-card-copy{background:#f4f1eb}
#main .source-preservation{padding-block:28px}
#main .source-preservation summary{font-size:24px}
.home-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.home-source-card{min-width:0;background:#f4f1eb;display:flex;flex-direction:column}
.home-source-card.text-only{grid-column:1/-1;background:#fff;border-block:1px solid #e1d7c8}
.home-source-copy{padding:30px}
#main .home-source-copy h4{font:400 32px/1.16 var(--serif);color:var(--ink);margin:15px 0 22px;text-wrap:pretty}
#main .home-source-copy p{font-size:15px;line-height:1.9;margin-bottom:20px}
#main .home-source-copy a{display:inline-flex;min-height:44px;align-items:center;font-size:13px}
.home-source-media{height:260px;overflow:hidden}
.home-source-media img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.home-source-card.text-only .home-source-copy{max-width:920px;padding-inline:0}
@media(max-width:700px){.home-source-grid{grid-template-columns:1fr;gap:24px}.home-source-copy{padding:24px}#main .home-source-copy h4{font-size:30px}.home-source-media{height:210px}}
#main .bottom-contact{padding:60px 0;background:#eae3d7}
#main .bottom-contact h2{font-size:clamp(38px,3.8vw,60px);line-height:1.08}
#main .bottom-contact .wrap{gap:50px;align-items:center}
#main .bottom-contact p:not(.overline){max-width:760px;font-size:14px;line-height:1.8}
#main .bottom-contact a{font-size:13px;text-decoration:underline;text-underline-offset:5px}
.site-footer{padding-top:64px}
.site-footer .footer-grid{gap:50px}
.site-footer .footer-grid h3{line-height:1.15}
.enquiry-form label{line-height:1.7}
.enquiry-form input,.enquiry-form textarea,.enquiry-form select{background:#fffefb}
.enquiry-form .privacy-consent{font-size:12px}

@media(min-width:1800px){.editorial-hero{max-width:1920px;margin-inline:auto}.home-hero .hero-visual{min-height:730px}}
@media(max-width:1200px){
 #main{--section-space:64px}#main .wrap{width:calc(100% - 64px)}
 .editorial-hero .hero-copy{padding:40px 34px}.home-hero .hero-visual{min-height:600px}
 .home-hero .hero-copy h1{font-size:54px}.home-hero .scene-features li{font-size:18px}
 #main .practice-ribbon>a{font-size:18px;gap:10px;padding-inline:14px}#main .practice-ribbon svg{width:29px;height:29px}
 .expertise-section .photo-services{gap:16px}.expertise-section .photo-service>.tile-copy{padding:24px 20px;grid-template-columns:27px minmax(0,1fr);column-gap:12px}.expertise-section .tile-copy>svg{width:27px;height:27px}.expertise-section .tile-copy h2{font-size:27px}
 #main .editorial-triptych>.image-tile{height:300px}#main .editorial-triptych .tile-caption{padding-inline:24px}#main .editorial-triptych h2{font-size:28px}
 #main .portrait-frame{height:510px}#main .page-layout{gap:36px;grid-template-columns:minmax(0,1fr) 230px}
 .practice-hero .hero-copy h1{font-size:44px}.practice-hero .hero-visual{min-height:510px}
}
@media(max-width:900px){
 #main .practice-ribbon{grid-template-columns:repeat(3,minmax(0,1fr));padding:23px 20px;gap:23px 0}#main .practice-ribbon>a:nth-child(3){border:0}#main .practice-ribbon>a{min-height:48px}
 .home-hero .hero-copy h1{font-size:43px}.home-hero .hero-copy{padding:32px 28px}.home-hero .hero-visual{min-height:570px}.home-hero .hero-copy>p:not(.overline):not(.lawyer-name){font-size:14px}.home-hero .scene-features{grid-template-columns:1fr!important;gap:13px!important}.home-hero .scene-features li{font-size:18px}.home-hero .scene-features svg{width:23px;height:23px}.home-hero .lawyer-name{font-size:24px}
 .expertise-section .photo-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.expertise-section .photo-service>.tile-copy{grid-template-columns:1fr;padding:22px 16px}.expertise-section .tile-copy>svg{display:none}.expertise-section .tile-copy>div{grid-column:1}.expertise-section .tile-copy h2{font-size:25px}.expertise-section .tile-copy p{font-size:12px}
 #main .editorial-triptych>.image-tile{height:255px}#main .editorial-triptych .tile-caption{padding-inline:18px}#main .editorial-triptych h2{font-size:25px}#main .editorial-triptych p{font-size:12px}
 #main .personal-intro{gap:35px}#main .portrait-frame{height:490px}#main .personal-copy h2{font-size:38px}#main .personal-copy>p:not(.overline){font-size:14px}
 .business-feature .hero-copy{padding:38px 28px}.business-feature .hero-visual{min-height:520px}.business-feature .hero-copy h2{font-size:41px}
 .practice-hero .hero-copy{padding:35px 28px}.practice-hero .hero-copy h1{font-size:38px}.practice-hero .hero-copy>p:not(.overline){font-size:14px}.practice-hero .hero-visual{min-height:520px}
 #main .page-layout{display:block}#main .page-sidebar{margin-top:45px;display:grid;grid-template-columns:1fr 1fr;gap:0 30px}#main .page-sidebar>h2,#main .page-sidebar>.sidebar-contact{grid-column:1/-1}
 #main .compact-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}
 .international-feature .hero-copy{padding:36px 28px}.international-feature .hero-visual{min-height:550px}
 #main .article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}
}
@media(max-width:600px){
 #main{--section-space:48px}#main .wrap{width:calc(100% - 40px)}
 .editorial-hero{grid-template-columns:1fr}.editorial-hero .hero-visual,.home-hero .hero-visual{min-height:0;height:370px}
 .editorial-hero .hero-copy,.home-hero .hero-copy{padding:34px 25px 38px}
 .home-hero .hero-copy h1{font-size:48px;max-width:330px}.home-hero .lawyer-name{font-size:26px}
 .home-hero .hero-visual>.photo-crop{width:100%;height:100%;inset:0}
 .home-hero .hero-copy .scene-features{grid-template-columns:1fr 1fr!important;gap:20px 16px!important;margin-top:28px;padding-top:23px}
 .home-hero .scene-features li{font-size:18px;display:flex;gap:10px}.home-hero .scene-features svg{width:24px;height:24px}
 #main .editorial-hero .gold-line{margin-block:20px}.editorial-hero .hero-copy>p:not(.overline):not(.lawyer-name){font-size:15px;line-height:1.8}
 #main .practice-ribbon{grid-template-columns:1fr 1fr;padding:24px 12px;gap:21px 0}#main .practice-ribbon>a{font-size:18px;padding-inline:12px;border:0;align-items:center}#main .practice-ribbon>a:last-child:nth-child(odd){grid-column:1/-1}
 #main .section-heading{gap:18px;align-items:flex-start;flex-direction:column;margin-bottom:25px}#main .section-heading h2{font-size:40px}
 .expertise-section .photo-services{grid-template-columns:1fr;gap:25px;grid-template-rows:none}
 .expertise-section .photo-services>.photo-service{display:block;grid-row:auto}
 .expertise-section .photo-service>.photo-crop{aspect-ratio:510/250!important;height:auto!important;grid-row:auto}
 .expertise-section .photo-service>.tile-copy{display:flex;gap:17px;padding:25px 22px}
 .expertise-section .tile-copy>svg{display:block;width:32px;height:32px}
 .expertise-section .tile-copy>div{display:block}.expertise-section .tile-copy h2{font-size:30px}.expertise-section .tile-copy p{font-size:14px;margin-bottom:16px}
 #main .editorial-triptych{grid-template-columns:1fr;gap:4px}#main .editorial-triptych>.image-tile{height:310px}#main .editorial-triptych .tile-caption{padding:55px 25px 25px}#main .editorial-triptych h2{font-size:33px}#main .editorial-triptych p{font-size:14px}
 #main .editorial-triptych>.image-tile:last-child .photo-crop{width:100%;max-width:100%}
 #main .personal-intro{display:grid;grid-template-columns:1fr;gap:32px}#main .portrait-frame{height:auto;aspect-ratio:1/1.1}#main .personal-copy h2{font-size:41px}#main .personal-copy>p:not(.overline){font-size:15px}
 .business-feature .hero-copy{order:0}.business-feature .hero-visual{height:330px}.business-feature .hero-copy h2{font-size:43px}
 #main .compact-ribbon{grid-template-columns:1fr 1fr}
 .practice-hero .hero-visual{height:310px}.practice-hero .hero-copy h1{font-size:42px}.practice-hero .breadcrumbs{margin-bottom:24px}.practice-hero .hero-copy>.overline{font-size:10px}
 #main .reference-gallery{margin-top:25px;gap:8px}.reference-gallery>div{height:145px}
 #main .page-layout{padding-block:40px 48px}#main .prose{font-size:15px;line-height:1.9}#main .prose h1,#main .prose h2{font-size:33px}#main .page-sidebar{display:block;padding:25px;margin-top:35px}#main .page-sidebar>a{font-size:22px}
 #main .inline-consult{padding:26px 20px;margin-top:35px}#main .inline-consult h2{font-size:34px}
 .international-feature .hero-visual{height:350px}.international-feature .hero-copy h2{font-size:42px}
 #main .journal-heading{padding-block:32px 25px}#main .journal-heading h1{font-size:44px}
 #main .article-grid{grid-template-columns:1fr;gap:32px}#main .article-card>img{aspect-ratio:1.6}#main .article-card h3{font-size:31px;margin-bottom:14px}
 #main .bottom-contact{padding:42px 0}#main .bottom-contact h2{font-size:43px}#main .bottom-contact .wrap{display:flex;flex-direction:column;align-items:flex-start;gap:25px}#main .bottom-contact h2{margin-bottom:20px}
 .site-footer{padding-top:42px}.site-footer .footer-grid{gap:32px 25px}
}

/* German law office: preserve the original full logo and link to its own website. */
#main .germany-office .germany-office-visual{min-height:440px;background:var(--surface);display:flex;align-items:stretch;padding:clamp(32px,5vw,80px)}
.germany-office-logo{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:30px;text-decoration:none;color:var(--navy,#122d40);min-width:0}
.germany-office-logo img{mix-blend-mode:multiply;filter:contrast(1.06);display:block;position:static;width:100%;max-width:660px;height:auto;object-fit:contain;transition:opacity .25s ease}
.germany-office-logo:hover img{opacity:.86}
.germany-office-domain{display:flex;align-items:center;gap:20px;font-size:13px;letter-spacing:.08em;color:#8e7a51;border-bottom:1px solid #c9bb9b;padding-bottom:8px}
.germany-office .hero-copy .button{white-space:normal;text-align:start}
@media(max-width:767px){#main .germany-office .germany-office-visual{min-height:0;height:auto;padding:48px 28px}.germany-office-logo{gap:24px}.germany-office .hero-copy{padding:38px 26px 44px}.germany-office .hero-copy h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){.germany-office-logo img{transition:none}}

/* A complete waist-up portrait on the about page, without zooming into the face. */
#main .hero-about{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
#main .hero-about .hero-visual{min-height:590px;background:var(--surface)}
#main .hero-about .about-lawyer-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
@media(max-width:767px){#main .hero-about{grid-template-columns:1fr}#main .hero-about .hero-visual{height:auto;min-height:0;max-height:560px;aspect-ratio:1122/1402}}
