/* ========================================
   HOME — FULL-BLEED VARIANT
   Alternate treatment of the redesigned story sections: instead of
   sitting inside a bordered box within the container, each section
   spans edge-to-edge. Split sections put media on one full half and
   text on the other; band sections (certs, suppliers) run wall-to-wall
   with hairline dividers. Same palette/type as the boxed version.
   Loaded only on the "Home — Full Bleed" page template.
======================================== */

/* ----------------------------------------
   Shared section head
---------------------------------------- */
.hsb-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c8861d;
  margin-bottom: 0.6rem;
}

.hsb-eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #c8861d;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.hsb-heading {
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hsb-desc {
  color: var(--text-gray);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.hsb-desc:last-child {
  margin-bottom: 0;
}

.hsb-desc strong {
  color: var(--blue);
}

.hsb-actions {
  margin-top: 1.9rem;
}

/* Constrained head for band sections (aligned to the site gutter) */
.hsb-head {
  max-width: 1320px;
  margin: 0 auto 2.75rem;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

/* ----------------------------------------
   Full-bleed split — text half + media half
---------------------------------------- */
.hsb-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #fff;
}

.hsb-feature--alt {
  background: #f5f7fc;
}

.hsb-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.75rem, 6vw, 6rem) clamp(1.5rem, 5.5vw, 5.5rem);
}

/* Keep line length readable and pull text toward the page centre */
.hsb-feature-body > * {
  max-width: 620px;
  width: 100%;
}

.hsb-feature:not(.hsb-feature--media-left) .hsb-feature-body {
  align-items: flex-end;
}

.hsb-feature:not(.hsb-feature--media-left) .hsb-feature-body > * {
  margin-right: 0;
}

.hsb-feature-media {
  position: relative;
  min-height: clamp(320px, 40vw, 620px);
  background: #eef1f7;
  overflow: hidden;
}

.hsb-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product renders sit better contained on a light field */
.hsb-feature--contain .hsb-feature-media {
  background: #f5f7fc;
}

.hsb-feature--contain .hsb-feature-media img {
  object-fit: contain;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

/* Media on the left */
.hsb-feature--media-left .hsb-feature-media {
  order: -1;
}

/* ---- Spec chips ---- */
.hsb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hsb-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid #cdd6ea;
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  background: #fff;
}

/* ----------------------------------------
   Suppliers band (Sourcing) — wall-to-wall
---------------------------------------- */
.hsb-suppliers {
  display: grid;
  grid-template-columns: auto repeat(6, 1fr);
  align-items: stretch;
  border-top: 1px solid #e3e6ee;
  border-bottom: 1px solid #e3e6ee;
  background: #fff;
}

.hsb-suppliers-label {
  display: flex;
  align-items: center;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: #f5f7fc;
  border-right: 1px solid #e3e6ee;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.hsb-suppliers-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-left: 1px solid #e3e6ee;
}

.hsb-suppliers-logo:first-of-type {
  border-left: 0;
}

.hsb-suppliers-logo img {
  max-width: 100%;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

/* ----------------------------------------
   Certifications — wall-to-wall card band
---------------------------------------- */
.hsb-certs {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #f5f7fc;
}

.hsb-cert-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-top: 1px solid #e3e6ee;
  border-bottom: 1px solid #e3e6ee;
  background: #fff;
}

.hsb-cert-card {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 1px solid #e3e6ee;
}

.hsb-cert-card:first-child {
  border-left: 0;
}

.hsb-cert-std + .hsb-cert-std {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e3e6ee;
}

.hsb-cert-std-code {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.hsb-cert-std-desc {
  color: var(--text-gray);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

.hsb-cert-card--media {
  justify-content: space-between;
  gap: 1.5rem;
  background: #fafbfe;
}

.hsb-cert-card--media img {
  max-width: 100%;
  height: auto;
}

.hsb-cert-card--image {
  padding: 0;
  background: #eef1f7;
  min-height: 240px;
}

.hsb-cert-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hsb-cert-actions {
  margin-top: auto;
}

/* ----------------------------------------
   Footprint — full-bleed split (text + map)
---------------------------------------- */
.hsb-footprint {
  display: grid;
  grid-template-columns: minmax(320px, 40%) 1fr;
  align-items: stretch;
  background: #fff;
}

.hsb-footprint-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
}

.hsb-footprint-stats {
  display: flex;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e3e6ee;
  border-radius: 5px;
  overflow: hidden;
}

.hsb-footprint-stats li {
  flex: 1;
  padding: 1rem 1.15rem;
  background: #f8fafd;
}

.hsb-footprint-stats li + li {
  border-left: 1px solid #e3e6ee;
}

.hsb-footprint-stat-value {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hsb-footprint-stat-label {
  display: block;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.hsb-footprint-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  background: #f5f7fc;
  border-left: 1px solid #e3e6ee;
}

.hsb-footprint-map img {
  width: 100%;
  height: auto;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media screen and (max-width: 900px) {
  .hsb-feature,
  .hsb-footprint {
    grid-template-columns: 1fr;
  }
  .hsb-feature-media {
    order: 2;
    min-height: 300px;
  }
  .hsb-feature--media-left .hsb-feature-media {
    order: -1;
  }
  .hsb-feature:not(.hsb-feature--media-left) .hsb-feature-body {
    align-items: flex-start;
  }
  .hsb-feature-body > * {
    max-width: none;
  }
  .hsb-footprint-map {
    border-left: 0;
    border-top: 1px solid #e3e6ee;
  }
  .hsb-cert-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hsb-cert-card:nth-child(2) {
    border-left: 0;
  }
  .hsb-cert-card--image {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #e3e6ee;
  }
  .hsb-suppliers {
    grid-template-columns: repeat(3, 1fr);
  }
  .hsb-suppliers-label {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid #e3e6ee;
    justify-content: center;
  }
  .hsb-suppliers-logo:nth-child(2),
  .hsb-suppliers-logo:nth-child(3),
  .hsb-suppliers-logo:nth-child(4) {
    border-top: 0;
  }
}

@media screen and (max-width: 620px) {
  .hsb-cert-grid {
    grid-template-columns: 1fr;
  }
  .hsb-cert-card {
    border-left: 0;
  }
  .hsb-cert-card + .hsb-cert-card {
    border-top: 1px solid #e3e6ee;
  }
  .hsb-suppliers {
    grid-template-columns: repeat(2, 1fr);
  }
  .hsb-suppliers-logo {
    border-top: 1px solid #e3e6ee;
  }
  .hsb-suppliers-logo:nth-child(2),
  .hsb-suppliers-logo:nth-child(3) {
    border-top: 0;
  }
  .hsb-footprint-stats {
    flex-direction: column;
  }
  .hsb-footprint-stats li + li {
    border-left: 0;
    border-top: 1px solid #e3e6ee;
  }
}
