/* Shared extensions for the service pages. Existing brand tokens live in styles.css. */
html { scroll-padding-top: 110px; }
body { overflow-wrap: break-word; }
main, section, article, .hero-copy, .about-copy, .service, .method-layout > *, .section-heading > * { min-width: 0; }
.nav { gap: 20px; }
.desktop-links { gap: 24px; }
.desktop-links a { white-space: nowrap; }
.desktop-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }
.hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
.client-strip { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 27px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-strip > p { font-size: .875rem; color: var(--muted); }
.client-strip > a { display: block; font-size: 1.0625rem; font-weight: 500; min-height: 48px; }
.client-strip > a span { display: block; font-size: .875rem; font-weight: 400; color: var(--muted); }
.client-strip > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.management-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: #dfebe7; border-radius: var(--radius); padding: 42px; margin-bottom: 24px; }
.management-feature .eyebrow { color: #405c51; margin-bottom: 25px; }
.management-feature h3 { font-size: clamp(1.8rem, 2.7vw, 2.5rem); line-height: 1.35; font-weight: 600; letter-spacing: -.03em; }
.management-feature > div > p:not(.eyebrow) { font-size: 1.0625rem; color: #475953; line-height: 1.9; }
.feature-actions { display: flex; gap: 13px 22px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.feature-actions .text-link { font-size: .9375rem; gap: 10px; }
.home-secondary .service-business { background: #e9eeed; }
.home-secondary .service { padding: 34px 40px; }
.home-secondary .service h3 { font-size: 2.1rem; }
.home-secondary .service-top { margin-bottom: 27px; }
.home-secondary .service-link { margin-top: 30px; }
.portfolio-home { background: #fff; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.case-zeekr { background: #102e2b; color: #fff; }
.case-law { background: #e9eeed; }
.case .eyebrow { margin-bottom: 40px; }
.case-zeekr .eyebrow { color: #c0d4ce; }
.client-name { font-family: Arial, sans-serif; font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: .035em; margin-bottom: 35px; line-height: 1.2; }
.client-name-he { font-family: var(--font); letter-spacing: -.04em; font-size: clamp(2rem, 3.5vw, 3.3rem); min-height: 1.71em; display: flex; align-items: center; }
.case h3 { font-size: 1.125rem; font-weight: 500; margin-bottom: 12px; }
.case > p:not(.eyebrow) { color: #52635c; max-width: 420px; margin-bottom: 25px; }
.case-zeekr > p:not(.eyebrow) { color: #c0d4ce; }
.case .text-link { margin-top: auto; font-size: .9375rem; border-bottom: 1px solid currentColor; }
.case-zeekr a:focus-visible { outline-color: #c0e8dc; }
.portfolio-paths { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 30px; }
.knowledge { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; border-top: 1px solid var(--line); padding-block: 65px 85px; }
.knowledge h2 { font-size: 2.4rem; }
.knowledge article { background: white; border-radius: var(--radius); padding: 30px; }
.knowledge article > p:first-child { color: var(--muted); font-size: .875rem; margin-bottom: 12px; }
.knowledge article h3 { font-size: 1.6rem; font-weight: 500; line-height: 1.5; margin-bottom: 14px; }
.knowledge article p { color: var(--muted); }
.knowledge .text-link { margin-top: 20px; }
.page-intro { padding-block: 38px 65px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: .875rem; color: var(--muted); align-items: center; margin-bottom: 46px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.page-intro .eyebrow { margin-bottom: 18px; }
.page-intro h1 { font-size: clamp(2.8rem, 5.5vw, 4.7rem); line-height: 1.2; letter-spacing: -.045em; font-weight: 600; }
.page-intro h1 span { color: var(--accent); }
.intro-description { max-width: 780px; margin-top: 25px; color: var(--muted); font-size: 1.25rem; line-height: 1.85; }
.page-intro > .button { margin-top: 30px; }
.top-rule { border-top: 1px solid var(--line); }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 42px; }
.capabilities article { border-top: 1px solid #b7c6bf; padding-top: 20px; }
.item-number { font-size: .875rem; display: block; color: var(--muted); margin-bottom: 20px; direction: ltr; text-align: right; }
.capabilities h3 { font-size: 1.375rem; font-weight: 500; margin-bottom: 12px; }
.capabilities p { color: var(--muted); line-height: 1.85; }
.method-band { background: #e3ece7; padding-block: 75px; }
.method-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.process { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.process li { position: relative; counter-increment: steps; padding: 0 43px 28px 0; }
.process li:before { content: counter(steps, decimal-leading-zero); position: absolute; right: 0; top: 3px; direction: ltr; color: #426356; font-size: .875rem; }
.process li:last-child { padding-bottom: 0; }
.process h3 { font-size: 1.125rem; font-weight: 500; margin-bottom: 8px; }
.process p { color: #475e54; line-height: 1.8; }
.next-reading { border-top: 1px solid var(--line); padding-block: 30px 55px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.next-reading > p { color: var(--muted); }
.next-reading > a { flex-shrink: 0; }
.in-page-links { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 46px; }
.in-page-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 30px; padding: 8px 22px; background: #e0e7e3; }
.in-page-links a:hover { background: #c9dbd2; }
.group-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 54px; }
.group-list-grid .community h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
.group-list-grid .community { min-height: 122px; }
.group-list-grid .community h3 bdi { unicode-bidi: plaintext; }
.light-groups .community { border-color: #c7d3cd; }
.light-groups .community p { color: var(--muted); }
.light-groups .community > span { color: var(--accent); }
.light-groups .community:hover { background: #e9efeb; }
.light-groups .community:focus-visible { outline-color: var(--accent); }
.category-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 35px; }
.category-footer > p { max-width: 540px; color: var(--muted); }
.communities .category-footer > p { color: var(--dark-muted); }
.light-button { background: #dcf0e6; color: #173c30; flex-shrink: 0; }
.light-button:hover { background: #fff; }
.other-community { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.other-community > div > p:not(.eyebrow) { font-size: 1.125rem; color: var(--muted); margin-bottom: 26px; line-height: 1.85; }
.consulting-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.consulting-statement { background: var(--dark); color: white; padding: 44px; border-radius: var(--radius); }
.consulting-statement p { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.35; font-weight: 500; letter-spacing: -.025em; }
.consulting-statement span { color: #b5dacc; }
.consulting-details > h3 { font-size: 1.3rem; font-weight: 500; }
.plain-list { list-style: none; padding: 0; margin: 20px 0; }
.plain-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.consulting-details > p { color: var(--muted); margin-block: 24px; }
.training-section { background: #e9eeed; }
.training-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.training-card { padding: 30px; background: white; border-radius: var(--radius); display: flex; flex-direction: column; }
.training-card .eyebrow { margin-bottom: 25px; }
.training-card h3 { font-size: 1.8rem; font-weight: 500; line-height: 1.3; margin-bottom: 20px; }
.training-card > p:not(.eyebrow) { color: var(--muted); margin-bottom: 35px; line-height: 1.85; }
.training-card .service-link { font-size: .9375rem; gap: 12px; }
.course-card { background: #d8e7df; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 730px); gap: 90px; padding-bottom: 90px; align-items: start; }
.article-aside { border-top: 1px solid var(--line); padding-top: 24px; position: sticky; top: 125px; }
.article-aside > p:first-child { font-size: 1.125rem; font-weight: 500; }
.article-aside > span { color: var(--accent); font-family: Georgia, serif; font-size: 1.125rem; }
.article-aside > p:not(:first-child) { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.article-aside nav { display: flex; flex-direction: column; margin-top: 26px; }
.article-aside nav a { min-height: 44px; display: flex; align-items: center; color: var(--muted); font-size: .9375rem; }
.article-aside nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.article-body { font-size: 1.125rem; line-height: 1.95; }
.article-body section { margin-top: 44px; }
.article-body h2 { font-size: 1.65rem; line-height: 1.5; margin-bottom: 18px; }
.article-body p { margin-bottom: 18px; color: #44534d; }
.article-body .article-lead { font-size: 1.3rem; color: var(--ink); line-height: 1.8; }
.inline-link { text-decoration: underline; text-underline-offset: 4px; color: #126c63; }
.inline-link > span { display: none; }
.article-takeaway { background: #e0ebe5; padding: 30px; border-radius: 22px; margin-top: 40px; }
.article-takeaway h2 { font-size: 1.5rem; }
.article-takeaway .text-link { font-size: 1rem; }
.policy-body { max-width: 820px; padding-bottom: 70px; }
.policy-date { color: var(--muted); font-size: .875rem; }
.policy-body section { margin-top: 40px; }
.policy-body h2 { font-size: 1.6rem; margin-bottom: 18px; }
.policy-body p, .policy-body li { color: #44534d; line-height: 1.9; }
.policy-body li { margin-block: 9px; }
.policy-body section > p + p { margin-top: 15px; }
.contact-list a { text-decoration: underline; text-underline-offset: 5px; display: inline-block; min-height: 44px; padding-block: 6px; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; padding-bottom: 26px; border-top: 1px solid var(--line); padding-top: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 25px; }
.footer-bottom a { font-size: .875rem; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1100px) {
 .desktop-links { gap: 18px; }
 .brand img { width: 125px; }
 .nav-contact { padding-inline: 17px; gap: 14px; }
 .training-card { padding: 26px; }
 .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
 .method-layout { gap: 50px; }
}
@media (max-width: 940px) {
 .desktop-links { display: none; }
 .nav-contact { margin-inline-start: auto; }
 .mobile-nav { display: block; }
 .mobile-nav summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .875rem; min-height: 48px; }
 .mobile-nav summary::-webkit-details-marker { display: none; }
 .mobile-nav summary span { font-size: 1.35rem; }
 .mobile-nav[open] summary span { transform: rotate(45deg); }
 .mobile-nav > div { position: absolute; top: 88px; inset-inline: 0; background: var(--page); padding: 16px 32px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 20px #1825230a; max-height: calc(100dvh - 88px); overflow: auto; }
 .mobile-nav > div a { display: block; padding: 12px 0; font-size: 1rem; }
 .management-feature { padding: 35px; gap: 35px; }
 .training-grid { grid-template-columns: 1fr; gap: 18px; }
 .training-card { padding: 32px; }
 .training-card .eyebrow { margin-bottom: 14px; }
 .training-card > p:not(.eyebrow) { max-width: 680px; }
 .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .category-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
 .next-reading { align-items: flex-start; flex-direction: column; gap: 15px; }
}
@media (max-width: 760px) {
 html { scroll-padding-top: 95px; }
 .mobile-nav > div { top: 74px; max-height: calc(100dvh - 74px); }
 .hero h1 { font-size: clamp(2.35rem, 8.8vw, 3.8rem); }
 .client-strip { flex-wrap: wrap; gap: 20px 25px; padding-block: 22px 26px; }
 .client-strip > p { width: 100%; }
 .client-strip > a { flex: 1; min-width: 135px; }
 .management-feature { grid-template-columns: 1fr; padding: 29px 25px; gap: 24px; }
 .management-feature h3 { font-size: 2rem; }
 .feature-actions { margin-top: 20px; }
 .home-secondary .service { padding: 30px 26px; }
 .case-grid { grid-template-columns: 1fr; }
 .case { padding: 30px 26px; }
 .case .eyebrow { margin-bottom: 30px; }
 .client-name { font-size: 3.7rem; margin-bottom: 30px; }
 .client-name-he { font-size: 2.65rem; min-height: auto; }
 .knowledge { grid-template-columns: 1fr; gap: 26px; padding-block: 50px 64px; }
 .knowledge h2 { font-size: 2rem; }
 .knowledge article { padding: 26px; }
 .page-intro { padding-block: 22px 45px; }
 .breadcrumbs { margin-bottom: 29px; font-size: .8125rem; }
 .page-intro h1 { font-size: clamp(2.2rem, 8.4vw, 3.7rem); }
 .intro-description { font-size: 1.125rem; margin-top: 23px; }
 .capabilities { grid-template-columns: 1fr; gap: 30px; }
 .item-number { margin-bottom: 13px; }
 .method-band { padding-block: 54px; }
 .method-layout { grid-template-columns: 1fr; gap: 34px; }
 .group-list-grid { grid-template-columns: 1fr; gap: 0; }
 .group-list-grid .community { min-height: 105px; }
 .group-list-grid .community p { font-size: .875rem; }
 .in-page-links { padding-bottom: 32px; gap: 10px; }
 .in-page-links a { font-size: .9375rem; padding-inline: 17px; }
 .other-community { grid-template-columns: 1fr; gap: 28px; }
 .consulting-layout { grid-template-columns: 1fr; gap: 30px; }
 .consulting-statement { padding: 32px; }
 .consulting-statement p { font-size: 2.15rem; }
 .training-card { padding: 29px 25px; }
 .article-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 60px; }
 .article-aside { position: static; }
 .article-aside nav { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
 .article-body { font-size: 1.0625rem; }
 .article-body .article-lead { font-size: 1.2rem; }
 .article-body h2 { font-size: 1.5rem; }
 .article-body section { margin-top: 35px; }
 .article-takeaway { padding: 25px; }
 .policy-body h2 { font-size: 1.4rem; line-height: 1.5; }
 .footer-bottom { padding-top: 18px; }
 .footer-bottom nav { gap: 4px 20px; }
}
@media (max-width: 390px) {
 .hero h1 { font-size: 2.35rem; }
 .hero-actions { align-items: flex-start; flex-direction: column; }
 .client-name-he { font-size: 2.1rem; }
 .article-aside nav { grid-template-columns: 1fr; }
}
@media (prefers-contrast: more) {
 .case-zeekr > p:not(.eyebrow), .case-zeekr .eyebrow { color: white; }
 .item-number, .process li:before { color: #243e33; }
 .inline-link { color: #07483f; }
}
@media print {
 .header, .contact, .footer-shell, .article-aside nav, .in-page-links { display: none; }
 .article-layout, .method-layout { display: block; }
 .article-aside { position: static; margin-bottom: 25px; }
 .page-intro { padding-block: 20px; }
 .case-zeekr { background: white; color: black; border: 1px solid #777; }
 .case-zeekr p, .case-zeekr .eyebrow { color: #222 !important; }
}

/* User-requested mobile header: menu right, brand left. */
@media (max-width: 760px) {
  .nav { flex-direction: row-reverse; }
  .mobile-nav { margin-inline-start: 0; }
  .nav-contact { margin-inline-start: 0; margin-inline-end: auto; }
}
