/* =============================================================================
   About page — materials & hardware section
   (Views/About/Sections/_Materials.cshtml)
   -----------------------------------------------------------------------------
   Matches "Elevate 2.png" section 4: copy left with the cream facet panel
   (Cabinet Boxes / Finishes / Hardware / Hinges & Slides, divided by a thin
   gold hairline cross), tall photograph right (manifest: 568x821).
   Scoped to .about-materials.
   ============================================================================= */

.about-materials__copy .eyebrow {
  margin-top: 0;
}

.about-materials__copy h2 {
  max-width: 16ch;
}

.about-materials__copy > p {
  max-width: 30rem;
}

/* Cream facet panel: 2x2 grid with a thin gold hairline cross between the
   four blocks (export shows the lines inset by the panel padding). */
.about-materials__facets {
  --facets-pad: clamp(1.75rem, 3vw, 2.75rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--facets-pad) clamp(2rem, 4vw, 3.25rem);
  padding: var(--facets-pad);
  margin-top: var(--space-7);
  background-color: var(--color-cream);
}

.about-materials__facets::before,
.about-materials__facets::after {
  content: "";
  position: absolute;
  background-color: var(--color-gold);
  opacity: 0.55;
}

/* Vertical rule between the two columns */
.about-materials__facets::before {
  top: var(--facets-pad);
  bottom: var(--facets-pad);
  left: 50%;
  width: 1px;
}

/* Horizontal rule between the two rows */
.about-materials__facets::after {
  left: var(--facets-pad);
  right: var(--facets-pad);
  top: 50%;
  height: 1px;
}

.about-materials__facet {
  position: relative;
  z-index: 1;
}

.about-materials__facet h3 {
  margin-bottom: var(--space-2);
}

.about-materials__facet p {
  font-size: var(--text-small);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Tall photograph on the right (manifest crop 568x821, square corners) */
.about-materials__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 568 / 821;
  object-fit: cover;
}

@media (max-width: 56.25em) {
  .about-materials__copy h2,
  .about-materials__copy > p {
    max-width: none;
  }
}

@media (max-width: 40em) {
  /* Single-column facets: drop the hairline cross, separate with rhythm */
  .about-materials__facets {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .about-materials__facets::before,
  .about-materials__facets::after {
    display: none;
  }
}
