/* 1.0.32. Optional colors only. No geometry, fonts or animation changes.
   Only the two opted-in header images use exact ink filters; other images are untouched.
   Original mode removes pc-palette-active and does not load this stylesheet. */
body.pc-palette-active {
  --paper: var(--pcp-bg);
  --paper-light: var(--pcp-surface);
  --paper-deep: var(--pcp-surface);
  --ink: var(--pcp-ink);
  --muted: var(--pcp-muted);
  --forest: var(--pcp-heading);
  --forest-deep: var(--pcp-heading);
  --terracotta: var(--pcp-link);
  --ochre: var(--pcp-accentInk);
  --line: var(--pcp-line);
  color: var(--pcp-ink);
  background-color: var(--pcp-bg);
  background-image:
    radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--pcp-ink) 7.5%, transparent) 0 1px, transparent 1.4px),
    radial-gradient(circle at 77% 63%, color-mix(in srgb, var(--pcp-ink) 5.5%, transparent) 0 1px, transparent 1.2px),
    linear-gradient(96deg, rgba(255,255,255,.18), transparent 36%, color-mix(in srgb, var(--pcp-primary) 2.5%, transparent));
}
body.pc-palette-active::before {
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, color-mix(in srgb, var(--pcp-ink) 2.5%, transparent) 3px 4px);
}
body.pc-palette-active ::selection { color: var(--pcp-primaryText); background-color: var(--pcp-primary); }
body.pc-palette-active .header-brand[data-pc-palette-logo="1"] .brand-mark {
  filter: url("#pc-header-logo-inks");
}
body.pc-palette-active .header-signature[data-pc-palette-signature="1"] .header-signature-image {
  filter: url("#pc-header-signature-ink");
}
body.pc-palette-active :focus-visible { outline-color: var(--pcp-focus); }
body.pc-palette-active .site-header { background-color: color-mix(in srgb, var(--pcp-bg) 94%, transparent); }
body.pc-palette-active .icon-action:hover,
body.pc-palette-active .icon-action:focus-visible,
body.pc-palette-active .book-pagination a:hover { background-color: color-mix(in srgb, var(--pcp-primary) 9%, transparent); }
body.pc-palette-active .hero-copy h1,
body.pc-palette-active .book-copy h1,
body.pc-palette-active .alternate-cover-detail-copy h1 { color: var(--pcp-heading); }
body.pc-palette-active .eyebrow,
body.pc-palette-active .ornament,
body.pc-palette-active .note-top,
body.pc-palette-active .search-result-type { color: var(--pcp-accentInk); }
body.pc-palette-active .book-tab.active,
body.pc-palette-active .alternate-cover-card:hover strong,
body.pc-palette-active .note-card h3 a:hover,
body.pc-palette-active .note-card h2 a:hover { color: var(--pcp-linkHover); }
body.pc-palette-active .editorial-content a,
body.pc-palette-active .book-synopsis a,
body.pc-palette-active .alternate-cover-story a,
body.pc-palette-active .pc-review-content a { color: var(--pcp-link); }
body.pc-palette-active .editorial-content a:hover,
body.pc-palette-active .book-synopsis a:hover,
body.pc-palette-active .alternate-cover-story a:hover,
body.pc-palette-active .pc-review-content a:hover { color: var(--pcp-linkHover); }
body.pc-palette-active .button-primary,
body.pc-palette-active .comment-form .submit,
body.pc-palette-active .footer-social-button,
body.pc-palette-active .subscribe-form button,
body.pc-palette-active .subscribe-button,
body.pc-palette-active .skip-link:focus {
  color: var(--pcp-primaryText);
  background-color: var(--pcp-primary);
}
body.pc-palette-active .button-primary:hover,
body.pc-palette-active .button-primary:focus-visible,
body.pc-palette-active .comment-form .submit:hover,
body.pc-palette-active .comment-form .submit:focus-visible,
body.pc-palette-active .footer-social-button:hover,
body.pc-palette-active .subscribe-form button:hover,
body.pc-palette-active .subscribe-form button:focus-visible {
  color: var(--pcp-primaryHoverText);
  background-color: var(--pcp-primaryHover);
}
body.pc-palette-active .footer-instagram-button,
body.pc-palette-active .book-soundtrack-heading i {
  color: var(--pcp-secondaryText);
  background-color: var(--pcp-secondary);
}
body.pc-palette-active .footer-instagram-button:hover,
body.pc-palette-active .footer-instagram-button:focus-visible {
  color: var(--pcp-secondaryHoverText);
  background-color: var(--pcp-secondaryHover);
}
body.pc-palette-active .book-grid-toggle:hover,
body.pc-palette-active .book-grid-toggle:focus-visible,
body.pc-palette-active .book-secondary-button:hover,
body.pc-palette-active .notes-scroll-controls button:hover,
body.pc-palette-active .notes-scroll-controls button:focus-visible,
body.pc-palette-active .carousel-controls > button:hover,
body.pc-palette-active .carousel-controls > button:focus-visible {
  color: var(--pcp-primaryText);
  background-color: var(--pcp-primary);
}
body.pc-palette-active .carousel-controls > button {
  color: var(--pcp-heading);
  border-color: var(--pcp-focus);
  background-color: var(--pcp-bg);
}
body.pc-palette-active .carousel-dots button { border-color: var(--pcp-focus); }
body.pc-palette-active .carousel-dots button.active { background-color: var(--pcp-primary); border-color: var(--pcp-primary); }
body.pc-palette-active .notes-grid { scrollbar-color: var(--pcp-focus) var(--pcp-surface); }
body.pc-palette-active .alternate-cover-thumb,
body.pc-palette-active .alternate-cover-detail-placeholder,
body.pc-palette-active .book-reviews,
body.pc-palette-active .subscribe-form { background-color: var(--pcp-surface); border-color: var(--pcp-line); }
body.pc-palette-active .comment-form input:not([type="checkbox"]):not(.submit),
body.pc-palette-active .comment-form textarea,
body.pc-palette-active .pc-rating-field select {
  color: var(--pcp-ink); background-color: var(--pcp-surface); border-color: var(--pcp-focus);
}
body.pc-palette-active .comment-form input::placeholder,
body.pc-palette-active .comment-form textarea::placeholder,
body.pc-palette-active .subscribe-form input::placeholder { color: var(--pcp-muted); }
body.pc-palette-active .subscribe-page {
  background-image: radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--pcp-surface) 96%, transparent) 0 23%, color-mix(in srgb, var(--pcp-bg) 72%, transparent) 62%, color-mix(in srgb, var(--pcp-surface) 78%, transparent) 100%);
  background-color: var(--pcp-bg);
}
/* Large sections use restrained, deep relatives of the accent colors. */
body.pc-palette-active .feature {
  --paper-light: var(--pcp-featureText);
  --ochre: var(--pcp-featureText);
  color: var(--pcp-featureText); background-color: var(--pcp-feature);
}
body.pc-palette-active .feature-copy p,
body.pc-palette-active .feature .eyebrow { color: var(--pcp-featureText); }
body.pc-palette-active .feature .button-outline { color: var(--pcp-featureText); border-color: var(--pcp-featureText); }
body.pc-palette-active .feature .button-outline:hover,
body.pc-palette-active .feature .button-outline:focus-visible { color: var(--pcp-feature); background-color: var(--pcp-featureText); }
body.pc-palette-active .about-section {
  --paper-light: var(--pcp-aboutText);
  --paper-deep: var(--pcp-aboutText);
  color: var(--pcp-aboutText); background-color: var(--pcp-about);
}
body.pc-palette-active .about-copy p,
body.pc-palette-active .about-section .eyebrow { color: var(--pcp-aboutText); }
body.pc-palette-active .about-section .button-outline { color: var(--pcp-aboutText); border-color: var(--pcp-aboutText); }
body.pc-palette-active .about-section .button-outline:hover,
body.pc-palette-active .about-section .button-outline:focus-visible { color: var(--pcp-about); background-color: var(--pcp-aboutText); }
body.pc-palette-active .news-section,
body.pc-palette-active .footer-bottom {
  --paper-light: var(--pcp-deepText);
  --ochre: var(--pcp-deepText);
  color: var(--pcp-deepText); background-color: var(--pcp-deep);
}
body.pc-palette-active .news-section .eyebrow,
body.pc-palette-active .agenda-list div span,
body.pc-palette-active .footer-inner > p { color: var(--pcp-deepText); }
body.pc-palette-active .agenda-list article,
body.pc-palette-active .agenda-list article:last-child,
body.pc-palette-active .footer-inner > p:last-child { border-color: color-mix(in srgb, var(--pcp-deepText) 32%, transparent); }
body.pc-palette-active .site-footer { background-color: var(--pcp-deep); }
body.pc-palette-active .footer-connect { color: var(--pcp-ink); background-color: var(--pcp-surface); }
body.pc-palette-active .search-strip {
  --paper-light: var(--pcp-featureText);
  color: var(--pcp-featureText); background-color: var(--pcp-feature);
}
body.pc-palette-active .search-strip input,
body.pc-palette-active .search-strip input::placeholder { color: var(--pcp-featureText); border-color: var(--pcp-featureText); }
body.pc-palette-active .search-strip button { color: var(--pcp-feature); background-color: var(--pcp-featureText); }
/* Placeholder cover artwork keeps its existing inks, just like uploaded images. */
body.pc-palette-active .book-cover.placeholder {
  --paper-light: #faedd7; --forest: #123c32; --forest-deep: #082a25; --terracotta: #8b321e; --ochre: #bb7a25;
}
/* Preserve the slide-specific light/dark contrast treatment over photographs.
   On mobile the existing layout moves the text onto the page background. */
@media (min-width: 761px) {
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-light .hero-copy,
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-light .hero-copy h1,
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-light .hero-copy .eyebrow,
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-light .hero-copy .ornament { color: #fff7e8; }
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-dark .hero-copy,
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-dark .hero-copy h1,
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-dark .hero-copy .eyebrow,
  body.pc-palette-active .hero-slide--fullbleed.pc-contrast-dark .hero-copy .ornament { color: #082a25; }
}
@media (max-width: 760px) {
  body.pc-palette-active .hero-slide--fullbleed .hero-copy { color: var(--pcp-ink); }
  body.pc-palette-active .hero-slide--fullbleed .hero-copy h1 { color: var(--pcp-heading); }
  body.pc-palette-active .hero-slide--fullbleed .hero-copy .eyebrow,
  body.pc-palette-active .hero-slide--fullbleed .hero-copy .ornament { color: var(--pcp-accentInk); }
  body.pc-palette-active .hero-slide--fullbleed .hero-copy .button-primary {
    color: var(--pcp-primaryText); background-color: var(--pcp-primary);
  }
  body.pc-palette-active .hero-slide--fullbleed .hero-copy .button-primary:hover,
  body.pc-palette-active .hero-slide--fullbleed .hero-copy .button-primary:focus-visible {
    color: var(--pcp-primaryHoverText); background-color: var(--pcp-primaryHover);
  }
}
