:root {
  --ivory: #f6f5f1;
  --navy: #0a1830;
  --navy-2: #102541;
  --blue: #315f89;
  --teal: #2f7b78;
  --mist: #dde5e8;
  --line: #d8d8d1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  background: var(--ivory);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(246, 245, 241, 0.94);
  border-bottom: 1px solid rgba(10, 24, 48, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  width: max-content;
}

.brand-logo {
  display: block;
  height: auto;
}

.site-header .brand-logo {
  width: 170px;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.main-nav a {
  color: #253044;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  background: var(--blue);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.mobile-menu-cta {
  display: none;
}

.header-cta {
  border: 1px solid var(--navy);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 18px;
  justify-self: end;
  padding: 13px 18px;
  transition: 180ms ease;
}

.header-cta:hover {
  background: var(--navy);
  color: white;
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  gap: 6px;
  padding: 8px;
}

.menu-button span {
  background: var(--navy);
  display: block;
  height: 1px;
  width: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: calc(100vh - 88px);
  overflow: hidden;
  padding-left: clamp(24px, 5vw, 76px);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding: clamp(70px, 8vw, 118px) clamp(40px, 5vw, 88px) clamp(70px, 8vw, 118px) 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.15em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 30px;
}

.eyebrow.light {
  color: #8eb6b3;
}

h1 {
  font-size: clamp(54px, 6vw, 90px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 0;
}

.hero-intro {
  color: #4d5666;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  margin: 32px 0 0;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  align-items: center;
  border: 1px solid;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 30px;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 24px;
  transition: 180ms ease;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.button.primary:hover,
.button.submit:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.button.secondary {
  border-color: var(--navy);
}

.button.secondary:hover {
  background: var(--mist);
}

.hero-visual {
  --hero-image-inset: clamp(34px, 4vw, 56px);
  align-items: center;
  display: flex;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  padding: var(--hero-image-inset) clamp(24px, 4vw, 58px) var(--hero-image-inset) 0;
  position: relative;
}

.hero-gallery {
  background: var(--ivory);
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: min(680px, calc(100vh - 160px));
  min-height: 540px;
  width: 100%;
}

.hero-panel {
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.02), rgba(10, 24, 48, 0.09));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-panel img {
  display: block;
  filter: saturate(0.82) contrast(0.96);
  height: 100%;
  object-fit: cover;
  transition: filter 400ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
  width: 100%;
}

.hero-panel-kitchen img {
  object-position: 48% center;
}

.hero-panel-truck img {
  object-position: 50% 66%;
}

.hero-panel-hvac img {
  object-position: 54% center;
}

.hero-panel:hover img {
  filter: saturate(0.95) contrast(0.98);
  transform: scale(1.025);
}

h2 {
  font-size: clamp(40px, 4.7vw, 68px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 0;
}

.about-section {
  display: grid;
  gap: 9vw;
  grid-template-columns: 1.05fr 0.95fr;
  padding: clamp(100px, 11vw, 160px) clamp(24px, 7vw, 110px);
}

.about-content {
  align-self: start;
  display: grid;
  gap: 24px;
}

.about-content > p {
  color: #586271;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 570px;
}

.about-points {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
}

.about-points span {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 14px;
}

.about-points span::before {
  background: var(--teal);
  content: "";
  height: 6px;
  width: 6px;
}

.industries-section {
  background: #e8ecee;
  padding: clamp(90px, 10vw, 145px) clamp(24px, 7vw, 110px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 280px;
  margin-bottom: 65px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading > p {
  color: #65717f;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.industry-grid {
  border-left: 1px solid #c6cfd2;
  border-top: 1px solid #c6cfd2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.industry-grid a {
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid #c6cfd2;
  border-right: 1px solid #c6cfd2;
  display: grid;
  gap: 22px;
  grid-template-columns: 38px 1fr auto;
  min-height: 132px;
  padding: 24px 28px;
  transition: 200ms ease;
}

.industry-grid a:hover {
  background: white;
  transform: translateY(-3px);
}

.industry-grid .industry-icon {
  align-items: center;
  color: var(--blue);
  display: flex;
  height: 34px;
  justify-content: center;
  transition: transform 200ms ease;
  width: 34px;
}

.industry-grid .industry-icon svg {
  height: 28px;
  width: 28px;
}

.industry-grid a:hover .industry-icon {
  transform: translateY(-2px);
}

.industry-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.industry-copy strong {
  font-size: 15px;
  font-weight: 600;
}

.industry-copy small {
  color: #64707d;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 290px;
}

.industry-grid a b {
  font-size: 13px;
  font-weight: 500;
}

.process-section {
  background: var(--navy);
  color: white;
  display: grid;
  gap: 10vw;
  grid-template-columns: 1fr 1fr;
  padding: clamp(100px, 11vw, 155px) clamp(24px, 7vw, 110px);
}

.process-heading {
  align-self: start;
}

.process-intro {
  color: #aeb9c7;
  font-size: 16px;
  line-height: 1.65;
  margin: 32px 0 0;
  max-width: 570px;
}

.process-trust-points {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
}

.process-trust-points span {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 14px;
}

.process-trust-points span::before {
  background: #83aaa8;
  content: "";
  height: 6px;
  width: 6px;
}

.process-side > .eyebrow {
  margin-bottom: 24px;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 28px;
  grid-template-columns: 42px 1fr;
  padding: 27px 0;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li > span {
  color: #83aaa8;
  font-size: 10px;
}

.process-list h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.process-list p {
  color: #aeb9c7;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.testimonial-section {
  align-items: start;
  display: grid;
  gap: 50px;
  grid-template-columns: 90px minmax(0, 750px) 1fr;
  padding: clamp(82px, 9vw, 125px) clamp(24px, 9vw, 140px);
}

.quote-symbol {
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 0.8;
}

.testimonial-stack {
  display: grid;
}

.testimonial-section blockquote {
  grid-area: 1 / 1;
  margin: 0;
}

.testimonial-content {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.testimonial-content.active {
  animation: testimonial-in 360ms ease both;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.testimonial-section blockquote > p {
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0;
}

.testimonial-section footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 30px;
}

.testimonial-section footer strong {
  font-size: 13px;
}

.testimonial-section footer span {
  color: #717a85;
  font-size: 11px;
}

.testimonial-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.testimonial-eyebrow {
  align-self: flex-end;
  margin-bottom: 0;
}

.testimonial-controls {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.testimonial-controls button {
  align-items: center;
  background: transparent;
  border: 1px solid #aeb5bb;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 40px;
  justify-content: center;
  transition: 180ms ease;
  width: 40px;
}

.testimonial-controls button:hover,
.testimonial-controls button:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  outline: none;
}

.testimonial-controls > span {
  color: #717a85;
  font-size: 10px;
  letter-spacing: 0.08em;
  min-width: 42px;
  text-align: center;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.testimonial-dots button {
  background: #b9c0c4;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 6px;
  padding: 0;
  transition: 180ms ease;
  width: 6px;
}

.testimonial-dots button[aria-current="true"] {
  background: var(--teal);
  transform: scale(1.35);
}

.text-link {
  align-self: end;
  border-bottom: 1px solid var(--navy);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: space-between;
  justify-self: end;
  max-width: 250px;
  padding-bottom: 10px;
  width: 100%;
}

@keyframes testimonial-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  background: var(--navy-2);
  color: white;
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(90px, 10vw, 145px) clamp(24px, 7vw, 110px);
}

.contact-copy > p:not(.eyebrow) {
  color: #aeb9c7;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 28px;
}

.contact-form {
  background: var(--ivory);
  color: var(--navy);
  padding: clamp(28px, 4vw, 48px);
}

.field-row {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 600;
  gap: 9px;
  letter-spacing: 0.03em;
  margin-bottom: 23px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aeb5bb;
  border-radius: 0;
  color: var(--navy);
  min-height: 42px;
  outline: 0;
  padding: 8px 2px;
  resize: vertical;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 50%,
    calc(100% - 8px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.consent-note {
  color: #5f6875;
  font-size: 10px;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 18px 0 0;
}

.button.submit {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  cursor: pointer;
  width: 100%;
}

.button.submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-message {
  color: var(--teal);
  font-size: 12px;
  line-height: 1.5;
  min-height: 18px;
  padding-top: 12px;
}

.form-message.error {
  color: #b3261e;
  font-weight: 600;
}

.field-error[hidden] {
  display: none;
}

.field-error {
  align-items: center;
  background: #fdecea;
  border-left: 3px solid #b3261e;
  color: #b3261e;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 8px;
  padding: 8px 10px;
  text-transform: none;
}

.field-error::before {
  content: "!";
  align-items: center;
  background: #b3261e;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.contact-form input.invalid,
.contact-form input.invalid:focus {
  border-bottom-color: #b3261e;
  box-shadow: 0 1px 0 #b3261e;
}

.site-footer {
  background: #071324;
  color: white;
  padding: 60px clamp(24px, 7vw, 110px) 28px;
}

.footer-main {
  align-items: center;
  display: flex;
  gap: 52px;
  padding-bottom: 55px;
}

.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
  width: 205px;
}

.footer-main > p {
  color: #9ea9b6;
  font-size: 13px;
  margin: 0;
}

.footer-legal {
  border-top: 1px solid #283548;
  color: #768397;
  display: grid;
  font-size: 10px;
  gap: 40px;
  grid-template-columns: 0.5fr 1.5fr;
  line-height: 1.5;
  padding-top: 24px;
}

.footer-legal p {
  margin: 0;
  max-width: 760px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
  }

  .main-nav {
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 24px;
    left: 0;
    padding: 30px;
    position: absolute;
    top: 88px;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .mobile-menu-cta {
    align-items: center;
    border: 1px solid var(--navy);
    display: flex;
    font-size: 13px;
    font-weight: 600;
    justify-content: space-between;
    margin-top: 10px;
    padding: 17px 18px;
    width: 100%;
  }

  .main-nav .mobile-menu-cta::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero-copy {
    padding: 90px 50px 72px;
  }

  .hero-visual {
    --hero-image-inset: 0px;
    height: 460px;
    min-height: 0;
    padding: 0;
  }

  .hero-gallery {
    height: 460px;
    min-height: 460px;
  }

  .about-section,
  .process-section,
  .contact-section {
    gap: 65px;
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-section {
    grid-template-columns: 60px 1fr;
  }

  .testimonial-side {
    grid-column: 2;
    min-height: auto;
  }

  .testimonial-controls,
  .testimonial-dots {
    justify-content: flex-start;
  }

  .testimonial-dots {
    margin: 24px 0;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  section[id] {
    scroll-margin-top: 72px;
  }

  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  .site-header .brand-logo {
    width: 145px;
  }

  .main-nav {
    top: 72px;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  h1 {
    font-size: 50px;
  }

  .hero-copy {
    padding: 70px 20px 54px;
  }

  .hero-visual {
    height: 390px;
    min-height: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-visual::-webkit-scrollbar {
    display: none;
  }

  .hero-gallery {
    display: flex;
    gap: 2px;
    height: 390px;
    min-height: 390px;
    width: max-content;
  }

  .hero-panel {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }

  .hero-panel-truck img {
    object-position: 50% 72%;
  }

  .about-section,
  .industries-section,
  .process-section,
  .testimonial-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  h2 {
    font-size: 42px;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid a {
    min-height: 116px;
  }

  .testimonial-section {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .quote-symbol {
    font-size: 65px;
  }

  .testimonial-side,
  .text-link {
    grid-column: 1;
  }

  .testimonial-side {
    min-height: auto;
  }

  .testimonial-controls {
    margin-top: 10px;
  }

  .field-row,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}


.hidden-field {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}