@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/mulish-400.woff2") format("woff2");
}

@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/mulish-700.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "Share Tech";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/share-tech-400.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --navy: #203555;
  --navy-deep: #1b3558;
  --blue: #4689e4;
  --blue-dark: #3263a4;
  --blue-soft: #d3e3f8;
  --text: #333333;
  --muted: #555555;
  --white: #ffffff;
  --gray: #f1f1f1;
  --border: #d9e5f7;
  --max: 1080px;
  --header-h: 5.25rem;
  --radius-pill: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--white);
  font-family: Mulish, "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--blue-dark);
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .site-shell {
  width: min(100% - 2rem, 1180px);
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  content: "";
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: relative;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 4px;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: none;
}

.site-nav .contact-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.35rem 0.9rem;
  border: 2px solid var(--blue);
  border-radius: var(--radius-pill);
  color: var(--blue);
}

.site-nav .contact-link:hover,
.site-nav .contact-link[aria-current="page"] {
  background: var(--blue);
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--blue);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--blue-soft);
  text-decoration: none;
}

.button-solid {
  background: var(--blue);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 60vh;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--blue);
  background-image: url("../images/hero-factory.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 53, 88, 0.35), rgba(32, 53, 85, 0.55));
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero .button {
  color: var(--white);
  border-color: var(--white);
}

.hero .button:hover {
  background: var(--white);
  color: var(--blue);
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: var(--blue-soft);
}

.section-muted {
  background: var(--gray);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-even {
  grid-template-columns: 1fr 1fr;
}

.split-image-first {
  grid-template-columns: 1fr 3fr;
}

.split-image-last {
  grid-template-columns: 3fr 1fr;
}

.center {
  text-align: center;
}

.lede {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card-grid + p {
  margin-top: 1.75rem;
}

.card-grid + .card {
  margin-top: 1.5rem;
}

.section > .site-shell + .site-shell {
  margin-top: 2rem;
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.blog-list {
  display: grid;
  gap: 0;
}

.blog-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-item:first-child {
  padding-top: 0;
}

.blog-item h2 {
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
}

.blog-item h2 a {
  color: var(--navy);
  text-decoration: none;
}

.blog-item h2 a:hover,
.blog-item h2 a:focus-visible {
  color: var(--blue);
}

.blog-meta {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 2.5rem;
}

.pagination a {
  font-weight: 700;
}

.post-nav {
  margin: 0 0 1.5rem;
}

.post-body {
  max-width: 46rem;
}

.post-body > h2,
.faq-item h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

.post-body > h2 {
  margin-top: 2rem;
}

.post-body > h2:first-of-type {
  margin-top: 0;
}

.faq-item {
  margin: 0 0 1.85rem;
}

.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.post-body a {
  text-decoration: underline;
}

.card {
  padding: 1.25rem;
  background: var(--gray);
}

.card h2,
.card h3 {
  font-family: "Share Tech", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
}

.card-navy {
  padding: 1.85rem;
  background: var(--navy-deep);
  color: var(--white);
}

.card-navy,
.card-navy h2,
.card-navy h3,
.card-navy a {
  color: var(--white);
}

.card-navy a:hover {
  color: var(--blue-soft);
}

.feature-copy h3 {
  font-weight: 400;
}

.photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.photo-contain {
  max-height: 28rem;
  object-fit: contain;
  background: transparent;
}

.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.clients img {
  width: min(100%, 180px);
  margin: 0 auto;
  object-fit: contain;
}

.video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
}

.contact-form label,
.hp {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--navy);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font: inherit;
}

.contact-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form button.is-sending:disabled {
  cursor: wait;
}

[data-captcha-host],
cap-widget {
  display: block;
  justify-self: start;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.form-status.is-error {
  color: #8b1e2d;
}

.site-footer {
  color: var(--white);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.site-footer h2 {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--blue-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1.25rem;
}

.page-hero {
  padding: 3.5rem 0;
  background: var(--navy-deep);
}

.page-hero h1,
.page-hero .page-hero-lead,
.page-hero p {
  margin: 0;
  color: var(--white);
}

.page-hero .page-hero-lead,
.page-hero p {
  margin-top: 0.85rem;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.9;
}

.page-body {
  padding: 3rem 0 4.5rem;
}

.page-hero-center {
  padding: 4.5rem 0;
  background: var(--blue-dark);
  text-align: center;
}

.page-hero-center .page-hero-lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .button {
  margin-top: 1.5rem;
  color: var(--white);
  border-color: var(--white);
}

.page-hero .button:hover,
.page-hero .button:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

.bio-shell {
  width: min(100% - 2rem, 52rem);
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.bio-intro {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 2.6rem;
}

.bio-intro .bio-block {
  margin-bottom: 0;
}

.bio-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bio-block {
  margin: 0 0 2.6rem;
}

.bio-block h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.bio-kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
}

.bio-block ul {
  margin: 0.5rem 0 1rem 1.2rem;
}

@media (max-width: 700px) {
  .bio-intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }

  .bio-photo {
    width: 11.5rem;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.75rem 1rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .split-even,
  .split-image-first,
  .split-image-last,
  .card-grid,
  .two-col-list,
  .contact-grid,
  .clients,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 48vh;
  }
}
