:root {
  --red: #c45151;
  --red-dark: #893838;
  --paper: #fcf7f7;
  --nav: #f8f2f2;
  --page: #dddddd;
  --ink: #222222;
  --copy: #555555;
  --muted: #888888;
  --white: #ffffff;
  --shadow: 0 7px 20px rgba(28, 20, 20, 0.27);
  --soft-shadow: 0 4px 16px rgba(28, 20, 20, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 22px;
}

body {
  margin: 0;
  color: var(--copy);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.62), transparent 27rem),
    linear-gradient(180deg, #e7e7e7 0, var(--page) 18rem, #d2d2d2 100%);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 8px);
  content: "";
  pointer-events: none;
}

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

a:hover,
a:focus-visible {
  color: var(--red-dark);
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 8px 13px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 32px), 1080px);
  margin: 0 auto;
}

.masthead {
  position: relative;
  display: grid;
  min-height: 164px;
  grid-template-columns: 250px 1fr 310px;
  align-items: center;
  gap: 32px;
  padding: 36px 12px 16px;
}

.brand {
  align-self: center;
}

.brand img {
  width: 250px;
  height: auto;
}

.slogan {
  margin: 0;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.25;
  text-shadow: 1px 2px 2px rgba(0,0,0,.48);
}

.header-actions {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.utility-links {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  font-style: italic;
  text-transform: uppercase;
}

.utility-links a {
  color: var(--red);
}

.utility-links span {
  padding-inline: 5px;
  color: #777;
}

.phone {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 1px 1px 0 var(--red);
}

.phone span {
  color: var(--red);
  font-size: .78rem;
  font-weight: 500;
  text-shadow: none;
}

.phone a {
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta > span {
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-style: italic;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--red-dark);
  border-radius: 3px;
  color: var(--white);
  background: linear-gradient(#ce6262, var(--red));
  box-shadow: 0 2px 6px rgba(0,0,0,.42);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--red-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,.34);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  border: 1px solid rgba(137, 56, 56, .16);
  border-radius: 5px;
  background: var(--nav);
  box-shadow: 2px 3px 7px rgba(0,0,0,.36);
}

.site-nav a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.9);
  color: #666666;
  font-size: .88rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-nav a:last-child {
  border-right: 0;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--red);
  background: #fffafa;
  box-shadow: inset 0 -3px 0 var(--red);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .92fr);
  align-items: start;
  gap: 32px;
  padding: 42px 0 30px;
}

#main-content {
  display: grid;
  gap: 28px;
}

.content-card,
.request-panel__inner {
  border: 1px solid rgba(45, 31, 31, .62);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-card {
  padding: clamp(28px, 4.5vw, 50px);
  text-align: center;
}

.content-card p {
  margin: 0 auto 1.15em;
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 7px !important;
  color: #7a6d6d;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 600;
}

h1,
h2 {
  font-style: italic;
  line-height: 1.15;
  text-shadow: 1px 1px 0 rgba(0,0,0,.23);
}

h1 {
  margin-bottom: 22px;
  color: var(--red);
  font-size: clamp(2.45rem, 6vw, 3.8rem);
}

h2 {
  margin-bottom: 18px;
  color: var(--red);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.service-links {
  display: grid;
  gap: 11px;
  margin: 30px 0 34px;
}

.service-links a {
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border-block: 1px solid rgba(196,81,81,.32);
  background: rgba(255,255,255,.45);
  transition: background 160ms ease, transform 160ms ease;
}

.service-links a:hover,
.service-links a:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}

.service-links span {
  color: var(--red);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0,0,0,.18);
}

.service-links small {
  color: #777;
}

.feature-image {
  margin: 0 auto;
  max-width: 560px;
}

.feature-image img {
  width: 100%;
  border: 7px solid rgba(255,255,255,.72);
  border-radius: 4px;
  box-shadow: var(--soft-shadow);
}

.archive-gallery {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.archive-gallery--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-gallery--service {
  margin-top: 13px;
}

.archive-gallery figure,
.retrofit-feature-grid figure,
.retrofit-drive-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(137, 56, 56, .18);
  border-radius: 6px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--soft-shadow);
}

.archive-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ece8e8;
}

.archive-gallery img.image-contain {
  object-fit: contain;
}

.archive-gallery figcaption,
.retrofit-feature-grid figcaption,
.retrofit-drive-photo figcaption {
  min-height: 42px;
  padding: 9px 8px;
  color: #6f6363;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.detail-card {
  padding-block: 38px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
  text-align: left;
}

.two-column > div {
  padding: 20px;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,.5);
}

.machine-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.machine-list li {
  position: relative;
  padding-left: 24px;
}

.machine-list li::before {
  position: absolute;
  left: 5px;
  color: var(--red);
  content: "◆";
  font-size: .6rem;
  top: .46em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 28px;
  border-block: 1px solid rgba(196,81,81,.35);
}

.stat-row div {
  display: grid;
  gap: 2px;
  padding: 17px 9px;
  border-right: 1px solid rgba(196,81,81,.25);
}

.stat-row div:last-child {
  border-right: 0;
}

.stat-row strong {
  color: var(--red);
  font-size: 1.1rem;
  font-style: italic;
}

.stat-row span {
  color: #777;
  font-size: .7rem;
  text-transform: uppercase;
}

.retrofit-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.retrofit-feature-grid figure {
  position: relative;
}

.retrofit-feature-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-label {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 3px;
  color: #fff;
  background: rgba(45, 45, 45, .88);
  box-shadow: 0 2px 5px rgba(0,0,0,.28);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.photo-label--new {
  background: rgba(137, 56, 56, .92);
}

.retrofit-drive-photo {
  margin: 14px 0 0;
}

.retrofit-drive-photo img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.retrofit-carousel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}

.archive-carousel {
  overflow: hidden;
  border: 1px solid rgba(45, 31, 31, .48);
  border-radius: 8px;
  background: #eee7e7;
  box-shadow: var(--soft-shadow);
}

.carousel-heading {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  color: #fff;
  background: linear-gradient(135deg, #5a4a4a, #2f2a2a);
}

.carousel-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1.12rem;
  font-style: italic;
}

.carousel-pause {
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 3px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: .65rem;
  text-transform: uppercase;
}

.carousel-pause:hover,
.carousel-pause:focus-visible {
  background: rgba(255,255,255,.15);
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #262222;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: center;
}

.carousel-controls {
  display: grid;
  min-height: 48px;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 6px;
  padding: 6px;
}

.carousel-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(137, 56, 56, .42);
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: var(--red-dark);
}

.carousel-status {
  color: #6c6060;
  font-size: .65rem;
  line-height: 1.25;
  text-align: center;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.client-logo-grid figure {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(137, 56, 56, .16);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28,20,20,.12);
}

.client-logo-grid img {
  width: 100%;
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: saturate(.88) contrast(.98);
}

.request-panel {
  position: sticky;
  top: 20px;
}

.request-panel__inner {
  padding: 28px;
  border-radius: 14px;
}

.request-panel h2 {
  margin-bottom: 4px;
  font-size: 1.75rem;
  text-align: left;
}

.form-intro {
  margin: 0 0 22px;
  color: #707070;
  font-size: .84rem;
}

.request-panel form {
  display: grid;
  gap: 8px;
}

.request-panel label {
  margin-top: 5px;
  color: #3f3f3f;
  font-size: .78rem;
  font-weight: 700;
}

.request-panel label span,
.request-panel label small {
  display: inline;
  color: #888;
  font-size: .68rem;
  font-weight: 400;
}

.request-panel input,
.request-panel textarea {
  width: 100%;
  border: 1px solid #c9bbbb;
  border-radius: 3px;
  color: var(--ink);
  background: rgba(255,255,255,.75);
  outline: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.request-panel input {
  min-height: 39px;
  padding: 7px 9px;
}

.request-panel textarea {
  min-height: 112px;
  padding: 9px;
  resize: vertical;
}

.request-panel input:focus,
.request-panel textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,81,81,.12);
}

.request-panel input[type="file"] {
  padding: 7px;
  color: #777;
  font-size: .72rem;
}

.button--submit {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
}

.honeypot {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
}

.form-status {
  display: none;
  margin: 8px 0 0;
  padding: 9px;
  border-radius: 3px;
  font-size: .75rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #215a2b;
  background: #e4f4e7;
}

.form-status.is-error {
  color: #7a2525;
  background: #f6e2e2;
}

.direct-contact {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(196,81,81,.35);
  text-align: center;
}

.direct-contact span {
  color: #777;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.direct-contact a:first-of-type {
  color: var(--ink);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  text-shadow: 1px 1px 0 var(--red);
}

.direct-contact a:last-of-type {
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr auto .8fr;
  gap: 42px;
  align-items: center;
  padding: 30px 8px 42px;
  border-top: 1px solid rgba(196,81,81,.45);
  color: #777;
  font-size: .78rem;
}

.footer-description strong {
  color: var(--red);
  font-size: .85rem;
  text-transform: uppercase;
}

.footer-description p {
  margin: 8px 0 0;
}

.site-footer address {
  font-style: normal;
}

.site-footer address a {
  font-size: .88rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.7);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  text-transform: uppercase;
}

.footer-bottom nav a {
  font-size: .67rem;
}

@media (max-width: 920px) {
  .masthead {
    grid-template-columns: 220px 1fr;
  }

  .brand img {
    width: 220px;
  }

  .slogan {
    display: none;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
    gap: 22px;
  }

  .request-panel__inner {
    padding: 22px;
  }

  .archive-gallery--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-shell {
    width: min(calc(100% - 22px), 620px);
  }

  .masthead {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 28px 8px 22px;
    text-align: center;
  }

  .brand {
    margin: 0 auto;
  }

  .brand img {
    width: min(250px, 74vw);
  }

  .header-actions {
    align-items: center;
    text-align: center;
  }

  .utility-links {
    order: 2;
  }

  .phone {
    font-size: 1.65rem;
  }

  .header-cta {
    order: 3;
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(137, 56, 56, .45);
    border-radius: 4px;
    color: var(--white);
    background: linear-gradient(#d66d6d, var(--red));
    box-shadow: var(--soft-shadow);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
  }

  .nav-toggle__icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .nav-toggle__icon::before {
    top: -6px;
  }

  .nav-toggle__icon::after {
    top: 6px;
  }

  .site-nav {
    display: none;
    grid-template-columns: 1fr;
    margin-top: 6px;
  }

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

  .site-nav a {
    min-height: 45px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.9);
  }

  .content-layout {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .content-card {
    padding: 27px 21px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .archive-gallery--three,
  .retrofit-feature-grid,
  .retrofit-carousel-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat-row div {
    border-right: 0;
    border-bottom: 1px solid rgba(196,81,81,.25);
  }

  .stat-row div:last-child {
    border-bottom: 0;
  }

  .request-panel {
    position: static;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-bottom {
    grid-column: 1;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
