/* =============================================================================
   site-chrome.css — isolation layer for the SHARED header + footer
   -----------------------------------------------------------------------------
   The header (_header.html + site-header.css) and footer (_footer.html) are
   exact copies from reference_new_design/index.html. Every page also loads its
   own stylesheet (css/pages/<page>.css), and several of those contain
   UNSCOPED rules (body, a, img, :focus-visible, …) — see css/INVENTORY.md.

   This file is linked LAST (after the page CSS) and pins every property that a
   page stylesheet could otherwise leak into the header/footer, so they render
   identically on every page. Only header[data-site-header] (the shared header — NOT the Aura/PRinS3 product
   headers, which also use class "site") and .site-foot are targeted —
   page content is never touched (except the body margin, below).
============================================================================= */

/* 1. Browser default 8px body margin — research-insights / careers / products
      never reset it, which pushed the header/logo 8px down and inward. */
body { margin: 0; }

/* 2. Box model (index.html sets * { box-sizing: border-box }) */
header[data-site-header], header[data-site-header] *, .site-foot, .site-foot * { box-sizing: border-box; }

/* 3. Text rendering — 7 page stylesheets set body { -webkit-font-smoothing:
      antialiased }; index.html (the header/footer source) does not. */
header[data-site-header], .site-foot { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }

/* 4. Footer typography — inherits body font/line-height on index.html only. */
.site-foot { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: normal; text-align: left; color: #B8B4D6; }
.site-foot p { font-family: 'Open Sans', sans-serif; }

/* 5. Footer links — white by default; teal (#159AA9) on hover, while pressed, and for
      the current page (aria-current, set in _footer.html). Review doc 16-11-2026.
      Pages override `a` (color: inherit / other colours / underline). */
.site-foot a { color: #FFFFFF; text-decoration: none; transition: color .15s ease; }
.site-foot a:hover, .site-foot a:active, .site-foot a[aria-current="page"] { color: #159AA9; }

/* 6. Header links/logo — page `a` and `img` rules */
header[data-site-header] a { text-decoration: none; }
header[data-site-header] .logo img { max-width: none; }

/* 7. Keyboard focus ring — 6 pages define their own :focus-visible outline */
header[data-site-header] a:focus-visible, .site-foot a:focus-visible {
  outline: 2px solid #159AA9; outline-offset: 3px; border-radius: 2px;
}

/* 8. PRinS3 brand — PR + italic "in" + S + superscript 3, everywhere on the site.
      Markup comes from the |prins template filter or is written as
      <span class="prins">PR<i>in</i>S<sup>3</sup></span>. */
.prins { white-space: nowrap; text-transform: none; font-style: normal; }
.prins i { font-style: italic; }
.prins sup { font-size: .6em; line-height: 0; vertical-align: super; position: relative; top: -.1em; margin-left: .03em; }
