:root {
  --red: #d71920;
  --red-dark: #8f1116;
  --black: #050505;
  --ink: #171717;
  --muted: #62666d;
  --line: #dadde1;
  --soft: #f4f5f6;
  --white: #ffffff;
  --yellow: #ffd400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 94px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.button,
.eyebrow,
strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 880px;
  color: var(--white);
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.42rem, 2.5vw, 2.15rem);
  line-height: 1;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr) auto;
  gap: clamp(18px, 2.8vw, 40px);
  align-items: center;
  min-height: 96px;
  padding: 9px clamp(16px, 4vw, 56px);
  background: #050505;
  color: var(--white);
  border-bottom: 3px solid var(--red);
}

.header-brand {
  display: block;
  width: min(440px, 100%);
  height: 78px;
  background: transparent;
}

.header-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(15px, 2.1vw, 28px);
}

.nav a {
  color: #f2f2f2;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.76) 44%, rgba(0, 0, 0, 0.26)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.1) 48%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 32px));
  margin-left: clamp(16px, 6vw, 86px);
  padding: 76px 0 86px;
  align-self: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.86rem;
}

.hero-content > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: #e7e7e7;
  font-size: 1.13rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 2px solid currentColor;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.button.outline {
  background: transparent;
  color: var(--white);
}

.button:hover,
.phone-link:hover,
.nav a:hover {
  color: var(--yellow);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--red);
  color: var(--white);
}

.contact-strip > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 16px;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.about-copy h2 {
  max-width: 860px;
  font-size: clamp(2.15rem, 4.7vw, 4.25rem);
}

.about-copy > p:not(.eyebrow) {
  max-width: 860px;
  margin-top: 18px;
}

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

.division-list article,
.staff-card {
  background: var(--soft);
  border-top: 5px solid var(--red);
}

.division-list article {
  padding: 22px;
}

.division-list h3,
.staff-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.team-panel {
  padding: 28px;
  background: #111;
  color: var(--white);
  border-top: 6px solid var(--red);
}

.team-panel h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.staff-grid {
  display: grid;
  gap: 12px;
}

.staff-card {
  padding: 18px;
  color: var(--ink);
}

.staff-card p {
  font-size: 0.96rem;
}

.about-contact a {
  font-weight: 900;
}

.about-contact {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 74px);
}

.section-head {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  max-width: none;
}

.service-cards,
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-cards article,
.training-grid article {
  min-height: 230px;
  padding: 30px;
  background: var(--soft);
  border-top: 6px solid var(--red);
}

.service-cards h3,
.training-grid h3 {
  margin-bottom: 18px;
}

.solution-links,
.detail-grid,
.related-grid {
  display: grid;
  gap: 16px;
}

.solution-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
  margin: 30px auto 0;
}

.solution-links a,
.detail-card,
.related-grid a {
  background: var(--black);
  color: var(--white);
  border-top: 5px solid var(--red);
}

.solution-links a,
.detail-card,
.related-grid a {
  padding: 22px;
}

.solution-links span,
.related-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-links strong,
.related-grid strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1.06;
}

.equipment {
  background: #111;
  color: var(--white);
}

.equipment .section-head h2 {
  color: var(--white);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.equipment-card.featured {
  grid-column: span 2;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 86px;
  padding: 18px 20px;
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark:hover {
  background: #111;
}

.brand-mark img {
  width: 58px;
  max-height: 52px;
  object-fit: contain;
}

.brand-mark.wide img {
  width: min(210px, 100%);
  max-height: 52px;
}

.brand-mark.wide[href*="zephyrindustries"] img,
.brand-mark.wide[href*="fmico"] img {
  width: min(170px, 100%);
}

.brand-mark.text-mark span {
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.product-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-crop {
  overflow: hidden;
  padding: 0;
}

.photo-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.14);
  transform-origin: center bottom;
}

.equipment-card.featured > .product-img {
  height: 320px;
}

.product-img.contain,
.product-img.catalog-photo {
  object-fit: contain;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.12), transparent 30%, rgba(0, 0, 0, 0.26)),
    radial-gradient(circle at 50% 40%, #ffffff 0 44%, #eeeeee 45% 62%, #161616 63% 100%);
}

.product-img.catalog-photo {
  filter: saturate(0.98) contrast(1.04);
}

.product-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.82), rgba(8, 8, 8, 0.95) 56%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 18px),
    #151515;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  isolation: isolate;
}

.product-panel::before {
  position: absolute;
  inset: 20px;
  content: "";
  background:
    radial-gradient(circle at 54% 42%, rgba(255, 255, 255, 0.78), rgba(215, 215, 215, 0.34) 38%, rgba(0, 0, 0, 0) 64%);
  opacity: 0.9;
}

.product-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.64)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 42%, rgba(0, 0, 0, 0.4));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -5px 0 rgba(215, 25, 32, 0.9);
}

.product-panel img {
  position: relative;
  z-index: 1;
  width: min(78%, 270px);
  max-height: 172px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.12) saturate(0.9) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.38));
  opacity: 0.92;
}

.matjack-showcase img {
  width: min(82%, 285px);
  max-height: 152px;
}

.fmi-showcase img {
  width: min(76%, 250px);
  max-height: 165px;
}

.zephyr-showcase img {
  width: min(72%, 235px);
  max-height: 165px;
  filter: brightness(0.72) contrast(1.28) saturate(0.72) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
  opacity: 0.88;
}

.panel-label {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.panel-label span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-label strong {
  display: block;
  max-width: 245px;
  color: var(--white);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.equipment-copy {
  padding: 26px;
}

.equipment-copy h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.equipment-copy p:not(.eyebrow) {
  color: #d7d7d7;
}

.vendor-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.vendor-link:hover {
  color: var(--white);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background: var(--red);
  color: var(--white);
}

.service h2,
.service p {
  color: var(--white);
}

.service-content p:not(.eyebrow) {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-list span {
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.22);
  font-weight: 900;
  text-transform: uppercase;
}

.training {
  background: var(--white);
}

.detail-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08) 55%);
}

.detail-hero img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center right;
}

.detail-hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(980px, calc(100% - 32px));
  margin-left: clamp(16px, 6vw, 86px);
  padding: 74px 0;
}

.detail-hero-content p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: #e7e7e7;
  font-size: 1.13rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.56fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.detail-copy > p {
  margin-top: 18px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.detail-card p {
  margin-top: 12px;
  color: #d7d7d7;
}

.detail-panel {
  padding: 28px;
  background: var(--soft);
  border-top: 6px solid var(--red);
}

.detail-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.detail-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-panel li {
  padding: 14px 16px;
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.related {
  background: #111;
  color: var(--white);
}

.related h2 {
  color: var(--white);
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
  margin: 0 auto;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 74px);
  background: var(--black);
  color: var(--white);
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 74px);
  background: #000;
  color: var(--white);
  border-top: 4px solid var(--red);
}

.footer-brand {
  display: block;
  width: min(320px, 100%);
  height: 104px;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-footer p {
  color: #c7c7c7;
}

.site-footer address {
  font-style: normal;
  line-height: 1.8;
  text-align: right;
}

.site-footer a,
.site-footer strong {
  color: var(--white);
}

@media (max-width: 1080px) {
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(185px, 1fr) auto;
  }

  .header-brand {
    width: min(320px, 100%);
    height: 64px;
  }

  .phone-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .contact-strip,
  .section-head,
  .service-cards,
  .training-grid,
  .solution-links,
  .about-layout,
  .division-list,
  .service,
  .detail-layout,
  .detail-grid,
  .related-grid,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer address {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 8px 14px;
  }

  .header-brand {
    width: min(235px, 100%);
    height: 56px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .phone-link {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 760px;
  }

  .detail-hero,
  .detail-hero img {
    min-height: 620px;
  }

  .detail-hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding: 52px 0 64px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding: 52px 0 64px;
  }

  h1 {
    font-size: clamp(3.05rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .team-panel {
    padding: 22px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card.featured {
    grid-column: auto;
  }

  .equipment-card.featured .product-img,
  .product-img,
  .product-panel {
    height: 240px;
  }
}
