/* Product sourcing page (page-product-sourcing.php) */

.hs-product__hero {
  padding-bottom: clamp(44px, 5vw, 68px);
}

.hs-product__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 62ch;
  margin: 24px 0 0;
}

.hs-product__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Touch targets: the buttons are 46px high site-wide; keep them there. */
.hs-product__hero-actions .hs-btn,
.hs-product__cta-actions .hs-btn {
  min-height: 46px;
}

.hs-product__section {
  border-bottom: 1px solid var(--hs-mist);
}

/* Section intro: heading left, note right (house pattern) */
.hs-product__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 48px;
}

.hs-product__h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0;
}

.hs-product__intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 56ch;
  margin: 0;
}

.hs-product__intro-text a {
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 01 / Specification panels */
.hs-product__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hs-product__spec {
  min-width: 0;
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  padding: 26px 28px;
}

.hs-product__spec-num,
.hs-product__path-num,
.hs-product__approval-num,
.hs-product__fig-size {
  font-variant-numeric: tabular-nums;
}

.hs-product__spec-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hs-blue);
  margin-bottom: 8px;
}

.hs-product__spec-name {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.hs-product__spec-rows {
  margin: 0;
}

.hs-product__spec-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 4px 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hs-mist);
}

.hs-product__spec-row + .hs-product__spec-row {
  margin-top: 14px;
}

.hs-product__spec-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-slate);
  padding-top: 3px;
}

.hs-product__spec-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hs-ink);
  overflow-wrap: break-word;
}

/* Commercial context that sits with the brief */
.hs-product__note {
  margin-top: 32px;
}

.hs-product__note h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 14px;
  background-color: var(--hs-orange);
}

.hs-product__extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 48px;
  margin: 0;
}

.hs-product__extra {
  border-top: 1px solid var(--hs-mist);
  padding-top: 14px;
  min-width: 0;
}

.hs-product__extra dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-navy);
  margin-bottom: 8px;
}

.hs-product__extra dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hs-ink);
}

/* 02 / From brief to sourcing path */
.hs-product__paths {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 0;
  padding: 0;
}

.hs-product__path {
  min-width: 0;
  border-top: 2px solid var(--hs-navy);
  padding-top: 18px;
}

.hs-product__path-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hs-blue);
  margin-bottom: 10px;
}

.hs-product__path-name {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.hs-product__path-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-slate);
  margin: 0 0 16px;
}

.hs-product__path-output {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--hs-mist);
  padding-top: 14px;
}

.hs-product__path-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-navy);
}

.hs-product__path-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hs-ink);
}

/* 03 / Approvals and records */
.hs-product__record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 56px;
  align-items: start;
}

.hs-product__record-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hs-slate);
  margin: 0 0 18px;
}

.hs-product__approval-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-product__approval {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--hs-mist);
}

.hs-product__approval:first-child {
  padding-top: 0;
  border-top: 0;
}

.hs-product__approval-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hs-blue);
  padding-top: 3px;
}

/* Key checkpoint marker — the page's small orange accent */
.hs-product__approval-num::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: 1px;
  background-color: var(--hs-orange);
}

.hs-product__approval-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--hs-ink);
}

.hs-product__approval-text {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hs-slate);
}

/* Records kept for the order */
.hs-product__record-list {
  margin: 0;
}

.hs-product__record-row {
  border-top: 1px solid var(--hs-mist);
  padding-top: 14px;
}

.hs-product__record-row + .hs-product__record-row {
  margin-top: 16px;
}

.hs-product__record-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-navy);
  margin-bottom: 6px;
}

.hs-product__record-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hs-ink);
}

/* 04 / Product detail figures */
.hs-product__figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.hs-product__fig {
  min-width: 0;
  margin: 0;
}

.hs-product__fig-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
}

.hs-product__fig-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hs-slate);
}

.hs-product__fig-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-blue);
}

.hs-product__fig-text {
  flex: 1 1 auto;
  min-width: 0;
}

.hs-product__fig-size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hs-slate);
}

/* Closing project inquiry band */
.hs-product__cta {
  border-bottom: 0;
}

.hs-product__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hs-product__cta-title {
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--hs-white);
  max-width: 30ch;
  margin: 0 0 12px;
}

.hs-product__cta-text {
  font-size: 16px;
  line-height: 1.7;
  color: #c4d5e2;
  max-width: 60ch;
  margin: 0;
}

.hs-product__cta-actions {
  flex: none;
}

/* Focus visibility for the controls on this page */
.hs-product a:focus-visible,
.hs-product button:focus-visible,
.hs-product [tabindex]:focus-visible {
  outline: 2px solid var(--hs-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.hs-product__cta .hs-btn:focus-visible {
  outline-color: var(--hs-white);
}

/* Responsive: single column on small screens */
@media (max-width: 1024px) {
  .hs-product__paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media (max-width: 900px) {
  .hs-product__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .hs-product__specs,
  .hs-product__paths,
  .hs-product__record,
  .hs-product__extras,
  .hs-product__figs {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-product__figs {
    gap: 36px;
  }

  .hs-product__cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hs-product__cta-title,
  .hs-product__cta-text {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hs-product__spec {
    padding: 22px 20px;
  }

  .hs-product__spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .hs-product__spec-row dt {
    padding-top: 0;
  }

  .hs-product__approval {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-product__approval-text {
    grid-column: 1;
  }

  .hs-product__hero-actions,
  .hs-product__cta-actions {
    width: 100%;
  }

  .hs-product__hero-actions .hs-btn,
  .hs-product__cta-actions .hs-btn {
    width: 100%;
  }
}

/* Motion guard */
@media (prefers-reduced-motion: reduce) {
  .hs-product *,
  .hs-product *::before,
  .hs-product *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}