
/* Shared service pages retain the existing typefaces, palette and branding. */
.service-page .site-header { background: var(--ink); }
.profile .profile-identity { padding-top: 0; }
.profile-portrait { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; margin: 0 0 28px; border-bottom: 3px solid var(--brass); background: var(--ink); }
.profile-identity > p, .profile-languages { font-size: .875rem; }
.service-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.service-hero { padding: calc(136px + env(safe-area-inset-top, 0px)) 0 64px; background: var(--ink); color: var(--white); border-bottom: 3px solid var(--brass); }
.service-breadcrumb { font-size: 0.875rem; margin-bottom: 32px; color: #d0d5d9; }
.service-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.service-label { font-size: 0.875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-light); }
.service-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.12; letter-spacing: -.025em; max-width: 950px; margin: 20px 0; overflow-wrap: anywhere; }
.service-lead { max-width: 780px; font-size: 1.125rem; line-height: 1.7; color: #d0d5d9; }
.service-hero .button { margin-top: 20px; gap: 22px; white-space: normal; }
.service-scope { margin-top: 26px; font-size: .875rem; color: #c3cbd1; }
.cross-border-page .case-record-principle { max-width: 780px; margin: 24px 0 0; padding-left: 18px; border-left: 2px solid var(--brass-light); color: var(--brass-light); font-size: 1.0625rem; font-weight: 600; line-height: 1.65; }
.cross-border-page .case-record-list { margin: 28px 0; border-top: 1px solid var(--line); }
.cross-border-page .case-record-list > div { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.6fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cross-border-page .case-record-list dt { font-weight: 600; font-size: 1rem; line-height: 1.6; }
.cross-border-page .case-record-list dd { min-width: 0; margin: 0; font-size: 1rem; line-height: 1.75; }
.cross-border-page .cross-border-forums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 28px 0; }
.cross-border-page .cross-border-forums > div { min-width: 0; padding-top: 20px; border-top: 2px solid var(--brass); }
.cross-border-page .cross-border-forums p { margin-bottom: 0; }
@media (max-width: 1100px) {
 .cross-border-page .cross-border-forums { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
 .cross-border-page .case-record-list > div { grid-template-columns: 1fr; gap: 7px; }
}
.service-body { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 64px; padding-block: 64px; }
.service-toc nav { position: sticky; top: 104px; }
.service-toc .service-label, .service-directory .service-label { color: #99451b; }
.service-toc a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.service-article { min-width: 0; max-width: 800px; }
.service-article section { margin-bottom: 48px; scroll-margin-top: 110px; }
.service-article h2, .service-directory h2 { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 400; margin: 0 0 22px; }
.service-article h3, .service-directory h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; font-weight: 400; margin: 0 0 14px; }
.service-article p, .service-article li { font-size: 1rem; line-height: 1.75; }
.service-article li { margin-bottom: 14px; }
.service-article ul { padding-left: 22px; }
.service-article a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.service-case { border-left: 3px solid var(--brass); padding: 6px 0 6px 24px; margin: 24px 0; }
.service-case .service-label { color: #99451b; }
.service-focus { padding: 30px 32px; border-top: 3px solid var(--brass); background: var(--paper-2); }
.service-focus .service-label { margin: 0 0 12px; color: #99451b; }
.service-focus h2 { max-width: 680px; }
.service-focus p:last-child { margin-bottom: 0; }
.service-promo { position: relative; padding-right: clamp(32px, 8vw, 96px); }
.service-promo-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; font-weight: 700; color: #843913; text-decoration: none !important; border-bottom: 1px solid rgba(132, 57, 19, .45); }
.service-promo-link:hover { border-bottom-color: currentColor; }
.service-promo-link span { font-size: 1.25rem; }
.service-notice { border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); }
.service-directory { padding: 56px max(24px, calc((100% - 1160px) / 2)); background: var(--paper-2); }
.service-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-links > a { display: block; padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.service-links > a:hover { border-color: var(--brass); }
.service-links p { font-size: 1rem; line-height: 1.65; }
.service-links span { display: inline-block; font-size: .9375rem; font-weight: 600; margin-top: 10px; }
.desktop-nav { gap: 18px; }
.desktop-nav a[aria-current="page"] { color: var(--brass-light); }
/* Local additions: notice guides, supporting letters and the fourth service. */
.service-links-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notice-section { padding-top: 28px; border-top: 1px solid var(--line); }
.notice-red h2 { color: #c3293d; }
.notice-blue h2 { color: #146bc4; }
.notice-silver h2 { color: #75808a; }
.notice-yellow h2 { color: #aa8100; }
.notice-section .service-source { color: var(--muted); font-size: .875rem; }
.jurisdiction-section { padding-top: 28px; border-top: 1px solid var(--line); }
.jurisdiction-section .service-label { margin-bottom: 10px; color: #99451b; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.guide-grid > a { display: block; padding: 22px; border: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.guide-grid > a:hover { border-color: var(--brass); }
.guide-grid h3 { margin-bottom: 8px; }
.guide-grid p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.guide-grid .guide-red { border-top: 3px solid #c3293d; }
.guide-grid .guide-blue { border-top: 3px solid #146bc4; }
.guide-grid .guide-yellow { border-top: 3px solid #d39c00; }
.guide-grid .guide-silver { border-top: 3px solid #75808a; }
.document-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.matter-documents { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-self: end; min-width: 0; }
.current-matters { max-width: 850px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .75); font-size: 16px; line-height: 1.7; }
.current-matters-label { display: block; margin-bottom: 9px; color: var(--brass-light); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.current-matters-date { display: block; margin-top: 8px; color: rgba(255, 255, 255, .55); font-size: 13px; }
.matter > p {
 text-align: justify;
 text-align-last: start;
 -webkit-hyphens: auto;
 hyphens: auto;
}
.credential-link {
 display: block;
 width: fit-content;
 margin-top: 8px;
 color: #99451b;
 font-size: .875rem;
 line-height: 1.4;
 text-decoration: none;
 border-bottom: 1px solid rgba(153, 69, 27, .45);
}
.credential-link:hover { border-bottom-color: currentColor; }
/* Justify longer reading paragraphs only where the columns have enough room. */
@media (min-width: 1101px) {
 .profile-story > p:not(.profile-lead),
 .callout-copy > p:last-child,
 .service-article > section > p:not(.service-label):not(.service-source):not(.document-links) {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
 }
}
@media (min-width: 861px) {
 .service-toc nav { max-height: calc(100dvh - 128px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 600px) {
 .service-focus { padding: 24px 20px; }
 .service-promo { padding-right: 20px; }
}
@media (min-width: 861px) and (max-width: 1360px) {
 .site-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; }
 .desktop-nav { display: none; }
 .header-contact { grid-column: 2; grid-row: 1; }
 .menu-button { grid-column: 3; display: grid; gap: 7px; width: 42px; height: 42px; place-content: center; padding: 0; border: 1px solid rgba(255, 255, 255, .34); background: transparent; }
 .menu-button span { display: block; width: 17px; height: 1px; background: var(--white); transition: transform 180ms ease; }
 .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
 .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
 .mobile-nav { position: fixed; z-index: 118; inset: 72px 0 0; display: flex; flex-direction: column; overflow-y: auto; padding: 24px 42px 40px; color: var(--white); background: #071522; overscroll-behavior: contain; }
 .mobile-nav a { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 12px; flex-shrink: 0; min-height: 72px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
 .mobile-nav a:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }
 .mobile-nav a > span { color: var(--brass-light); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
 .mobile-nav a > strong { min-width: 0; font-family: var(--serif); font-size: 2.15rem; font-weight: 400; line-height: 1.08; }
 .mobile-nav a > i { color: rgba(255, 255, 255, .55); font-size: 16px; font-style: normal; text-align: right; }
}
@media (min-width: 1101px) and (max-width: 1154px) {
 .matter { grid-template-columns: 145px minmax(0, .9fr) minmax(0, 1.1fr); }
 .matter > a { grid-column: 2; justify-self: start; }
}
@media (max-width: 1154px) {
 .matter-documents { grid-column: 2; justify-self: start; }
}
@media (max-width: 860px) {
 .service-body { grid-template-columns: 1fr; gap: 32px; padding-block: 36px; }
 .service-toc nav { position: static; }
 .service-links { grid-template-columns: 1fr; }
 .service-hero { padding-top: calc(108px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
 .service-wrap { width: calc(100% - 40px); }
 .service-directory { padding: 40px 20px; }
 .guide-grid { grid-template-columns: 1fr; }
 .mobile-nav a { flex-shrink: 0; }
}
@media (max-width: 620px) {
 .matter-documents { grid-column: auto; }
}
