/* Client's web palette. All values are sRGB; images and project model colours remain authored. */
html[data-anatomic-brand] {
  --brand-navy: #0f2340;
  --brand-blue: #1e4e8c;
  --brand-light: #8cc8f2;
  --brand-tint: #cfe7f9;
  --brand-action: #b9501a;
  --brand-stat: #f28c3d;
  /* Darker tonal surfaces from the PDF examples, separate from the official Navy swatch. */
  --brand-dark-start: #0d1c33;
  --brand-dark-end: #0b122c;
  --brand-navigation: #0b1524;
  --brand-footer: #101f32;
  --ai-color-white: #ffffff !important;
  --ai-color-ink: #16243a !important;
  --ai-color-navy: #0f2340 !important;
  --ai-color-panel: #0f2340 !important;
  --ai-color-text: #16243a !important;
  --ai-color-muted: #5b6879 !important;
  --ai-color-copy: #5b6879 !important;
  --ai-color-secondary-on-light: #5b6879 !important;
  --ai-color-secondary-on-dark: #d6dfe8 !important;
  --ai-color-surface: #f2f5f8 !important;
  --ai-color-service-surface: #f2f5f8 !important;
  --ai-color-border: #d6dfe8 !important;
  --ai-color-service-border: #d6dfe8 !important;
  --ai-color-accent: #1e4e8c !important;
  --ai-color-accent-ui: #1e4e8c !important;
  --ai-color-accent-inverse: #8cc8f2 !important;
  --ai-color-accent-inverse-ui: #8cc8f2 !important;
  --ai-color-accent-inverse-soft: #cfe7f9 !important;
  --ai-color-highlight: #8cc8f2 !important;
  --ai-font-display: var(--anatomic-brand-display) !important;
  --ai-font-display-home: var(--anatomic-brand-display) !important;
  --ai-font-body: var(--anatomic-brand-body) !important;
  --ai-font-label: var(--anatomic-brand-body) !important;
  --ai-type-heading-weight: var(--anatomic-brand-heading-weight) !important;
  --ai-type-card-weight: var(--anatomic-brand-card-weight) !important;
  --ai-type-heading-tracking: -.02em !important;
  --ai-type-card-tracking: -.01em !important;
}
html[data-anatomic-brand] body { font-family: var(--ai-font-body); }
html[data-anatomic-brand] :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--ai-font-display) !important;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
}
html[data-anatomic-brand] :is(h1,h2) { font-weight: var(--anatomic-brand-heading-weight) !important; line-height: 1.12; }
html[data-anatomic-brand] :is(h3,h4,h5,h6) { font-weight: var(--anatomic-brand-card-weight) !important; }
html[data-anatomic-brand] :is(h1,h2,h3,h4) :is(span,strong,em,a) { font-family: inherit !important; font-weight: inherit; }
html[data-anatomic-brand] .ai-home-hero__accent { color: inherit !important; }
/* Replace the complete background so the earlier Ink gradient cannot remain above Navy. */
html[data-anatomic-brand] .ai-home-aligned .donations {
  background: linear-gradient(115deg, var(--brand-dark-start), var(--brand-dark-end)) !important;
}
html[data-anatomic-brand] .ai-site-footer { background: var(--brand-footer) !important; }
html[data-anatomic-brand] body .header-area .menu > ul,
html[data-anatomic-brand] body .header-area.fix #ai-primary-menu,
html[data-anatomic-brand] body .header-area.fix .header-body::after {
  background: var(--brand-navigation) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-anatomic-brand] .ai-home-aligned .bannerarea::after {
  background: linear-gradient(90deg, rgba(8,14,37,.74), rgba(16,26,59,.64) 62%, rgba(16,26,59,.22)) !important;
}
html[data-anatomic-brand] .ai-home-aligned .number10 {
  background: linear-gradient(135deg, var(--brand-dark-start), var(--brand-dark-end)) !important;
}
html[data-anatomic-brand] .ai-home-aligned .home-project-cta::before {
  background: linear-gradient(90deg, rgba(8,14,37,.95), rgba(8,14,37,.72) 50%, rgba(8,14,37,.28)) !important;
}
html[data-anatomic-brand] .ai-page-hero { --ai-color-accent: var(--brand-light); }
html[data-anatomic-brand] .ai-site-footer { --ai-color-accent: var(--brand-light); }
html[data-anatomic-brand] .ai-home-aligned .home-metric-value,
html[data-anatomic-brand] .ai-home-aligned .home-metric-value .counter { color: var(--brand-stat) !important; font-family: var(--ai-font-display) !important; }
html[data-anatomic-brand] .ai-home-aligned .btn,
html[data-anatomic-brand] .ai-contact-cta__content > a,
html[data-anatomic-brand] .ai-service-cta a,
html[data-anatomic-brand] .ai-service-cta__actions > a:first-child,
html[data-anatomic-brand] .wpcf7-submit {
  background: var(--brand-action) !important;
  border-color: var(--brand-action) !important;
  color: #fff !important;
}
html[data-anatomic-brand] .ai-home-aligned .construction .headerright .btn {
  background: transparent !important;
  border-color: var(--brand-blue) !important;
  color: var(--brand-blue) !important;
}
html[data-anatomic-brand] .header-area .loginbox .btn-primary {
  background: #fff !important; border-color: #fff !important; color: var(--brand-navy) !important;
}
html[data-anatomic-brand] .header-area .menu > ul > li > a { color: #fff; }
html[data-anatomic-brand] .header-area .menu > ul > li > a:hover { color: var(--brand-light); }
html[data-anatomic-brand] .ai-site-footer :is(p,li,small) { color: #d6dfe8; }
html[data-anatomic-brand] .ai-site-footer :is(h2,h3,h4) { color: #fff; }
html[data-anatomic-brand] .ai-site-footer__contact address span { color: var(--brand-light) !important; }
/* Client review: testimonial accents use burnt orange in all three variants. */
html[data-anatomic-brand] .ai-home-aligned .home-voices {
  --home-blue: var(--brand-action);
  --ai-color-accent-ui: var(--brand-action);
}
html[data-anatomic-brand] .ai-home-aligned .home-voice-tile { border-color: #e7c8b8; }
html[data-anatomic-brand] .ai-home-aligned .home-voice-tile:is(:hover,:focus-visible,.is-voice-dragged) { border-color: var(--brand-action); }
html[data-anatomic-brand] .ai-home-aligned .home-voice-tile__person,
html[data-anatomic-brand] .ai-home-aligned .home-voice-dialog footer,
html[data-anatomic-brand] .ai-home-aligned .home-voice-dialog__close { border-color: #e7c8b8; }
html[data-anatomic-brand] .ai-home-aligned .home-voice-dialog__person > span { color: #5b6879; }
html[data-anatomic-brand] .ai-home-aligned .home-voice-dialog__panel {
  border-color: #e7c8b8;
  background: linear-gradient(145deg, #fff 0%, #fff 58%, #fff5ef 100%);
}
html[data-anatomic-brand] .ai-home-aligned .home-voice-dialog__panel::after { color: rgba(185,80,26,.04); }
html[data-anatomic-brand] .ai-home-aligned .donations .Projectsarea > p:last-child { color: #fff; }
html[data-anatomic-brand] ::selection { background: var(--brand-tint); color: #16243a; }
