.company-project-section {
  background: #f5f8fa;
  scroll-margin-top: 100px;
}

.company-recognition {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  padding: 28px 32px;
  color: #ffffff;
  background: linear-gradient(120deg, #063d50, #01a99e);
}

.company-recognition-mark {
  display: flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  font-size: 28px;
}

.company-recognition-label,
.company-recognition h3 {
  color: inherit;
}

.company-recognition-label {
  margin-bottom: 5px;
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .8;
}

.company-recognition h3 {
  font-size: 24px;
}

.company-project-heading {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.company-project-eyebrow {
  margin-bottom: 8px;
  color: #01a99e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}

.company-project-heading h3 {
  margin-bottom: 12px;
}

.company-project-heading > p:last-child {
  color: #777f84;
}

.company-content-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.company-content-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #52616a;
  font-size: 13px;
}

.company-content-controls input,
.company-content-controls select {
  min-width: 220px;
  height: 44px;
  padding: 8px 12px;
  color: #33434b;
  background: #ffffff;
  border: 1px solid #d5dfe2;
  border-radius: 3px;
}

.company-content-controls input:focus,
.company-content-controls select:focus {
  border-color: #01a99e;
  outline: 2px solid rgba(1, 169, 158, .2);
}

.company-content-controls[hidden],
.company-content-count[hidden],
.company-content-empty[hidden],
.company-content-status[hidden] {
  display: none !important;
}

.company-content-count,
.company-content-empty,
.company-content-status {
  margin: 0 0 18px;
  color: #777f84;
  font-size: 13px;
  text-align: center;
}

.company-content-status {
  color: #9c4a3f;
}

.company-project-card[hidden] {
  display: none !important;
}

.company-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-project-card {
  min-height: 170px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8edef;
  transition: transform .2s ease, box-shadow .2s ease;
}

.company-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(13, 61, 75, .09);
}

.company-project-category {
  display: inline-block;
  margin-bottom: 12px;
  color: #078d84;
  font-size: 12px;
  letter-spacing: .04em;
}

.company-project-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.company-project-card p {
  color: #7a8287;
  font-size: 13px;
  line-height: 1.7;
}

.company-milestone-section {
  background: #f5f8fa;
}

.company-milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-milestone-card {
  min-height: 180px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e8edef;
}

.company-milestone-year {
  display: inline-block;
  margin-bottom: 12px;
  color: #078d84;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.company-milestone-card h4 {
  margin-bottom: 8px;
  font-size: 17px;
}

.company-milestone-card p {
  color: #7a8287;
  font-size: 13px;
  line-height: 1.7;
}

.company-events-section {
  background: #ffffff;
}

.company-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.company-event-card {
  overflow: hidden;
  margin: 0;
  background: #f5f8fa;
}

.company-event-card img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.company-event-image {
  display: block;
  cursor: zoom-in;
}

.company-event-image:focus-visible {
  outline: 3px solid #01a99e;
  outline-offset: 3px;
}

.company-event-card figcaption {
  padding: 18px 22px 22px;
}

.company-event-card figcaption span {
  color: #078d84;
  font-size: 11px;
  letter-spacing: .12em;
}

.company-event-card h4 {
  margin-top: 5px;
  font-size: 18px;
}

.company-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}

.company-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.company-lightbox {
  position: relative;
  width: min(92vw, 1040px);
  max-width: 92vw;
  max-height: 92vh;
  padding: 46px 20px 20px;
  color: #ffffff;
  background: #142c3d;
  border: 0;
  border-radius: 4px;
}

.company-lightbox::backdrop {
  background: rgba(3, 17, 26, .86);
}

.company-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.company-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 6px 12px;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 3px;
  cursor: pointer;
}

.company-lightbox-caption {
  margin: 10px 0 0;
  color: #ffffff;
  text-align: center;
}

@media (max-width: 991.98px) {
  .company-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-milestone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .company-recognition {
    gap: 14px;
    margin-bottom: 40px;
    padding: 22px 18px;
  }

  .company-recognition-mark {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .company-recognition h3 {
    font-size: 19px;
  }

  .company-project-grid {
    grid-template-columns: 1fr;
  }

  .company-milestone-grid {
    grid-template-columns: 1fr;
  }

  .company-event-grid {
    grid-template-columns: 1fr;
  }

  .company-event-card img {
    height: auto;
    aspect-ratio: 420 / 308;
  }

  .company-content-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .company-content-controls input,
  .company-content-controls select {
    width: 100%;
  }

  .company-lightbox {
    padding: 44px 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-reveal,
  .company-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
