/* Sourcing for brands page (page-sourcing-for-brands.php)
   Namespace: .hs-brands__*
   Shared classes (.hs-container .hs-section .hs-section--soft .hs-section--navy
   .hs-kicker .hs-page__hero .hs-page__title .hs-btn .hs-page__panel .hs-prose)
   and the tokens in assets/css/tokens.css are reused as-is and are not restyled
   here. Orange stays at accent scale. */

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

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

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

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

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

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

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

/* 01 — report-style blocks, one per part of the brand requirement */
.hs-brands__blocks {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hs-brands__block {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--hs-mist);
}

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

/* Small numeric accent only */
.hs-brands__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hs-orange);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.hs-brands__name {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

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

.hs-brands__rows {
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0;
}

.hs-brands__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 22px;
  border-top: 1px solid var(--hs-mist);
}

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

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

.hs-brands__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hs-ink);
  overflow-wrap: break-word;
}/* 02 — specification and approval comparison, report-style columns */
.hs-brands__table-wrap {
  overflow-x: auto;
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
}

.hs-brands__caption {
  caption-side: top;
  text-align: left;
  padding: 18px 22px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-slate);
}

.hs-brands__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}

.hs-brands__table th,
.hs-brands__table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 20px;
  border-top: 1px solid var(--hs-mist);
}

.hs-brands__table thead th {
  background-color: var(--hs-cloud);
  color: var(--hs-navy);
  border-top: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hs-brands__table thead th:nth-child(1) {
  width: 26%;
}

.hs-brands__table thead th:nth-child(3) {
  width: 30%;
}

.hs-brands__td-axis {
  font-weight: 600;
  color: var(--hs-navy);
  overflow-wrap: break-word;
}

.hs-brands__td-text {
  font-weight: 400;
  color: var(--hs-ink);
  overflow-wrap: break-word;
}

.hs-brands__td-state {
  overflow-wrap: break-word;
}

/* The state is carried by its label; the dot is decorative and never the only
   signal */
.hs-brands__state {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hs-navy);
  font-variant-numeric: tabular-nums;
}

.hs-brands__state-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--hs-blue);
}

.hs-brands__panel {
  max-width: 860px;
  margin-top: 40px;
}

.hs-brands__panel .hs-prose h3 {
  margin-top: 0;
}

.hs-brands__panel .hs-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hs-slate);
}/* 03 — the brand file, one record row per part */
.hs-brands__record {
  margin: 0;
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hs-brands__record-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px 32px;
  padding: 16px 24px;
  border-top: 1px solid var(--hs-mist);
}

.hs-brands__record-row:first-child {
  border-top: 0;
}

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

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

.hs-brands__link {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 70ch;
  margin: 36px 0 0;
}

/* 04 — field photography */
.hs-brands__figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
}

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

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

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

.hs-brands__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-brands__fig-text {
  flex: 1 1 auto;
}

.hs-brands__fig-size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hs-slate);
  font-variant-numeric: tabular-nums;
}

/* Closing call to action */
.hs-brands__cta {
  border-bottom: 0;
}

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

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

.hs-brands__cta-text {
  font-size: 16px;
  color: #c4d5e2;
  max-width: 62ch;
  margin: 0;
}

.hs-brands__cta-actions {
  flex: none;
}/* Touch targets stay at or above 44px */
.hs-brands .hs-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Visible keyboard focus */
.hs-brands a:focus-visible,
.hs-brands [tabindex]:focus-visible {
  outline: 3px solid var(--hs-blue);
  outline-offset: 2px;
}

.hs-brands__cta .hs-btn:focus-visible {
  outline: 3px solid var(--hs-orange);
  outline-offset: 3px;
}

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

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

  .hs-brands__block {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

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

/* The comparison table becomes a stack of records, one column wide */
@media (max-width: 820px) {
  .hs-brands__table-wrap {
    overflow-x: visible;
  }

  .hs-brands__table,
  .hs-brands__table tbody,
  .hs-brands__table tr,
  .hs-brands__table th,
  .hs-brands__table td {
    display: block;
    width: auto;
  }

  .hs-brands__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hs-brands__table tr {
    padding: 20px 20px 6px;
    border-top: 1px solid var(--hs-mist);
  }

  .hs-brands__table tbody tr:first-child {
    border-top: 0;
  }

  .hs-brands__table th,
  .hs-brands__table td {
    padding: 0 0 14px;
    border-top: 0;
  }

  .hs-brands__td-axis::before,
  .hs-brands__td-text::before,
  .hs-brands__td-state::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hs-slate);
  }
}

@media (max-width: 640px) {
  .hs-brands__figs {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

  .hs-brands__row dt,
  .hs-brands__record-row dt {
    padding-top: 0;
  }

  .hs-brands__record-row {
    padding: 14px 18px;
  }

  .hs-brands__hero-actions .hs-btn,
  .hs-brands__cta-actions .hs-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-brands *,
  .hs-brands *::before,
  .hs-brands *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}