/* Adapted from the downloaded BMW DESIGN.md: flat product photography,
   compact specification grids and strong type hierarchy. FH brand is retained. */
.home-compact,
.product-compact {
  --buyer-section: clamp(40px, 4vw, 64px);
  --buyer-heading: clamp(28px, 3.2vw, 42px);
}

.home-compact .section-pad,
.home-compact .quote-section,
.product-compact .section-pad {
  padding-block: var(--buyer-section);
}

.home-compact .hero {
  min-height: min(640px, 80svh);
  padding-block: 112px 48px;
}

html .home-compact .hero h1 {
  max-width: 680px;
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

.home-compact .hero-intro {
  max-width: 540px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

.home-compact .hero-capabilities { margin-block: 20px 24px; }
.home-compact .section-heading { margin-bottom: 28px; }
.home-compact .section-heading h2,
.home-compact .quote-heading h2,
.product-compact .section-heading h2,
.product-compact .technical-options-heading h2,
.product-compact .lead-band h2 {
  font-size: var(--buyer-heading);
  line-height: 1.15;
  text-wrap: balance;
}

.home-compact .buyer-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-compact .buyer-paths .product-card { padding: 24px; min-width: 0; }
.home-compact .buyer-paths .product-card img { aspect-ratio: 4 / 3; object-fit: contain; }
.home-compact .buyer-paths .product-card p { font-size: 16px; line-height: 1.5; }
.home-compact .product-meta { font-size: 12px; }
.home-compact .product-card-link { font-size: 14px; }
.home-compact .manufacturing-evidence { margin-top: 0; }
.home-compact .manufacturing-evidence img { aspect-ratio: 16 / 10; object-fit: cover; }
.home-compact .manufacturing-evidence figure:nth-child(2) img { object-fit: contain; background: #edf0f0; }
.home-compact .manufacturing-evidence figcaption { font-size: 14px; }
.home-compact .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-compact .process-step { min-width: 0; padding: 20px 24px; }
.home-compact .process-step h3 { font-size: 20px; }
.home-compact .process-step p { font-size: 16px; line-height: 1.5; }
.home-compact .quote-heading { margin-bottom: 28px; }
.home-compact .quote-heading p { margin-top: 16px; font-size: 16px; }

.buyer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  max-width: var(--max);
  margin: 20px auto 0;
}
.buyer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.buyer-applications {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.buyer-applications p { margin: 0; font-size: 16px; }
.buyer-applications .eyebrow { font-size: 12px; }

.buyer-spec-summary {
  max-width: var(--max);
  margin-inline: auto;
}
.buyer-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--line);
}
.buyer-spec-grid > div { padding: 20px 24px; min-width: 0; }
.buyer-spec-grid dt { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.buyer-spec-grid dd { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.5; }
.buyer-spec-note { font-size: 16px; line-height: 1.6; margin: 20px 0 0; max-width: 900px; }
.product-compact .page-hero { min-height: auto; padding-block: 116px 48px; }
.product-compact .page-hero h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.1; }
.product-compact .lead-band { padding-block: var(--buyer-section); }
.product-compact .technical-reference-note { font-size: 16px; }

/* Review revision: carry the same compact hierarchy into Company and Catalog. */
.product-compact .cta { padding-block: var(--buyer-section); }
.product-compact .cta h2,
.company-compact .company-profile-copy h2 { font-size: var(--buyer-heading); line-height: 1.15; }
.product-compact .page-hero-content { min-width: 0; }
.product-compact .page-hero h1 { max-width: 750px; }
.directory-compact .page-hero { background: #111718; padding-bottom: 32px; }
.directory-compact .page-hero::after { display: none; }
.directory-compact .catalog-page-links { gap: 0; }
.directory-compact .catalog-page-links a { min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.directory-compact .catalog-page-links img { width: 100%; height: 190px; object-fit: contain; background: #edf0f0; margin-bottom: 8px; }
.directory-compact .catalog-page-links strong { font-size: 21px; line-height: 1.25; }
.directory-compact .catalog-page-links small { font-size: 16px; line-height: 1.5; }
.directory-compact .product-directory-compact .section-heading h2 { font-size: var(--buyer-heading); }
.directory-compact .catalog-page-links b { margin-top: auto; padding-top: 12px; font-size: 14px; }
.directory-compact .catalog-page-links span { font-size: 14px; }
.company-compact .company-profile-grid { display: block; max-width: var(--max); }
.company-compact .company-profile-copy { max-width: 960px; }
.company-compact .company-inline-logo { max-width: 260px; margin-bottom: 20px; }
.company-compact .company-profile-copy p { margin-block: 12px; font-size: 16px; line-height: 1.6; }
.buyer-company-identity { margin-top: 20px; padding-block: 16px; border-block: 1px solid var(--line); }
.buyer-company-identity summary { cursor: pointer; font-size: 16px; font-weight: 650; }
.buyer-company-identity a { display: inline-block; margin: 12px 24px 0 0; }
.company-compact .factory-proof-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.company-compact .factory-proof-grid figure { min-width: 0; grid-column: auto; margin: 0; }
.company-compact .factory-proof-grid img { height: 250px; width: 100%; object-fit: contain; background: #edf0f0; }
.company-compact .factory-proof-grid figcaption { font-size: 14px; padding: 12px 0; }
.company-compact .process-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.company-compact .process-step { padding: 22px; min-width: 0; }
.company-compact .process-step h3 { font-size: 20px; }
.company-compact .process-step p { font-size: 16px; line-height: 1.5; }
.buyer-process-limits { margin-top: 24px; }
.buyer-process-limits caption { text-align: start; font-size: 18px; font-weight: 650; margin-bottom: 12px; }
.buyer-process-limits td { font-size: 16px; }
.buyer-process-limits th, .buyer-process-limits td { text-align: start; padding: 16px; overflow-wrap: anywhere; }
.buyer-split-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; background: #101516; }
.buyer-split-hero::after { display: none; }
.buyer-split-hero .page-hero-content { width: 100%; }
.buyer-hero-photo { margin: 0; min-width: 0; }
.buyer-hero-photo img { width: 100%; height: 440px; object-fit: contain; }
.buyer-hero-photo figcaption { color: #d8e0e1; text-align: center; font-size: 14px; padding-top: 12px; }
.frameless-compact .buyer-sample-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.frameless-compact .buyer-sample-grid figure { min-width: 0; border: 0; background: transparent; }
.frameless-compact .buyer-sample-grid img { height: 350px; object-fit: contain; background: #edf0f0; }
.frameless-compact .buyer-sample-grid figcaption { padding: 20px 0 0; }
.frameless-compact .buyer-sample-grid strong { font-size: 20px; }
.frameless-compact .buyer-sample-grid p { font-size: 16px; line-height: 1.5; }
.product-compact .panel-family-grid img { object-fit: contain; height: 220px; }
.product-compact .technical-specification summary { font-size: 16px; }
.buyer-sample-video video { display: block; width: 100%; height: auto; max-height: 480px; background: #101516; margin: 18px auto; }
.buyer-sample-video p { font-size: 16px; line-height: 1.6; padding: 0 20px 20px; }
.buyer-sample-video summary { cursor: pointer; padding: 20px; }
.product-compact .process-step p { font-size: 16px; }

@media (max-width: 900px) {
  .company-compact .factory-proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .buyer-split-hero { gap: 24px; }
  .buyer-hero-photo img { height: 340px; }
}
@media (max-width: 760px) {
  .buyer-split-hero { grid-template-columns: 1fr; }
  .buyer-hero-photo img { height: 320px; }
  .company-compact .factory-proof-grid,
  .company-compact .process-grid,
  .frameless-compact .buyer-sample-grid { grid-template-columns: 1fr; }
  .company-compact .factory-proof-grid img { height: 300px; }
  .frameless-compact .buyer-sample-grid img { height: 330px; }
  .directory-compact .catalog-page-links img { height: 210px; }
}

@media (max-width: 900px) {
  .home-compact .section-heading-with-action { grid-template-columns: 1fr; gap: 16px; }
  .home-compact .buyer-paths { grid-template-columns: 1fr; }
  .home-compact .buyer-paths .product-card img { max-height: 280px; }
  .buyer-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-compact .hero { min-height: auto; padding-block: 104px 40px; }
  html .home-compact .hero h1 { font-size: 36px; }
  .home-compact .hero-intro { font-size: 16px; }
  .home-compact .hero-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 14px; gap: 12px; }
  .home-compact .process-grid { grid-template-columns: 1fr; }
  .home-compact .process-step { padding: 18px 0; }
  .buyer-spec-grid > div { padding: 16px 12px; }
  .buyer-spec-grid dd { font-size: 16px; }
  .home-compact .section-heading h2,
  .home-compact .quote-heading h2 { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  html .home-compact .hero h1 { font-size: 32px; }
  .buyer-spec-grid { grid-template-columns: 1fr; }
}
.catalog-photo-note { display: block; font-size: .875rem; font-style: normal; line-height: 1.5; color: var(--muted, #667078); }
