/* Members-only content (MJOB10287): the wall, the member grid and the lightbox. Appended to index.css when the v1.2.0 tree exists. Same ink and gold as the PPET rail work. */
.mc { --mc-ink: #3d3416; --mc-soft: #8f7f5e; --mc-gold: #8a6a1c; --mc-line: rgba(122, 91, 20, 0.22); margin: 1.6rem 0; font-family: var(--lit-serif); }
.mc-wall { padding: 1.2rem 0 0.4rem; text-align: center; }
.mc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 0.8rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.mc-tile { aspect-ratio: 3 / 4; border-radius: 0.6rem; background: linear-gradient(160deg, #f1e7cf, #e6d6b0); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.5); display: grid; place-items: center; color: var(--mc-soft); font-size: 0.8rem; letter-spacing: 0.1em; }
.mc-tile::before { content: ""; width: 1.4rem; height: 1.4rem; opacity: 0.55; background: currentColor; -webkit-mask: url("../../../i/XM0000/XM0000_Z_icon_g.svg") center / contain no-repeat; mask: url("../../../i/XM0000/XM0000_Z_icon_g.svg") center / contain no-repeat; }
.mc-wall-title { margin: 0 0 0.3rem; font-size: 1.15rem; font-weight: 700; color: var(--mc-ink); }
.mc-wall-copy { margin: 0 auto 1rem; max-width: 34rem; color: var(--mc-soft); line-height: 1.7; }
.mc-join, .mc-retry { appearance: none; cursor: pointer; padding: 0.55rem 1.5rem; border: 1px solid var(--mc-gold); border-radius: 99px; background: #f6efdc; color: #5f450f; font: inherit; font-weight: 700; letter-spacing: 0.06em; }
.mc-join:hover, .mc-join:focus-visible, .mc-retry:hover { background: #efe2bd; }
.mc-join:focus-visible, .mc-card-btn:focus-visible, .mc-lightbox-close:focus-visible, .mc-retry:focus-visible { outline: 2px solid #f1d488; outline-offset: 3px; }
.mc-signin { margin: 0.8rem 0 0; color: var(--mc-soft); font-size: 0.9rem; }
.mc-signin button { appearance: none; border: 0; background: none; padding: 0; color: var(--mc-gold); font: inherit; text-decoration: underline; cursor: pointer; }
.mc-why { margin: 1.4rem auto 0; max-width: 34rem; padding: 0; list-style: none; text-align: left; color: var(--mc-ink); line-height: 1.8; }
.mc-why li::before { content: "\00b7"; margin-right: 0.5rem; color: var(--mc-gold); }
.mc-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mc-count { margin: 0 0 0.8rem; color: var(--mc-soft); font-size: 0.85rem; letter-spacing: 0.08em; }
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1.2rem 1rem; margin: 0; padding: 0; list-style: none; }
.mc-card-btn { appearance: none; display: flex; flex-direction: column; gap: 0.25rem; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--mc-ink); font: inherit; cursor: pointer; }
.mc-frame { display: block; aspect-ratio: 3 / 4; border-radius: 0.5rem; overflow: hidden; background: #f1e7cf; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.5); }
.mc-img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s; }
.mc-frame.is-ready .mc-img { opacity: 1; }
.mc-frame.is-failed { background: repeating-linear-gradient(45deg, #f1e7cf, #f1e7cf 8px, #ece0c2 8px, #ece0c2 16px); }
.mc-title { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.mc-tag { color: #a79a7a; font-size: 0.8rem; line-height: 1.5; }
.mc-sub { color: var(--mc-soft); font-size: 0.75rem; letter-spacing: 0.04em; }
.mc-error { text-align: center; padding: 1.2rem 0; color: var(--mc-soft); }
.mc-lightbox { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 1rem; background: rgba(30, 24, 8, 0.82); }
.mc-lightbox-inner { position: relative; display: flex; flex-direction: column; gap: 0.6rem; max-width: min(94vw, 62rem); max-height: 94vh; overflow-y: auto; }
.mc-lightbox-img { display: block; max-width: 100%; max-height: 62vh; object-fit: contain; border-radius: 0.4rem; background: #1e1808; }
.mc-lightbox-cap { display: flex; flex-direction: column; gap: 0.2rem; color: #f6efdc; line-height: 1.5; }
.mc-lightbox-cap span { color: #d8c99e; font-size: 0.85rem; }
.mc-lightbox-close { align-self: flex-end; appearance: none; padding: 0.35rem 1.1rem; border: 1px solid #d8c99e; border-radius: 99px; background: none; color: #f6efdc; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0.7rem; } .mc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* page layout: the hub and the painter entrance (Z5) */
.mc-page { --mc-ink: #3d3416; --mc-soft: #8f7f5e; --mc-gold: #8a6a1c; max-width: 60rem; margin: 0 auto; padding: 1.5rem var(--muzi-edge, 1.25rem) 3.5rem; font-family: var(--lit-serif); color: var(--mc-ink); }
.mc-back { margin: 0 0 1rem; font-size: 0.9rem; } .mc-back a { color: var(--mc-gold); text-decoration: none; }
.mc-mast { margin: 0 0 1.8rem; } .mc-mast h1 { margin: 0.2rem 0 0.5rem; font-size: 2rem; letter-spacing: 0.06em; }
.mc-mast p { margin: 0 0 0.4rem; max-width: 40rem; line-height: 1.8; }
.mc-eyebrow { color: var(--mc-soft); font-size: 0.8rem; letter-spacing: 0.24em; }
.mc-meta { color: var(--mc-soft); font-size: 0.85rem; letter-spacing: 0.08em; }
.mc-h2 { margin: 2rem 0 0.9rem; padding-top: 1rem; border-top: 1px solid rgba(201, 164, 92, 0.55); font-size: 1rem; font-weight: 600; letter-spacing: 0.16em; color: var(--mc-gold); }
.mc-samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 14rem)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.mc-sample { display: flex; flex-direction: column; gap: 0.3rem; }
.mc-sample .mc-frame { max-width: 14rem; }
.mc-sample .mc-img { opacity: 1; }
.mc-painters { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 14rem)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.mc-painter a { display: flex; flex-direction: column; gap: 0.3rem; color: inherit; text-decoration: none; }
.mc-painter strong { font-size: 1.1rem; } .mc-painter span:last-child { color: var(--mc-soft); font-size: 0.85rem; }
.mc-painter-img { display: block; aspect-ratio: 3 / 4; border-radius: 0.5rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.5); }
.mc-painter-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-joinbox { margin-top: 2rem; padding: 1.2rem 0 0; border-top: 1px solid rgba(201, 164, 92, 0.55); text-align: center; }
.mc-why-title { margin: 1.2rem 0 0.4rem; font-size: 0.95rem; letter-spacing: 0.12em; color: var(--mc-soft); }

.mc-poem { margin: 0.5rem 0; }
.mc-poem p { margin: 0; line-height: 1.9; letter-spacing: 0.08em; }
.mc-notation { font-size: 0.85rem; }
.mc-sample-poem { margin: 0.4rem 0 0; }
.mc-sample-poem p { margin: 0; line-height: 1.8; letter-spacing: 0.06em; font-size: 0.9rem; }
.mc-sample-note { color: #a79a7a; font-size: 0.8rem; line-height: 1.5; }

/* lightbox: image left, full caption and poem right on wide screens; the whole box scrolls on phones */
@media (min-width: 820px) { .mc-lightbox-inner { display: grid; grid-template-columns: auto minmax(15rem, 20rem); grid-template-rows: 1fr auto; column-gap: 1.2rem; align-items: start; overflow: hidden; } .mc-lightbox-img { grid-row: 1 / 3; max-height: 90vh; } .mc-lightbox-cap { max-height: calc(90vh - 3rem); overflow-y: auto; } .mc-lightbox-close { grid-column: 2; }
}
.mc-img-failed { display: block; padding: 1rem 0.4rem; font-size: 0.8rem; color: #8a7b52; text-align: center; }
.mc-byline { color: #f1d488 !important; font-size: 0.85rem; letter-spacing: 0.06em; margin-top: 0.3rem; }
