/* Full-width warehouse panorama, framed like the factory hero. */
.hc-brand-home .hb-section.hb-stock { padding-top: 0; }
.hc-brand-home .hb-stock-intro {
  --stock-panorama-ink: #10161a;
  --stock-panorama-text: #f7fafc;
  --stock-gallery-overlap: clamp(20px, 3vw, 44px);
  margin-bottom: clamp(24px, 3vw, 44px);
}
.hc-brand-home .hb-stock-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(380px, 35vw, 600px);
  overflow: hidden;
  background: var(--stock-panorama-ink);
}
.hc-brand-home .hb-stock-yard { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hc-brand-home .hb-stock-yard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hc-brand-home .hb-stock-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16,22,26,.92), rgba(16,22,26,.81) 36%, rgba(16,22,26,.38) 61%, rgba(16,22,26,.06));
  pointer-events: none;
}
.hc-brand-home .hb-stock-hero-copy { padding-block: 48px calc(48px + var(--stock-gallery-overlap)); }
.hc-brand-home .hb-stock-hero-copy .hb-kicker { color: var(--stock-panorama-text); }
.hc-brand-home .hb-stock-hero-copy h2 {
  max-width: 14ch;
  color: var(--stock-panorama-text);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hc-brand-home .hb-stock-catalog {
  gap: 20px;
  margin-top: 24px;
  padding-inline: 16px;
  border: 1px solid #b4c0c9;
  border-radius: 4px;
  background: var(--stock-panorama-ink);
  color: var(--stock-panorama-text);
}
.hc-brand-home .hb-stock-catalog:hover {
  border-color: var(--stock-panorama-text);
  color: var(--stock-panorama-text);
}
.hc-brand-home .hb-stock-overview { position: relative; margin-top: calc(0px - var(--stock-gallery-overlap)); }
.hc-brand-home .hb-stock-gallery {
  --stock-gallery-gutter: clamp(16px, 2.4vw, 36px);
  --stock-gallery-line: var(--c-line);
  --stock-bay-surface: var(--c-bg-soft);
  border: 1px solid var(--stock-gallery-line);
  border-radius: var(--r-md);
  background: var(--c-bg);
  color: var(--c-ink);
  padding-inline: var(--stock-gallery-gutter);
}
.hc-brand-home .hb-stock-gallery h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-block: clamp(18px, 2.25vw, 32px);
  color: inherit;
  font-size: clamp(21px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -.035em;
  scroll-margin-top: 138px;
}
.hc-brand-home .hb-stock-gallery h3::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stock-action);
}
.hc-brand-home .hb-stock-categories {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--stock-gallery-line);
  border-radius: var(--r-sm);
  background: var(--stock-gallery-line);
  overflow: hidden;
  list-style: none;
}
.hc-brand-home .hb-stock-categories > li { min-width: 0; }
.hc-brand-home .hb-stock-categories > li:first-child { grid-row: span 2; }
.hc-brand-home .hb-stock-categories a {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 8px;
  height: 100%;
  min-height: clamp(116px, 11.5vw, 160px);
  padding: 12px clamp(12px, 1.6vw, 24px) 12px 12px;
  color: var(--c-ink);
  background: var(--c-bg);
  text-decoration: none;
  touch-action: manipulation;
}
.hc-brand-home .hb-stock-categories > li:first-child a {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  padding: clamp(16px, 2vw, 28px);
  background: var(--stock-bay-surface);
}
.hc-brand-home .hb-stock-category-media {
  display: grid;
  place-items: center;
  min-width: 0;
}
.hc-brand-home .hb-stock-category-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hc-brand-home .hb-stock-categories > li:first-child img {
  max-width: 290px;
  max-height: clamp(148px, 16vw, 204px);
}
.hc-brand-home .hb-stock-category-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
.hc-brand-home .hb-stock-categories strong {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.hc-brand-home .hb-stock-categories > li:first-child strong { font-size: clamp(42px, 4.4vw, 66px); }
.hc-brand-home .hb-stock-category-label {
  grid-column: 1 / -1;
  grid-row: 2;
  color: var(--c-ink-2);
  font-size: clamp(14px, 1.13vw, 16px);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.hc-brand-home .hb-stock-category-arrow {
  grid-column: 2;
  grid-row: 1;
  color: var(--c-ink-2);
}
.hc-brand-home .hb-stock-categories a:is(:hover, :focus-visible) {
  background: var(--stock-bay-surface);
}
.hc-brand-home .hb-stock-categories a:is(:hover, :focus-visible) .hb-stock-category-arrow {
  color: var(--c-accent);
}
.hc-brand-home .hb-stock-categories a:is(:hover, :focus-visible) .hb-stock-category-label {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.hc-brand-home .hb-stock-intro .hb-stock-catalog:focus-visible {
  outline-color: var(--stock-panorama-text);
  outline-offset: 2px;
}
.hc-brand-home .hb-stock-categories a:focus-visible {
  position: relative;
  outline: 2px solid var(--c-focus);
  outline-offset: -3px;
}
.hc-brand-home .hb-stock-warehouses {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
}
.hc-brand-home .hb-stock-warehouses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hc-brand-home .hb-stock-warehouses li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
.hc-brand-home .hb-stock-warehouses svg { flex: none; color: var(--c-accent); }
.hc-brand-home .hb-stock-warehouses p {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 959px) {
  .hc-brand-home .hb-stock-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-brand-home .hb-stock-categories > li:first-child { grid-column: 1 / -1; grid-row: auto; }
  .hc-brand-home .hb-stock-categories > li:first-child a {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto;
    gap: 12px;
  }
  .hc-brand-home .hb-stock-categories > li:first-child img { max-width: 240px; }
}
@media (max-width: 639px) {
  .hc-brand-home .hb-stock-categories { grid-template-columns: minmax(0, 1fr); }
  .hc-brand-home .hb-stock-categories a {
    grid-template-columns: clamp(72px, 25vw, 128px) minmax(0, 1fr);
    gap: 12px;
    min-height: 88px;
    padding-block: 10px;
  }
  .hc-brand-home .hb-stock-categories > li:first-child a {
    grid-template-columns: clamp(72px, 25vw, 128px) minmax(0, 1fr);
    min-height: 104px;
    padding: 12px;
  }
}
@media (max-width: 767px) {
  .hc-brand-home .hb-stock-scene { min-height: clamp(280px, 65vw, 370px); align-items: end; }
  .hc-brand-home .hb-stock-yard img { object-position: 65% 52%; }
  .hc-brand-home .hb-stock-scene::after {
    background: linear-gradient(0deg, rgba(16,22,26,.96), rgba(16,22,26,.78) 50%, rgba(16,22,26,.14) 95%);
  }
  .hc-brand-home .hb-stock-hero-copy { padding-block: 30px calc(30px + var(--stock-gallery-overlap)); }
  .hc-brand-home .hb-stock-hero-copy h2 { font-size: clamp(32px, 8vw, 44px); }
  .hc-brand-home .hb-stock-catalog { margin-top: 16px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hc-brand-home .hb-stock-category-media img,
  .hc-brand-home .hb-stock-category-arrow { transition: transform 180ms cubic-bezier(.16, 1, .3, 1); }
  .hc-brand-home .hb-stock-categories a:hover img { transform: scale(1.045); }
  .hc-brand-home .hb-stock-categories a:hover .hb-stock-category-arrow { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .hc-brand-home .hb-stock-catalog > span { transition: none; transform: none; }
}
