/* Expertise uses the site's existing type, spacing and color system. */
.expertise-home,
.expertise-context-band,
.expertise-directory,
.expertise-section {
  color: var(--black);
}

.expertise-home {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 54px;
  padding: 72px max(38px, calc((100% - 1360px) / 2));
  background: #edf5ff;
  border-bottom: 1px solid var(--line-light);
}

.expertise-home h2 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.08;
}

.expertise-home-copy > p {
  max-width: 730px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.expertise-home .section-kicker { margin-bottom: 26px; }
.expertise-home .hero-actions { margin-top: 26px; }
.expertise-page .text-link,
.expertise-home .text-link,
.expertise-context-band .text-link { color: #005fc5; background: transparent; border: 0; border-bottom: 1px solid #8eb7e8; text-align: left; text-transform: none; font-weight: 600; }
.expertise-page .button::after { display: none; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.expertise-tags span { padding-bottom: 7px; border-bottom: 1px solid #abc6e7; font-size: 13px; }
.expertise-home-photo { position: relative; min-width: 0; margin: 0; }
.expertise-home-photo img { display: block; width: 100%; height: 100%; min-height: 340px; max-height: 480px; object-fit: cover; }
.expertise-home-photo figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 14px; background: #fff; color: var(--black); font-size: 12px; line-height: 1.5; }

.service-map .expertise-map-card {
  grid-column: 1 / -1;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px 38px;
  min-height: 0;
  color: var(--black);
  background: #dcecff;
}
.expertise-map-card > span { grid-column: 1; }
.expertise-map-card > h3 { grid-column: 1; grid-row: 2; }
.expertise-map-card > .service-scope { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.expertise-map-card > strong { grid-column: 2; }
.service-map .expertise-map-card:hover { color: var(--black); background: #cce3ff; }
.expertise-map-card:hover .service-scope { border-color: #a1bddd; }
.expertise-map-card:hover .service-scope em { color: var(--muted); }
.expertise-map-card:hover strong { color: #005fc5; }

.expertise-context-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
  align-items: center;
  gap: 28px 54px;
  padding: 54px max(38px, calc((100% - 1360px) / 2));
  background: #eaf3ff;
  border-block: 1px solid #d1e0f2;
}
.expertise-context-band h2 { max-width: 820px; margin: 14px 0; font-size: 34px; line-height: 1.16; }
.expertise-context-band p { max-width: 780px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.expertise-context-band > a { justify-self: start; max-width: 320px; line-height: 1.6; }

.expertise-directory { background: #edf5ff; scroll-margin-top: 108px; }
.expertise-directory .directory-head > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.expertise-directory .directory-head span {
  display: block;
  width: fit-content;
  max-width: 100%;
  height: auto;
  padding-bottom: 8px;
  color: #005fc5;
  border: 0;
  border-bottom: 2px solid #8eb7e8;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}
.expertise-directory-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #b8cee7; }
.expertise-directory-links > a { display: grid; align-content: start; gap: 18px; padding: 30px 26px; color: var(--black); border-right: 1px solid #b8cee7; transition: background 200ms ease; }
.expertise-directory-links > a:first-child { padding-left: 0; }
.expertise-directory-links > a:last-child { border-right: 0; }
.expertise-directory-links > a:hover { background: #dcecff; }
.expertise-directory-links span { color: var(--muted); font-size: 12px; }
.expertise-directory-links h3 { font-size: 27px; line-height: 1.2; }
.expertise-directory-links p { font-size: 16px; line-height: 1.6; }
.expertise-directory-links strong { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.expertise-catalog-topics { display: flex; flex-wrap: wrap; gap: 18px 36px; margin-top: 26px; font-size: 15px; }
.expertise-catalog-topics a { color: #005fc5; text-decoration: underline; text-underline-offset: 5px; }
.expertise-topic-links { background: #f1f7fd; }
.expertise-topic-links h3 { margin-top: 0; }
.expertise-topic-links h3 a:hover { color: #005fc5; }
.expertise-result-copy,
.expertise-reading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.expertise-result-copy .expertise-heading { margin-bottom: 0; }
.expertise-result-explanation { padding-top: 30px; border-top: 1px solid #bacde2; }
.expertise-result-explanation h3 { margin-bottom: 22px; font-size: 28px; line-height: 1.25; }
.expertise-result-explanation p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.expertise-result-explanation p + p { margin-top: 18px; }
.expertise-document-list h3 { font-size: 25px; line-height: 1.25; }
.expertise-reading { background: #edf5ff; }
.expertise-reading h2 { margin: 18px 0 24px; font-size: 32px; }
.expertise-reading nav { display: grid; }
.expertise-reading a { padding-block: 18px; border-top: 1px solid #bacde2; font-size: 17px; line-height: 1.5; text-decoration: underline; text-underline-offset: 5px; }
.expertise-reading a:hover { color: #005fc5; }
.expertise-detail-page .expertise-hero-copy { max-width: 930px; }
.expertise-detail-page .expertise-hero h1 { font-size: 56px; }
.expertise-detail-page .expertise-hero h1 span { display: inline-block; max-width: 900px; }
.expertise-detail-page h2 { overflow-wrap: anywhere; }

.expertise-page { --expertise-header-height: 92px; }
.expertise-page main { overflow: clip; }
.expertise-hero { position: relative; isolation: isolate; min-height: 690px; overflow: hidden; background: #edf5ff; }
.expertise-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 48%; }
.expertise-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #edf5ff 2%, rgba(237,245,255,.98) 35%, rgba(237,245,255,.8) 58%, rgba(237,245,255,.12) 100%); }
.expertise-hero-inner { max-width: 1436px; margin: 0 auto; padding: 30px 38px 66px; position: relative; }
.expertise-hero .crumbs { margin-bottom: 40px; font-size: 12px; line-height: 1.6; }
.expertise-hero-copy { max-width: 920px; }
.expertise-hero h1 { margin: 20px 0 24px; font-family: var(--font-display); font-size: 65px; line-height: 1.04; letter-spacing: 0; }
.expertise-hero h1 span { color: #0066d8; }
.expertise-hero-lead { max-width: 660px; font-size: 25px; font-weight: 600; line-height: 1.4; }
.expertise-hero-detail { max-width: 620px; margin-top: 20px; color: #41556b; font-size: 17px; line-height: 1.7; }
.expertise-hero .hero-actions { margin-top: 30px; }
.expertise-hero-note { position: absolute; right: 38px; bottom: 64px; padding: 22px 0 0 24px; color: #fff; border-left: 2px solid #fff; text-shadow: 0 1px 12px rgba(0,0,0,.65); }
.expertise-hero-note > span { font-size: 12px; }
.expertise-hero-note strong { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 30px; line-height: 1.18; }
.expertise-hero-note p { max-width: 220px; margin-top: 16px; font-size: 12px; line-height: 1.6; }

.expertise-page-nav { position: sticky; top: var(--expertise-header-height); z-index: 85; display: flex; gap: 36px; padding: 20px max(38px, calc((100% - 1360px) / 2)); overflow-x: auto; color: #14243a; background: rgba(253,253,251,.97); border-bottom: 1px solid var(--line-light); }
.expertise-page-nav a { flex-shrink: 0; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #b6c9dd; }
.expertise-page-nav a:hover { color: #007aff; }
.expertise-section { padding: 88px max(38px, calc((100% - 1360px) / 2)); background: var(--paper); }
.expertise-page :is(section[id], article[id]) { scroll-margin-top: 184px; }
.expertise-heading { max-width: 850px; margin-bottom: 40px; }
.expertise-heading h2,
.expertise-company h2 { margin: 18px 0 22px; font-size: 46px; line-height: 1.1; }
.expertise-heading p { max-width: 740px; margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.expertise-heading .button { margin-top: 26px; }
.expertise-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid #bacde2; }
.expertise-formats > article { position: relative; display: flex; flex-direction: column; padding: 38px 42px 38px 0; }
.expertise-formats > article + article { padding-left: 42px; border-left: 1px solid #bacde2; }
.expertise-format-number { position: absolute; top: 28px; right: 28px; color: #b3cbe4; font-family: var(--font-display); font-size: 58px; line-height: 1; font-weight: 600; }
.expertise-formats .service-eyebrow { padding-right: 70px; font-size: 12px; }
.expertise-formats h3 { position: relative; max-width: 440px; margin: 30px 0 18px; font-size: 34px; line-height: 1.18; }
.expertise-formats p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.expertise-formats ul { margin: 22px 0 26px; padding-left: 20px; font-size: 16px; line-height: 1.65; }
.expertise-formats li + li { margin-top: 12px; }
.expertise-format-result { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px solid #c8d7e8; }
.expertise-format-result span { font-size: 12px; color: var(--muted); }
.expertise-format-result strong { max-width: 440px; font-size: 19px; font-weight: 600; line-height: 1.5; }
.expertise-formats .text-link { align-self: flex-start; margin-top: 25px; }
.expertise-format-footnote { max-width: 1010px; margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.expertise-scope { background: #f1f7fd; }
.expertise-scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 50px; }
.expertise-scope-list article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 32px 0; border-top: 1px solid #c0d2e6; }
.expertise-scope-list article > span { color: #007aff; font-family: var(--font-nav); font-size: 14px; }
.expertise-scope-list h3 { margin-bottom: 14px; font-size: 25px; line-height: 1.25; }
.expertise-scope-list p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.expertise-scope-list a { display: inline-block; margin-top: 18px; color: #005fc5; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.expertise-result,
.expertise-start,
.expertise-company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; }
.expertise-result { background: #dfeeff; }
.expertise-result .expertise-heading,
.expertise-start .expertise-heading { margin-bottom: 0; }
.expertise-deliverables { margin: 0; padding: 0; list-style: none; }
.expertise-deliverables li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid #b1cbe8; }
.expertise-deliverables li > span { font-size: 13px; color: #005fc5; }
.expertise-deliverables h3 { font-size: 21px; margin-bottom: 10px; }
.expertise-deliverables p { color: #4e647d; font-size: 16px; line-height: 1.6; }
.expertise-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.expertise-process li { padding-top: 22px; border-top: 2px solid #007aff; }
.expertise-process span { color: #007aff; font-family: var(--font-display); font-size: 34px; }
.expertise-process h3 { margin: 24px 0 14px; font-size: 23px; line-height: 1.22; }
.expertise-process p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.expertise-start { background: #f1f7fd; }
.expertise-document-list { padding-top: 8px; }
.expertise-document-list ul { margin: 24px 0; padding-left: 20px; font-size: 17px; line-height: 1.7; }
.expertise-document-list li { padding-bottom: 12px; }
.expertise-document-list p { padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--muted); font-size: 15px; line-height: 1.7; }
.expertise-document-list a { color: #005fc5; text-decoration: underline; overflow-wrap: anywhere; }
.expertise-company { border-bottom: 1px solid var(--line-light); }
.expertise-company p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.expertise-company .text-link { display: inline-block; margin-top: 24px; }
.expertise-company-facts p { display: grid; gap: 12px; padding: 24px 0; border-top: 1px solid #c0d2e6; }
.expertise-company-facts strong { color: var(--black); font-size: 21px; }
.expertise-company-facts span { font-size: 15px; }
.expertise-sources { margin-top: 32px; max-width: 980px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.expertise-sources a { text-decoration: underline; text-underline-offset: 3px; }
.expertise-page .service-final-cta p { max-width: 700px; margin-top: 18px; line-height: 1.7; }
.calculator select:disabled,
.calculator input:disabled { opacity: .5; cursor: default; }
.service-knowledge-list h3 { font-size: 23px; overflow-wrap: anywhere; }

@media (max-width: 1500px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12.5px; white-space: nowrap; }
  .expertise-page { --expertise-header-height: 88px; }
  .expertise-hero-copy { max-width: 880px; }
  .expertise-hero h1 { font-size: 60px; }
  .expertise-hero-note { max-width: 240px; }
}
@media (min-width: 921px) and (max-width: 1320px) {
  .site-header { grid-template-columns: 230px minmax(0, 1fr); gap: 18px; }
  .site-header .brand { width: 230px; }
  .header-contact { display: none; }
  .main-nav { justify-self: end; gap: 12px; }
  .main-nav a { font-size: 12px; }
}
@media (max-width: 1180px) {
  .calculator-layout { grid-template-columns: minmax(0, 1fr); }
  .service-situation-grid h3 { font-size: 28px; overflow-wrap: anywhere; }
  .service-process-copy h2 { font-size: 42px; overflow-wrap: anywhere; }
  .expertise-home { gap: 32px; }
  .expertise-home h2 { font-size: 39px; }
  .expertise-hero-note { display: none; }
  .expertise-formats h3 { font-size: 29px; }
  .expertise-result,
  .expertise-start,
  .expertise-company { gap: 38px; }
  .expertise-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}
@media (max-width: 920px) {
  .site-header .main-nav.is-open { width: calc(100% - 28px); max-height: calc(100dvh - 90px); overflow-y: auto; justify-self: stretch; background: #fff; }
  .site-header .main-nav.is-open a { font-size: 14px; background: #fff; }
  .site-header .main-nav.is-open a[aria-current="page"] { color: #005fc5; background: #edf5ff; }
  .expertise-page { --expertise-header-height: 72px; }
  .expertise-home { grid-template-columns: 1fr; }
  .expertise-home-photo { max-width: 640px; }
  .expertise-home-photo img { max-height: 320px; }
  .expertise-context-band { grid-template-columns: 1fr; gap: 24px; }
  .expertise-directory-links { grid-template-columns: 1fr; }
  .expertise-directory-links > a,
  .expertise-directory-links > a:first-child { padding: 25px 0; border-right: 0; border-bottom: 1px solid #b8cee7; }
  .expertise-hero { min-height: 0; }
  .expertise-hero-inner { padding: 24px 28px 54px; }
  .expertise-hero::after { background: rgba(237,245,255,.93); }
  .expertise-hero h1 { font-size: 54px; }
  .expertise-page-nav { gap: 28px; padding: 20px 28px; }
  .expertise-section { padding: 64px 28px; }
  .expertise-heading h2,
  .expertise-company h2 { font-size: 39px; }
  .expertise-formats { grid-template-columns: 1fr; }
  .expertise-formats > article,
  .expertise-formats > article + article { padding: 32px 0; border-left: 0; }
  .expertise-formats > article + article { border-top: 1px solid #bacde2; }
  .expertise-formats h3 { max-width: none; }
  .expertise-scope-list,
  .expertise-result,
  .expertise-start,
  .expertise-company,
  .expertise-result-copy,
  .expertise-reading { grid-template-columns: 1fr; }
  .expertise-detail-page .expertise-hero h1 { font-size: 48px; }
}
@media (max-width: 600px) {
  .expertise-page .lead-modal-copy h2 { font-size: 32px; }
  .calculator-layout { padding: 26px 18px; gap: 28px; }
  .calculator { width: 100%; min-width: 0; }
  .calculator .button { padding-inline: 14px; font-size: 14px; }
  .expertise-home { padding: 46px 18px; }
  .expertise-home h2 { font-size: 34px; }
  .expertise-home-copy > p { font-size: 16px; }
  .expertise-home .section-kicker { align-items: flex-start; gap: 10px; }
  .expertise-home-photo img { min-height: 240px; max-height: 300px; }
  .expertise-home-photo figcaption { right: 10px; bottom: 10px; left: 10px; font-size: 11px; }
  .service-map .expertise-map-card { grid-template-columns: 1fr; gap: 18px; }
  .expertise-map-card > :is(span, h3, .service-scope, strong) { grid-column: auto; grid-row: auto; }
  .expertise-context-band { padding: 38px 18px; }
  .expertise-context-band h2 { font-size: 28px; }
  .expertise-context-band > a { font-size: 15px; }
  .expertise-hero-inner { padding: 20px 18px 44px; }
  .expertise-hero .crumbs { margin-bottom: 28px; }
  .expertise-hero .service-eyebrow { font-size: 11px; }
  .expertise-hero h1 { font-size: 39px; line-height: 1.07; }
  .expertise-detail-page .expertise-hero h1 { font-size: 35px; line-height: 1.14; }
  .expertise-reading { gap: 40px; }
  .expertise-reading h2 { font-size: 29px; }
  .expertise-result-copy { gap: 30px; }
  .expertise-result-explanation h3 { font-size: 25px; }
  .expertise-hero-lead { font-size: 20px; }
  .expertise-hero-detail { font-size: 16px; }
  .expertise-hero .hero-actions { align-items: flex-start; gap: 22px; }
  .expertise-hero .button { width: 100%; }
  .expertise-page-nav { gap: 25px; padding: 19px 18px; }
  .expertise-page-nav a { font-size: 12px; }
  .expertise-section { padding: 48px 18px; }
  .expertise-heading { margin-bottom: 26px; }
  .expertise-heading h2,
  .expertise-company h2 { font-size: 33px; }
  .expertise-heading p { font-size: 16px; }
  .expertise-formats h3 { font-size: 29px; }
  .expertise-format-number { right: 0; font-size: 47px; }
  .expertise-formats .service-eyebrow { padding-right: 65px; font-size: 11px; }
  .expertise-formats p { font-size: 16px; }
  .expertise-format-result strong { font-size: 18px; }
  .expertise-scope-list article { grid-template-columns: 27px minmax(0, 1fr); gap: 10px; padding: 25px 0; }
  .expertise-scope-list h3 { font-size: 24px; }
  .expertise-process { grid-template-columns: 1fr; gap: 28px; }
  .expertise-process h3 { margin-top: 15px; }
  .expertise-document-list ul { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-directory-links > a { transition: none; }
}
