/* Craftsmanship page (design `isCraft`) */
.pm-craft-banner { position: relative; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--pm-radius-panel); overflow: hidden; background: var(--pm-ink); }
.pm-craft-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-craft-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 27, 27, 0.15) 0%, rgba(28, 27, 27, 0.82) 100%); }
.pm-craft-banner__text { position: relative; z-index: 1; padding: 40px 44px; max-width: 40rem; }
.pm-craft-banner__eyebrow { font-size: 12px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin: 0 0 10px; }
.pm-craft-banner h2 { font-family: var(--pm-serif); font-size: 34px; line-height: 42px; font-weight: 500; color: var(--pm-white); margin: 0; text-wrap: pretty; }

.pm-craft-body { margin-top: 56px; }
.pm-craft-why { margin-top: 48px; }
.pm-craft-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.pm-craft-box-title { font-family: var(--pm-serif); font-size: 24px; line-height: 32px; font-weight: 500; color: var(--pm-ink); margin: 0 0 12px; }
.pm-craft-box-text { font-size: 14px; line-height: 24px; color: var(--pm-body); margin: 0 0 20px; }
.pm-craft-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pm-craft-swatches li { display: flex; flex-direction: column; gap: 6px; }
.pm-craft-swatches img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--pm-radius); border: 1px solid rgba(231, 189, 182, 0.7); background: #efeae8; }
.pm-craft-swatches span { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pm-muted); text-align: center; }

/* Phones (design mobile block): banner keeps 380px / 34px heading with 24/20 text padding;
   content stacks one per row. Finishes stay 2 across (README: sample swatches 2 across). */
@media (max-width: 900px) {
    .pm-craft-banner__text { padding: 24px 20px; }
    .pm-craft-why__grid { grid-template-columns: minmax(0, 1fr); }
    .pm-craft-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    /* Design metrics: card icons inline in a 16px/normal line; 12px labels at line-height
       normal; every step row keeps its bottom rule inside the bordered list. */
    .pm-feature { font-size: 16px; line-height: normal; }
    .pm-feature > .ms { display: inline; line-height: normal; }
    .pm-craft-banner__eyebrow, .pm-box__title { line-height: normal; }
    .pm-craft-banner h2 { text-wrap: wrap; } /* design breaks "one piece at a / time" (no balancing) */
    .pm-numbered li:last-child { border-bottom: 1px solid var(--pm-line); }
}
/* Phones/tablets: the design pads every main section 20px at any width up to 900px
   (the global gutter clamps to 34px at 768). */
@media (max-width: 900px) {
    main { --pm-gutter: 20px; }
}
