.company-page {
  background: var(--white);
}

.company-page .site-nav [aria-current="page"] {
  border-color: var(--blue);
}

.company-page :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.company-hero {
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blue-pale);
}

.company-hero-grid {
  display: grid;
  grid-template-areas:
    "eyebrow copy"
    "graphic copy";
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  column-gap: clamp(40px, 8vw, 120px);
  row-gap: 0;
  align-items: start;
}

.company-hero .eyebrow {
  grid-area: eyebrow;
  margin: 12px 0 0;
}

.company-hero-copy {
  grid-area: copy;
}

.company-evidence-figure {
  grid-area: graphic;
  width: min(100%, 320px);
  margin: 28px 0 0;
}

.company-evidence-graphic {
  display: block;
  width: 100%;
  height: auto;
}

.company-evidence-panel {
  fill: #ffffff;
  stroke: #cbd4de;
  stroke-width: 1.5;
}

.company-evidence-registration {
  fill: none;
  stroke: #9eacbb;
  stroke-width: 1.5;
}

.company-evidence-trace,
.company-evidence-icon {
  fill: none;
  stroke: #6888b0;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.company-evidence-icon circle {
  fill: #ffffff;
}

.company-evidence-label {
  fill: #313d50;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
}

.company-evidence-endpoint {
  fill: #526f94;
}

.company-evidence-mark {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 3;
}

.company-hero h1 {
  max-width: 820px;
  margin: 0 0 34px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.02;
}

.company-story {
  max-width: 800px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.6;
}

.company-references {
  padding: var(--section-space) 0;
}

.company-references h2,
.company-method h2 {
  margin-bottom: 42px;
  font-size: var(--process-heading-size);
}

.company-reference-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.company-reference-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 152px;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-reference-item > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.company-reference-item img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.company-reference-item--dark {
  background: #313d50;
}

.company-reference-item--compact img {
  max-width: 122px;
}

.company-method {
  padding: var(--section-space) 0;
  background: #313d50;
  color: #eef3f8;
}

.company-method h2,
.company-method h3 {
  color: var(--white);
}

.company-principle-list {
  display: grid;
  border-top: 1px solid #657489;
  border-left: 1px solid #657489;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-principle-list article {
  min-width: 0;
  padding: 30px 26px;
  border-right: 1px solid #657489;
  border-bottom: 1px solid #657489;
}

.company-principle-list h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.company-principle-list p {
  margin: 0;
  color: #d3dce6;
}

.company-contact {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.company-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.company-contact h2 {
  margin: 0;
  font-size: var(--process-heading-size);
}

.company-contact .button {
  min-width: 230px;
}

@media (max-width: 960px) {
  .company-hero-grid {
    grid-template-areas:
      "eyebrow"
      "copy"
      "graphic";
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-hero .eyebrow {
    margin-top: 0;
  }

  .company-evidence-figure {
    width: min(100%, 300px);
    margin-top: 4px;
  }

  .company-principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .company-reference-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-reference-item {
    min-height: 132px;
    padding: 22px 18px;
  }

  .company-reference-item img {
    height: 64px;
  }

  .company-principle-list {
    grid-template-columns: 1fr;
  }

  .company-contact-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .company-contact .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-page {
    scroll-behavior: auto;
  }
}
