.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 35, 29, .64));
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.photo-note {
  position: absolute;
  z-index: 3;
  left: 28px;
  top: 28px;
  padding: 11px 14px;
  background: rgba(242, 240, 232, .9);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quality-badge,
.hero-tag {
  z-index: 3;
}

.works {
  background: #f0efe7;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 12px;
}

.work-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #cbd0c3;
}

.work-card.work-tall { grid-row: span 2; }
.work-card.work-wide { grid-column: span 2; }

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(1.035) saturate(1.06);
  transition: transform .5s ease, filter .5s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(16, 25, 20, .68));
  pointer-events: none;
}

.work-card:hover img {
  transform: scale(1.035);
  filter: brightness(1.08) saturate(1.1);
}

.work-card figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  color: #fff;
}

.work-card figcaption b {
  font-family: Unbounded, sans-serif;
  font-size: 15px;
}

.work-card figcaption span {
  color: #dce5dc;
  font-size: 10px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.works-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.works-footer p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.factory-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 26, 21, .45));
}

.factory-label { z-index: 2; }

.about-photo {
  height: 175px;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(16, 25, 20, .72));
}

.about-photo span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: 150px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.about-copy ul { margin-top: 26px; }

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

.topline a:hover { color: var(--lime); }

.cta-email {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  text-underline-offset: 5px;
}

@media (max-width: 760px) {
  .topline a { display: none; }
  .photo-note { left: 16px; top: 16px; }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    gap: 8px;
  }
  .work-card figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: block;
  }
  .work-card figcaption b { display: block; font-size: 12px; }
  .work-card figcaption span { display: block; margin-top: 4px; font-size: 8px; text-align: left; }
  .works-footer { display: block; }
  .works-footer .button { width: 100%; margin-top: 22px; }
  .about-photo { height: 155px; }
}
