/* Scoped to the community archive; inherited site navigation stays familiar. */
.pirz-story { max-width: 1180px; margin: 0 auto; }
.pirz-story *, .archive-lightbox * { box-sizing: border-box; }
.identity-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding: clamp(24px,4vw,56px); background: #ffe0ae; border-radius: 16px; border: 1px solid #edc28c; }
.pirz-story .identity-eyebrow { margin: 0 0 18px; color: #805033; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; font-weight: bold; }
.identity-hero h2 { margin: 0; font-size: clamp(34px,4.2vw,60px); line-height: 1.08; letter-spacing: -.045em; color: #342b24; }
.identity-hero h2 em { color: #b7352d; font-style: normal; }
.identity-intro { max-width: 33ch; margin: 24px 0; font-size: 17px; line-height: 1.6; }
.identity-jump { display: inline-flex; gap: 26px; padding: 12px 18px; border-radius: 6px; background: #b7352d; color: white; text-decoration: none; font-weight: bold; }
.identity-jump:hover { background: #922b25; color: white; }
.identity-mark { display: flex; flex-direction: column; align-items: center; gap: 25px; padding: 16px; }
.identity-mark img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.identity-mark > span { font-size: 11px; font-weight: bold; letter-spacing: .22em; color: #805033; }
.pirz-archive { margin-top: 52px; scroll-margin-top: 24px; }
.archive-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.archive-heading .identity-eyebrow { margin-bottom: 8px; }
.archive-heading h2, .identity-history > h2 { margin: 0; font-size: clamp(27px,3vw,36px); letter-spacing: -.025em; }
.archive-heading > p { margin: 0 0 3px; color: #78614f; font-size: 14px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.archive-filters[hidden], .archive-card[hidden] { display: none; }
.archive-filters button { border: 1px solid #e2c8aa; background: #fffaf3; border-radius: 30px; padding: 10px 17px; font: inherit; cursor: pointer; color: #59432c; min-height: 44px; }
.archive-filters button[aria-pressed="true"] { background: #342b24; border-color: #342b24; color: #fff; }
.archive-filters button span { margin-left: 6px; opacity: .65; font-size: 12px; }
.archive-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.archive-masonry { columns: 3; column-gap: 20px; }
.archive-card { break-inside: avoid; display: inline-block; vertical-align: top; width: 100%; margin: 0 0 20px; overflow: hidden; border: 1px solid #e6d8c7; background: #fffdf9; border-radius: 10px; }
.archive-image { position: relative; display: block; background: #fff; }
.archive-image img { display: block; width: 100%; height: auto; }
.archive-expand { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #342b24; color: white; opacity: 0; transition: opacity .15s; }
.archive-image:hover .archive-expand, .archive-image:focus-visible .archive-expand { opacity: 1; }
.archive-card video { display: block; width: 100%; height: auto; background: #211e1b; }
.archive-card audio { display: block; width: calc(100% - 24px); margin: 14px 12px 0; }
.archive-card-caption { padding: 17px 18px 19px; }
.archive-kind { color: #88705b; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.archive-card h3 { font-size: 18px; margin: 5px 0 12px; line-height: 1.3; }
.archive-download { font-size: 12px; color: #8d4934; text-decoration-color: #d8b8a0; }
.archive-download span { color: #877568; }
.archive-audio-art { min-height: 140px; display: flex; justify-content: center; align-items: center; gap: 16px; background: #b7352d; color: #ffe1b8; }
.archive-audio-art span:first-child { font-size: 64px; line-height: 1; }
.archive-audio-art span:last-child { max-width: 6ch; font-size: 21px; font-weight: bold; line-height: 1.2; }
.archive-sources { border-top: 1px solid #e6d8c7; border-bottom: 1px solid #e6d8c7; padding: 20px 0; margin-top: 6px; }
.archive-sources summary, .archive-dictionary summary { cursor: pointer; font-weight: bold; padding: 4px 0; }
.archive-sources summary span { color: #88705b; font-size: 12px; font-weight: normal; margin-left: 12px; }
.archive-sources p { max-width: 75ch; color: #78614f; }
.archive-sources ul { list-style: none; padding: 0; margin: 16px 0 0; }
.archive-sources li { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 8px 0; }
.archive-sources li > span { min-width: 110px; }
.identity-history { margin: 52px 0 0; padding: clamp(22px,4vw,48px); border-radius: 12px; background: #fff8ee; border: 1px solid #ead8bf; }
.identity-history .identity-eyebrow { margin-bottom: 8px; }
.identity-history-text { max-width: 76ch; margin-top: 30px; }
.identity-history-text h2 { font-size: 22px; margin: 28px 0 14px; }
.identity-history-text p { text-align: left; line-height: 1.8; margin: 0 0 20px; }
.archive-dictionary { padding: 18px 0; margin: 20px 0; border-top: 1px solid #e6d8c7; border-bottom: 1px solid #e6d8c7; }
.archive-dictionary[open] summary { margin-bottom: 20px; }
.archive-lightbox { position: fixed; inset: 0; width: min(1100px,94vw); max-width: 94vw; max-height: 94dvh; padding: 54px 20px 16px; border: 0; border-radius: 12px; background: #fffaf3; color: #342b24; }
.archive-lightbox::backdrop { background: #17120ee6; }
.archive-lightbox figure { margin: 0; text-align: center; }
.archive-lightbox figure img { display: block; max-width: 100%; max-height: calc(94dvh - 165px); width: auto; height: auto; margin: auto; object-fit: contain; }
.archive-lightbox figcaption { margin: 12px 0; font-weight: bold; }
.archive-lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #d8b8a0; border-radius: 50%; background: #fff; color: #342b24; font-size: 23px; cursor: pointer; }
.archive-close { position: absolute; right: 10px; top: 8px; }
.archive-lightbox-nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
html:has(.archive-lightbox[open]) { overflow: hidden; }
@media (max-width: 900px) { .archive-masonry { columns: 2; } .identity-hero { gap: 12px; } .archive-heading { align-items: start; flex-direction: column; gap: 12px; } }
@media (max-width: 540px) { .identity-hero { grid-template-columns: 1fr; } .identity-mark { padding: 24px 32px 4px; gap: 16px; } .identity-mark img { max-width: 280px; } .identity-hero h2 { font-size: 42px; } .archive-masonry { columns: 1; } .archive-filters { gap: 6px; } .archive-filters button { padding: 9px 12px; font-size: 13px; } .pirz-archive, .identity-history { margin-top: 36px; } }
@media (prefers-reduced-motion: reduce) { .archive-expand { transition: none; } }

.content:has(> .pirz-story) > .page-heading { max-width: 1180px; margin-left: auto; margin-right: auto; }
