/* UX-003: shared light reading surfaces. Header/footer and image overlays keep their own palette.
 * Kept separate from the generated migration CSS so content regeneration cannot undo this design.
 */
:root {
  --dmdg-paper: #f6f5f0;
  --dmdg-surface: #fffefa;
  --dmdg-soft: #ecebe4;
  --dmdg-ink: #292e28;
  --dmdg-muted: #586054;
  --dmdg-line-strong: #cfd2c7;
  --dmdg-label: #64602f;
}
body.dmdg-site:not(.dmdg-home-compact-page) main .price-card .price-summary {
  margin-block: 0 22px; padding: 0;
  background: transparent; border: 0;
  color: var(--dmdg-ink); font-size: 15px; line-height: 1.6;
}
body.dmdg-site:not(.dmdg-home-compact-page) main .price-card .price-summary strong {
  color: var(--dmdg-ink); font-weight: 400;
}
body.dmdg-site:not(.dmdg-home-compact-page) .wp-site-blocks,
body.dmdg-site:not(.dmdg-home-compact-page) main {
  background: var(--dmdg-paper); color: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main {
  --ink: var(--dmdg-ink); --ink-deep: var(--dmdg-ink); --ink-soft: var(--dmdg-muted); --text: var(--dmdg-ink); --muted: var(--dmdg-muted); --paper: var(--dmdg-paper); --paper-strong: var(--dmdg-surface); --ochre-dark: var(--dmdg-label); --line: var(--dmdg-line-strong); --line-light: var(--dmdg-line-strong); --copy-light: var(--dmdg-muted); --copy-light-soft: var(--dmdg-muted); --dmdg-copy: var(--dmdg-muted); --dmdg-copy-soft: var(--dmdg-muted); --dmdg-ivory: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subpage-hero,.dmdg-page-hero,.section,.dmdg-section,.dmdg-content-shell,.booking-paths,.booking-section,.contact-section) {
  background: var(--dmdg-paper) !important; color: var(--dmdg-muted); border-color: var(--dmdg-line-strong);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.surface-dark,.final-cta,.dmdg-final-cta,.practice-grid) {
  background: var(--dmdg-soft); color: var(--dmdg-muted); border-color: var(--dmdg-line-strong); box-shadow: none;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subpage-hero,.dmdg-page-hero,.surface-dark,.final-cta,.dmdg-final-cta)::before {
  opacity: 0.2;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(h1,h2,h3,h4,strong,legend),
body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subpage-hero,.price-card,.practice-copy) :is(h1,h2,h3,p,strong,address),
body.dmdg-site:not(.dmdg-home-compact-page) main :is(.guide-lead,.definition-card p,.location-address,.review-story blockquote,.dmdg-review-card__quote) {
  color: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.section,.surface-dark,.final-cta,.subpage-hero) p,
body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subpage-hero__lead,.process-list small,.review-source,.song-feature__privacy,.song-feature__visual strong,.dmdg-review-card time,.dmdg-review-card__source,.dmdg-review-card__person span,.dmdg-review-carousel__status,.dmdg-review-carousel__hint,.dmdg-reviews-empty) {
  color: var(--dmdg-muted);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.eyebrow,.booking-hero__meta,.process-number,.service-row__number,.service-row__arrow,.article-card__meta,.path-card > span,.contact-card small,.review-story__mark,.dmdg-review-card__initials,.dmdg-review-card__stars,.dmdg-review-card__expand) {
  color: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main a:not(.button):not(.wp-block-button__link),
body.dmdg-site:not(.dmdg-home-compact-page) main :is(.article-card__link,.related-card span,.guide-toc strong,.route-facts strong) {
  color: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main a:not(.button):not(.wp-block-button__link):hover,
body.dmdg-site:not(.dmdg-home-compact-page) main a:not(.button):not(.wp-block-button__link):focus-visible {
  color: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subnav,.value-card,.article-card,.guide-toc,.definition-card,.myth-card,.evidence-note,.article-summary,.article-note,.reflection-card,.related-card,.trust-stat,.path-card,.contact-card,.contact-panel,.booking-promises span,.price-card,.review-story,.dmdg-review-card,.dmdg-review-carousel__button) {
  background: var(--dmdg-surface); color: var(--dmdg-ink); border-color: var(--dmdg-line-strong); box-shadow: none;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.article-note,.path-card--primary,.price-card--highlight,.safety-callout,.blog-feature,.song-feature,.dmdg-app-note,.dmdg-app-contact-card) {
  background: var(--dmdg-soft); color: var(--dmdg-ink); border-color: var(--dmdg-line-strong); box-shadow: none;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.price-card--highlight,.path-card--primary) {
  border-color: #aaa36e;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.article-card,.related-card,.value-card,.path-card,.contact-card):hover,
body.dmdg-site:not(.dmdg-home-compact-page) main :is(.service-row,.process-list li,.dmdg-review-carousel__button):hover {
  background: var(--dmdg-soft); border-color: #aaa36e; box-shadow: none;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.definition-card,.evidence-note) {
  border-left-color: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subnav a,.subnav a:hover,.guide-toc a,.price-card > span,.price-card ul,.price-card li,.final-cta__phone small,.prototype-form label,.contact-details small,.choice-option small,.field-help,.dmdg-form-required) {
  color: var(--dmdg-muted);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.subnav a::before,.faq-list summary::after,.article-meta span::before) {
  color: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .subnav a::before {
  background: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.faq-list,.faq-list details,.faq-related,.faq-related a,.service-list,.service-row,.method-points li,.qualification-list,.qualification-list li,.guide-section + .guide-section,.guide-steps,.guide-steps li,.sources-list a,.route-facts,.route-facts div,.prototype-form fieldset,.contact-details div,.process-list li,.dmdg-form-privacy-note) {
  border-color: var(--dmdg-line-strong);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.faq-list summary,.prototype-form legend,.choice-option strong,.contact-details a,.contact-details address) {
  color: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .choice-option {
  background: var(--dmdg-surface); border-color: #858c7e; color: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .choice-option:has(input:checked) {
  background: #f4efd6; border-color: var(--dmdg-label); box-shadow: 0 0 0 1px var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .prototype-form :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  background: var(--dmdg-surface); color: var(--dmdg-ink); border-color: #858c7e;
}

body.dmdg-site:not(.dmdg-home-compact-page) main .prototype-form :is(input,select,textarea)::placeholder {
  color: var(--dmdg-muted);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .prototype-form.dmdg-enquiry-form :is(input,select,textarea)[aria-invalid="true"] {
  border-color: #a83b3b;
}

body.dmdg-site:not(.dmdg-home-compact-page) main .dmdg-form-message--error :is(p,strong),
body.dmdg-site:not(.dmdg-home-compact-page) main .dmdg-field-error {
  color: #6f1d1d;
}

body.dmdg-site:not(.dmdg-home-compact-page) main .dmdg-form-message--success :is(p,strong) {
  color: #264d35;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.button,.wp-block-button__link) {
  background: var(--dmdg-ink); color: var(--dmdg-surface); border-color: var(--dmdg-ink);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.button,.wp-block-button__link):hover {
  background: #414a3d; color: var(--dmdg-surface); border-color: #414a3d;
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.button--sand,.song-feature__action) {
  background: #e2d071; color: var(--dmdg-ink); border-color: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :is(.button--sand,.song-feature__action):hover {
  background: #eddfa0; color: var(--dmdg-ink); border-color: var(--dmdg-label);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .portrait-editorial__image img {
  background: var(--dmdg-soft); border-color: var(--dmdg-line-strong); box-shadow: 0 18px 44px rgba(40,41,39,0.1);
}

body.dmdg-site:not(.dmdg-home-compact-page) main .dmdg-review-carousel__viewport {
  scrollbar-color: var(--dmdg-label) var(--dmdg-soft);
}

body.dmdg-site:not(.dmdg-home-compact-page) main :focus-visible {
  outline: 3px solid var(--dmdg-label); outline-offset: 4px;
}

body.dmdg-site:not(.dmdg-home-compact-page) main .contact-map-preview :is(strong,span) {
  color: #fffefa;
}

body.dmdg-site:not(.dmdg-home-compact-page) main .method-points span { color: var(--dmdg-label); }
body.dmdg-site:not(.dmdg-home-compact-page) main p.portrait-editorial__quote { color: var(--dmdg-ink); }
