/* A compact color catalogue in Monvél's existing monochrome visual language. */
#primary.mv-home-catalog-first { padding-top: 135px; }
.mv-home-catalog-first > .mv-colors-section { padding-top: 32px; }
.mv-home-biography { padding-top: 32px; }
.mv-biography-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: 32px; border-bottom: 1px solid #d6d6d2; }
.mv-home-biography h1 { max-width: 20ch; margin: 0; font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
.mv-biography-copy { min-width: 0; max-width: 80ch; color: #393936; font-size: .9375rem; line-height: 1.55; }
.mv-biography-copy p { margin: 0 0 .75em; }
.mv-biography-copy p:last-child { margin-bottom: 0; }
.mv-biography-copy:only-child { grid-column: 1 / -1; }
.mv-home-biography + .mv-colors-section { padding-top: 32px; }
.mv-colors-section {
    --mv-catalog-line: #d6d6d2;
    --mv-catalog-paper: #f0f0ec;
    padding: 80px 0 100px;
    background: var(--mv-bg);
    scroll-margin-top: 140px;
}
.mv-colors-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.mv-colors-intro :is(h1, h2) { margin: 0 0 12px; font-size: clamp(2.25rem, 4vw, 4.5rem); line-height: 1; letter-spacing: -.035em; }
.mv-colors-intro p { margin: 0; color: #53534f; }
.mv-colors-jump { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.mv-colors-jump a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border-bottom: 1px solid currentColor; font: 600 .875rem var(--font-heading); }
.mv-model-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.mv-model-column { min-width: 0; scroll-margin-top: 148px; }
.mv-model-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding: 20px 0; border-top: 1px solid var(--mv-black); }
.mv-model-heading h3 { margin: 0; font-size: clamp(1.125rem, 1.8vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; }
.mv-model-heading > span { font-size: .8125rem; color: #53534f; white-space: nowrap; }
.mv-color-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.mv-color-card { min-width: 0; border: 1px solid var(--mv-catalog-line); background: var(--mv-white); }
.mv-card-gallery { background: var(--mv-catalog-paper); }
.mv-card-photo { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; }
.mv-card-photo > img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.mv-card-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 0; padding: 0 8px 8px; }
.mv-card-gallery-controls[hidden] { display: none; }
.mv-card-gallery-controls button { display: grid; place-items: center; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--mv-black); cursor: pointer; box-shadow: none; }
.mv-card-gallery-controls .mv-gallery-arrow { flex: 0 0 36px; width: 36px; height: 44px; font: 400 22px var(--font-body); }
.mv-gallery-counter { display: none; }
.mv-gallery-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.mv-gallery-dots button { width: 24px; height: 44px; }
.mv-gallery-dots button > span { display: block; width: 5px; height: 5px; border-radius: 50%; background: #91918a; }
.mv-gallery-dots button[aria-pressed="true"] > span { width: 7px; height: 7px; background: var(--mv-black); }
.mv-card-gallery-controls button:hover { background: #dfdfd9; }
.mv-card-details { padding: 16px; border-top: 1px solid var(--mv-catalog-line); }
.mv-card-details h4 { margin: 0 0 8px; font-size: .9375rem; line-height: 1.3; letter-spacing: -.02em; }
.mv-card-color-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.mv-card-color-price p { margin: 0; font-size: .875rem; }
.mv-card-price { font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.mv-card-price del { color: #53534f; }
.mv-card-price ins { background: transparent; text-decoration: none; }
.mv-card-stock { margin: 8px 0 0; font-size: .8125rem; color: #53534f; }
.mv-card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 12px; border-top: 1px solid var(--mv-catalog-line); font-size: .8125rem; font-weight: 600; }
.mv-card-link > span { font-size: 20px; }
.mv-card-link:hover { color: #71551f; }
.mv-colors-section :is(a, button):focus-visible { outline: 2px solid var(--mv-black); outline-offset: 3px; }
@media (max-width: 1199px) {
    .mv-color-grid { grid-template-columns: minmax(0, 1fr); }
    .mv-colors-intro { align-items: start; flex-direction: column; gap: 20px; }
}
@media (max-width: 699px) {
    .mv-home-biography { padding-top: 24px; }
    .mv-home-biography > .monvel-container { padding: 0 16px; }
    .mv-biography-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
    .mv-home-biography h1 { max-width: 25ch; font-size: 1.5rem; }
    .mv-biography-copy { font-size: .9375rem; line-height: 1.5; }
    .mv-home-biography + .mv-colors-section { padding-top: 24px; }
    /* This stylesheet is home-only; preserve document scrolling for sticky model headings. */
    html, body.home { overflow-x: clip; }
    .mv-colors-section { padding: 24px 0 48px; }
    .mv-home-catalog-first > .mv-colors-section { padding-top: 24px; }
    .mv-colors-section > .monvel-container { padding: 0 16px; }
    .mv-colors-intro { margin-bottom: 16px; gap: 12px; }
    .mv-colors-intro :is(h1, h2) { font-size: clamp(2rem, 8.2vw, 3rem); }
    .mv-colors-intro p { font-size: .875rem; }
    .mv-colors-jump { display: none; }
    .mv-model-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .mv-model-heading { position: sticky; top: 72px; z-index: 5; display: block; min-height: 88px; padding: 16px 0; background: var(--mv-bg); }
    .mv-model-heading h3 { min-height: 2.4em; margin-bottom: 4px; font-size: clamp(.8125rem, 3.6vw, 1.125rem); line-height: 1.2; }
    .mv-model-heading > span { font-size: .6875rem; }
    .mv-color-grid { gap: 12px; }
    .mv-card-photo { aspect-ratio: 1 / 1; }
    .mv-card-photo > img { padding: 4px; }
    .mv-card-gallery-controls { padding: 0 4px 4px; }
    .mv-card-gallery-controls .mv-gallery-arrow { flex-basis: 44px; width: 44px; height: 44px; font-size: 20px; }
    .mv-gallery-dots { display: none; }
    .mv-gallery-counter { display: block; font-size: .6875rem; font-variant-numeric: tabular-nums; }
    .mv-card-details { padding: 10px; }
    .mv-card-details h4 { min-height: 2.6em; margin-bottom: 6px; font-size: .75rem; line-height: 1.3; }
    .mv-card-color-price { display: flex; flex-direction: column; gap: 6px; align-items: start; }
    .mv-card-color-price p { min-height: 2.6em; font-size: .75rem; line-height: 1.3; overflow-wrap: anywhere; }
    .mv-card-price { font-size: .75rem; }
    .mv-card-link { gap: 4px; margin-top: 10px; min-height: 44px; font-size: .6875rem; }
    .mv-card-link > span { font-size: 16px; }
}
@media (max-width: 768px) {
    #primary.mv-home-catalog-first { padding-top: 72px; }
}
