@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,500;0,600;0,700;0,800;1,600;1,700&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');
/* Boston Made Shell — one shell, twelve tribes. Dark glass on every theme; the tribe only changes --bms-accent. */
:root {
  --bms-accent: #D9B76A;
  --bms-ink: #0b0c10;
  --bms-ink-2: #12141a;
  --bms-line: rgba(255, 255, 255, .12);
  --bms-text: #f3f4f6;
  --bms-muted: #a2a7b3;
  --bms-font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bms-head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bms-radius: 14px;
  --bms-bar-h: 40px;
  --bms-dock-h: 58px;
  --bms-tab-bg: rgba(255, 255, 255, .96);
  --bms-tab-line: rgba(0, 0, 0, .09);
  --bms-tab-fg: #65676b;
  --bms-tab-strong: #050505;
  --bms-tab-hover: rgba(0, 0, 0, .04);
  --bms-accent-ink: var(--bms-accent);
  --bms-glass: linear-gradient(180deg, rgba(26, 29, 37, .82) 0%, rgba(7, 8, 12, .92) 100%);
  --bms-shadow: 0 18px 44px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

/* ---------- reset inside the shell only ---------- */
#bm-bar, #bm-bar *, #bm-universe, #bm-universe *, #bms-dock, #bms-dock *, #bms-sheet, #bms-sheet *, #bms-tools, #bms-tools *, #bms-videos, #bms-videos *, #bms-feed, #bms-feed * {
  box-sizing: border-box;
  font-family: var(--bms-font);
  letter-spacing: 0;
  text-transform: none;
}
#bm-bar a, #bm-universe a, #bms-dock a, #bms-sheet a, #bms-feed a, .bm-btn, .bm-invest { text-decoration: none !important; }
#bm-bar img, #bm-universe img, #bms-sheet img, #bms-feed img { max-width: none; border: 0; box-shadow: none; margin: 0; display: block; }
.bm-i { flex: none; }

/* ---------- buttons ---------- */
.bm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--bms-line);
  background: rgba(255, 255, 255, .06); color: var(--bms-text) !important;
  font: 600 14px/1 var(--bms-font); cursor: pointer; white-space: nowrap;
  transition: background .2s, transform .2s, border-color .2s;
}
.bm-btn:hover { background: rgba(255, 255, 255, .11); transform: translateY(-1px); }
.bm-btn-accent { background: var(--bms-accent); border-color: var(--bms-accent); color: var(--bms-on-accent, #0b0c10) !important; }
.bm-btn-accent:hover { background: var(--bms-accent); filter: brightness(1.08); }
.bm-btn-ghost { background: transparent; }
.bm-btn-lg { padding: 13px 22px; font-size: 15px; }

/* ---------- network bar (static, scrolls away: it never adds to the fixed-chrome budget) ---------- */
#bm-bar {
  position: relative; z-index: 9000; width: 100%;
  background: var(--bms-ink); color: var(--bms-text);
  border-bottom: 1px solid var(--bms-line);
  font-size: 13px; line-height: 1;
}
.bm-bar-in {
  max-width: 1280px; margin: 0 auto; padding: 0 16px; height: var(--bms-bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bm-bar-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--bms-text) !important; font-weight: 600; min-width: 0; }
.bm-bar-brand img { width: 18px; height: 18px; border-radius: 5px; }
.bm-bar-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-bar-right { display: flex; align-items: center; gap: 4px; flex: none; }
.bm-bar-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: var(--bms-muted) !important;
  font: 600 12.5px/1 var(--bms-font); cursor: pointer; transition: color .15s, background .15s, border-color .15s;
}
.bm-bar-btn:hover, .bm-bar-btn[aria-expanded="true"] { color: var(--bms-text) !important; background: rgba(255, 255, 255, .08); border-color: var(--bms-line); }
.bm-bar-invest { color: var(--bms-on-accent, #0b0c10) !important; background: var(--bms-accent); border-color: var(--bms-accent); }
.bm-bar-invest:hover { color: var(--bms-on-accent, #0b0c10) !important; background: var(--bms-accent); filter: brightness(1.08); }
#bm-bar.bm-quiet { background: #0b0c10; }
#bm-bar.bm-quiet .bm-bar-brand { font-weight: 500; color: var(--bms-muted) !important; }

/* tribes panel (drops under the bar) */
.bm-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 9001;
  background: var(--bms-ink-2); color: var(--bms-text);
  border-bottom: 1px solid var(--bms-line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.bm-panel[hidden], .bms-sheet[hidden] { display: none !important; }
.bm-panel-in { max-width: 1280px; margin: 0 auto; padding: 16px 16px 20px; }
.bm-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.bm-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--bms-line); background: transparent; color: var(--bms-text); font-size: 20px; line-height: 1; cursor: pointer; }
.bm-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bms-line); }
.bm-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.bm-menu a { color: var(--bms-muted) !important; font: 600 13px/1.6 var(--bms-font); }
.bm-menu a:hover { color: var(--bms-text) !important; }
.bm-menu-col { flex-direction: column; gap: 2px; }
.bm-menu-col a { font-size: 15px; padding: 6px 0; }

/* ---------- tribe grid (shared by panel, footer, sheet, [bm_tribes]) ---------- */
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; }
.bm-grid-intro { color: var(--bms-muted); font-size: 15px; line-height: 1.5; max-width: 720px; margin: 0 0 14px; }
.bm-tribe {
  --c: var(--bms-accent);
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  padding: 12px; border-radius: var(--bms-radius); border: 1px solid var(--bms-line);
  background: rgba(255, 255, 255, .035); color: var(--bms-text) !important;
  transition: border-color .2s, background .2s, transform .2s;
}
.bm-tribe:hover { border-color: var(--c); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.bm-tribe.is-current { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset; }
.bm-tribe-ic { position: relative; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, var(--c), #0e0e16); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; }
.bm-tribe-ic i { position: absolute; inset: 0; display: grid; place-items: center; font: 800 17px/1 var(--bms-font); font-style: normal; color: #fff; }
.bm-tribe-ic img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: linear-gradient(150deg, #1d1d29, #07070c); }
.bm-tribe-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bm-tribe-txt strong { font-size: 14px; line-height: 1.25; font-weight: 700; }
.bm-tribe-txt small { font-size: 12.5px; line-height: 1.4; color: var(--bms-muted); }
.bm-tribe-txt em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); color: color-mix(in srgb, var(--c) 62%, #ffffff); }
.bm-grid-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.bm-grid-compact .bm-tribe { grid-template-columns: 32px 1fr; padding: 10px; }
.bm-grid-compact .bm-tribe-ic { width: 32px; height: 32px; border-radius: 9px; }
.bm-grid-compact .bm-tribe-txt small { display: none; }

/* ---------- footer universe (sits above the theme footer; JS moves it there) ---------- */
#bm-universe { background: #07080c; color: var(--bms-text); border-top: 1px solid var(--bms-line); }
.bm-universe-in { max-width: 1280px; margin: 0 auto; padding: 56px 16px 40px; }
.bm-universe-head { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; margin-bottom: 22px; }
.bm-universe-head img { width: 36px; height: 36px; border-radius: 9px; }
#bm-universe h2 { margin: 0 0 6px; font: 800 24px/1.15 var(--bms-font); color: var(--bms-text); letter-spacing: -.01em; }
.bm-universe-head p { margin: 0; color: var(--bms-muted); font-size: 15px; line-height: 1.5; max-width: 720px; }
.bm-universe-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bm-universe-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--bms-line); color: var(--bms-muted); font-size: 12.5px; line-height: 1.55; }
.bm-universe-legal p { margin: 0 0 8px; }
.bm-universe-legal strong { color: var(--bms-text); }
.bm-universe-links a { color: var(--bms-text) !important; }
.bm-ver { opacity: .55; }

/* ---------- bottom bar (the only fixed element the shell adds; full width, stuck to the bottom, full mode only) ---------- */
body.bm-has-dock { padding-bottom: calc(var(--bms-dock-h) + env(safe-area-inset-bottom)); }
#bms-dock {
  position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
  transform: none !important; z-index: 9002 !important; margin: 0 !important; box-sizing: border-box !important;
  display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: center !important; gap: 0;
  width: 100% !important; max-width: none !important; height: calc(var(--bms-dock-h) + env(safe-area-inset-bottom)) !important;
  padding: 0 max(4px, calc((100% - 760px) / 2)) env(safe-area-inset-bottom) !important;
  border: 0 !important; border-top: 1px solid var(--bms-tab-line) !important; border-radius: 0 !important;
  background: var(--bms-tab-bg) !important; box-shadow: 0 -2px 14px rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  opacity: 1 !important; visibility: visible !important;
}
#bms-dock .bms-dock-it {
  position: relative; display: flex !important; flex: 1 1 0 !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 3px;
  width: auto !important; min-width: 0 !important; max-width: 128px; height: auto !important; margin: 0 !important; padding: 6px 2px 5px !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: var(--bms-tab-fg) !important; font: 600 11px/1.1 var(--bms-font) !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important;
  cursor: pointer; transition: color .15s, background .15s; -webkit-tap-highlight-color: transparent;
}
#bms-dock .bms-dock-it::before {
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--bms-accent); transform: scaleX(0); transition: transform .2s ease;
}
#bms-dock .bms-dock-it span { display: block !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bms-dock .bms-dock-it .bm-i { width: 24px !important; height: 24px !important; }
#bms-dock .bms-dock-it:hover { color: var(--bms-tab-strong) !important; background: var(--bms-tab-hover) !important; }
#bms-dock .bms-dock-it:active .bm-i { transform: scale(.92); }
#bms-dock .bms-dock-it:focus-visible { outline: 2px solid var(--bms-accent) !important; outline-offset: -4px; }
#bms-dock .bms-dock-it.is-current, #bms-dock .bms-dock-it[aria-expanded="true"], #bms-dock .bms-dock-it.is-accent { color: var(--bms-accent-ink) !important; }
#bms-dock .bms-dock-it.is-current::before, #bms-dock .bms-dock-it[aria-expanded="true"]::before { transform: scaleX(1); }
#bms-dock.bms-dock--dark {
  --bms-tab-bg: rgba(18, 20, 26, .94); --bms-tab-line: rgba(255, 255, 255, .10); --bms-tab-fg: #b0b3b8;
  --bms-tab-strong: #e4e6eb; --bms-tab-hover: rgba(255, 255, 255, .06); --bms-accent-ink: var(--bms-accent);
}

/* Notices (consent banners, toasts, popups) sit above the bar: the bar publishes one gap token that notice layers read. */
body.bm-has-dock { --bm-dock-gap: calc(var(--bms-dock-h) + 12px + env(safe-area-inset-bottom)); }
body.bm-has-dock .cky-consent-container, body.bm-has-dock .cky-btn-revisit-wrapper { bottom: var(--bm-dock-gap) !important; }

/* "More" sheet */
.bms-sheet { position: fixed; inset: 0; z-index: 9003; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bms-sheet-in {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(760px, 100%); max-height: 86vh; overflow: auto;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0;
  background: var(--bms-ink-2); color: var(--bms-text); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
}
.bms-sheet-acct { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .bm-bar-btn span { display: none; }
  .bm-bar-invest span { display: inline; }
  .bm-bar-btn { padding: 0 8px; }
  .bm-universe-in { padding: 40px 16px 28px; }
  #bm-universe h2 { font-size: 21px; }
  .bm-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bm-tribe { grid-template-columns: 32px 1fr; padding: 10px; }
  .bm-tribe-ic { width: 32px; height: 32px; border-radius: 9px; }
  .bm-tribe-txt small { display: none; }
  .bm-panel-in { max-height: calc(100vh - var(--bms-bar-h)); overflow: auto; }
}
/* touch screens: bigger targets for the bar buttons and close buttons (the bar keeps its height) */
@media (pointer: coarse) {
  .bm-bar-btn { height: 36px; min-width: 40px; justify-content: center; }
  .bm-x { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
  .bm-bar-brand span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-btn, .bm-tribe, .bm-bar-btn, .bms-dock-it { transition: none; }
  .bm-btn:hover, .bm-tribe:hover { transform: none; }
}
@media print {
  #bm-bar, #bms-dock, #bms-sheet { display: none !important; }
  body.bm-has-dock { padding-bottom: 0; }
}

/* ---------- inside a family iPhone app (Oct 28 2026). The app's own tab bar replaces the bar and the dock;
   bm-shell.js adds html.bms-in-app when the web view's user agent says BostonMadeApp, PaxtonApp, GrandStrandApp or SpotCheckApp. ---------- */
html.bms-in-app #bm-bar, html.bms-in-app #bms-dock { display: none !important; }
html.bms-in-app body.bm-has-dock { padding-bottom: 0; }

/* ---------- when the dock is on, it is the bottom chrome: hide theme/plugin back-to-top buttons ---------- */
body.bm-has-dock .tmnf_top_scroll, body.bm-has-dock #wpfront-scroll-top-container, body.bm-has-dock .back-to-top,
body.bm-has-dock #toTop, body.bm-has-dock #scrollUp, body.bm-has-dock .scroll-top, body.bm-has-dock .to-top,
body.bm-has-dock .scroll-to-top, body.bm-has-dock #back-to-top, body.bm-has-dock .mvp-to-top { display: none !important; }

/* ---------- videos panel (native YouTube playlist; see the floating player rules below) ---------- */
.bms-videos-in { width: min(960px, 100%); }
.bms-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--bms-line) inset; }
.bms-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bms-video-note { margin: 12px 0 0; color: var(--bms-muted); font-size: 13px; line-height: 1.5; }
.bms-video-note a { color: var(--bms-text) !important; }

/* ---------- legacy shell: when the new dock is on, the old kit's dock, music player and floaters stay hidden ---------- */
body.bm-has-dock #bmdock, body.bm-has-dock #bmdock-sheet, body.bm-has-dock #bmdock-scrim, body.bm-has-dock #bm-music,
body.bm-has-dock #bmm6v, body.bm-has-dock #bm8-np, body.bm-has-dock .bm-floater, body.bm-has-dock #bm-dock, body.bm-has-dock .bm-dock { display: none !important; }
/* The kit's bm8 layer re-shows #bmdock with a six-ID selector; outrank it (bm-shell.js also hides these inline). */
html:root:not(#bms-a):not(#bms-b):not(#bms-c):not(#bms-d):not(#bms-e) body.bm-has-dock #bmdock#bmdock#bmdock,
html:root:not(#bms-a):not(#bms-b):not(#bms-c):not(#bms-d):not(#bms-e) body.bm-has-dock #bmdock-sheet#bmdock-sheet#bmdock-sheet,
html:root:not(#bms-a):not(#bms-b):not(#bms-c):not(#bms-d):not(#bms-e) body.bm-has-dock #bm-music#bm-music#bm-music { display: none !important; }

/* Close button: theme button padding must not push the x off-centre */
.bm-x { display: inline-grid !important; place-items: center; padding: 0 !important; margin: 0 !important; min-width: 0 !important; min-height: 0 !important; flex: none; }

/* ---------- legacy header compatibility ---------- */
/* app.bostonmade.com: two hover underlines (white inset shadow + colour gradient ::after). Keep the gradient only. */
#bm-hdr .bm-nav a:hover, #bm-hdr .bm-nav a:focus, #bm-hdr .bm-nav a:focus-visible { box-shadow: none !important; }

/* ---------- sponsored posts: the disclosure line ---------- */
.bm-sponsor-note { margin: 0 0 1.4em !important; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .12); background: rgba(217, 183, 106, .12); font: 500 14px/1.5 var(--bms-font); color: inherit; }
.bm-sponsor-note strong { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-right: 2px; }

/* ---------- videos player (Oct 26 2026): a floating player above the dock, no backdrop, keeps playing while you browse ---------- */
#bms-videos.bmv-float { inset: auto 12px auto auto; width: min(520px, calc(100vw - 24px)); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
#bms-videos.bmv-float.bmv-mini { width: min(320px, calc(100vw - 24px)); }
#bms-videos.bmv-float .bms-sheet-in { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: 100%; max-height: none; overflow: hidden; padding: 8px 8px 10px; border-radius: 16px; pointer-events: auto; box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px var(--bms-line); }
#bms-videos.bmv-float .bm-panel-head { gap: 6px; margin-bottom: 8px; }
#bms-videos.bmv-float .bm-panel-head strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
#bms-videos.bmv-float .bms-video-frame { border-radius: 10px; }
#bms-videos.bmv-float .bms-video-note { margin: 8px 2px 0 !important; font-size: 12px !important; line-height: 1.45 !important; }
#bms-videos.bmv-mini .bms-video-note { display: none; }
#bms-videos .bmv-size { font-size: 15px; }
.bmv-sound { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--bms-accent, #D9B76A); color: #0b0c10; font: 700 14px/1 var(--bms-font, system-ui, sans-serif); cursor: pointer; }
.bmv-sound[hidden] { display: none; }

/* ~~~~~ Typography: retired Nov 12 2026 ~~~~~
   The Oct 26 one-type-system (Inter Tight / Inter, forced on every site) is retired at Nathan's request:
   each site now sets its own fonts and type scale in its own theme stylesheet ("Boston Made font story"). */
.bm-grid-sub{margin:22px 0 10px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.72}