/* Site-wide reading preferences, built on native controls and a modal dialog. */
html { scroll-padding-top: calc(var(--site-header-height, 120px) + 16px); scroll-padding-bottom: max(84px, calc(var(--mobile-actions-height, 0px) + 16px)); }
body.accessibility-open { overflow: hidden; }
:focus-visible { outline: 3px solid #087ca0; outline-offset: 4px; box-shadow: 0 0 0 6px white; }
#main-content:focus { outline: none; box-shadow: none; }
a, button, input, select, textarea, summary { scroll-margin-block: 16px; }
.accessibility-launcher { position: fixed; z-index: 101; inset: auto auto 20px 20px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #63788c; border-radius: 99px; background: #07162a; color: white; min-height: 48px; padding: 10px 18px; font-size: .875rem; font-weight: 700; box-shadow: 0 5px 20px #07162a33; cursor: pointer; }
.accessibility-launcher svg, .accessibility-mobile svg, .accessibility-title-icon svg { height: 24px; width: 24px; flex-shrink: 0; }
.accessibility-launcher:hover { background: #16334e; }
.accessibility-footer { background: transparent; border: 0; color: #d9e2ec; padding: 12px 0; text-align: left; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.accessibility-mobile { display: none; }
.accessibility-dialog { color: #102033; background: #fff; border: 1px solid #d6dfe5; border-radius: 24px; padding: 28px; width: 480px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 90px #07162a55; }
.accessibility-dialog::backdrop { background: #07162aa8; backdrop-filter: blur(4px); }
.accessibility-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.accessibility-title-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #edf6de; color: #264d12; border-radius: 15px; }
.accessibility-close { display: grid; place-items: center; border: 1px solid #d6dfe5; border-radius: 50%; background: #f4f6f8; color: #26384b; width: 44px; height: 44px; flex-shrink: 0; cursor: pointer; }
.accessibility-close svg { width: 20px; height: 20px; }
.accessibility-dialog h2 { font-size: 1.625rem; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.accessibility-dialog .accessibility-intro { font-size: 1rem; line-height: 1.5; color: #526171; margin: 12px 0 24px; }
.accessibility-text-size { margin: 0 0 10px; padding: 0 0 20px; border: 0; border-bottom: 1px solid #d6dfe5; min-width: 0; }
.accessibility-text-size legend { font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.accessibility-size-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.accessibility-size-options label { position: relative; min-width: 0; cursor: pointer; }
.accessibility-size-options input, .accessibility-option input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.accessibility-size-options label > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px 3px; background: #f4f6f8; border: 2px solid transparent; border-radius: 12px; }
.accessibility-size-options b { font: 700 1.25rem/1.2 Manrope,system-ui,sans-serif; }
.accessibility-size-options label > span > span { font-size: .875rem; font-weight: 600; }
.accessibility-size-options input:checked + span { color: #173313; background: #edf6de; border-color: #456f15; }
.accessibility-size-options input:focus-visible + span { outline: 3px solid #087ca0; outline-offset: 3px; }
.accessibility-option { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #d6dfe5; cursor: pointer; }
.accessibility-option > span:first-child { min-width: 0; flex: 1; }
.accessibility-option strong { display: block; font-size: 1rem; line-height: 1.4; }
.accessibility-option small { display: block; color: #526171; font-size: .875rem; line-height: 1.45; margin-top: 4px; }
.accessibility-switch { display: block; width: 46px; height: 28px; flex: 0 0 46px; padding: 3px; background: #647485; border: 1px solid #647485; border-radius: 99px; }
.accessibility-switch::before { content: ''; display: block; width: 20px; height: 20px; border-radius: 50%; background: white; }
.accessibility-option input:checked + .accessibility-switch { background: #365e10; border-color: #365e10; }
.accessibility-option input:checked + .accessibility-switch::before { transform: translateX(18px); }
.accessibility-option input:focus-visible + .accessibility-switch { outline: 3px solid #087ca0; outline-offset: 4px; }
.accessibility-option input:disabled + .accessibility-switch { opacity: .7; }
.accessibility-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.accessibility-actions button { min-height: 46px; border-radius: 99px; padding: 12px 18px; cursor: pointer; font-size: .875rem; font-weight: 700; }
.accessibility-reset { background: white; color: #26384b; border: 1px solid #bac7d0; flex: 1; }
.accessibility-done { background: #07162a; color: white; border: 1px solid #07162a; flex: 1; }
.accessibility-dialog .accessibility-scope { font-size: .8125rem; line-height: 1.5; color: #526171; margin: 20px 0 0; }
.accessibility-dialog .accessibility-status { font-size: .875rem; line-height: 1.4; color: #244315; margin: 12px 0 0; }
.accessibility-status:empty { margin: 0; }
/* Preserve content when enlarged text needs more room. */
html:not([data-text-size="100"]) .service-card, html:not([data-text-size="100"]) .audience-card { display: flex; align-items: end; height: auto; }
html:not([data-text-size="100"]) .service-card-content, html:not([data-text-size="100"]) .audience-card-content { position: relative; width: 100%; }
html:not([data-text-size="100"]) .nav-shell { min-height: 82px; height: auto; padding-block: 10px; gap: 16px; }
html:not([data-text-size="100"]) .main-nav { flex-wrap: wrap; }
html:not([data-text-size="100"]) .hero-tool-tabs { grid-template-columns: 1fr; }
html:not([data-text-size="100"]) .hero-tool-tabs button { min-height: 52px; }
html:not([data-text-size="100"]) .experience-card { position: relative; width: auto; max-width: 100%; margin: 16px 0 0; }
html:not([data-text-size="100"]) .service-strip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
html:not([data-text-size="100"]) :is(.hero-copy,.page-hero-content,.footer-grid,.service-strip-grid,.cta-panel,.contact-card,.review-author) { overflow-wrap: anywhere; }
html:not([data-text-size="100"]) .hero-proof { flex-wrap: wrap; }
html:not([data-text-size="100"]) .footer-bottom { flex-wrap: wrap; gap: 12px; }
html:not([data-text-size="100"]) :is(h1,h2,h3) { overflow-wrap: anywhere; }
html[data-text-size="200"] .split-layout, html[data-text-size="200"] .service-grid, html[data-text-size="200"] .hero-conversion .hero-layout, html[data-text-size="200"] .contact-grid { grid-template-columns: minmax(0,1fr); }
html[data-text-size="200"] .service-card { min-height: 440px; }
/* Real reduced-motion behavior, including scroll and initially hidden reveals. */
html[data-reduced-motion="true"] { scroll-behavior: auto !important; }
html[data-reduced-motion="true"] *, html[data-reduced-motion="true"] *::before, html[data-reduced-motion="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-reduced-motion="true"] .reveal { opacity: 1 !important; transform: none !important; }
html[data-reduced-motion="true"] :is(.button:hover,.service-card:hover img,.audience-card:hover img) { transform: none !important; }
/* High contrast removes translucent surfaces while leaving original photos intact. */
html[data-contrast="high"] body { background: #07111f; color: white; }
html[data-contrast="high"] body *:not(img):not(svg):not(svg *) { color: white !important; background-color: transparent !important; border-color: #aabbd0 !important; box-shadow: none; }
html[data-contrast="high"] :is(.site-header,.dropdown-menu,.hero-conversion-card,.accessibility-dialog,.mobile-actions,.accessibility-launcher,.gallery-label,.project-tile > span) { background-color: #07111f !important; }
html[data-contrast="high"] :is(a,button,.text-link) { color: #e3ff80 !important; text-decoration-color: currentColor; }
html[data-contrast="high"] :is(.button,button,.filter-button,.header-cta,.header-login) { background-color: #102a43 !important; border: 1px solid #e3ff80 !important; }
html[data-contrast="high"] :is(.hero,.page-hero,.service-card,.audience-card)::before { background: rgba(0,0,0,.85) !important; }
html[data-contrast="high"] .accessibility-size-options input:checked + span { background-color: #102a43 !important; border-color: #e3ff80 !important; }
html[data-contrast="high"] .accessibility-switch { background-color: #415065 !important; }
html[data-contrast="high"] .accessibility-option input:checked + .accessibility-switch { background-color: #7f9e30 !important; }
html[data-contrast="high"] :is(input,select,textarea) { background-color: #07111f !important; color: white !important; }
html[data-contrast="high"] :is(input,textarea)::placeholder { color: #d1dbe5 !important; }
html[data-contrast="high"] :focus-visible, html[data-contrast="high"] input:focus-visible + span { outline-color: #e3ff80; }
@media (max-width:850px) {
  .main-nav { top: 100%; height: calc(100dvh - var(--site-header-height,119px)); }
  html:not([data-text-size="100"]) .main-nav { flex-wrap: nowrap; }
  html:not([data-text-size="100"]) .service-strip-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:620px) {
  .accessibility-launcher { display: none; }
  .mobile-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr) 58px; gap: 0; }
  .mobile-actions a { height: auto; min-height: 58px; padding: 10px 8px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
  .mobile-actions a:nth-child(2) { background: var(--green); color: var(--navy); }
  .accessibility-mobile { display: grid; place-items: center; border: 0; border-left: 1px solid #65758a; border-radius: 0; background: #07162a; color: white; min-width: 58px; min-height: 58px; cursor: pointer; }
  .accessibility-mobile:focus-visible { outline-offset: -5px; box-shadow: none; }
  body { padding-bottom: var(--mobile-actions-height,58px); }
  .accessibility-dialog { padding: 22px; border-radius: 20px; }
  .accessibility-size-options { gap: 5px; }
  html:not([data-text-size="100"]) .footer-grid { grid-template-columns: minmax(0,1fr); }
  html:not([data-text-size="100"]) .accessibility-size-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html:not([data-text-size="100"]) .accessibility-actions { flex-direction: column; align-items: stretch; }
}
@media (forced-colors:active) {
  .accessibility-size-options input:checked + span { border-color: Highlight; }
  .accessibility-switch { forced-color-adjust: none; background: Canvas; border-color: ButtonText; }
  .accessibility-switch::before { background: ButtonText; }
  .accessibility-option input:checked + .accessibility-switch { background: Highlight; }
  .accessibility-option input:checked + .accessibility-switch::before { background: HighlightText; }
}
/* Let long legal links and text reflow instead of widening a grid column. */
.legal-nav, .legal-content { min-width: 0; overflow-wrap: anywhere; }
@media (max-width:850px) { .legal-layout { grid-template-columns: minmax(0,1fr); } }
