@font-face {
  font-family: "Wix Madefor Text";
  src: url("../fonts/wix-madefor-text-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Wix Madefor Text";
  src: url("../fonts/wix-madefor-text-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #022756;
  --navy-mid: #415d80;
  --orange: #fc6d26;
  --white: #ffffff;
  --gray-100: #f2f5f8;
  --gray-150: #e8ecef;
  --gray-200: #d1d9e3;
  --gray-300: #e3e8ee;
  --text: #022756;
  --font-serif: "Zilla Slab", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --font-sans: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 45px;
  --header-h: 122px;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 20.25px;
  line-height: 1.3;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--navy);
  min-height: var(--header-h);
  flex-shrink: 0;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 28px;
}
.logo-header {
  width: 172px;
  height: 57px;
  flex-shrink: 0;
}
.logo-header img { width: 172px; height: 57px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 52px;
  margin-left: 14px;
  flex: 1;
}
.nav a {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 0;
  white-space: nowrap;
}
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff !important;
  text-decoration: none !important;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 400;
  text-align: center;
  line-height: 1.25;
  appearance: none;
}
.btn:hover { filter: brightness(1.05); }
.btn-header {
  width: 250px;
  height: 50px;
  font-size: 16px;
  padding: 13px 27px;
  margin-left: auto;
  flex-shrink: 0;
}
.btn-cta {
  min-width: 274px;
  min-height: 80px;
  padding: 16px 28px;
  font-size: 16px;
}
.btn-send {
  width: 100%;
  height: 41px;
  font-size: 16px;
  padding: 11px 15px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 48px;
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 7px 0;
  border-radius: 0;
}

/* Main */
.site-main { flex: 1 0 auto; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.page-tint { background: var(--gray-100); }

h1, h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 54px;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 24px;
}
h3, .h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 40.5px;
  line-height: 1.11;
  color: var(--navy);
  margin: 0 0 16px;
}
h4, .h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 31.5px;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 12px;
}
h5, .h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 12px;
}
h6, .h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20.25px;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 10px;
}
p { margin: 0 0 1em; }
.body-lg { font-size: 20.25px; line-height: 1.3; color: var(--navy); }
.body-md { font-size: 18px; line-height: 1.3; color: var(--navy); }

.link-inline {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.learn-more {
  display: inline-block;
  color: var(--orange);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.3;
  padding: 16px 0 0;
  min-height: 74px;
  box-sizing: border-box;
}
.learn-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Home hero */
.hero {
  padding: 99px 0 113px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
}
.hero h1 { margin-bottom: 28px; max-width: 653px; }
.hero .lede { max-width: 648px; }
.hero-photo {
  width: 100%;
  max-width: 653px;
  aspect-ratio: 653 / 488;
  object-fit: cover;
  justify-self: end;
}

/* Core services */
.section { padding: 0 0 80px; }
.section-title { margin-bottom: 68px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 45px;
  row-gap: 82px;
}
.service-card h5 { margin-bottom: 16px; }
.service-card p { margin-bottom: 0; }

/* Industries served (home) */
.industries-band {
  background: var(--gray-150);
  padding: 79px 0 96px;
}
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 45px;
  row-gap: 36px;
}
.industry-item {
  display: grid;
  grid-template-columns: 113px 1fr;
  column-gap: 32px;
  align-items: center;
}
.industry-item img {
  width: 113px;
  height: 113px;
  object-fit: contain;
}
.industry-item h5 { margin: 0 0 8px; }
.industry-item p { margin: 0; }

/* Why choose + ticker */
.why { padding: 90px 0 0; }
.why .copy { max-width: 864px; margin-bottom: 56px; }
.ticker-wrap {
  border-bottom: 3px solid var(--orange);
  overflow: hidden;
  padding: 8px 0 40px;
  margin-bottom: 50px;
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  color: var(--orange);
  font-size: 20.25px;
  line-height: 1.2;
  white-space: nowrap;
}
.ticker span { padding-right: 0.3em; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CTA */
.cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 60px 45px 70px;
}
.cta h2 {
  color: #fff;
  max-width: 1008px;
  margin: 0 auto 24px;
}
.cta p {
  color: #fff;
  max-width: 756px;
  margin: 0 auto 40px;
  font-size: 20.25px;
  line-height: 1.3;
}
.cta-spacer { height: 45px; background: #fff; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  min-height: 289px;
  flex-shrink: 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 289px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-footer { width: 220px; height: 73px; flex-shrink: 0; }
.logo-footer img { width: 220px; height: 73px; object-fit: contain; }
.copyright {
  color: #fff;
  font-size: 15.75px;
  line-height: 1.3;
  text-align: right;
  max-width: 311px;
  margin: 0;
}

/* About */
.about-page { background: var(--gray-100); padding: 69px 0 90px; }
.about-copy { max-width: 688px; }
.about-copy h1 { margin-bottom: 57px; }
.about-photo {
  margin-top: 50px;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 650 / 409;
  object-fit: cover;
}

/* Services page */
.services-page { padding: 90px 0 100px; }
.services-intro { max-width: 756px; margin-bottom: 72px; }
.service-row {
  display: grid;
  grid-template-columns: 438px 1fr;
  column-gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
.service-row:first-of-type { border-top: 1px solid var(--gray-200); }
.service-row h2 {
  font-size: 24.75px;
  line-height: 1.1;
  margin: 0;
}
.service-row p { margin: 0; font-size: 18px; line-height: 1.3; max-width: 876px; }

/* Industries page */
.industries-page { background: var(--gray-100); padding: 90px 0 110px; }
.industries-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}
.industries-split img {
  width: 100%;
  max-width: 657px;
  aspect-ratio: 657 / 494;
  object-fit: cover;
}
.industries-split ul {
  margin: 0 0 18px 1.1em;
  padding: 0;
  font-size: 18px;
  line-height: 1.3;
}
.industries-split li { margin: 0 0 4px; }

/* Codes page */
.codes-page { padding: 90px 0 120px; text-align: center; }
.codes-page h1 { margin-bottom: 24px; }

/* Contact */
.contact-page { padding: 90px 0 110px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}
.form-row.full { grid-template-columns: 1fr; }
.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--navy);
}
.field .req { color: var(--navy); }
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e3e8ee;
  border-radius: 0;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  padding: 8px 2px;
  outline: none;
}
.field input { height: 40px; }
.field textarea {
  min-height: 74px;
  resize: vertical;
  padding: 8px 12px;
  border: 1px solid #e3e8ee;
}
.field input:focus { border-bottom-color: var(--navy); }
.field textarea:focus { border-color: var(--navy); }
.contact-aside { padding-top: 8px; }
.contact-aside .lede { margin-bottom: 48px; }
.contact-block { margin-bottom: 48px; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.form-note {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--gray-100);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.4;
}
.form-note.visible { display: block; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--navy);
  padding: 8px 24px 28px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.mobile-nav .btn { margin-top: 20px; width: 100%; height: 50px; }

@media (max-width: 1024px) {
  :root { --pad: 32px; --header-h: 90px; }
  .header-inner { padding: 0 24px; height: var(--header-h); }
  .nav { gap: 28px; }
  .nav a { font-size: 16px; }
  .btn-header { width: 180px; height: 44px; font-size: 15px; }
  .logo-header, .logo-header img { width: 140px; height: 46px; }
  h1, h2, .h2 { font-size: 40px; }
  .service-row { grid-template-columns: 1fr 1.6fr; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; --header-h: 70px; }
  .header-inner { padding: 0 24px; height: 70px; }
  .nav, .btn-header { display: none; }
  .menu-toggle { display: block; }
  .logo-header, .logo-header img { width: 120px; height: 32px; }
  h1, h2, .h2 { font-size: 28px; line-height: 1; }
  h3, .h3 { font-size: 26px; }
  h5, .h5 { font-size: 22px; }
  .body-lg, body { font-size: 18px; }
  .hero { padding: 24px 0 40px; }
  .hero-grid,
  .services-grid,
  .industries-grid,
  .industries-split,
  .contact-grid,
  .service-row,
  .form-row { grid-template-columns: 1fr; }
  .hero-photo {
    justify-self: center;
    max-width: 294px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 24px;
    order: -1;
  }
  .hero-grid { display: flex; flex-direction: column; }
  .industry-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .industry-item img { width: 100px; height: 100px; }
  .industry-item h5, .industry-item p { justify-self: stretch; }
  .cta { padding: 48px 24px 56px; }
  .btn-cta { min-height: 47px; width: 243px; }
  .cta-spacer { height: 24px; }
  .footer-inner {
    min-height: 226px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 24px;
    gap: 16px;
  }
  .logo-footer, .logo-footer img { width: 120px; height: 40px; }
  .copyright { text-align: left; max-width: none; font-size: 15px; }
  .section, .about-page, .services-page, .industries-page, .codes-page, .contact-page {
    padding: 40px 0 56px;
  }
  .industries-band { padding: 48px 0; }
  .why { padding: 56px 0 0; }
  .service-row h2 { font-size: 22px; margin-bottom: 8px; }
}
