/* Elegant Diamond Jewelers — device-signal accessibility blocks.
   Brief 6656 follow-on (design ledger item 47), staged 2026-11-21.
   NOTHING DEPLOYS. Design: DESIGN-STANDARD DS-10, DS-41, DS-42;
   dialect DS-36 (the maison dialect). The more-contrast rules below
   are this product's OWN high-contrast design (the
   html.a11y-high-contrast rule set already shipped for the footer
   Accessibility panel), triggered by the device signal instead of
   only by the toggle. No new palette, no new identity. */

/* prefers-contrast: the device asks for more contrast */
@media (prefers-contrast: more){
  body{background:#000;color:#fff}
  .specs,.enquiry-form{background:#fff;color:#111;padding-left:14px;padding-right:14px}
  .specs :is(dt,dd,summary),.enquiry-form :is(label,legend,p,span){color:#111!important}
  .enquiry-form input,.enquiry-form select,.enquiry-form textarea{background:#fff;color:#111;border-color:#555}
  .collection{background:#000}
  .collection :is(.piece-story>p,.count,.detail dt,.journey-stage figcaption,.piece-cta-note){color:#d8d2c2}
  .collection :is(.piece-copy,.piece-no,.detail dd,.piece-head){color:#f2eee3}
  .manifesto .section-label,.principles .section-label{color:#7a5c14}
  :focus-visible{outline:3px solid var(--gold-bright,#d1a24a)!important;outline-offset:2px}
  .consent-banner{border-width:2px}
  .consent-decline{border-width:2px}
}

/* prefers-reduced-transparency: the device asks for less transparency.
   Mirrors the product's own html.a11y-reduce-transparency rules:
   viewer chrome and the commission bar become their opaque colours. */
@media (prefers-reduced-transparency: reduce){
  *,*::before,*::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .compare-label,.spin-hint,.fullscreen-open,.viewer-close{background:#080807}
  .commission-bar{background:#0d0d0c}
}

/* inverted-colors: the device inverts the screen (Safari/macOS).
   Media is re-inverted so photography renders in its true colours;
   page chrome is left to the device. Signal behaviour only — no
   jewellery piece image or presentation changes in the base state. */
@media (inverted-colors: inverted){
  img,video{filter:invert(1)}
}
