/* QA cycle 1 fixes (08/11/2026), theme side. See inc/cr04.php. Loaded last. */

:root{
	/* C4: field border token. 3:1 or better on white, sand 50 and sand 100 (#6E7C7C is 4.34:1 on white).
	   David has not chosen the colour: changing this one value changes every text field, select and textarea. */
	--border-field:#6E7C7C;
}

/* C3: the skip link is visible when it takes focus (white on navy 900 is 15.9:1). */
.skip-link.screen-reader-text:focus{clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;margin:0!important;position:fixed!important;top:8px;left:8px;z-index:100000;padding:14px 22px;background:var(--ic-navy-900);color:#fff;font:600 16px var(--font-sans);line-height:1.2;border-radius:8px;text-decoration:none;outline:2px solid var(--ic-teal-200);outline-offset:2px}
main:focus,main:focus-visible{outline:none}

/* C6: focus and anchor jumps clear the sticky header; /faqs also clears the jump nav and the section head. */
html{scroll-padding-top:calc(var(--ic-header-h,77px) + 16px)}
html:has(body.ic-page-faqs){scroll-padding-top:calc(var(--ic-header-h,77px) + 150px)}

/* C2: the consent banner now comes first in the DOM, so the sticky pill is hidden by a body class instead of a sibling rule. */
body.ic-consent-open .ic-sticky-cta{display:none}

/* C4 and C12: field borders, and a clear 3px focus outline on text fields (the teal border and halo stay). */
.ic-field input,.ic-field select,.ic-field textarea{border-color:var(--border-field)}
.ic-field input:focus-visible,.ic-field select:focus-visible,.ic-field textarea:focus-visible,
.ic-field input:focus,.ic-field select:focus,.ic-field textarea:focus{outline:3px solid var(--ic-teal-700);outline-offset:2px;border-color:var(--ic-teal-700)}
.ic-field input[type=checkbox],.ic-field input[type=radio]{border-color:initial}

/* C12: the header phone link is a 44px target. */
.ic-header__phone{min-height:44px;padding:0}
@media (min-width:1280px){.ic-nav__link{white-space:nowrap}}

/* C12: a submit button that cannot be used yet is still readable (4.5:1) rather than a faded 45% pill. */
.ic-btn[disabled],.ic-btn[aria-disabled="true"]{opacity:1;background:var(--ic-slate-100,#E9EDED);color:#3A4646;border-color:var(--border-field);box-shadow:none}

/* B2: privacy policy contents list. */
.ic-toc--legal{margin:0 0 32px;padding:20px 22px;border:1px solid var(--border-2);border-radius:var(--radius-lg);background:#fff}
.ic-toc--legal .ic-toc__list{display:grid;gap:2px 28px}
@media (min-width:768px){.ic-toc--legal .ic-toc__list{grid-template-columns:1fr 1fr}}
.ic-toc--legal .ic-toc__list a{min-height:44px;display:flex;align-items:center}

/* D5: LinkedIn link in the post author box. */
.ic-author__li{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:600}
.ic-author__li .ic-ico{width:16px;height:16px}

/* C10: visible pause control for the home ticker (a real button outside the aria-hidden band). */
.ic-tickerwrap{position:relative}
.ic-tickerbtn{position:absolute;right:max(12px,var(--gutter,16px));top:50%;transform:translateY(-50%);z-index:2;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:999px;background:#fff;color:var(--ic-navy-900);font:600 14px var(--font-sans);cursor:pointer;box-shadow:var(--shadow-md)}
.ic-tickerbtn svg{width:14px;height:14px;fill:currentColor}
.ic-tickerbtn .ic-tickerbtn__play{display:none}
.ic-tickerwrap.is-paused .ic-tickerbtn__pause{display:none}
.ic-tickerwrap.is-paused .ic-tickerbtn__play{display:inline}
.ic-tickerwrap.is-paused .ic-ticker__track{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.ic-tickerbtn{display:none}}

/* C10: every other decorative loop runs for 5 seconds, then rests in the same static state reduced motion shows.
   html.ic-still is added by cr04.js after 5 seconds; the ticker is excluded (it has its own pause control). */
html.ic-still .ic-flow__token{animation:none!important;opacity:0}
html.ic-still .ic-flow__fill,
html.ic-still .ic-flow__node .ic-flow__dot,
html.ic-still .ic-flow__pill,
html.ic-still .ic-flow__card,
html.ic-still .ic-chip--a,
html.ic-still .ic-chip--b,
html.ic-still .ic-kitstack__doc,
html.ic-still .ic-kitstack__cover,
html.ic-still .ic-quotefloat span,
html.ic-still .ic-hhero:before,
html.ic-still .ic-cred__item .ic-tile,
html.ic-still .ic-booking__cal,
html.ic-still .ic-page-referral-partners .ic-journeyband .ic-steps>li:before{animation:none!important}

/* D1: disclosure under the DC Digital quote (global-elements.md, testimonial disclosure label). Contrast set per background. */
.ic-disc{display:block;margin:2px 0 0;font:500 13px/1.4 var(--font-sans);color:var(--fg-3)}
.inv .ic-disc,.tone-navy .ic-disc,.tone-teal .ic-disc{color:var(--fg-on-brand-2)}
.ic-slide figcaption .ic-disc{display:block;margin-top:2px}

/* D6: footer image note, a single live sentence above the legal row. */
.ic-footer__note{margin:0 0 14px;font:400 13px/1.5 var(--font-sans);color:var(--ic-slate-400)}

/* G1 (QA cycle 2, N1; WCAG 1.4.11): the focus ring switches to a light colour on dark surfaces. Measured by the auditor at 3:1 or better
   on every Tab stop. The Home header gets a white ring with a navy band so it stays clear over the bright sky. */
.ic-footer,.tone-navy,.tone-teal,.inv,.ic-est,.ic-logoband,.ic-tickerwrap,.ic-sticky-cta,.ic-card.teal,.ic-srow.featured{--ic-focus-ring:var(--ic-sand-500)}
.tone-teal,.ic-card.teal{--ic-focus-ring:#fff} /* teal bands: white ring, a wider margin than sand against the lighter end of the gradient */
:focus-visible{outline-color:var(--ic-focus-ring,var(--ic-teal-700))}
.ic-acc summary:focus-visible,.ic-faqsec .ic-acc summary:focus-visible{outline-color:var(--ic-teal-700);outline-offset:-4px}
.ic-page-home .ic-header{--ic-focus-ring:#fff}
.ic-page-home .ic-header :focus-visible{outline-offset:2px;box-shadow:0 0 0 4px var(--ic-navy-900)}

/* Agency credit, last line of the footer (David, 09/11/2026). Small, same colour as the legal row; the link is underlined and a 32px target. */
.ic-footer__credit{margin:14px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.14);font:400 12.5px/1.5 var(--font-sans);color:var(--ic-slate-400)}
.ic-footer__credit a{display:inline-flex;align-items:center;min-height:32px;color:#fff;text-decoration:underline;text-underline-offset:3px}
.ic-footer__credit a:hover{text-decoration-thickness:2px}
