:root {
  --ink: #003349;
  --ink-deep: #003349;
  --ink-soft: #1A658F;
  --mist: #eef2f2;
  --paper: #f9faf9;
  --line: #BBBCBC;
  --white: #ffffff;
  --text-muted: #53565A;
  --type: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --shell: 1340px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--type); font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: var(--ink); background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,.18); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; color: var(--white); background: var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: block; }
.brand img { width: 211px; height: 52px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav a { position: relative; padding: 6px 0; color: rgba(255,255,255,.95); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ''; background: var(--white); transform: scaleX(0); transform-origin: right; transition: transform .24s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero-banner { width: 100%; height: clamp(300px, 34vw, 510px); overflow: hidden; background: var(--mist); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.companies { padding: 86px 0 92px; background: var(--paper); }
.companies__heading { display: grid; grid-template-columns: 1.12fr .8fr; column-gap: 12%; align-items: end; margin-bottom: 66px; }
.eyebrow { display: flex; grid-column: 1 / -1; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 1px; background: currentColor; }
h1 { margin: 0; color: var(--ink); font-size: clamp(55px, 6.6vw, 95px); font-weight: 700; letter-spacing: -.08em; line-height: .9; }
h1 em { font-family: var(--serif); font-size: 1.08em; font-weight: 400; letter-spacing: -.095em; }
.companies__heading > p:last-child { max-width: 390px; margin: 0 0 7px; color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.5; }

.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.company-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 263px; padding: 22px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.company-card::before { position: absolute; right: -32px; bottom: -80px; width: 180px; height: 180px; border: 1px solid rgba(14,60,81,.12); border-radius: 50%; content: ''; transition: transform .5s ease; }
.company-card:hover { z-index: 1; background: #f9fcfd; box-shadow: 0 18px 40px rgba(14,60,81,.13); transform: translateY(-6px); }
.company-card:hover::before { transform: scale(1.28); }
.company-card__logo { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex: 1; min-height: 114px; margin: 12px 6px 8px; }
.company-card__logo img { width: min(100%, 210px); max-height: 106px; object-fit: contain; }
.company-card__logo--beehive img { max-height: 116px; }
.company-card__action { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(14,60,81,.14); color: #53565A; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.company-card__action span { color: var(--ink); font-size: 16px; }
.company-card--diamond, .company-card--ihs { color: var(--ink); background: var(--white); }
.company-card--diamond:hover, .company-card--ihs:hover { background: var(--white); }
.company-card--ihs .company-card__logo img { width: min(100%, 220px); }
.company-card--sameday .company-card__logo img { width: min(100%, 262px); max-height: 124px; }
.company-card--walker .company-card__logo img { width: min(100%, 222px); }

.site-footer { color: rgba(255,255,255,.72); background: var(--ink-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.8fr .75fr 1.1fr .7fr; gap: 45px; padding: 66px 0 52px; }
.site-footer__brand img { width: 185px; height: 53px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .92; }
.site-footer__brand > p { max-width: 200px; margin: 15px 0 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.5; }
.footer-label { margin: 0 0 17px; color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a:not(.site-footer__brand) { display: block; margin: 8px 0; font-size: 12px; transition: color .2s ease; }
.site-footer a:hover { color: var(--white); }
.site-footer p:not(.footer-label) { margin: 0 0 10px; font-size: 12px; line-height: 1.6; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.45); font-size: 10px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom div { display: flex; gap: 20px; }
.site-footer__bottom a { margin: 0; }

:focus-visible { outline: 2px solid #A9C9E2; outline-offset: 3px; }

@media (max-width: 1000px) {
  .companies { padding-top: 76px; }
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .company-card { min-height: 232px; }
  .site-footer__grid { grid-template-columns: 1.7fr 1fr 1.2fr; }
  .site-footer__grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 690px) {
  .shell { width: min(100% - 40px, var(--shell)); }
  .site-header__inner { min-height: 68px; }
  .brand img { width: 183px; height: 46px; }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 38px; height: 38px; padding: 0; border: 0; color: var(--white); background: transparent; cursor: pointer; }
  .menu-toggle__line { display: block; width: 25px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded='true'] .menu-toggle__line:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-toggle__line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: 10px 20px; background: var(--ink-deep); box-shadow: 0 18px 27px rgba(4,24,35,.24); transform: scaleY(0); transform-origin: top; transition: transform .2s ease; }
  .primary-nav.is-open { transform: scaleY(1); }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .primary-nav a:last-child { border-bottom: 0; }
  .hero-banner { height: 255px; }
  .hero-banner img { object-position: center center; }
  .companies { min-height: auto; padding: 68px 0 78px; }
  .companies__heading { display: block; margin-bottom: 43px; }
  .companies__heading > p:last-child { margin: 24px 0 0; }
  h1 { font-size: clamp(54px, 17vw, 72px); }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .company-card { min-height: 202px; padding: 16px; }
  .company-card__logo { min-height: 81px; margin: 3px 2px; }
  .company-card__logo img { max-height: 78px; }
  .company-card__action { font-size: 9px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 23px; padding: 51px 0 40px; }
  .site-footer__brand, .site-footer__grid > :last-child { grid-column: 1 / -1; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 9px; padding: 17px 0; }
}

@media (max-width: 380px) {
  .company-card { min-height: 180px; padding: 13px; }
  .company-card__logo img { max-height: 66px; }
  .company-card__action { font-size: 8px; }
  .company-card__action span { font-size: 14px; }
}
