/* V2.4 homepage refinement. Does not change V2.3 files. */

body.v24 { color: var(--charcoal); }

body.v24.home header.site {
  top: 0;
  padding: 12px 0 36px;
  background: linear-gradient(180deg, rgba(246,241,230,.96) 0%, rgba(246,241,230,.88) 48%, rgba(246,241,230,.28) 78%, transparent 100%);
  color: var(--ink);
}
body.v24.home .nav a,
body.v24.home .brand,
body.v24.home .menu-toggle {
  color: var(--ink);
}
body.v24.home .btn.ghost {
  background: rgba(246,241,230,.88);
  border-color: var(--pine);
  color: var(--ink);
}

body.v24 .hero-copy {
  max-width: 44rem;
}
body.v24 .hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  max-width: 22ch;
  line-height: 1.12;
}
body.v24 .spec-rail {
  position: static;
  width: auto;
  max-width: 36rem;
  margin-top: 22px;
  right: auto;
  bottom: auto;
  background: rgba(246,241,230,.82);
  border-top: 2px solid var(--chartreuse);
  padding: 14px 16px;
}

body.v24 .float-wa { display: none !important; }

.contact-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 172px;
}
.contact-dock .lead-fab {
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 36, 28, .12);
}
.contact-dock .lead-fab.is-on { display: inline-flex; }
.contact-dock .dock-wa {
  min-height: 44px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 960px) {
  .contact-dock {
    right: 16px;
    bottom: calc(12px + 46px + 16px);
    width: auto;
  }
  .contact-dock .dock-wa { display: none; }
}

.geo-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 36px;
}
.geo-answers article {
  border-top: 2px solid var(--chartreuse);
  padding-top: 16px;
}
.geo-answers h3 {
  font-size: 22px;
  margin: 0 0 10px;
}
.geo-answers p { margin: 0 0 10px; color: var(--charcoal); }
.geo-answers a { color: var(--pine); }

.about-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0 48px;
}
.about-modules article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 24px 22px;
}
.about-modules .n {
  display: block;
  color: var(--olive);
  letter-spacing: .18em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-modules h3 { font-size: 26px; margin: 0 0 10px; }
.about-visual-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.cat-grid-v4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cat-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cat-card:hover,
.cat-card:focus-visible {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(197, 212, 106, .45);
  outline: none;
}
.cat-card .cat-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card .cat-copy {
  display: flex;
  flex-direction: column;
  min-height: 148px;
  padding: 16px 18px 18px;
  background: var(--ivory);
  border-top: 3px solid transparent;
}
.cat-card:hover .cat-copy,
.cat-card:focus-visible .cat-copy { border-top-color: var(--chartreuse); }
.cat-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}
.cat-card p {
  margin: 0;
  color: var(--charcoal);
  font-size: 14px;
}

.featured-v4 .product {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.featured-v4 .visual {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 16px;
}
.featured-v4 .visual img,
.featured-v4 .visual picture,
.featured-v4 .visual picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.featured-v4 .product-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.doc-note, .cap-note {
  font-size: 13px;
  color: var(--mute);
  max-width: 72ch;
  margin-top: 20px;
}

.insight .meta {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 8px;
}
.sources {
  font-size: 13px;
  color: var(--mute);
  margin-top: 24px;
  max-width: 72ch;
}
body.v24.inner header.site { top: 0; }

@media (max-width: 1100px) {
  .cat-grid-v4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  body.v24 .doc-gallery-v3,
  body.v24 .equip-support {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .cat-grid-v4,
  .about-modules,
  .geo-answers,
  .featured-v4 .product,
  body.v24 .doc-gallery-v3,
  body.v24 .equip-support { grid-template-columns: 1fr; }
  body.v24 .hero-copy h1 { max-width: none; font-size: clamp(32px, 9vw, 42px); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-card { transition: none; }
}
