/* v33 A: foreground and surface belong together. This layer changes reading
   colours only, not the approved photography, geometry or motion behaviour. */
:root {
 --read-paper:#f4f2eb;
 --read-ink:#182c22;
 --read-copy:#405447;
 --read-meta:#455947;
 --read-link:#234d34;
 --read-night:#071010;
 --read-white:#f6f7f3;
 --read-night-copy:#d3ded6;
}
/* Bright cable pixels must never serve as the navigation's text background. */
body[data-page=index]>header,
body[data-page=index]>header.rx-menu-open {background:var(--read-night)}
/* The catalogue interval is an explicit light surface inside the dark home.
   In v32 it inherited the night body while retaining dark light-page text. */
body .rx-home-references {background:var(--read-paper);color:var(--read-ink)}
body .rx-home-references h2,
body .rx-home-references h3 {color:var(--read-ink)}
body .rx-home-references .sectionhead h2 {font-size:clamp(32px,3.8vw,52px);line-height:1.13;max-width:650px}
body .rx-home-references p {color:var(--read-copy)}
body .rx-home-references .eyebrow,
body .rx-home-reference-grid article>span {color:var(--read-meta)!important}
body .rx-home-references .inline,
body[data-page=index] .rx-home-references .rx-style-row a {color:var(--read-link);border-color:#647c68}
body .rx-home-reference-grid {border-color:#b9c5b6}
body .rx-home-reference-grid article+article {border-color:#b9c5b6}
/* Small labels on paper/soft-green surfaces need full body-text contrast. */
body :is(.rx-home-comparison,.rx-lab-feature,.rx-process-detail,.rx-about-purpose,.rx-company-profile,.rx-spec-dossier,.documentblock,.faq) .eyebrow,
body .rx-company-facts dt,
body .rx-bottom-note,
body .rx-table-meta .filter-status,
body .rx-reference-browser .rx-table-source,
body .rx-reference-ledger thead th {color:var(--read-meta)!important}
/* Keep image overlays local, while brighter labels remain comfortably legible.
   The animation's own positions, controls, frame state and runway are untouched. */
body :is(.rx-production-teaser-copy,.rx-workshop-copy) .eyebrow {color:var(--read-white)!important}
body .cable-heading .eyebrow,
body .cable-copy .eyebrow,
body .cable-scroll .cable-status {color:var(--read-night-copy)!important}
/* Supporting page families use the same readable small-copy tier on light fields. */
body[data-page=changes] .intro .eyebrow,
body[data-page=privacy] .intro .eyebrow,
body[data-page=review] .intro .eyebrow,
body :is(.rx-secondary-common-inputs,.rx-secondary-order) .rx-secondary-kicker,
body .rx-secondary-branch {color:var(--read-meta)!important}
/* A compact caption backing guarantees small labels over the brightest floor
   patches, without darkening or repainting the production photograph itself. */
body :is(.rx-production-teaser-copy,.rx-workshop-copy) .eyebrow {
 display:table;max-width:100%;padding:4px 9px;margin-left:-9px;
 background:#071010d9;
}
