/**
 * The top bar and the lockup in it, written once for every page.
 *
 * ── WHY ───────────────────────────────────────────────────────────────────
 * A418. Ellie: "I've noticed when I switch between pages on the site, the
 * lockup in the top left sometimes changes. Sometimes the logo redraws even
 * though the words dont, and sometimes the words are slightly higher or lower
 * from page to page, etc. Please make sure that top banner is consistent
 * across pages."
 *
 * Each page drew the lockup from its own <style> block, and they had drifted:
 * a 36px mark on the gift page and a 40px one on checkout and the 404 page
 * where every other page drew 46px; a 1.05rem, 0.95rem or 1.15rem wordmark;
 * three pages whose body line-height reached the wordmark and moved its box;
 * a 71px bar on the 404 page; 40px of side padding on a phone on five pages
 * and 20px on the rest. The React site (/app) drew its own lockup at a third
 * size, navy on a white bar on a computer.
 *
 * ── HOW ───────────────────────────────────────────────────────────────────
 * Every static page and index.html (the React site) link this file. The bar
 * carries class="site-bar" and the lockup class="site-lockup", holding an
 * .attune-mark and a .logo-text. Selectors start at `html body` and name a
 * class, so they outrank any page's own `nav{...}`, `.logo-text{...}` or
 * `nav .logo{...}` without !important. Sizes are in px, so they do not move
 * with a page's root font size. Every property that can move the mark or the
 * words is set here, including line-height, so nothing a page inherits can.
 *
 * check-nav-draws measures the mark's box, the wordmark's box and face, and
 * the bar's height on every page at 390 and 1440 wide against /home's.
 */

html body .site-bar{
  height:58px;min-height:58px;max-height:58px;box-sizing:border-box;
  padding-top:0;padding-bottom:0;padding-left:40px;padding-right:40px;
  /* A526. Ellie, 12 November: "add a thin light blue line below the top page
     banner on every page on the website, just that top banner that has the
     cart icon, etc." Here because this is the one rule both the static pages
     and the React site draw the bar with; the border already existed, so the
     bar keeps its 58px. */
  border-top:0;border-bottom:1px solid var(--blue, #8FB8FF);
  display:flex;align-items:center;
  background:#142447;
}
@media(max-width:900px){
  html body .site-bar{padding-left:20px;padding-right:20px}
}

html body .site-lockup{
  display:flex;align-items:center;gap:10.4px;
  margin:0;padding:0;border:0;
  text-decoration:none;flex-shrink:0;cursor:pointer;line-height:1;
}
html body .site-lockup .attune-mark{
  display:block;flex-shrink:0;
  width:46px;height:46px;margin:0;padding:0;
  color:#FFFFFF;
}
html body .site-lockup .logo-text{
  display:block;margin:0;padding:0;
  font-family:'Archivo',system-ui,sans-serif;font-size:18.4px;font-weight:800;
  font-style:normal;font-stretch:125%;letter-spacing:-.005em;line-height:20px;
  text-transform:none;white-space:nowrap;
  color:#FFFFFF;
}

/* "Ambo Relationships" set expanded is about twice the width "Ambo" was,
   and on a phone the bar also carries the cart and the menu button. Smaller
   here so all three fit in 390 points without a sideways scroll. */
@media(max-width:480px){
  html body .site-lockup{gap:6.4px}
  html body .site-lockup .attune-mark{width:30px;height:30px}
  html body .site-lockup .logo-text{font-size:12.48px;line-height:14px}
}
