/* Section identity: near-black pigments, shared across each section and its pages. */
body[data-site-section] {
  --page-black: #000000;
  --tone-panel: #101010;
  --hero-black: #101010;
  --hero-rgb: 16, 16, 16;
  --tone-wash: 160, 160, 160;
  --bg: var(--page-black);
  --bg-deep: var(--page-black);
  --bg-mid: var(--tone-panel);
  color-scheme: dark;
}
body[data-site-section="academy"] {
  --page-black: #090908;
  --tone-panel: #131310;
  --hero-black: #11110f;
  --hero-rgb: 17, 17, 15;
  --tone-wash: 157, 151, 129;
}
body[data-site-section="wave"] {
  --page-black: #05080e;
  --tone-panel: #0c121d;
  --hero-black: #0b111b;
  --hero-rgb: 11, 17, 27;
  --tone-wash: 98, 129, 176;
}
body[data-site-section="market"] {
  --page-black: #0d0c06;
  --tone-panel: #15140d;
  --hero-black: #15140c;
  --hero-rgb: 21, 20, 12;
  --tone-wash: 165, 152, 88;
}
body[data-site-section="habitat"] {
  --page-black: #050b08;
  --tone-panel: #0b1510;
  --hero-black: #0a1510;
  --hero-rgb: 10, 21, 16;
  --tone-wash: 87, 145, 108;
}
body[data-site-section="lab"] {
  --page-black: #0b070f;
  --tone-panel: #15101b;
  --hero-black: #140e1c;
  --hero-rgb: 20, 14, 28;
  --tone-wash: 135, 101, 166;
}
html body[data-site-section] { background: var(--page-black) !important; }
body[data-site-section] .site-header { background: linear-gradient(125deg, #ffffff06, #ffffff02), var(--page-black); }
body[data-site-section] .section-hero { background: var(--hero-black); }
body[data-site-section] .section-hero::before {
  background: radial-gradient(ellipse at 85% 38%, rgba(var(--tone-wash), .14), transparent 60%), var(--hero-black);
}
body[data-site-section] .section-hero__art::after {
  background: linear-gradient(90deg, var(--hero-black), transparent 22%, transparent 85%, rgba(var(--hero-rgb), .34));
}
body[data-site-section="home"] .poem-hero,
body[data-site-section="home"] .poem-closing { background: #000000; }
body[data-site-section="home"] .site-header { background: #00000099; }
body[data-site-section="market"] { --accent: #dfd8ba; --muted: #aaa799; --line: #e5deb81b; }
body[data-site-section="market"] .product-card,
body[data-site-section="market"] .sort-label select { background: var(--tone-panel); }
body[data-site-section="market"] .market-disclosure { background: #e8dda303; }
body[data-site-section="market"] .buy-button { background: #dfd8ba; color: #28271b !important; }
body[data-site-section="market"] .buy-button:hover { background: #eee9d5; }
body[data-site-section="market"] .category-filters button[aria-pressed="true"] { background: #dfd8ba; border-color: #dfd8ba; color: #28271b; }
body[data-site-section="academy"] .topic-select select { background: var(--tone-panel); }
@media (max-width: 700px) {
  body[data-site-section] .section-hero__art::after {
    background: linear-gradient(90deg, var(--hero-black) 14%, rgba(var(--hero-rgb), .54) 52%, transparent);
  }
}

body[data-site-section="music"]{--page-black:#09080e;--tone-panel:#14111c;--hero-black:#110f19;--hero-rgb:17,15,25;--tone-wash:145,125,167}
