@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.staffing-page { --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; }
.peo-page { --display: "Source Serif 4", Georgia, serif; }
.staffing-page main h1 { font-size: 72px; line-height: 1.04; letter-spacing: -.01em; }
.staffing-page main h2 { font-size: 44px; line-height: 1.1; letter-spacing: 0; }
.peo-page main h1 { font-size: 60px; line-height: 1.1; letter-spacing: -.02em; }
.peo-page main h2 { font-size: 36px; line-height: 1.2; letter-spacing: -.01em; }
.service-page main h3 { font: 600 24px/30px var(--body); letter-spacing: 0; }
.service-hero { padding-block: 64px 72px; }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 48px; }
.service-hero h1 { max-width: 16ch; }
.service-lead { max-width: 52ch; margin-top: 24px; font-size: 20px; line-height: 30px; }
.service-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.service-hero-photo picture { display: block; background: #dde2df; aspect-ratio: 3 / 2; }
.service-hero-photo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 75% center; }
.service-section { padding-block: 80px; }
.service-section-heading { margin-bottom: 32px; }
.service-section-heading p { max-width: 62ch; margin-top: 20px; }
.detail-list { margin: 0; }
.detail-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding-block: 28px; border-top: 1px solid var(--rule); }
.detail-row:last-child { border-bottom: 1px solid var(--rule); }
.detail-row p { max-width: 64ch; }
.service-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; }
.service-split > div { min-width: 0; }
.service-split p { max-width: 64ch; }
.service-split p + p { margin-top: 20px; }
.industries-section { padding-top: 0; }
.industry-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.industry-list li { padding-block: 12px; border-bottom: 1px solid var(--rule); }
.industry-list li:nth-child(-n + 2) { border-top: 1px solid var(--rule); }
.screening-section { padding-top: 0; }
.support-copy .text-link { margin-top: 20px; }
.service-coverage { padding-block: 40px; background: var(--pale-blue); }
.service-coverage .coverage-statement { font-size: 20px; line-height: 30px; }
.service-coverage p + p { margin-top: 16px; }
.service-coverage .coverage-qualification { font-size: 16px; line-height: 25.6px; }
.service-contact { padding-block: 64px; }
.service-contact .service-split { align-items: start; }
.service-contact h2 { max-width: 17ch; }
.service-contact .contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.service-contact .contact-email { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.peo-introduction { padding-bottom: 0; }
.peo-introduction h2 { max-width: 14ch; }
.standalone-section { padding-top: 0; scroll-margin-top: 32px; }
.standalone-heading { padding-top: 64px; border-top: 1px solid var(--rule); }
.standalone-heading h2 { max-width: 28ch; }
.standalone-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.standalone-list h3 { margin-bottom: 12px; }
.standalone-list p { max-width: 38ch; }

@media (max-width: 1023px) {
  .staffing-page main h1 { font-size: 60px; line-height: 1.06; }
  .staffing-page main h2 { font-size: 40px; line-height: 1.1; }
  .peo-page main h1 { font-size: 48px; line-height: 1.12; }
  .peo-page main h2 { font-size: 32px; line-height: 1.2; }
  .service-hero { padding-block: 48px 64px; }
  .service-hero-grid { gap: 32px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .service-hero h1 { max-width: 15ch; }
  .service-actions { margin-top: 24px; }
  .service-section { padding-block: 64px; }
  .service-section-heading { margin-bottom: 28px; }
  .detail-row { padding-block: 24px; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); }
  .service-split { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); }
  .industries-section, .screening-section, .standalone-section { padding-top: 0; }
  .peo-introduction { padding-bottom: 0; }
  .service-contact { padding-block: 56px; }
  .standalone-list { grid-template-columns: 1fr; gap: 28px; }
  .standalone-list > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: 24px; }
  .standalone-list h3 { margin-bottom: 0; }
  .standalone-list p { max-width: 64ch; }
  .standalone-heading { padding-top: 48px; }
}

@media (max-width: 767px) {
  .staffing-page main h1 { font-size: 48px; line-height: 1.08; }
  .staffing-page main h2 { font-size: 34px; line-height: 1.12; }
  .peo-page main h1 { font-size: 40px; line-height: 1.14; }
  .peo-page main h2 { font-size: 28px; line-height: 1.22; }
  .service-page main h3 { font-size: 22px; line-height: 28.6px; }
  .service-hero { padding-block: 32px 48px; }
  .service-hero-grid, .peo-page .service-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-lead { margin-top: 20px; font-size: 18px; line-height: 28.8px; }
  .service-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .service-section { padding-block: 48px; }
  .service-section-heading { margin-bottom: 24px; }
  .service-section-heading p { margin-top: 16px; }
  .detail-row { grid-template-columns: 1fr; gap: 12px; }
  .service-split { grid-template-columns: 1fr; gap: 24px; }
  .industries-section, .screening-section, .standalone-section { padding-top: 0; }
  .industry-list { grid-template-columns: 1fr; }
  .industry-list li:nth-child(2) { border-top: 0; }
  .service-coverage { padding-block: 32px; }
  .service-coverage .coverage-statement { font-size: 18px; line-height: 28.8px; }
  .service-contact { padding-block: 48px; }
  .service-contact .contact-links { flex-direction: column; align-items: flex-start; gap: 8px; }
  .peo-introduction { padding-bottom: 0; }
  .standalone-heading { padding-top: 40px; }
  .standalone-list { gap: 24px; }
  .standalone-list > div { grid-template-columns: 1fr; gap: 12px; }
}

/* The staffing photograph meets a full-height navy rail at the page edge. */
.staffing-page .service-hero { padding: 0; background: var(--navy); color: var(--paper); }
.staffing-page .service-hero-grid { grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); align-items: stretch; gap: 0; }
.staffing-page .service-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px 64px max(var(--gutter), calc((100vw - 1200px) / 2)); }
.staffing-page .service-hero h1 { max-width: 12ch; color: var(--paper); font-size: clamp(64px, 6.1vw, 88px); line-height: 1; }
.staffing-page .service-hero .eyebrow { color: #c8d8e1; }
.staffing-page .service-lead { max-width: 34ch; }
.staffing-page .service-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
.staffing-page .service-hero .button { background: var(--paper); color: var(--navy); }
.staffing-page .service-hero .button:hover { background: #dce8ee; }
.staffing-page .service-hero .text-link { color: var(--paper); }
.staffing-page .service-hero .text-link:hover { color: #c8d8e1; }
.staffing-page .service-hero :focus-visible { outline-color: var(--paper); }
.staffing-page .service-hero-photo { position: relative; min-height: 590px; }
.staffing-page .service-hero-photo picture { position: absolute; inset: 0; aspect-ratio: auto; }
.staffing-page .service-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-position: 48% 35%; }
.staffing-page .service-hero + .service-section { background: var(--paper); }
.staffing-page .industries-section { padding-top: 64px; }

/* The PEO image extends beyond the paper hero into the introduction below. */
.peo-page .service-hero { padding: 0; background: var(--paper); }
.peo-page .service-hero-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); align-items: stretch; gap: 0; }
.peo-page .service-hero-copy { padding: 72px 64px 88px max(var(--gutter), calc((100vw - 1200px) / 2)); }
.peo-page .service-hero h1 { max-width: 15ch; font-size: clamp(48px, 4.45vw, 64px); line-height: 1.1; }
.peo-page .service-lead { max-width: 42ch; }
.peo-page .service-hero-photo { position: relative; min-height: 500px; margin-block: 32px -64px; }
.peo-page .service-hero-photo picture { position: absolute; inset: 0; aspect-ratio: auto; }
.peo-page .service-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-position: 61% 50%; }
.peo-page .peo-introduction { padding-block: 136px 80px; }
.peo-page .peo-coverage-note { padding-block: 44px; background: var(--navy); color: var(--paper); }
.peo-page .peo-coverage-note .service-split { align-items: center; }
.peo-page .peo-coverage-note h2 { max-width: 14ch; color: var(--paper); font: 600 30px/1.2 var(--display); letter-spacing: -.01em; }
.peo-page .peo-coverage-note p { max-width: 58ch; }
.peo-page .peo-coverage-note .text-link { margin-top: 12px; color: var(--paper); }
.peo-page .peo-coverage-note .text-link:hover { color: #c8d8e1; }
.peo-page .peo-coverage-note :focus-visible { outline-color: var(--paper); }

@media (min-width: 1024px) and (max-width: 1199px) {
  .staffing-page .service-hero-copy { padding-right: 32px; }
  .staffing-page .service-lead { font-size: 18px; line-height: 28.8px; }
  .peo-page .service-hero-copy { padding-right: 40px; }
}

@media (max-width: 1023px) {
  .staffing-page .service-hero-grid, .peo-page .service-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .staffing-page .service-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 48px var(--gutter); }
  .staffing-page .service-hero h1 { max-width: 12ch; font-size: 64px; }
  .staffing-page .service-lead { margin-top: 0; }
  .staffing-page .service-hero-photo { min-height: 0; aspect-ratio: 2 / 1; max-height: 460px; }
  .staffing-page .service-hero-photo img { object-position: 50% 35%; }
  .peo-page .service-hero-copy { padding: 48px var(--gutter); }
  .peo-page .service-hero h1 { max-width: 20ch; font-size: 52px; }
  .peo-page .service-lead { max-width: 50ch; }
  .peo-page .service-hero-photo { min-height: 0; aspect-ratio: 2 / 1; margin: 0 var(--gutter) -40px; }
  .peo-page .service-hero-photo img { object-position: 50% 44%; }
  .peo-page .peo-introduction { padding-block: 96px 64px; }
  .peo-page .peo-coverage-note { padding-block: 36px; }
  .peo-page .peo-coverage-note h2 { font-size: 28px; }
}

@media (max-width: 767px) {
  .staffing-page .service-hero-copy { display: block; padding-block: 36px; }
  .staffing-page .service-hero h1 { max-width: 14ch; font-size: clamp(48px, 9.6vw, 64px); }
  .staffing-page .service-lead { margin-top: 20px; max-width: 44ch; }
  .staffing-page .service-actions { gap: 12px; }
  .staffing-page .service-hero-photo { aspect-ratio: 3 / 2; max-height: 360px; }
  .staffing-page .industries-section { padding-top: 48px; }
  .peo-page .service-hero-copy { padding-block: 36px 32px; }
  .peo-page .service-hero h1 { max-width: 16ch; font-size: 40px; line-height: 1.14; }
  .peo-page .service-hero-photo { margin: 0 0 -24px var(--gutter); aspect-ratio: 16 / 9; max-height: 360px; }
  .peo-page .peo-introduction { padding-block: 64px 48px; }
  .peo-page .peo-coverage-note { padding-block: 32px; }
  .peo-page .peo-coverage-note .service-split { gap: 20px; }
  .peo-page .peo-coverage-note h2 { max-width: none; font-size: 26px; }
}
