.bgs-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  font-family: Manrope, Arial, sans-serif;
  color: #151515;
}
.bgs-wrap *, .bgs-wrap *::before, .bgs-wrap *::after { box-sizing: border-box; }
.bgs-wrap .bgs-heading {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.05em;
  font-weight: 500;
}
.bgs-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: #526d7f;
  font: 600 11px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bgs-company, .bgs-projects { scroll-margin-top: 56px; }
.bgs-company { padding-top: clamp(44px, 6vw, 76px); }
.bgs-company-intro {
  margin: 24px 0;
  max-width: 960px;
  font-size: clamp(19px, 2.3vw, 26px);
  line-height: 1.45;
  letter-spacing: -.025em;
}
.bgs-company-columns, .bgs-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bgs-company-columns {
  column-gap: clamp(28px, 5vw, 72px);
  font-size: 16px;
  line-height: 1.6;
}
.bgs-company-columns p { margin: 0 0 .85em; }
.bgs-company-columns li { padding-left: 3px; }
.bgs-company-columns ul { margin: -.35em 0 .85em; padding-left: 1.1em; }
.bgs-company-columns li::marker { color: #008dd1; }
.bgs-company-columns > div > :last-child { margin-bottom: 0; }
.bgs-projects { padding-block: clamp(44px, 6vw, 76px); }
.bgs-project-grid { gap: 22px; margin-top: 28px; }
.bgs-project-card { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.bgs-project-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 10 / 7;
  padding: clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  border-radius: 18px;
  background: #36454f;
  color: white;
}
.bgs-project-banner picture, .bgs-project-banner picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}
.bgs-project-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.bgs-delivery, .bgs-distance, .bgs-project-price, .bgs-project-link { border-radius: 30px; }
.bgs-delivery, .bgs-distance {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.bgs-delivery { background: #0075ac; }
.bgs-distance { background: #172027bf; }
.bgs-project-details h3 {
  margin: 0 0 10px;
  font-size: clamp(29px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.045em;
  text-shadow: 0 1px 5px #0008;
}
.bgs-project-price {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 0 10px;
  background: white;
  color: #0072a9;
  font-size: 17px;
}
.bgs-project-price strong { font-size: 1.2em; }
.bgs-project-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.bgs-project-facts li {
  border: 1px solid #ffffff70;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.3;
  background: #172027a6;
}
.bgs-project-description {
  margin: 17px 0 18px;
  font-size: 16px;
  line-height: 1.55;
}
#allrecords a.bgs-project-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 22px;
  background: #0075ac;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
#allrecords a.bgs-project-link:hover { background: #005c8c; }
#allrecords a.bgs-project-link:focus-visible { outline: 3px solid #182f40; outline-offset: 3px; }
@media (max-width: 720px) {
  .bgs-company-columns, .bgs-project-grid { grid-template-columns: 1fr; }
  .bgs-company-columns { gap: .85em; }
  .bgs-project-grid { gap: 34px; }
}
@media (max-width: 640px) {
  .bgs-wrap { padding-inline: 16px; }
  .bgs-project-banner { aspect-ratio: 32 / 29; padding: 16px; }
  .bgs-project-details h3 { font-size: 30px; }
  .bgs-delivery, .bgs-distance { font-size: 12px; }
}
