/* Public page surfaces. Artwork, decorative accents and controls keep their own styling. */
html, body {
    background-color: #000 !important;
}

body :is(
    #page, #content, .site, .site-content, .site-main, main,
    .preview-notice, .site-header, .site-footer, .footer-main, .footer-bottom,
    .mobile-navigation, .gw-language-panel, .gw-language-panel select,
    .dark-hero, .gw-hero, .chapter-strip, .discover-panel, .craft-section, .brand-story,
    .newsletter, .development-box, .preview-disabled, .safety-note,
    .featured-card, .realm-card, .lost-echoes, .concept-placeholder,
    .gw-story-card, .gw-story__section--brand, .gw-story__jewelInner,
    .gw-story__sourceList, .gw-story__moreCard, .gw65-stages li,
    .gw65-meaning__body, .gw65-wish-note, .gw65-news, .gw65-closing,
    .gw65-culture a, .gw65-concept__art, .gw65-meaning__link,
    .gws-page, .gws-status, .gwt-section, .gwt-detail, .md-card, .stone .step,
    .mythic-draw, .draw-home, .draw-message, .draw-material-note, .draw-feature-card,
    .kun-product, .kun-gallery-track, .kun-story-link,
    .woocommerce-message, .woocommerce-info, .woocommerce-error,
    dialog, [role="dialog"]
) {
    background-color: #000 !important;
}

body :is(
    .preview-notice, .site-header, .site-footer, .mobile-navigation, .gw-language-panel,
    .chapter-strip, .discover-panel, .craft-section, .brand-story, .newsletter,
    .gw65-news, .gw65-closing, .gw65-meaning__body, .gw65-culture a, .gw65-stages li,
    .gws-status, .gw-story__section--brand, .gw-story__jewelInner, .gw-story__moreCard,
    .draw-home, .draw-feature-card, .kun-product, .kun-gallery-track, .kun-story-link
) {
    background-image: none !important;
}

/* Keep artwork layers intact while matching their letterbox and fade to the page. */
body :is(.gw-hero__media, .gw-story__heroFigure, .gw65-meaning__art, .story-art, .materials-art, .simulated-stage, .gwm-artwork) {
    background-color: #000 !important;
}

.gw-hero, .gw-hero__scrim {
    --g-bg: #000;
}
body.home .site-header:is(#page, .site-header) { background-color: transparent !important; }
body.home .site-header::before {
  background-image: linear-gradient(180deg, rgba(8, 12, 10, .72) 0%, rgba(8, 12, 10, .34) 48%, transparent 100%) !important;
}
.home .gw-hero__media::after,
.gw-story__heroFigure::after {
    background-image: linear-gradient(to top, #000, transparent 32%) !important;
}

body :is(.preview-notice, .mobile-navigation, .gw-language-panel, .safety-note, .development-box, .preview-disabled) {
    color: #eee9df;
}

/* The homepage featured product sits directly on the page background. */
.home #kun-jewelry .gw65-concept__art {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
}
