@font-face {
  font-family: 'Zetory Carlito';
  src: url('assets/carlito-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Zetory Carlito';
  src: url('assets/carlito-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

h1, h2, h3 {
  font-family: Calibri, 'Zetory Carlito', 'Segoe UI', sans-serif;
  letter-spacing: -.024em;
  font-weight: 400;
}
.hero-top h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  max-width: 840px;
  letter-spacing: -.025em;
}
.nav-panel > .eyebrow {
  text-transform: none;
  letter-spacing: .055em;
}

.capability-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service { display: flex; flex-direction: column; padding-right: 24px; }
.service + .service { padding-left: 24px; }
.service-number { margin-bottom: 24px; }
.service h3 { font-size: 29px; min-height: 70px; }
.service p { min-height: 116px; }
.service-tags { min-height: 58px; align-content: start; }
.service .text-link { margin-top: auto; align-self: start; }
.engineering-service .service-number { color: #117f70; }
.engineering-service .service-tags span { background: #edf8f3; color: #226e5c; }

.products {
  background: #fff;
  color: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.products .section-heading .eyebrow { color: var(--blue); }
.products .section-heading > p { color: var(--muted); }
.product-ribbons {
  position: relative;
  width: 100%;
  height: 600px;
  isolation: isolate;
}
.ribbon-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ribbon-art-mobile { display: none; }
.product-ribbon {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ribbon-copy {
  position: absolute;
  width: 64%;
  left: 17%;
  top: 8%;
  pointer-events: auto;
}
.ribbon-hrcue { color: #fff; }
.ribbon-venues { color: #01343d; }
.ribbon-venues .ribbon-copy { left: 27%; top: 74%; width: 58%; }
.ribbon-eyebrow {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ribbon-wordmark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 600;
}
.ribbon-wordmark em { color: #b8ffe7; font-style: normal; }
.ribbon-venues .ribbon-wordmark { font-size: 40px; }
.ribbon-venues .ribbon-wordmark em { color: inherit; }
.ribbon-summary {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 10px;
}
.ribbon-copy .text-link {
  color: inherit;
  margin-top: 9px;
  font-size: 12px;
  gap: 18px;
  min-height: 32px;
  border-bottom: 1px solid #ffffff70;
}
.ribbon-copy .text-link:hover { opacity: .8; }
.ribbon-venues .text-link { border-color: #01343d55; }

@media (max-width: 1100px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service, .service + .service {
    padding: 28px 24px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .service:nth-child(odd) { padding-left: 0; }
  .service:nth-child(even) { padding-right: 0; border-right: 0; }
  .service:nth-last-child(-n+2) { border-bottom: 0; }
  .service h3 { min-height: 62px; font-size: 28px; }
  .service p { min-height: 90px; }
  .service-tags { min-height: 50px; }
}

@media (max-width: 1000px) {
  .product-ribbons { height: 760px; }
  .ribbon-art-desktop { display: none; }
  .ribbon-art-mobile { display: block; }
  .ribbon-copy { top: 5.5%; left: 7%; width: 70%; }
  .ribbon-venues .ribbon-copy { top: 75%; left: 27%; width: 68%; }
  .ribbon-wordmark { font-size: 42px; }
  .ribbon-venues .ribbon-wordmark { font-size: 36px; }
  .ribbon-summary { font-size: 16px; }
}

@media (max-width: 720px) {
  .hero-top h1 { font-size: 36px; line-height: 1.1; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid .service {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .capability-grid .service:last-child { border-bottom: 0; padding-bottom: 0; }
  .service h3 { min-height: 0; font-size: 29px; }
  .service p, .service-tags { min-height: 0; }
  .product-ribbons { height: 860px; }
  .ribbon-eyebrow { font-size: 9px; margin-bottom: 12px; letter-spacing: .08em; }
  .ribbon-wordmark { font-size: 38px; }
  .ribbon-venues .ribbon-wordmark { font-size: 32px; }
  .ribbon-summary { font-size: 14px; line-height: 1.55; }
  .ribbon-copy .text-link { font-size: 11px; margin-top: 9px; }
}

@media (max-width: 370px) {
  .product-ribbons { height: 900px; }
  .ribbon-wordmark { font-size: 36px; }
  .ribbon-venues .ribbon-wordmark { font-size: 30px; }
}
