/* Client typography and shared navigation/footer revisions. */
:root {
  --client-ink: #02241d;
  --client-serif: 'Noto Serif', Georgia, serif;
  --client-sans: 'Manrope', Arial, sans-serif;
  --serif: var(--client-serif);
  --sans: var(--client-sans);
  --ink: var(--client-ink);
  --muted: var(--client-ink);
}
body[class] .site-shell { color: var(--client-ink); font-family: var(--client-sans); font-size: 16px; font-weight: 400; line-height: 1.8; }
body.rtl .site-shell { --client-serif: 'Noto Naskh Arabic', 'Noto Serif', serif; --client-sans: 'Noto Sans Arabic', 'Manrope', sans-serif; }
body[class] .site-shell h1 { color: var(--client-ink); font-family: var(--client-serif); font-size: 46px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
body[class] .site-shell h2 { color: var(--client-ink); font-family: var(--client-serif); font-size: 36px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
body[class] .site-shell h3 { color: var(--client-ink); font-family: var(--client-serif); font-size: 30px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
body[class] .site-shell p, body[class] .site-shell li, body[class] .site-shell input, body[class] .site-shell select, body[class] .site-shell textarea { color: var(--client-ink); font-family: var(--client-sans); font-size: 16px; font-weight: 400; }
body[class] .site-shell .hero-intro, body[class] .site-shell .article-excerpt { font-size: 20px; font-weight: 300; line-height: 1.8; }
body[class] .site-shell .services-reference-hero-body > p { font-size: 20px; font-weight: 300; line-height: 1.8; }
body[class] .site-shell small, body[class] .site-shell .eyebrow, body[class] .site-shell figcaption, body[class] .site-shell .section-kicker, body[class] .site-shell .blog-date, body[class] .site-shell .article-meta { font-family: var(--client-sans); font-size: 12px; font-weight: 500; }
body[class] .site-shell :is(.impact,.meaning,.hero-services,.booking-panel,.services-reference-hero,.services-reference-cta,.service-card.featured,.method-card.dark) :is(h1,h2,h3,p,li,small) { color: #f8f6f0; }
body[class] .site-shell :is(.services-reference-card:nth-child(2),.services-reference-card:nth-child(4)) :is(h3,p) { color: #f8f6f0; }
body[class] .site-shell .cta-strip :is(h2,p) { color: #02241d; }
body[class] .site-shell .btn { border-radius: 12px; font-family: var(--client-sans); font-size: 16px; font-weight: 600; line-height: 1.5; }
body[class] .site-shell .brand-label { font-family: var(--client-serif); font-style: normal; }
body.rtl .site-shell :is(h1,h2,h3) { letter-spacing: 0; line-height: 1.6; }

.nav-services { position: relative; }
.site-header .main-nav > a { font-size: 16px; }
.nav-services summary { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #53675d; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary svg { width: 16px; height: 16px; transition: transform .18s ease; }
.nav-services[open] summary svg { transform: rotate(180deg); }
.nav-services summary.active { color: var(--green); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 9px; text-decoration-thickness: 2px; }
.nav-services-panel { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; width: min(360px,calc(100vw - 32px)); max-height: min(65vh,480px); overflow: auto; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fffdf8; box-shadow: 0 16px 40px #02241d22; z-index: 40; }
.main-nav .nav-services-panel a { display: block; padding: 11px 14px; margin: 0; border: 0; color: var(--client-ink); font-size: 14px; line-height: 1.6; white-space: normal; border-radius: 7px; }
.main-nav .nav-services-panel a:hover, .main-nav .nav-services-panel a[aria-current='page'] { background: #e9ede5; }
.main-nav .nav-services-panel .all-services-link { font-weight: 700; border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 5px; }
.nav-services summary:focus-visible, .nav-services-panel a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.page-about .nav-services summary, .page-contact .nav-services summary { color: #fff; }

.client-footer .footer-grid { grid-template-columns: minmax(0,1.35fr) minmax(0,1.45fr) minmax(0,1fr) minmax(0,1.25fr); gap: clamp(25px,3.3vw,52px); }
body[class] .site-shell .client-footer .footer-brand { font-family: var(--client-serif); font-size: 26px; font-weight: 500; font-style: normal; color: #e6cb81; line-height: 1.6; }
body[class] .site-shell .client-footer h4 { font-family: var(--client-sans); font-size: 18px; font-weight: 500; letter-spacing: 0; line-height: 1.7; color: #e6cb81; margin-bottom: 20px; text-transform: none; }
body[class] .site-shell .client-footer p { font-size: 16px; color: #e1e9df; line-height: 1.9; max-width: none; }
body[class] .site-shell .client-footer .footer-brand-column > p { font-size: 18px; }
.client-footer .footer-grid a:not(.footer-brand) { font-size: 16px; line-height: 1.8; color: #e1e9df; overflow-wrap: anywhere; }
.client-footer .footer-grid .footer-logo { display: block; width: min(100%,240px); margin-top: 22px; }
.footer-logo img { display: block; width: 100%; height: auto; max-height: 140px; padding: 10px; border-radius: 8px; background: #f8f6f0; object-fit: contain; object-position: center; }
.client-footer .footer-email, .client-footer .footer-phone { direction: ltr; unicode-bidi: isolate; text-align: start; }
.client-footer .footer-social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.client-footer .footer-grid .footer-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid #88a28d; border-radius: 10px; color: #fff; font-size: 14px; }
.client-footer .footer-social a:hover { background: #ffffff12; border-color: #e6cb81; }
.client-footer .privacy-preferences { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; color: #e1e9df; font: 400 16px/1.7 var(--client-sans); }
.client-footer a:focus-visible, .client-footer button:focus-visible { outline: 3px solid #e6cb81; outline-offset: 4px; }
.client-footer .footer-bottom { color: #c5d5c7; font-size: 12px; line-height: 1.8; flex-wrap: wrap; }

@media (max-width: 1100px) and (min-width: 761px) {
  .client-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-footer .footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 970px) {
  .nav-services { width: 100%; }
  .site-header .main-nav { max-height: calc(100dvh - 88px); overflow-y: auto; }
  .nav-services summary { justify-content: space-between; min-height: 44px; padding: 10px 8px; font-size: 15px; }
  .nav-services-panel { position: static; width: 100%; max-height: none; margin-block: 6px 12px; box-shadow: none; }
  .site-header .main-nav .nav-services-panel a { display: block; padding: 12px 14px; }
}
@media (max-width: 760px) {
  .client-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 20px; }
  .client-footer .footer-brand-column { grid-column: 1 / -1; }
  .client-footer .footer-contact { grid-column: 1 / -1; }
  .client-footer .footer-brand-column > p { max-width: 35ch; }
}
@media (max-width: 480px) {
  body[class] .site-shell h1 { font-size: clamp(34px,10vw,46px); }
  body[class] .site-shell h2 { font-size: 32px; }
  body[class] .site-shell h3 { font-size: 26px; }
  .client-footer .footer-grid { grid-template-columns: minmax(0,1fr); }
  .client-footer .footer-brand-column, .client-footer .footer-contact { grid-column: auto; }
}
