/* Shared readability layer: preserve the light green identity and typography. */
:root,
body .pyd-home-v3.pyd-fusion {
  --pyd-ink: #173b2c;
  --pyd-muted: #35533e;
  --pyd-accent: #28543a;
}
body { color: #173b2c; }

/* Light panels, editorial pages, gallery and forms. */
body :is(.pyd-page, .pyd-footer, .pyd-fusion > section:not(.pyd-intro-start), .pyd-inspiration-dialog, .pyd-quick-form)
  :is(p, li, dt, dd, label, legend, figcaption, small, summary) {
  color: #2c4937 !important;
}
body :is(.pyd-page, .pyd-footer, .pyd-fusion > section:not(.pyd-intro-start), .pyd-inspiration-dialog, .pyd-quick-form)
  :is(h1, h2, h3, h4, strong, b) {
  color: #173b2c !important;
}
body :is(.pyd-page, .pyd-footer, .pyd-fusion > section:not(.pyd-intro-start), .pyd-inspiration-dialog, .pyd-quick-form) em {
  color: #28543a !important;
}
body :is(.pyd-eyebrow, .pyd-partner-label, .pyd-mini-steps,
  .pyd-compact-rate, .pyd-compact-tax, .pyd-compact-empty,
  .pyd-compact-filename, .pyd-field-optional, .pyd-input-unit > span,
  .pyd-gallery-item > div > span, .pyd-print-specs dd span,
  .pyd-visual-calculation, .pyd-dimension-label, .pyd-step-count) {
  color: #35533e !important;
  opacity: 1;
}
body :is(.pyd-eyebrow, .pyd-partner-label, .pyd-mini-steps,
  .pyd-gallery-item > div > span) { font-weight: 600; }
body .pyd-page .pyd-eyebrow,
body :is(.pyd-service-cards, .pyd-journey-v3, .pyd-expertise-three) article > span,
body .pyd-contact-group legend > span {
  color: #35533e !important;
}
body :is(.pyd-header, .pyd-footer) a:not(.pyd-nav-cta a),
body :is(.pyd-gallery-item a, .pyd-partners a:not(.pyd-button),
  .pyd-compact-custom, .pyd-compact-back, .pyd-quick-discover,
  .pyd-home-create, .pyd-home-callback, .pyd-progress button,
  .pyd-gallery-filters button, .pyd-creation-secondary) {
  color: #214b33;
  font-weight: 600;
}
body .pyd-navigation { font-weight: 600; }
body :is(input:not([type=submit]), textarea, select) {
  color: #173b2c !important;
}
body :is(input, textarea)::placeholder { color: #506451; opacity: 1; }
body :is(input, textarea, select):disabled { -webkit-text-fill-color: #506451; }

/* White type stays white on dark actions, selections and image panels. */
body :is(.pyd-button:not(.pyd-button-outline), .pyd-creation-primary,
  .pyd-nav-cta a, .pyd-gallery-filters button[aria-pressed=true],
  .pyd-slot[aria-pressed=true], .pyd-choice-pills input:checked + span,
  .pyd-journey-cta--forest) {
  color: #ffffff !important;
}
body :is(.pyd-button, .pyd-creation-primary, .pyd-journey-cta) :is(span, small, strong, b) {
  color: inherit !important;
}
body .pyd-button-outline { color: #173b2c !important; }
body .pyd-fusion .pyd-journey-cta--forest {
  background: linear-gradient(115deg, #193f2f, #285d44);
}
body .pyd-fusion .pyd-journey-cta--light { color: #173b2c !important; }
body .pyd-journey-cta--light .pyd-journey-arrow { color: #ffffff !important; }
body .pyd-journey-cta--forest .pyd-journey-arrow { color: #173b2c !important; }
body :is(.pyd-dream-invite, .pyd-offer, .pyd-quick-image, .pyd-opening-banner)
  :is(p, span, small, strong, b, em, h2, h3, a, button, .pyd-eyebrow) {
  color: #ffffff !important;
}
body .pyd-navigation .is-menu-open {
  background: #e5f0d8;
  color: #173b2c;
}
body .pyd-navigation .is-menu-open a:not(.pyd-nav-cta a) { color: #173b2c !important; }

/* Strengthen the text side of the artwork without dimming the whole image. */
body .pyd-fusion .pyd-intro-start::before {
  background: linear-gradient(90deg, rgba(8, 39, 27, .79) 0%, rgba(8, 39, 27, .62) 35%, rgba(8, 39, 27, .22) 64%, transparent 86%);
}
body .pyd-intro-start :is(h1, h1 em, .pyd-eyebrow, .pyd-hero-invitation > p,
  .pyd-hero-whisper, .pyd-fusion-baseline, .pyd-fusion-baseline em) {
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 1px 2px #08271b, 0 3px 14px #08271bcc;
}
body .pyd-intro-start .pyd-hero-invitation > p { font-weight: 500; }
body .pyd-fusion .pyd-prestation-screen { background-color: rgba(233, 243, 227, .94); }
body .pyd-fusion-project { background-color: rgba(247, 250, 242, .94); }
body .pyd-fusion .pyd-inspirations-v3 { background-color: rgba(240, 246, 233, .94); }

/* A disabled demo action remains legible, with a distinct inactive treatment. */
body form :is(button[type=submit], input[type=submit]):disabled {
  opacity: 1;
  background: #536450;
  color: #ffffff !important;
  cursor: not-allowed;
  box-shadow: none;
}
body .pyd-feedback.is-error { color: #762b1a !important; }
body .pyd-feedback.is-success { color: #204e2c !important; }
@media (max-width: 759px) {
  body .pyd-fusion .pyd-intro-start::before {
    background: linear-gradient(180deg, rgba(8, 39, 27, .80), rgba(8, 39, 27, .69) 58%, rgba(8, 39, 27, .28) 88%, rgba(8, 39, 27, .12));
  }
}
