/* The header's buttons fold into a hamburger when they would push the page name off the logo's row (Kevin, 2026-11-17, "On shop,
   show, and sell, collapse the right-hand top menu items into a hamburger when necessary so that the page title and page blurb stays
   on the same line and to the right of the main site logo."). assets/js/head-menu.js decides: it adds .hm-collapsed to header.sp-head
   when the name and its eyebrow would have to wrap beside the buttons. Loaded last on /shop/, /show/ and /sell/. */
html body header.sp-head { position: relative; }
html body header.sp-head .sp-head-in { grid-template-columns: auto minmax(0, 1fr) auto !important; align-items: center; }
html body header.sp-head .sp-head-in > .sp-logo { grid-column: 1 !important; grid-row: 1 !important; }
html body header.sp-head .sp-head-in > h1 { grid-column: 2 !important; grid-row: 1 !important; min-width: 0; }
html body header.sp-head .sp-head-in > .sp-nav { grid-column: 3 !important; grid-row: 1 !important; justify-self: end; }
html body header.sp-head .hm-btn { display: none; }

html body header.sp-head.hm-collapsed .hm-btn { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border: 1px solid #DAD6CD; border-radius: 999px; background: #fff; cursor: pointer; }
html body header.sp-head.hm-collapsed .hm-btn span, html body header.sp-head.hm-collapsed .hm-btn span::before, html body header.sp-head.hm-collapsed .hm-btn span::after {
  display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #111; position: relative; transition: transform .15s, background .15s; }
html body header.sp-head.hm-collapsed .hm-btn span::before, html body header.sp-head.hm-collapsed .hm-btn span::after { content: ""; position: absolute; left: 0; }
html body header.sp-head.hm-collapsed .hm-btn span::before { top: -6.5px; }
html body header.sp-head.hm-collapsed .hm-btn span::after { top: 6.5px; }
html body header.sp-head.hm-open .hm-btn span { background: transparent; }
html body header.sp-head.hm-open .hm-btn span::before { transform: translateY(6.5px) rotate(45deg); }
html body header.sp-head.hm-open .hm-btn span::after { transform: translateY(-6.5px) rotate(-45deg); }
html body header.sp-head.hm-collapsed .hm-btn:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* the folded menu: a white card under the button, the same pills one under another */
html body header.sp-head.hm-collapsed .sp-head-in > .sp-nav { display: none !important; }
html body header.sp-head.hm-collapsed.hm-open .sp-head-in > .sp-nav { display: flex !important; flex-direction: column; gap: 8px; position: absolute; z-index: 60;
  top: calc(100% - 6px); right: max(16px, calc((100% - 60rem) / 2 + 20px)); width: 180px; padding: 12px; background: #fff;
  border: 1px solid #E6E3DC; border-radius: 18px; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
html body header.sp-head.hm-collapsed.hm-open .sp-nav .sp-back { width: 100%; justify-content: center; padding: 10px 14px !important; font-size: 1.05rem !important; border-width: 1px !important; }
/* the eyebrow on one line on every width (head-menu.js shrinks it to fit) */
html body header.sp-head h1 .sp-eyebrow { white-space: nowrap !important; overflow: hidden; }

/* The scrollbar's room is kept from the first paint on /shop/, /show/ and /sell/, so moving between them doesn't shift the page
   sideways (Kevin, 2026-11-17, "Can you accommodate for the scroll bar before, as the page loads?"). Delete to take it out. */
html { scrollbar-gutter: stable; }
