/* ============================ SITE CHROME ============================
   Shared across EVERY page: the left logo menu, the page-title voice, and
   the link-hover highlighter. The right-hand account popout ships inside
   /js/account-panel.js (styles bundled). Load order on a page:
     <link rel="stylesheet" href="/css/chrome.css">
     <script defer src="/js/site-chrome.js"></script>
     <script defer src="/js/account-panel.js"></script>
   site-chrome.js injects the menu markup and the rough-edge SVG filter. */

/* ---- page titles: ONE voice everywhere ---- */
.site-title {
  font-size: clamp(26px, 5vw, 36px); font-weight: 400;
  letter-spacing: .1em; transform: rotate(-1.2deg); line-height: 1.15;
}
.site-sub {
  color: rgba(24,21,18,.55); font-size: 13.5px; letter-spacing: .2em;
  text-transform: uppercase; margin: 6px 0 20px; transform: rotate(.4deg);
}
@media (max-width: 520px) {
  .site-title { font-size: 27px; letter-spacing: .06em; }
  .site-sub { font-size: 14px; }
}

/* ---- left logo menu ---- */
#siteMenu { position: fixed; top: 10px; left: 12px; z-index: 900;
  font-family: "Patrick Hand","Segoe Print","Comic Sans MS","Chalkboard SE",cursive; }
#menuBtn { display: flex; align-items: center; justify-content: center; cursor: pointer;
  width: 44px; height: 40px; background: #f1efe9; border: 2px solid #181512;
  border-radius: 16px 12px 18px 10px/10px 18px 12px 16px; transform: rotate(1deg);
  filter: url(#tugp-rough); }
#menuBtn img { display: block; }
#menuPanel { position: absolute; top: 46px; left: 0; min-width: 190px; padding: 10px 6px;
  background: #f1efe9; display: flex; flex-direction: column; }
#menuPanel[hidden] { display: none; }   /* display:flex would defeat `hidden` */
#menuPanel::before { content: ''; position: absolute; inset: 1px; pointer-events: none;
  border: 2px solid #181512; border-radius: 14px 18px 12px 20px/18px 12px 20px 14px;
  filter: url(#tugp-rough); }
#menuPanel a { padding: 9px 16px; font-size: 15px; color: #181512; text-decoration: none;
  display: flex; align-items: center; gap: 11px; }
#menuPanel .mi { width: 1.35em; text-align: center; font-size: 1.05em; flex: none; }
#menuPanel a.legal .mi { opacity: .8; font-size: .95em; }
#menuPanel a.home b { letter-spacing: .03em; }
#menuPanel a:hover { text-decoration: none; background: rgba(233,196,106,.55); border-radius: 6px; }
#menuPanel a + a { border-top: 1px solid rgba(24,21,18,.12); }
.menuSplit { border-top: 2px solid #181512; margin: 7px 12px; opacity: .85;
  filter: url(#tugp-rough); }
#menuPanel a.legal { font-size: 13.5px; color: rgba(24,21,18,.78); padding: 8px 16px; }

@media (max-width: 520px) {
  #siteMenu { top: 6px; left: 8px; }
  #menuBtn { width: 46px; height: 42px; }
  #menuPanel a { font-size: 16.5px; padding: 11px 18px; }
  #menuPanel a.legal { font-size: 15px; padding: 10px 18px; }
}

/* ---- link hover: a highlighter swipe, never an underline ---- */
.hoverlink:hover, .site-back:hover {
  text-decoration: none !important; color: #181512;
  background: rgba(233,196,106,.55);
  box-shadow: 0 0 0 3px rgba(233,196,106,.55); border-radius: 4px;
}
