:root { color-scheme: light; --paper: #f8f7f4; --ink: #171717; --muted: #66645f; --line: #cccac3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #171717; outline-offset: 5px; }
[hidden] { display: none !important; }
.page { max-width: 1760px; padding: 0 4.2%; margin: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; padding: 16px; background: white; z-index: 5; }
.skip-link:focus { top: 12px; }
.masthead { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ink); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.wordmark { text-decoration: none; font-size: 23px; font-weight: 900; letter-spacing: -.08em; }
.wordmark span { margin-left: 3px; font-size: 13px; letter-spacing: -.04em; }
.edition { font-family: Consolas, monospace; }
.intro { display: grid; grid-template-columns: 1.9fr 1fr; gap: 45px; align-items: end; padding: 66px 0 68px; }
.eyebrow { font-size: 11px; letter-spacing: .13em; line-height: 1.6; text-transform: uppercase; font-weight: 700; }
.intro .eyebrow { margin: 0 0 25px; }
h1 { font-size: clamp(60px, 7.5vw, 128px); line-height: .92; font-weight: 900; letter-spacing: -.075em; margin: 0; }
h1 > span:not(.title-period) { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; letter-spacing: -.085em; }
.title-period { margin-left: .02em; }
.intro-note { padding-bottom: 4px; max-width: 330px; justify-self: end; }
.intro-note > p:first-child { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(23px, 2.4vw, 35px); line-height: 1.17; letter-spacing: -.025em; margin: 0 0 23px; }
.intro-caption { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.text-link { font-size: 11px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.text-link span { margin-left: 16px; }
.archive-heading { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--ink); padding: 19px 0; }
.archive-heading h2 { margin: 0; font-size: 15px; letter-spacing: -.015em; }
.archive-heading > span { font-family: Consolas, monospace; font-size: 11px; }
.filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(140px, .48fr) minmax(180px, .58fr) auto; gap: 22px; padding: 12px 0 26px; border-bottom: 1px solid var(--line); align-items: end; }
.filters label { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 10px; }
.search-input { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); }
.search-input svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
input { width: 100%; min-width: 0; border: 0; border-radius: 0; background: transparent; height: 42px; font-size: 13px; }
input::placeholder { color: var(--muted); opacity: 1; }
select { width: 100%; height: 42px; font-size: 12px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0 18px 0 0; }
.reset { height: 42px; padding: 0; border: 0; background: transparent; font-size: 11px; }
.reset span { margin-left: 13px; font-size: 18px; }
.reset:hover, .dialog-bar button:hover { text-decoration: underline; text-underline-offset: 4px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; padding: 21px 0; font-size: 10px; letter-spacing: .04em; }
.results-heading p { margin: 0; }
.results-heading > span { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; margin: 0; padding: 0; list-style: none; }
.album-grid li { min-width: 0; }
.album-card { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 0; }
.card-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; background: #eeece6; border: 1px solid #ddd9d1; padding: 20px; overflow: hidden; transition: background-color .18s ease; }
.album-grid li:nth-child(4n+2) .card-art { background: #e7e5df; }
.album-grid li:nth-child(4n+3) .card-art { background: #f0eee9; }
.album-grid li:nth-child(4n+4) .card-art { background: #eae8e2; }
.card-rank { font-size: clamp(55px, 6.6vw, 106px); line-height: .85; letter-spacing: -.075em; font-weight: 700; }
.art-label { display: block; margin-top: 20px; overflow-wrap: anywhere; }
.art-artist { display: block; font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 8px; }
.art-album { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(17px, 1.75vw, 28px); line-height: 1.07; letter-spacing: -.025em; }
.art-foot { display: flex; justify-content: space-between; margin-top: 17px; font-size: 9px; font-family: Consolas, monospace; }
.art-foot > span:last-child { font-size: 15px; }
.card-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 13px 0 0; line-height: 1.4; }
.card-artist { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; overflow-wrap: anywhere; }
.card-year { font-family: Consolas, monospace; color: var(--muted); font-size: 10px; }
.card-album { grid-column: 1 / -1; font-size: 12px; overflow-wrap: anywhere; }
.album-card:hover .card-art { background: #dedbd2; }
.album-card:hover .art-foot > span:last-child { transform: translate(2px, -2px); }
.art-foot > span:last-child { transition: transform .18s; }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--paper); }
.message { text-align: center; padding: 65px 20px; border: 1px solid var(--line); }
.message h3 { font-family: Georgia, serif; font-weight: 400; font-size: 30px; margin: 18px 0; }
.message p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.message button { border: 1px solid var(--ink); background: transparent; padding: 13px 18px; margin-top: 12px; font-size: 12px; }
.empty-number { font-size: 80px; font-weight: 700; letter-spacing: -.07em; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 30px; border-top: 2px solid var(--ink); margin-top: 70px; padding: 30px 0 45px; font-size: 10px; line-height: 1.8; }
.footer-title { font-weight: 900; font-size: 17px; letter-spacing: -.04em; }
.footer-title span { display: block; font-size: 10px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
footer p { margin: 0; color: var(--muted); }
.footer-edition { text-align: right; font-family: Consolas, monospace; }
dialog { width: min(900px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
dialog::backdrop { background: rgb(0 0 0 / .55); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 18px 25px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; }
.dialog-bar button { border: 0; padding: 8px 0; background: transparent; font-size: 11px; }
.dialog-bar button span { font-size: 23px; margin-left: 16px; vertical-align: middle; }
.detail-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; padding: 35px; }
.detail-cover .card-art { aspect-ratio: 1; }
.detail-cover .card-rank { font-size: clamp(70px, 10vw, 120px); }
.detail-cover .art-album { font-size: clamp(22px, 3vw, 34px); }
.detail-copy { align-self: center; min-width: 0; overflow-wrap: anywhere; }
.detail-rank { font-family: Consolas, monospace; font-size: 13px; margin: 0 0 27px; }
.detail-copy .eyebrow { margin: 0 0 10px; }
.detail-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(27px, 4vw, 46px); line-height: 1.03; letter-spacing: -.035em; font-weight: 400; }
.detail-year { font-size: 12px; margin: 20px 0 28px; color: var(--muted); font-family: Consolas, monospace; }
.detail-summary { font-size: 14px; line-height: 1.6; white-space: pre-line; }
.detail-links { display: flex; flex-direction: column; align-items: start; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail-links a { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.detail-links a > span:first-child { margin-left: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1550px) { .album-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1050px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .intro { gap: 25px; } .filters { gap: 16px; } .card-rank { font-size: 9vw; } .art-album { font-size: 2.3vw; } }
@media (max-width: 760px) { .page { padding: 0 5%; } .masthead { min-height: 68px; font-size: 8px; letter-spacing: .05em; } .edition { display: none; } .intro { grid-template-columns: 1fr; padding: 42px 0; gap: 28px; } h1 { font-size: clamp(52px, 11vw, 84px); } .intro .eyebrow { margin-bottom: 21px; } .intro-note { justify-self: start; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; align-items: start; } .intro-note > p:first-child { font-size: 23px; margin: 0; grid-row: span 2; } .intro-caption { font-size: 10px; margin: 0 0 10px; } .text-link { font-size: 9px; width: fit-content; } .text-link span { margin-left: 6px; } .filters { grid-template-columns: 1fr 1fr; gap: 18px; } .search-field { grid-column: 1 / -1; } .reset { grid-column: 1 / -1; height: 27px; justify-self: end; } .filters label { margin-bottom: 5px; } .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 15px; } .card-art { padding: 15px; } .card-rank { font-size: 15vw; } .art-album { font-size: clamp(16px, 3.6vw, 25px); } .art-artist { font-size: 8px; margin-bottom: 6px; } .art-foot { margin-top: 12px; } .results-heading > span { display: none; } footer { flex-wrap: wrap; margin-top: 45px; gap: 20px; } .footer-title { width: 100%; } .footer-edition { margin-left: auto; } .detail-layout { grid-template-columns: 1fr; padding: 24px; gap: 26px; } .detail-cover { max-width: 290px; width: 100%; margin: auto; } .detail-rank { margin-bottom: 16px; } }
@media (max-width: 390px) { .album-grid { grid-template-columns: 1fr; } .card-art { padding: 24px; } .card-rank { font-size: 90px; } .art-album { font-size: 27px; } .art-artist { font-size: 10px; } .intro-note { display: block; } .intro-note > p:first-child { margin-bottom: 18px; } .intro-caption { font-size: 12px; } .text-link { font-size: 10px; } select { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* PILOT 001: scoped to the album dialog. The archive styles stay unchanged. */
.detail-cover .spotify-artwork { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 1; object-fit: contain; border: 0; border-radius: 2px; padding: 0; margin: auto; background: transparent; filter: none; animation: none; transition: none; }
.detail-links .artwork-attribution { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 16px; border-bottom: 0; padding-bottom: 0; text-decoration: none; }
.detail-links .artwork-attribution .artwork-label { color: var(--muted); font-size: 9px; line-height: 1.2; letter-spacing: .08em; font-weight: 400; }
.detail-links .artwork-attribution .spotify-logo { display: block; width: 100px; height: auto; min-width: 70px; max-width: 100%; }
@media (min-width: 1051px) { .detail-cover .spotify-artwork { border-radius: 4px; } }
@media (max-width: 760px) { .detail-cover:has(.spotify-artwork) { max-width: 380px; } }

/* PILOT 001B: separate cover view; all accepted archive/dialog rules above stay intact. */
.view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; margin: -4px 0 24px; }
.view-controls { display: inline-flex; border: 1px solid var(--ink); flex-shrink: 0; }
.view-controls button { border: 0; background: transparent; padding: 13px 15px; font-size: 10px; font-weight: 700; letter-spacing: .06em; min-height: 44px; }
.view-controls button + button { border-left: 1px solid var(--ink); }
.view-controls button[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.cover-attribution { display: flex; align-items: center; gap: 18px; padding: 15px; }
.cover-attribution small { color: var(--muted); font-size: 9px; line-height: 1.4; letter-spacing: .08em; }
.cover-attribution img { display: block; width: 100px; min-width: 70px; height: auto; }
#album-results { scroll-margin-top: 24px; }
.cover-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 24px; }
.cover-tile { min-width: 0; position: relative; padding-bottom: 38px; }
.cover-card { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.cover-art { display: block; width: 100%; aspect-ratio: 1; }
.cover-art .card-art { width: 100%; height: 100%; }
.cover-art .card-rank { font-size: clamp(50px, 5.5vw, 88px); }
.cover-art .art-album { font-size: clamp(19px, 1.7vw, 28px); }
.cover-artwork { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 2px; border: 0; filter: none; animation: none; transition: none; }
.cover-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; padding: 17px 0 0; overflow-wrap: anywhere; }
.cover-rank { grid-column: 1; color: var(--muted); font-family: Consolas, monospace; font-size: 11px; }
.cover-year { grid-column: 2; grid-row: 1; color: var(--muted); font-family: Consolas, monospace; font-size: 11px; }
.cover-artist { grid-column: 1 / -1; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }
.cover-album { grid-column: 1 / -1; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.cover-card:hover .cover-album { text-decoration: underline; text-underline-offset: 4px; }
.cover-spotify { display: inline-block; position: absolute; bottom: 0; left: 0; padding: 7px 0; font-size: 9px; font-weight: 700; letter-spacing: .07em; }
.cover-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.cover-pagination button { background: transparent; border: 1px solid var(--line); padding: 12px 18px; min-height: 44px; font-size: 12px; }
.cover-pagination button:disabled { cursor: default; color: var(--muted); }
.cover-pagination p { margin: 0; font-family: Consolas, monospace; font-size: 11px; line-height: 1.6; text-align: center; }
@media (min-width: 1051px) { .cover-artwork { border-radius: 4px; } }
@media (min-width: 1550px) { .cover-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1050px) { .cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (max-width: 760px) { .cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; } .cover-album { font-size: 20px; } .view-toolbar { flex-wrap: wrap; gap: 12px; min-height: 110px; margin-bottom: 22px; } .cover-attribution { padding: 15px; } .cover-pagination { flex-wrap: wrap; gap: 12px; } .cover-pagination p { order: -1; width: 100%; } }
@media (max-width: 390px) { .cover-grid { grid-template-columns: 1fr; } .cover-art .card-rank { font-size: 90px; } .cover-art .art-album { font-size: 27px; } .view-toolbar { min-height: 120px; } }


/* PUBLICATION PASS: scoped footer legal navigation and standalone privacy page. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 15px; }
.footer-legal a { color: var(--ink); font-weight: 700; }
.legal-main { max-width: 820px; padding: 55px 0 45px; }
.legal-back { display: inline-block; margin-bottom: 35px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.legal-main h1 { font-size: clamp(42px, 7vw, 80px); letter-spacing: -.06em; line-height: 1.02; margin: 0 0 24px; }
.legal-intro { max-width: 680px; font-size: 15px; line-height: 1.65; margin: 0 0 42px; }
.legal-main section { border-top: 1px solid var(--line); padding: 26px 0; }
.legal-main section h2 { font-size: 17px; margin: 0 0 15px; }
.legal-main section p, .legal-main section li { font-size: 14px; line-height: 1.7; }
.legal-main section ul { padding-left: 19px; }
.legal-main a { overflow-wrap: anywhere; }
.legal-status { font-family: Consolas, monospace; font-size: 11px; color: var(--muted); margin-top: 24px; }
@media (max-width: 760px) { .legal-main { padding-top: 35px; } .legal-main section { padding: 22px 0; } }

/* PILOT 002 / SAMPLE ATLAS: add-on only; no alterations to the frozen archive/card layouts. */
.sample-atlas { border-top: 2px solid var(--ink); margin-top: 85px; padding-top: 38px; }
.sample-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 40px; }
.sample-heading .eyebrow { margin: 0 0 15px; }
.sample-heading h2 { font-size: clamp(43px, 5.5vw, 86px); line-height: .98; letter-spacing: -.065em; margin: 0; font-weight: 900; }
.sample-heading h2 em { font-family: Georgia,serif; font-weight: normal; }
.sample-heading > p { color: var(--muted); max-width: 365px; line-height: 1.65; margin: 0; font-size: 13px; }
.sample-introduction { max-width: 760px; margin: 38px 0 0; }
.sample-introduction h3 { font-size: 19px; margin: 0 0 12px; }
.sample-introduction p { font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.sample-method { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 26px 0 28px; }
.sample-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sample-card { min-width: 0; background: var(--paper); padding: 30px 25px 25px; display: flex; flex-direction: column; }
.sample-number { color: var(--muted); font: 10px/1.5 Consolas,monospace; text-transform: uppercase; margin: 0 0 22px; }
.sample-track { font-family: Georgia,serif; font-weight: normal; font-size: clamp(23px,2.2vw,32px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 20px; }
.sample-chain { border-left: 3px solid var(--ink); padding: 2px 0 2px 15px; display: flex; flex-direction: column; gap: 6px; }
.sample-chain-label { font: bold 9px/1.3 Arial,sans-serif; letter-spacing: .09em; color: var(--muted); }
.sample-source-title { font: 18px/1.15 Georgia,serif; }
.sample-source-artist { font: 11px/1.4 Arial,sans-serif; color: var(--muted); }
.sample-note { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 20px 0 26px; flex: 1; }
.sample-links { display: flex; flex-wrap: wrap; align-items: start; column-gap: 15px; row-gap: 15px; padding-top: 16px; border-top: 1px solid var(--line); }
.sample-links a, .sample-footer a { font-size: 10px; font-weight: 700; letter-spacing: .035em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.sample-links a:hover, .sample-footer a:hover { text-decoration: underline; }
.sample-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; }
.sample-footer p { margin: 0; max-width: 550px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.sample-footer a { flex-shrink: 0; }
.detail-sample { margin-top: 25px; border-top: 1px solid var(--ink); padding-top: 18px; }
.detail-sample h3 { font: normal 24px/1.2 Georgia,serif; margin: 0 0 8px; }
.detail-sample .eyebrow { font-size: 9px; margin: 0 0 12px; }
.detail-sample-origin { margin: 0 0 10px; font-size: 12px; font-weight: 700; }
.detail-sample-note { font-size: 12px; color: var(--muted); line-height: 1.55; }
.detail-sample-evidence { font-size: 10px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 1050px) { .sample-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .sample-atlas { margin-top: 60px; padding-top: 25px; } .sample-heading { grid-template-columns: 1fr; gap: 14px; } .sample-cards { grid-template-columns: 1fr; } .sample-card { padding: 25px 22px; } .sample-footer { flex-direction: column; align-items: start; gap: 17px; } }
/* Balance the five editorial cards without an empty sixth grid cell. */
@media (min-width: 1051px) {
  .sample-cards { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .sample-card { grid-column: span 2; }
  .sample-card:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .sample-card:last-child { grid-column: 1 / -1; }
}

.cover-consent { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; margin:.6rem 0; }
.cover-consent button { cursor:pointer; border:1px solid currentColor; padding:.55rem .8rem; background:transparent; color:inherit; font:inherit; }
.cover-consent small { max-width:28rem; line-height:1.4; }
