/* ============================================================
   NEW FEATURES — footer, legal page, pressing guide,
   unknown-pressing states (add flow + my collection)
   ============================================================ */

/* ---- Site footer ------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 56px 28px;
  margin-top: 0;
}
.sf-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.sf-lockup {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.sf-mark {
  height: 28px; width: auto; display: block; flex: none;
}
.sf-mast {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em; line-height: 1;
  text-transform: none; white-space: nowrap;
}
.sf-mast .brand-art {
  font-style: italic; font-weight: 400; margin-right: 3px;
  color: color-mix(in oklab, var(--paper) 58%, transparent);
}
.sf-tag { font-size: 13px; line-height: 1.6; color: rgba(243,237,225,0.65); max-width: 36ch; }
.sf-col-head {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(243,237,225,0.5);
  margin-bottom: 14px;
}
.sf-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sf-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(243,237,225,0.85);
  font-family: inherit; font-size: 13px; text-align: left;
  transition: color 0.15s;
}
.sf-link:hover { color: var(--paper); text-decoration: underline; }
.sf-base {
  max-width: 1100px; margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(243,237,225,0.15);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11px; color: rgba(243,237,225,0.5);
}
.sf-disclosure { max-width: 52ch; }
@media (max-width: 768px) {
  .site-footer { padding: 40px 20px 24px; margin-top: 0; }
  .sf-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sf-brand { grid-column: 1 / -1; }
  .sf-base { flex-direction: column; gap: 10px; }
}

/* ---- Legal page ------------------------------------------------- */
.legal-page { background: var(--paper); min-height: 100vh; padding: 48px 24px 80px; }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-back {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-mute); margin-bottom: 28px;
}
.legal-back:hover { color: var(--ink); }
.legal-h1 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; line-height: 1.05; }
.legal-updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin: 8px 0 24px; }
.legal-intro { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.legal-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.legal-h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.legal-h3 { font-size: 15px; font-weight: 700; margin: 24px 0 6px; color: var(--ink); }
.legal-page p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin: 6px 0; }
.legal-list { margin: 8px 0 8px 0; padding-left: 20px; }
.legal-list li { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 8px 0; }
.legal-foot-note {
  margin-top: 40px; padding: 16px 18px;
  background: var(--paper-2); border-radius: 10px;
  font-size: 12.5px !important; color: var(--ink-mute) !important; line-height: 1.6 !important;
}

/* ---- Pressing guide page --------------------------------------- */
.pg-page { background: var(--paper); min-height: 100vh; padding: 48px 24px 80px; }
.pg-wrap { max-width: 760px; margin: 0 auto; }
.pg-back {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-mute); margin-bottom: 28px;
}
.pg-back:hover { color: var(--ink); }
.pg-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pg-h1 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; line-height: 1.04; }
.pg-intro { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 18px 0 28px; }
.pg-toc {
  background: var(--ink); color: var(--paper);
  padding: 22px 24px; border-radius: 12px; margin-bottom: 16px;
}
.pg-toc-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243,237,225,0.6); display: block; margin-bottom: 10px; }
.pg-toc p { font-size: 14.5px; line-height: 1.7; color: rgba(243,237,225,0.92); margin: 0; }
.pg-toc b { color: var(--paper); }
.pg-section { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--rule); }
.pg-num { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 900; color: var(--accent); line-height: 1; flex-shrink: 0; width: 48px; }
.pg-h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.pg-body p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin: 8px 0; }
.pg-tip { font-size: 13.5px !important; color: var(--ink) !important; background: var(--paper-2); padding: 12px 14px; border-radius: 8px; border-left: 3px solid var(--accent); }
.pg-cta { margin-top: 36px; padding: 28px; background: var(--paper-2); border-radius: 14px; text-align: center; }
.pg-cta-h { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.pg-cta p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 56ch; margin: 0 auto 18px; }
.pg-cta-btn {
  background: var(--ink); color: var(--paper); border: 0;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.pg-cta-btn:hover { background: var(--accent); }
@media (max-width: 768px) {
  .pg-h1 { font-size: 32px; }
  .pg-section { gap: 14px; }
  .pg-num { font-size: 26px; width: 34px; }
}

/* ---- Help & support page ---------------------------------------- */
/* .topnav is position:fixed (~58px) — clear it so the back button/title aren't
   hidden underneath, same as .pg-page below. */
.help-page { background: var(--paper); min-height: 100vh; padding: 96px 24px 80px; }
@media (max-width: 640px) { .help-page { padding-top: 80px; } }
.help-wrap { max-width: 820px; margin: 0 auto; }

/* Search */
.help-search { display: flex; gap: 10px; align-items: center; margin: 8px 0 22px; }
.help-search-input {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 999px; padding: 12px 18px; outline: none;
}
.help-search-input:focus { border-color: var(--accent); }
.help-search-clear {
  background: none; border: 0; cursor: pointer; flex-shrink: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-mute); padding: 6px 4px;
}
.help-search-clear:hover { color: var(--ink); }

/* Quick links */
.help-quick { margin-bottom: 30px; }
.help-quick-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 10px; }
.help-quick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.help-chip {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px;
  padding: 8px 15px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--ink); transition: background .15s, color .15s, border-color .15s;
}
.help-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Sections */
.help-section { padding: 26px 0 8px; border-top: 1px solid var(--rule); margin-top: 18px; }
.help-h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.help-empty { font-size: 14.5px; line-height: 1.7; color: var(--ink-mute); }

/* How-to guides */
.help-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help-guide {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 14px; padding: 22px 22px 20px;
}
.help-guide-eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.help-guide-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 8px; }
.help-guide-blurb { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 12px; }
.help-steps { margin: 0 0 0 2px; padding-left: 20px; list-style: decimal; }
.help-steps li { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin: 7px 0; padding-left: 2px; }
.help-tip {
  margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--ink) !important;
  background: var(--paper); padding: 11px 13px; border-radius: 8px; border-left: 3px solid var(--accent);
}

/* FAQ accordion */
.help-faq { border-top: 1px solid var(--rule); }
.help-faq-item { border-bottom: 1px solid var(--rule); }
.help-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 16px 2px; font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.help-faq-q:hover { color: var(--accent); }
.help-faq-icon { flex-shrink: 0; font-size: 20px; line-height: 1; color: var(--ink-mute); font-weight: 400; }
.help-faq-item--open .help-faq-icon { color: var(--accent); }
.help-faq-a { padding: 0 2px 18px; }
.help-faq-a p { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 0; max-width: 68ch; }

/* Contact */
.help-contact {
  margin-top: 34px; padding: 32px 28px; text-align: center;
  background: var(--ink); border-radius: 16px; color: var(--paper);
}
.help-contact-h { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: var(--paper); margin-bottom: 10px; }
.help-contact p { font-size: 14.5px; line-height: 1.7; color: rgba(243,237,225,0.85); max-width: 56ch; margin: 0 auto; }
.help-contact-btn {
  display: inline-block; margin: 20px 0 6px; text-decoration: none;
  background: var(--accent); color: var(--paper); border: 0;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.help-contact-btn:hover { filter: brightness(1.08); }
.help-contact-note { font-size: 12.5px !important; color: rgba(243,237,225,0.7) !important; margin-top: 8px !important; }
.help-contact-note a { color: var(--paper); text-decoration: underline; }

@media (max-width: 768px) {
  .help-guides { grid-template-columns: 1fr; }
  .help-h2 { font-size: 24px; }
  .help-contact { padding: 26px 20px; }
}

/* ---- Add flow: "I don't know" pressing -------------------------- */
.add-pr-unknown { border-style: dashed !important; }
.add-pr-unknown .add-pr-label { color: var(--ink); }
.add-pr-unknown-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%; border: 1.5px dashed var(--ink-mute);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: var(--ink-mute);
}
.add-pr-guide-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 10px 2px 2px; cursor: pointer;
  color: var(--accent); font-family: inherit; font-size: 12.5px;
}
.add-pr-guide-link:hover { text-decoration: underline; }

/* ---- My Collection: needs-pressing state ------------------------ */
.mc-card-needspressing { border: 1px dashed var(--rule); }
.mc-cond-unknown {
  background: var(--paper-2) !important; color: var(--ink-mute) !important;
  border: 1px dashed var(--ink-mute) !important;
}
.mc-needspressing { margin-top: 10px; }
.mc-needspressing-msg { font-size: 13px; line-height: 1.55; color: var(--ink-2); margin-bottom: 12px; }
.mc-needspressing-msg b { color: var(--ink); }
.mc-needspressing-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mc-np-btn {
  background: var(--ink); color: var(--paper); border: 0;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.mc-np-btn:hover { background: var(--accent); }
.mc-np-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent); font-family: inherit; font-size: 12.5px;
}
.mc-np-link:hover { text-decoration: underline; }

/* needs-pressing nudge banner */
.mc-np-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--paper-2); border: 1px dashed var(--ink-mute);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 18px;
}
.mc-np-banner-dot {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 800; font-size: 15px;
}
.mc-np-banner-text { flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.mc-np-banner-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.mc-np-banner-link:hover { text-decoration: underline; }

/* ---- Collector's corner: guide link ----------------------------- */
.ledger-guide-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent); font-family: inherit; font-size: 13px;
}
.ledger-guide-link:hover { text-decoration: underline; }

/* ---- Add flow: matrix / runout pressing finder ------------------ */
.add-matrix { margin-bottom: 14px; }
.add-matrix-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink);
}
.add-matrix-toggle:hover { border-color: var(--ink-mute); }
.add-matrix-panel {
  margin-top: 12px; padding: 16px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px;
}
.add-matrix-hint { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 12px; }
.add-matrix-row { display: flex; gap: 8px; }
.add-matrix-input {
  flex: 1; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px;
  font-family: var(--mono); font-size: 13px; background: var(--paper); color: var(--ink);
}
.add-matrix-input:focus { outline: none; border-color: var(--accent); }
.add-matrix-go {
  background: var(--ink); color: var(--paper); border: 0;
  padding: 10px 16px; border-radius: 8px; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.add-matrix-go:disabled { opacity: 0.5; cursor: default; }
.add-matrix-go:not(:disabled):hover { background: var(--accent); }
.add-matrix-note { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }
.add-matrix-results { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.add-matrix-res {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px;
  padding: 10px 12px; cursor: pointer;
}
.add-matrix-res:hover { border-color: var(--accent); }
.add-matrix-thumb { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: #0a0a0a; }
.add-matrix-thumb-blank { background: var(--paper-2); border: 1px solid var(--rule); }
.add-matrix-res-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.add-matrix-res-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.add-matrix-res-cat { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }
.add-matrix-res-score {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .add-matrix-row { flex-direction: column; }
  .add-matrix-go { width: 100%; padding: 11px; }
}

/* ===== Pressing Guide: nav clearance + embedded identifier ===== */
/* .topnav is position:fixed (~58px). Add top clearance so it doesn't overlap
   the back button / title. This rule comes after the base .pg-page above, so
   the padding-top wins. */
.pg-page { padding-top: 96px; }
@media (max-width: 640px) { .pg-page { padding-top: 80px; } }

.pg-identifier-wrap {
  margin-top: 22px; padding: 20px;
  border: 1px solid var(--rule); border-radius: 14px;
  background: color-mix(in oklab, var(--paper) 96%, var(--ink));
}
.pg-identifier-head {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 12px;
}
.pg-identifier .add-matrix-panel { margin: 0; }
.pg-identifier-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px;
}
@media (max-width: 560px) { .pg-identifier-fields { grid-template-columns: 1fr; } }
.pg-matrix-res { cursor: default; width: 100%; text-align: left; }

/* ===== Newsletter signup (NewsletterSignup.jsx: nl-*) =====
   Used in two places: album-page banner (variant="banner") and the homepage
   feature band (variant="feature"). Styles both + the saving/done/error states. */
.nl-signup {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 620px; margin: 0 auto; text-align: center;
}
.nl-feature { padding: 8px 0; }
.nl-banner {
  max-width: none; text-align: left; padding: 22px 24px;
  border: 1px solid var(--rule); border-radius: 14px; background: var(--paper-2);
  margin: 32px 0;
}
.nl-copy { display: flex; flex-direction: column; gap: 6px; }
.nl-title {
  font-family: var(--serif); font-weight: 400; line-height: 1.15;
  font-size: 27px; letter-spacing: -0.01em; color: var(--ink);
}
.nl-banner .nl-title { font-size: 22px; }
.nl-sub { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.nl-form {
  display: flex; gap: 8px; align-items: stretch;
  max-width: 460px; margin: 4px auto 0; width: 100%;
}
.nl-banner .nl-form { margin-left: 0; }
.nl-input {
  flex: 1; min-width: 0; font-family: var(--sans); font-size: 15px;
  padding: 12px 14px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 8px; outline: none;
  transition: border-color 0.15s;
}
.nl-input:focus { border-color: var(--accent); }
.nl-input::placeholder { color: var(--ink-mute); }
.nl-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 12px 20px; cursor: pointer; white-space: nowrap;
  color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}
.nl-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.nl-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.nl-btn svg { display: block; }
.nl-err { font-family: var(--sans); font-size: 13px; color: var(--accent); }
.nl-foot {
  font-family: var(--mono, var(--sans)); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-mute); text-transform: uppercase;
}
.nl-banner .nl-foot { text-align: left; }
/* Done state */
.nl-done {
  flex-direction: row; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 24px; border: 1px solid var(--rule); border-radius: 12px;
  background: var(--paper-2);
}
.nl-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--accent); color: var(--paper); font-size: 14px; font-weight: 700;
}
.nl-done-text { font-family: var(--sans); font-size: 15px; color: var(--ink); }
@media (max-width: 560px) {
  .nl-form { flex-direction: column; }
  .nl-title { font-size: 23px; }
}

/* ===== Add-record matrix/runout: CTA row + info tooltip ===== */
.add-matrix-cta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.add-matrix-toggle-prom {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.add-matrix-toggle-prom:hover { background: var(--accent); border-color: var(--accent); }
.add-matrix-toggle-prom svg { stroke: currentColor; }
.add-matrix-chevron { font-size: 9px; opacity: 0.7; margin-left: 2px; }
/* Info icon that reveals a tooltip on hover / focus */
.add-matrix-tip {
  position: relative; display: inline-flex; align-items: center;
  color: var(--ink-mute); cursor: help; outline: none;
}
.add-matrix-tip:hover, .add-matrix-tip:focus { color: var(--accent); }
.add-matrix-tip-bubble {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: 260px; max-width: 78vw; z-index: 40;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 12px; line-height: 1.5;
  padding: 11px 13px; border-radius: 9px; text-align: left;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s;
}
.add-matrix-tip-bubble::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--ink);
}
.add-matrix-tip:hover .add-matrix-tip-bubble,
.add-matrix-tip:focus .add-matrix-tip-bubble { opacity: 1; visibility: visible; }
@media (max-width: 560px) {
  .add-matrix-tip-bubble { left: 0; transform: none; }
  .add-matrix-tip-bubble::after { left: 18px; }
}

/* ===== Homepage newsletter band (mf-nl-band wraps NewsletterSignup) =====
   Without this the band was just bare paper-coloured section padding showing
   as a stray beige strip. Give it deliberate vertical rhythm + a top rule so
   it reads as an intentional section between the proof grid and the top-10. */
.mf-nl-band {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}
@media (max-width: 640px) {
  .mf-nl-band { padding-top: 44px !important; padding-bottom: 44px !important; }
}

/* ===== Collection card: real Discogs own-it / wishlist counts ===== */
.mc-card-community { display: flex; gap: 16px; align-items: flex-end; }
.mc-cc-stat { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.mc-cc-num { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); }
.mc-cc-label {
  font-family: var(--mono, var(--sans)); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 2px;
}

/* ===== Fix: section padding specificity on the homepage =====
   `.manifesto-home .mf-section { padding: 0 56px }` (specificity 0,2,0) was
   overriding the vertical padding of individual sections like `.mf-signoff`
   (0,1,0), collapsing their top/bottom padding to 0 and exposing the beige
   html background as a band between the dark signoff and the dark footer.
   These rules restore the intended padding at matching specificity, and pin
   the dark background so no paper shows through. */
.manifesto-home .mf-signoff {
  padding: 80px 56px 72px;
  background: var(--ink);
  color: var(--paper);
}
/* Trim the stacked byline margin that left a large black void above the
   footer (byline margin-bottom + section padding-bottom were compounding). */
.manifesto-home .mf-signoff .mf-signoff-byline { margin-bottom: 0; }
.manifesto-home .mf-nl-band {
  padding: 64px 56px;
}
@media (max-width: 640px) {
  .manifesto-home .mf-nl-band { padding: 44px 24px; }
}

/* ===== Signoff layout refinement: tidy, centered, deliberate ===== */
/* The closing statement reads as a centred editorial mission line rather than
   a narrow left-aligned block; the CTA and byline follow with even rhythm. */
.manifesto-home .mf-signoff-line {
  max-width: 32ch;
  margin: 0 auto 44px;
  text-align: center;
}
.manifesto-home .mf-signoff-cta-wrap { margin: 0 0 56px; }
.manifesto-home .mf-signoff-byline { padding-top: 36px; }
@media (max-width: 640px) {
  .manifesto-home .mf-signoff { padding: 56px 24px 48px; }
  .manifesto-home .mf-signoff-line { margin-bottom: 36px; }
  .manifesto-home .mf-signoff-cta-wrap { margin-bottom: 40px; }
}

/* ===========================================================
   Section II½ — "The artist" (components/TheArtist.jsx)
   Life and death, catalogue position, line-up. Deliberately restrained: this is
   biography inside an editorial publication, not a gossip sidebar, so it uses
   the same body serif and rules as the essay rather than its own visual voice.
   =========================================================== */
.the-artist { margin-top: 4px; }

.ta-tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 22px; border-bottom: 1px solid var(--rule); }
.ta-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 9px 14px; font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--ink-mute); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.ta-tab:hover { color: var(--ink); }
.ta-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* --- vitals --- */
.ta-vitals { display: grid; gap: 0; margin: 0 0 26px; border-top: 1px solid var(--rule); }
.ta-vitals > div {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.ta-vitals dt {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute);
  padding-top: 3px;
}
.ta-vitals dd { margin: 0; font-family: var(--body-serif); font-size: 16px; line-height: 1.5; color: var(--ink); }

/* --- blocks --- */
.ta-block { margin: 0 0 26px; }
/* h3 because it sits directly under the section's h2 — the level is semantic and
   the size is set here, so the tag carries no visual weight of its own. These were
   h5, which skipped two levels and read to a screen reader as a fifth-level
   subheading of nothing. */
.ta-block h3 {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute);
  margin: 0 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--rule);
}
.the-artist p {
  font-family: var(--body-serif); font-size: 16px; line-height: 1.62;
  color: var(--ink-2); margin: 0 0 11px; max-width: 68ch;
}
.the-artist p.ta-lead { font-size: 17.5px; color: var(--ink); }
.ta-verdict { border-left: 2px solid var(--accent); padding-left: 13px; }
.ta-verdict b {
  display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px;
}

/* --- relationships --- */
.ta-rel { list-style: none; padding: 0; margin: 0; }
.ta-rel > li { padding: 11px 0; border-bottom: 1px dotted var(--rule); }
.ta-rel > li:last-child { border-bottom: 0; }
.ta-rel-name { font-family: var(--sans); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.ta-rel-years { font-family: var(--sans); font-size: 12px; color: var(--ink-mute); margin-left: 9px; }
.ta-flag {
  display: inline-block; margin-left: 9px; padding: 1px 7px; border-radius: 2px;
  background: #a56300; color: #fff;
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 1px;
}
.ta-rel p { margin: 5px 0 0; font-size: 15px; }

/* --- what we do not know: stated, not hidden --- */
.ta-notknown { background: var(--paper-2); padding: 16px 18px; }
.ta-notknown h3 { border-bottom-color: rgba(0,0,0,.12); }
.ta-notknown ul { margin: 0; padding-left: 18px; }
.ta-notknown li {
  font-family: var(--body-serif); font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin-bottom: 7px;
}
.ta-sources {
  font-family: var(--sans) !important; font-size: 11.5px !important;
  color: var(--ink-mute) !important; line-height: 1.5 !important;
  padding-top: 12px; border-top: 1px solid var(--rule);
}
.ta-sources b {
  display: block; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 3px;
}

/* --- discography --- */
.ta-disco-list { list-style: none; padding: 0; margin: 0 0 4px; counter-reset: none; }
.ta-disco-list > li {
  display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: baseline;
  padding: 10px 12px; border-left: 2px solid var(--rule); margin-left: 4px;
}
.ta-disco-list > li.ta-d-this {
  border-left-color: var(--accent); background: var(--paper-2);
}
.ta-d-year { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.ta-d-title { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.ta-d-this .ta-d-title { color: var(--accent); }
.ta-d-marker {
  display: inline-block; margin-left: 9px; padding: 1px 7px; border-radius: 2px;
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 1px;
}
.ta-d-note {
  grid-column: 2; font-family: var(--body-serif); font-size: 14.5px;
  line-height: 1.5; color: var(--ink-mute); margin-top: 2px;
}
.ta-more {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 12px; color: var(--accent);
  padding: 7px 0 7px 18px; text-align: left;
}
.ta-more:hover { text-decoration: underline; }
.ta-disco-note { font-size: 14.5px !important; color: var(--ink-mute) !important; margin-top: 12px; }

/* --- line-up --- */
.ta-members { list-style: none; padding: 0; margin: 0 0 26px; }
.ta-m { padding: 12px 0; border-bottom: 1px dotted var(--rule); }
.ta-m-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.ta-m-name { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.ta-m-role { font-family: var(--body-serif); font-size: 14.5px; color: var(--ink-2); }
.ta-m-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; align-items: center; }
.ta-m-tenure { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); }
.ta-m-status {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px;
}
.ta-m-status.s-living { background: #2d5d3a; color: #fff; }
.ta-m-status.s-died { background: #4a4a4a; color: #fff; }
.ta-m-status.s-unknown { background: var(--paper-2); color: var(--ink-mute); }
.ta-m-note { margin: 6px 0 0 !important; font-size: 14.5px !important; }

.ta-changes { list-style: none; padding: 0; margin: 0; }
.ta-changes > li {
  display: grid; grid-template-columns: 130px 1fr; gap: 14px;
  padding: 9px 0; border-bottom: 1px dotted var(--rule);
}
.ta-changes > li:last-child { border-bottom: 0; }
.ta-c-when { font-family: var(--sans); font-size: 11.5px; color: var(--accent); padding-top: 2px; }
.ta-c-what { font-family: var(--body-serif); font-size: 15px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 760px) {
  .ta-vitals > div,
  .ta-changes > li { grid-template-columns: 1fr; gap: 4px; }
  .ta-disco-list > li { grid-template-columns: 46px 1fr; gap: 10px; }
  .ta-d-note { grid-column: 1 / -1; }
  .ta-tabs { gap: 0; }
  .ta-tab { padding: 8px 10px; font-size: 12px; }
}

/* ===========================================================
   Editions — two-market tracklist / sleeve comparison
   (components/Editions.jsx). Sits inside the song-by-song section.
   =========================================================== */
.editions { margin-top: 34px; padding-top: 26px; border-top: 2px solid var(--ink); }
.ed-summary {
  font-family: var(--body-serif); font-size: 16.5px; line-height: 1.6;
  color: var(--ink-2); max-width: 68ch; margin: 0 0 16px;
}
.ed-diff-strip {
  display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0 0 22px;
  font-family: var(--sans); font-size: 12px; color: var(--ink-mute);
}
.ed-diff-strip b { color: var(--ink); font-weight: 800; }
.ed-diff-strip .ed-only-a b, .ed-diff-strip .ed-only-b b { color: var(--accent); }

.ed-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ed-col { min-width: 0; }
.ed-col-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ed-market {
  font-family: var(--sans); font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}
.ed-release { font-family: var(--sans); font-size: 11.5px; color: var(--ink-mute); }
.ed-catno { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin: 3px 0 12px; }

.ed-sleeve { margin: 0 0 14px; }
.ed-sleeve img {
  width: 100%; max-width: 240px; aspect-ratio: 1/1; object-fit: cover;
  display: block; background: var(--paper-2);
}
.ed-sleeve figcaption,
.ed-sleeve-note {
  font-family: var(--body-serif); font-size: 14px; line-height: 1.5;
  color: var(--ink-mute); margin: 7px 0 14px; max-width: 42ch;
}

.ed-tracks { list-style: none; padding: 0; margin: 0; }
.ed-tracks > li {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 9px; align-items: baseline;
  padding: 6px 8px; border-bottom: 1px dotted var(--rule);
}
.ed-tracks > li.ed-t-unique { background: var(--paper-2); }
.ed-t-n { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }
.ed-t-title { font-family: var(--sans); font-size: 14px; color: var(--ink); min-width: 0; }
.ed-t-unique .ed-t-title { font-weight: 700; }
.ed-t-flag {
  font-family: var(--sans); font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 1px 6px; border-radius: 2px; white-space: nowrap;
}
.ed-note, .ed-foot {
  font-family: var(--body-serif); font-size: 14.5px; line-height: 1.55;
  color: var(--ink-mute); margin: 11px 0 0; max-width: 60ch;
}
.ed-foot { padding-top: 14px; border-top: 1px solid var(--rule); margin-top: 20px; }

@media (max-width: 760px) {
  .ed-cols { grid-template-columns: 1fr; gap: 30px; }
  .ed-sleeve img { max-width: 180px; }
}
