/* About Us layout. Fonts, colors, controls and repeated sections stay global. */
.about-page .nav-list a[aria-current="page"] {
  color: var(--purple);
}

.company-intro {
  padding-top: 100px;
  background: linear-gradient(
    to bottom,
    #fff 0,
    #fff calc(100% - 48px),
    var(--violet) calc(100% - 48px),
    var(--violet) 100%
  );
}

.company-intro-grid {
  display: grid;
  grid-template-columns: 928fr 760fr;
  gap: 32px;
  align-items: start;
}

.company-visual {
  position: relative;
  min-width: 0;
  height: 656px;
}

.company-network-window {
  position: relative;
  width: 91.056034%;
  height: 656px;
  overflow: hidden;
}

.company-network {
  position: absolute;
  left: -8.639053%;
  top: -1.829268%;
  width: 117.278107%;
  max-width: none;
  height: auto;
}

.company-engineer-frame {
  position: absolute;
  left: 58.836207%;
  top: 203px;
  width: 41.163793%;
  aspect-ratio: 382 / 329;
  padding: 7px 8px;
  background: #fff;
}

.company-engineer-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-copy {
  padding-top: 42px;
}

.company-copy .eyebrow {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 4.2px;
  margin-bottom: 17px;
}

.company-copy h2 {
  font-size: var(--h2);
  line-height: 70px;
  margin-bottom: 25px;
  white-space: nowrap;
}

.company-copy > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
}

.company-copy > p + p {
  margin-top: 19px;
}

.company-stats {
  background: var(--violet);
  color: #fff;
  padding: 82px 0;
}

.mission-section {
  padding: 100px 0;
}

.mission-heading {
  text-align: center;
}

.mission-heading .eyebrow {
  margin-bottom: 10px;
}

.mission-heading h2 {
  line-height: 74px;
  margin-bottom: 15px;
}

.mission-heading > p:last-child {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.mission-grid {
  width: 82.674419%;
  max-width: 1422px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-card {
  position: relative;
  padding: 50px 37px 50px 46px;
  min-height: 460px;
  background: #fff;
  box-shadow: 0 4px 44px #0000000f;
  overflow: hidden;
}

.mission-corner {
  position: absolute;
  right: 0;
  top: 0;
  width: 137px;
  height: 144px;
  border-bottom-left-radius: 50px;
  background: var(--violet-soft);
  opacity: 0.06;
}

.vision-card .mission-corner {
  opacity: 0.06;
}

.mission-icon {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--violet);
  margin-bottom: 40px;
}

.mission-card h3 {
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -0.28px;
  font-weight: 600;
  margin-bottom: 11px;
}

.mission-card > p {
  font-size: 18px;
  line-height: 28px;
}

.mission-card > p {
  color: var(--text-secondary);
}

.company-stats .stat:nth-child(-n + 3) > div,
.company-stats .stat:nth-child(5) > div,
.company-stats .stat:nth-child(6) > div {
  max-width: 263px;
}

.vision-card {
  background: #fff;
  color: var(--ink);
  padding-inline: 50px 67px;
  padding-bottom: 36px;
  box-shadow: 0 4px 44px #0000000f;
}

.vision-card .mission-icon {
  background: var(--violet);
}

/* Swap the full color scheme without changing card or icon geometry. */
.mission-card,
.mission-card > p,
.mission-icon {
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}
.mission-corner,
.mission-icon img {
  transition: opacity 0.25s ease;
}
.mission-icon img {
  grid-area: 1 / 1;
}
.mission-icon .mission-icon-hover {
  opacity: 0;
}
.mission-card:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
.mission-card:is(:hover, :focus-visible) {
  background: var(--violet);
  color: #fff;
}
.mission-card:is(:hover, :focus-visible) > p {
  color: #fff;
}
.mission-card:is(:hover, :focus-visible) .mission-icon {
  background: #fff;
}
.mission-card:is(:hover, :focus-visible) .mission-corner {
  opacity: 1;
}
.mission-card:is(:hover, :focus-visible)
  .mission-icon
  img:not(.mission-icon-hover) {
  opacity: 0;
}
.mission-card:is(:hover, :focus-visible) .mission-icon .mission-icon-hover {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .mission-card,
  .mission-card > p,
  .mission-icon,
  .mission-corner,
  .mission-icon img {
    transition: none;
  }
}

.about-page .projects-section {
  padding-top: 122px;
  background: #f4f2f2;
}

.about-page .steel-section {
  background: #fff;
}

@media (min-width: 992px) and (max-width: 1919px) {
  .company-stats .stat:nth-child(-n + 3) > div,
  .company-stats .stat:nth-child(5) > div,
  .company-stats .stat:nth-child(6) > div {
    max-width: 13.697917vw;
  }

  .company-intro {
    padding-top: 5.208333vw;
    background: linear-gradient(
      to bottom,
      #fff 0,
      #fff calc(100% - 2.5vw),
      var(--violet) calc(100% - 2.5vw),
      var(--violet) 100%
    );
  }

  .company-intro-grid {
    gap: 1.666667vw;
  }

  .company-visual,
  .company-network-window {
    height: 34.166667vw;
  }

  .company-engineer-frame {
    top: 10.572917vw;
    padding: 0.364583vw 0.416667vw;
  }

  .company-copy {
    padding-top: 2.1875vw;
  }

  .company-copy .eyebrow {
    font-size: 0.729167vw;
    line-height: 1.041667vw;
    letter-spacing: 0.21875vw;
    margin-bottom: 0.885417vw;
  }

  .company-copy h2 {
    font-size: 3.333333vw;
    line-height: 3.645833vw;
    margin-bottom: 1.302083vw;
  }

  .company-copy > p:not(.eyebrow) {
    font-size: 0.9375vw;
    line-height: 1.458333vw;
  }

  .company-copy > p + p {
    margin-top: 0.989583vw;
  }

  .company-stats {
    padding: 4.270833vw 0;
  }

  .mission-section {
    padding: 5.208333vw 0;
  }

  .mission-heading h2 {
    line-height: 3.854167vw;
  }

  .mission-heading > p:last-child {
    font-size: 0.9375vw;
    line-height: 1.458333vw;
    margin-bottom: 1.5625vw;
  }

  .mission-grid {
    gap: 1.5625vw;
  }

  .mission-card {
    min-height: 23.958333vw;
    padding: 2.604167vw 2.395833vw;
  }

  .mission-corner {
    width: 7.135417vw;
    height: 7.5vw;
    border-bottom-left-radius: 2.604167vw;
  }

  .mission-icon {
    width: 6.510417vw;
    height: 6.510417vw;
    margin-bottom: 2.083333vw;
  }

  .mission-icon img {
    width: 3.229167vw;
    height: 3.229167vw;
  }

  .mission-card h3 {
    font-size: 1.458333vw;
    line-height: 1.5625vw;
    margin-bottom: 0.572917vw;
  }

  .mission-card > p {
    font-size: 0.9375vw;
    line-height: 1.458333vw;
  }

  .vision-card {
    padding-inline: 2.604167vw 3.489583vw;
    padding-bottom: 1.875vw;
  }

  .about-page .projects-section {
    padding-top: 6.354167vw;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .company-copy > p:not(.eyebrow),
  .mission-card > p {
    font-size: 14px;
    line-height: 22px;
  }

  .company-copy .eyebrow {
    font-size: 11px;
  }

  .company-copy h2 {
    font-size: 40px;
    line-height: 44px;
    white-space: normal;
  }

  .mission-card {
    min-height: 350px;
    padding: 32px;
  }

  .mission-card h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .mission-heading > p:last-child {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 991px) {
  .company-intro {
    padding-top: 56px;
    background: linear-gradient(
      to bottom,
      #fff 0,
      #fff calc(100% - 35px),
      var(--violet) calc(100% - 35px),
      var(--violet) 100%
    );
  }

  .company-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .company-visual {
    height: auto;
    width: 100%;
    aspect-ratio: 928/656;
  }

  .company-network-window {
    height: 100%;
  }

  .company-engineer-frame {
    top: 30.945122%;
  }

  .company-copy {
    padding: 0 0 60px;
  }

  .company-copy .eyebrow {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  .company-copy h2 {
    font-size: 40px;
    line-height: 46px;
    white-space: normal;
    margin-bottom: 24px;
  }

  .company-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 26px;
  }

  .company-copy > p + p {
    margin-top: 20px;
  }

  .company-stats {
    padding: 32px 0 56px;
  }

  .mission-section {
    padding: 56px 0;
  }

  .mission-heading h2 {
    font-size: 40px;
    line-height: 46px;
    margin-bottom: 20px;
  }

  .mission-heading > p:last-child {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 28px;
  }

  .mission-grid {
    width: 100%;
    gap: 20px;
  }

  .mission-card,
  .vision-card {
    padding: 28px;
    min-height: 0;
  }

  .mission-corner {
    width: 90px;
    height: 95px;
    border-bottom-left-radius: 34px;
  }

  .mission-icon {
    width: 85px;
    height: 85px;
    margin-bottom: 28px;
  }

  .mission-icon img {
    width: 44px;
    height: 44px;
  }

  .mission-card h3 {
    font-size: 23px;
    line-height: 28px;
    margin-bottom: 12px;
  }

  .mission-card > p {
    font-size: 15px;
    line-height: 24px;
  }

  .about-page .projects-section {
    padding-top: 56px;
  }
}

@media (max-width: 767px) {
  .company-intro {
    padding-top: 44px;
  }

  .company-intro-grid {
    gap: 28px;
  }

  .company-engineer-frame {
    padding: 4px;
  }

  .company-copy {
    padding-bottom: 52px;
  }

  .company-copy h2,
  .mission-heading h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .company-copy > p:not(.eyebrow),
  .mission-heading > p:last-child {
    font-size: 14px;
    line-height: 22px;
  }

  .company-stats {
    padding: 24px 0 44px;
  }

  .mission-section {
    padding: 44px 0;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-card,
  .vision-card {
    padding: 28px 24px;
  }

  .mission-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 24px;
  }

  .mission-icon img {
    width: 40px;
    height: 40px;
  }

  .mission-card h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .mission-card > p {
    font-size: 14px;
    line-height: 22px;
  }

  .about-page .projects-section {
    padding-top: 44px;
  }
}
