/* One continuous photograph behind the content, including on mobile Safari. */
@media screen {
  body { isolation:isolate; background-color:#e7f0f0; }
  body::before {
    content:""; position:fixed; inset:-7px; z-index:-1; pointer-events:none;
    background:linear-gradient(135deg,#f4f8fa,#dce9ee) center 55% / cover no-repeat;
    filter:blur(3px) saturate(.72);
  }
  main > :is(.section,.office-rail,.career-openings,.career-intro,.career-culture,.career-guide) {
    background:rgb(248 251 251 / 88%);
  }
  main > :is(.people-section,.office-rail,.career-culture,.contact-directory.closing) {
    background:rgb(233 244 246 / 88%);
  }
  main > .hero[aria-labelledby="hero-title"] {
    background:linear-gradient(100deg, rgb(247 252 252 / 95%), rgb(240 248 250 / 76%) 55%,rgb(231 244 247 / 54%));
  }
  body[data-preview] main > .hero { background:linear-gradient(110deg, #102b3ef7,#102b3ed4 75%,#17394cc4); }
  .career-header, .catalog-items, .form { background:#fff; }
}
:root { --action-ink:#16485c; --action-line:#a4bbc5; --action-fill:#15596a; }
:where(a,button,summary,select,input,textarea):focus-visible {
  outline:3px solid #096b80; outline-offset:3px;
}
.hero .actions, .journey-actions, .service-action-row, .post-actions {
  display:flex; flex-wrap:wrap; align-items:center; gap:.55rem;
}
.journey-card { display:flex; flex-direction:column; align-items:flex-start; }
.journey-actions { margin-top:auto; padding-top:.65rem; }
.journey-card .journey-actions a, .catalog-copy .choose-service, .job-row .card-detail,
.career-ghost, .career-cta, .firm-search-toggle, .firm-cta, .hero .btn, .contact-send,
.career-discover button, .news-filter, .return-jobs, .journey-print, #catalog-reset {
  box-sizing:border-box; min-height:44px; border-radius:.55rem; font-weight:700;
}
.journey-card .journey-actions a, .catalog-copy .choose-service, .job-row .card-detail {
  display:inline-flex; align-items:center; width:fit-content; margin:0; padding:.45rem .8rem;
  border:1px solid var(--action-line); background:#fff; color:var(--action-ink); text-decoration:none;
}
.service-action-row { margin-top:1rem; }
.catalog-copy .choose-service, .job-row .card-detail { background:var(--action-fill); border-color:var(--action-fill); color:white; }
.journey-actions a:hover, .catalog-copy .choose-service:hover, .job-row .card-detail:hover { box-shadow:0 0 0 2px #48849666; }
.catalog-group .catalog-item > summary { min-height:48px; padding-inline:.85rem; }
.catalog-group .catalog-copy { padding:.2rem .85rem 1.05rem; }
.catalog-copy h4 { margin:.9rem 0 .25rem; font-size:1rem; color:#204654; }
.catalog-copy small, .inquiry-prep { border-inline-start:3px solid #468190; background:#eef5f6; padding:.65rem .8rem; line-height:1.6; }
.catalog-category:focus-visible, .catalog-item > summary:hover { background:#ebf5f7; }
.news-filter[aria-pressed=true], .career-discover button[aria-pressed=true] { background:#174f60; color:#fff; border-color:#174f60; }
.inquiry-prep { margin:.75rem 0; color:#244654; font-size:.94rem; }
.inquiry-prep strong { display:block; }
.inquiry-prep p { margin:.2rem 0; }
.contact-office:target { outline:3px solid #368093; outline-offset:3px; }
.brief-detail { margin:.75rem 0; }
.brief-detail summary, .career-faq summary { cursor:pointer; min-height:44px; align-content:center; font-weight:700; }
.job-row .card-detail { margin-top:auto; }
.job-row .job-row-footer { margin-bottom:1rem; }
.photo-source { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; font: .8rem/1.45 system-ui,sans-serif; }
.photo-source a { float:none; color:inherit; text-underline-offset:.15em; }
.firm-tools .language-options { display:flex; gap:2px; }
.firm-tools .language-options button { min-width:32px; min-height:36px; cursor:pointer; opacity:1; }
.language-guide { width:min(32rem,calc(100% - 2rem)); max-height:82dvh; overflow:auto; border:1px solid #bfd2d7; border-radius:14px; padding:1.5rem; color:#193c50; }
.language-guide::backdrop { background:#122d42a8; }
.language-guide h2 { margin:0 0 .8rem; }
.language-guide h3 { font-size:1.02rem; margin:1rem 0 .25rem; }
.language-guide p { margin:.3rem 0 .85rem; line-height:1.55; }
.language-guide button { min-height:44px; padding:0 1rem; border:1px solid var(--action-line); border-radius:8px; background:white; cursor:pointer; }
@media(max-width:640px) {
  .hero .actions > a { flex:1 1 8rem; text-align:center; justify-content:center; }
  .firm-tools { width:100%; row-gap:.35rem; }
  .firm-tools .language-options { margin-inline-end:auto; }
  .firm-header .firm-nav { flex-wrap:wrap; }
  .mega-entry > summary { min-height:40px; }
}
@media(forced-colors:active) { body::before { display:none; } }

/* Utility controls use the same hit area without competing with the primary action. */
.motion-controls button, .firm-suggestions button, #firm-search-close,
.career-nav a, .post-actions button, #application button, .post-actions .cv-template a {
  min-height:44px; border-radius:.55rem;
}
.motion-controls button, .firm-suggestions button, #firm-search-close {
  padding-inline:.75rem; font-weight:650;
}
.career-nav a { display:inline-flex; align-items:center; }
.firm-header .firm-cta, .contact-plan .contact-send, .career-openings .post-actions button {
  background:var(--action-fill); border-color:var(--action-fill); color:white;
}
:is(.firm-cta,.contact-send,.card-detail,.choose-service):active { box-shadow:inset 0 0 0 2px #ffffff80; }
.hq-story-more > summary, .hq-gallery details > summary, .career-guide details > summary {
  min-height:44px; padding-block:.55rem; cursor:pointer; color:#19485e;
}
.news-card .brief-detail summary { color:#19566b; }
.btn:focus-visible, .catalog-category:focus-visible, .office-map-pin:focus-visible,
.job-row a:focus-visible { outline:3px solid #21697a; outline-offset:3px; }

footer .copyright-notice { display:block; padding-block:.8rem 1rem; line-height:1.6; }
