/* Clear As Day baseline reset (child theme). The element defaults from src/theme.css
   that have no Theme Style control; body and heading typography and the site
   background live in the "Clear As Day (entire website)" Theme Style. Every rule is
   zero specificity (:where) except the rem base, so Bricks settings always win.
   rem base: 16px (also set by the Theme Style html font-size control; kept here so
   rem values survive if that style is ever removed). Phase 2, 12 October 2026. */
html { font-size: 100%; }
:where(*) { margin: 0; padding: 0; box-sizing: border-box; }
:where([hidden]) { display: none; }
:where(body) { overflow-x: hidden; }
:where(img) { display: block; max-width: 100%; }
:where(a) { color: currentcolor; }

/* Bricks base rules the prototype never had, measured on the imported Blog and Work pages
   (Phase 4, 12 October 2026). Bricks makes every text link and its spans inline-flex
   (.brxe-text-link, .brxe-text-link span {align-items:center; display:inline-flex}), and its
   normalize gives form controls line-height 1.15 and buttons padding 0 / start alignment. The
   prototype relied on the browser defaults, so these put them back at the same specificity,
   loaded after bricks-frontend; a class that sets its own value still wins (.x.brxe-* is 0,2,0). */
.brxe-text-link, .brxe-text-link span { display: revert; align-items: revert; justify-content: revert; gap: revert; }
button, input, optgroup, select, textarea { line-height: normal; }
button { text-align: center; }
/* Bricks gives any inline SVG without a width attribute a 1em minimum width
   (svg:not([width]) {min-width: 1em}), which grew the prototype's 13px tick and 16px accordion
   icons on the Brand Films page. The prototype sizes its icons by class, so put the browser
   default back at the same specificity (Phase 4, 12 October 2026). */
svg:not([width]) { min-width: 0; }
/* The same for height (section audit, 19 October 2026): Bricks sets min-height: 1em on any svg without a height
   attribute, which grew the 13px ticks, the accordion chevrons, the FAQ marks and the button arrows past their CSS size. */
svg:not([height]) { min-height: 0; }
/* Bricks' bare element rules for quotes and captions (gotcha B09), measured on the NHS post:
   blockquote gets a 4px left border, Georgia at 1.3em, a 30px left padding and 15px margins,
   so the quote paragraph was 4px narrower and wrapped an extra line at 768; blockquote cite
   and figcaption get their own type. The prototype relied on browser defaults; the compiled
   classes set what the prototype styled (Phase 4, 12 October 2026). */
blockquote { border-left-style: none; border-left-width: 0; font-family: inherit; font-size: inherit; margin: 0; padding: 0; position: static; }
blockquote cite { display: inline; font-size: inherit; font-style: italic; margin-top: 0; opacity: 1; text-transform: none; }
figcaption { color: inherit; font-size: inherit; font-style: inherit; margin: 0; padding: 0; text-align: inherit; }
