/* shared/styles/base.css
   Universal reset and body normalization for every site in the
   Uncharted Works web family (uw-site, atlas-site, store-site, account-site).

   Keep this intentionally small — per-site typography (font-family, font-size,
   color, background), link treatment, and container widths live in each site's
   own style.css. Anything that would need to differ between sites does not
   belong here.

   Loaded via each site's .eleventy.js passthrough of ../shared/styles → assets,
   and <link>ed from each layout.njk BEFORE the site's own style.css so per-site
   rules can override any default. */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* The HTML5 [hidden] attribute is supposed to be a hard guarantee, but
   any per-site rule that sets `display: grid|flex|block` on the same
   element wins on specificity (the UA's [hidden] rule is the floor).
   Force [hidden] back to `display: none` site-wide so toggling .hidden
   from JS works regardless of what `display:` the element normally uses. */
[hidden] { display: none !important; }
