/* Visual refresh for the homepage, catalog and welded-gabion detail. */
.mesh-refresh {
  --mesh-forest: #16392c;
  --mesh-deep: #102d23;
  --mesh-moss: #64785c;
  --mesh-ink: #21362c;
  --mesh-muted: #536256;
  --mesh-paper: #f8f6ef;
  --mesh-card: #fffefa;
  --mesh-soft: #ecefe5;
  --mesh-border: #d8ded1;
  --mesh-radius: 14px;
  margin: 0;
  background: var(--mesh-paper);
  color: var(--mesh-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.mesh-refresh .container {
  max-width: 1260px;
  padding-left: max(clamp(17px, 3.8vw, 48px), env(safe-area-inset-left));
  padding-right: max(clamp(17px, 3.8vw, 48px), env(safe-area-inset-right));
}
.mesh-refresh figure { margin: 0; }
.mesh-refresh a:focus-visible,
.mesh-refresh button:focus-visible,
.mesh-refresh input:focus-visible,
.mesh-refresh textarea:focus-visible,
.mesh-refresh model-viewer:focus-visible {
  outline: 3px solid #9b6415;
  outline-offset: 3px;
}
.mesh-refresh [hidden] { display: none !important; }
.mesh-refresh [id] { scroll-margin-top: 5.75rem; }
.mesh-refresh > header {
  background: var(--mesh-card);
  border: 0;
  border-bottom: 1px solid var(--mesh-border);
  padding: 0;
}
.mesh-refresh .header-inner { min-height: 72px; padding-block: 13px; }
.mesh-refresh .logo-text,
.mesh-refresh .logo-text span { color: var(--mesh-forest); }
.mesh-refresh .logo-text span { opacity: .7; }
.mesh-refresh .logo-sub,
.mesh-refresh .header-contact { color: var(--mesh-muted); }
.mesh-refresh .hdr-cta {
  clip-path: none;
  background: var(--mesh-forest);
  color: #fff !important;
  border-radius: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mesh-refresh .hdr-cta:hover { background: var(--mesh-deep); }
.mesh-refresh > nav {
  background: var(--mesh-card) !important;
  border-bottom: 1px solid var(--mesh-border) !important;
  box-shadow: none;
}
.mesh-refresh > nav ul {
  max-width: 1260px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding-inline: clamp(10px, 3vw, 40px);
  overflow-x: auto;
}
.mesh-refresh > nav a {
  color: var(--mesh-muted) !important;
  font-weight: 650;
  letter-spacing: normal;
  padding: 12px clamp(9px, 1.45vw, 20px);
  white-space: nowrap;
}
.mesh-refresh > nav a:hover,
.mesh-refresh > nav a.active {
  border-bottom-color: var(--mesh-moss);
  color: var(--mesh-forest) !important;
}
.mesh-refresh .mesh-eyebrow {
  color: var(--mesh-moss);
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: .07em;
  margin: 0 0 13px;
}
.mesh-refresh .mesh-intro {
  background: var(--mesh-paper);
  padding-block: clamp(32px, 6vw, 86px);
}
.mesh-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 5.5vw, 78px);
  align-items: center;
}
.mesh-intro-copy { min-width: 0; }
.mesh-intro h1 {
  color: var(--mesh-forest);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1.16;
  margin: 0 0 20px;
}
.mesh-intro .mesh-lead {
  max-width: 34rem;
  color: var(--mesh-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.85;
  margin: 0 0 26px;
}
.mesh-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mesh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 17px;
  border: 1px solid var(--mesh-forest);
  border-radius: 7px;
  background: var(--mesh-forest);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.mesh-button:hover { background: var(--mesh-deep); color: #fff; }
.mesh-button.secondary { background: transparent; color: var(--mesh-forest); }
.mesh-button.secondary:hover { background: var(--mesh-soft); color: var(--mesh-forest); }
.mesh-button:disabled { opacity: .62; cursor: wait; }
.mesh-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--mesh-radius);
}
.mesh-image figcaption {
  margin-top: 9px;
  color: var(--mesh-muted);
  font-size: .81rem;
}
.mesh-intro .mesh-quick-links {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.mesh-quick-links a,
.mesh-text-link { color: var(--mesh-forest); font-weight: 650; }
.mesh-refresh .mesh-section {
  padding-block: clamp(35px, 5.4vw, 72px);
  background: var(--mesh-paper);
}
.mesh-refresh .mesh-section.tinted { background: var(--mesh-soft); }
.mesh-section-head {
  display: flex;
  gap: 16px 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}
.mesh-section-head h2 {
  margin: 0;
  color: var(--mesh-forest);
  font-size: clamp(1.6rem, 2.85vw, 2.55rem);
  line-height: 1.25;
}
.mesh-section-head p { color: var(--mesh-muted); margin: 9px 0 0; }
.mesh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mesh-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mesh-tile {
  min-width: 0;
  background: var(--mesh-card);
  border: 1px solid var(--mesh-border);
  border-radius: var(--mesh-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mesh-tile .mesh-image img { border-radius: 0; }
.mesh-tile .mesh-image figcaption { margin: 8px 18px 0; }
.mesh-tile-copy { padding: clamp(16px, 2.5vw, 27px); flex: 1; }
.mesh-tile-copy h3 { color: var(--mesh-forest); font-size: 1.3rem; line-height: 1.4; margin: 0 0 10px; }
.mesh-tile-copy p { margin: 0 0 14px; color: var(--mesh-muted); }
.mesh-tile-copy .mesh-quick-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.mesh-compare-card { padding: clamp(18px, 2.6vw, 30px); background: var(--mesh-card); border-radius: var(--mesh-radius); }
.mesh-compare-card h3 { color: var(--mesh-forest); margin: 12px 0 6px; }
.mesh-mesh-sample { width: 100%; height: 75px; color: var(--mesh-forest); display: block; border-radius: 10px; }
.mesh-compare-card dl { margin: 0 0 12px; }
.mesh-compare-card dl > div { padding: 9px 0; border-bottom: 1px solid var(--mesh-border); }
.mesh-compare-card dt { color: var(--mesh-forest); font-weight: 700; }
.mesh-compare-card dd { margin: 1px 0 0; color: var(--mesh-muted); }
.mesh-refresh .mesh-contact-strip {
  color: #f8faf4;
  background: var(--mesh-forest);
  padding-block: clamp(28px, 5vw, 56px);
}
.mesh-contact-strip .container { display: flex; justify-content: space-between; gap: 16px 36px; align-items: center; }
.mesh-contact-strip h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.mesh-contact-strip p { margin: 0; color: #d9e5d8; }
.mesh-contact-strip .mesh-button { color: var(--mesh-forest); background: var(--mesh-card); }
.mesh-contact-strip .mesh-button:hover { background: var(--mesh-soft); }
.mesh-refresh > footer { background: var(--mesh-deep); border-color: var(--mesh-moss); }
.mesh-refresh .footer-bottom { border-color: #3f5b4c; }
.mesh-refresh .public-security-filing { color: #d5e2d3; }
.mesh-refresh .section-header h2::after { background: var(--mesh-moss); }
.mesh-refresh .section-header h2,
.mesh-refresh .section-intro h2,
.mesh-refresh .feature-item h3 { color: var(--mesh-forest); }
.mesh-refresh .feature-item { border-left-color: var(--mesh-moss); border-radius: 8px; }
.mesh-refresh .data-table { box-shadow: none; table-layout: auto; }
.mesh-refresh .data-table th { background: var(--mesh-forest); color: #fff; }
.mesh-refresh .data-table td { color: var(--mesh-ink); }
.mesh-refresh .data-table td,
.mesh-refresh .data-table th { border-color: var(--mesh-border); padding: 9px 12px; overflow-wrap: anywhere; }
.mesh-refresh .data-table td:first-child { white-space: normal; }
.mesh-refresh .m-bar { background: var(--mesh-card); border-color: var(--mesh-border); padding-bottom: env(safe-area-inset-bottom); }
.mesh-refresh .m-bar a { color: var(--mesh-forest) !important; }
.mesh-refresh .m-bar a.m-bar-main { color: #fff !important; background: var(--mesh-forest); }
.mesh-refresh.mesh-catalog .mesh-intro { padding-block: clamp(26px, 4.4vw, 60px); }
.mesh-catalog .mesh-intro h1 { margin-bottom: 10px; font-size: clamp(2.12rem, 4vw, 3.45rem); }
.mesh-catalog .mesh-intro .mesh-lead { margin-bottom: 16px; }
.mesh-refresh .catalog-nav-wrap {
  top: 52px;
  background: var(--mesh-card);
  border-color: var(--mesh-border);
  box-shadow: none;
}
.mesh-refresh .catalog-nav a,
.mesh-refresh .catalog-more a { background: var(--mesh-card); color: var(--mesh-forest); border-color: var(--mesh-border); }
.mesh-refresh .catalog-nav a:hover,
.mesh-refresh .catalog-more a:hover { background: var(--mesh-soft); color: var(--mesh-forest); }
.mesh-refresh.mesh-catalog #welded-gabion,
.mesh-refresh.mesh-catalog #gabion,
.mesh-refresh.mesh-catalog #blast-cage { scroll-margin-top: 7rem; }
.mesh-refresh.mesh-catalog .catalog-section,
.mesh-refresh.mesh-catalog .application-section { background: var(--mesh-paper); color: var(--mesh-ink); padding-block: clamp(35px, 5vw, 64px); }
.mesh-refresh.mesh-catalog .catalog-section.section-dark { background: var(--mesh-soft); }
.mesh-refresh.mesh-catalog .catalog-section h2,
.mesh-refresh.mesh-catalog .section-intro .kicker { color: var(--mesh-forest); }
.mesh-refresh.mesh-catalog .catalog-section p,
.mesh-refresh.mesh-catalog .section-intro p { color: var(--mesh-muted); }
.mesh-refresh .product-card,
.mesh-refresh .application-card {
  background: var(--mesh-card);
  border: 1px solid var(--mesh-border);
  border-radius: var(--mesh-radius);
  box-shadow: none;
}
.mesh-refresh .product-card:hover { border-color: var(--mesh-moss); transform: none; box-shadow: none; }
.mesh-refresh .product-card .btn {
  color: var(--mesh-forest);
  background: var(--mesh-soft);
  border: 0;
  border-radius: 6px;
}
.mesh-refresh .product-card .btn:hover { color: #fff; background: var(--mesh-forest); }
.mesh-refresh .product-card h3,
.mesh-refresh .application-card h3 { color: var(--mesh-forest); }
.mesh-refresh .product-card p,
.mesh-refresh .application-card p { color: var(--mesh-muted); }
.mesh-refresh .catalog-hero > * { min-width: 0; }
.mesh-refresh .spec-guide { background: var(--mesh-card); border-color: var(--mesh-border); box-shadow: none; }
.mesh-refresh .spec-guide h3 { color: var(--mesh-forest); }
.mesh-refresh .spec-guide>p { border-left-color: var(--mesh-moss); }
.mesh-refresh .catalog-figure { background: var(--mesh-card); border-color: var(--mesh-border); }
.mesh-refresh.mesh-detail .mesh-intro { padding-top: clamp(24px, 4vw, 46px); }
.mesh-detail .mesh-intro h1 { font-size: clamp(2rem, 4vw, 3.55rem); }
.mesh-detail .mesh-intro h1 span { display: block; margin-top: 5px; font-size: .62em; }
.mesh-detail .mesh-intro .mesh-image img { object-fit: contain; background-color: #e4e8dc; }
.mesh-refresh.mesh-detail .mesh-details-sections { padding-block: 18px 62px; background: var(--mesh-paper); }
.mesh-refresh .detail-layout { grid-template-columns: minmax(0, 1fr) minmax(215px, 280px); gap: clamp(19px, 3.2vw, 40px); }
.mesh-refresh .detail-layout > * { min-width: 0; }
.mesh-refresh .detail-copy { padding: clamp(15px, 3vw, 32px); border: 1px solid var(--mesh-border); border-radius: var(--mesh-radius); background: var(--mesh-card); box-shadow: none; }
.mesh-refresh .detail-copy h2 { margin-top: 36px; padding-left: 0; border-left: 0; color: var(--mesh-forest) !important; line-height: 1.45; }
.mesh-refresh .detail-copy h2:first-child { margin-top: 0; }
.mesh-refresh .detail-copy p,
.mesh-refresh .detail-copy li { color: var(--mesh-muted); }
.mesh-refresh .detail-copy p a,
.mesh-refresh .detail-copy li a,
.mesh-refresh .detail-copy td a { color: var(--mesh-forest); }
.mesh-refresh .detail-aside {
  background: var(--mesh-forest);
  border: 0;
  border-radius: var(--mesh-radius);
  box-shadow: none;
}
.mesh-refresh .detail-aside li { color: #e0e9dd; }
.mesh-refresh .detail-aside .contact-phone { color: #fff !important; }
.mesh-refresh .product-study { background: transparent; }
.mesh-model,
.mesh-quote {
  margin: 28px 0;
  padding: clamp(14px, 2.6vw, 25px);
  border: 1px solid var(--mesh-border);
  border-radius: 10px;
  background: var(--mesh-soft);
}
.mesh-model p,
.mesh-quote p { margin: 0 0 12px; }
.mesh-model h2,
.mesh-quote h2 { margin: 0 0 10px !important; }
.mesh-model-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mesh-paper);
}
.mesh-model-stage img,
.mesh-model-stage model-viewer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mesh-model-stage model-viewer:focus-visible { outline-offset: -4px; }
.mesh-model-stage model-viewer::part(default-progress-bar) { background: var(--mesh-forest); }
.mesh-model-status { min-height: 2.4em; font-size: .9rem; margin-top: 9px !important; }
.mesh-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 15px; margin-bottom: 16px; }
.mesh-quote-fields label,
.mesh-quote-output label { display: block; font-weight: 650; color: var(--mesh-forest); }
.mesh-quote-fields input,
.mesh-quote-fields textarea,
.mesh-quote-output textarea {
  background: var(--mesh-card);
  border: 1px solid #9fac9a;
  border-radius: 5px;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin-top: 5px;
  color: var(--mesh-ink);
  font: inherit;
  font-size: 16px;
  padding: 9px 10px;
}
.mesh-quote-fields .wide { grid-column: 1 / -1; }
.mesh-quote-fields textarea,
.mesh-quote-output textarea { resize: vertical; min-height: 80px; }
.mesh-quote-output { margin-top: 12px; }
.mesh-quote-status { margin-top: 10px !important; }
@media (max-width: 880px) {
  .mesh-refresh .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .mesh-refresh .detail-aside { position: static; }
}
@media (max-width: 740px) {
  .mesh-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .mesh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mesh-section-head,
  .mesh-contact-strip .container { align-items: flex-start; flex-wrap: wrap; }
  .mesh-refresh .header-contact { display: none; }
  .mesh-refresh > nav ul { justify-content: flex-start; }
  .mesh-refresh .catalog-nav-wrap { top: 46px; }
}
@media (max-width: 520px) {
  .mesh-grid,
  .mesh-grid.two,
  .mesh-quote-fields { grid-template-columns: minmax(0, 1fr); }
  .mesh-refresh .detail-copy { font-size: .96rem; }
  .mesh-refresh .data-table td,
  .mesh-refresh .data-table th { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh-refresh *,
  .mesh-refresh *::before,
  .mesh-refresh *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
