/* CollectIQ shared menu, footer and buttons. Loaded on every public page, after the page's own styles. */
:root { --cq-ink: #0c0b0a; --cq-paper: #fafaf8; --cq-cream: #f4f0e8; --cq-accent: #c84b1f; --cq-accent-2: #e0692f; --cq-mute: #6b6b67; --cq-line: rgba(26, 26, 24, 0.12); --cq-serif: 'Instrument Serif', Georgia, serif; --cq-sans: 'Geist', system-ui, sans-serif; }
html { scroll-padding-top: 84px; }
body { overflow-x: hidden; }

.cq-nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 clamp(18px, 4vw, 48px); background: rgba(12, 11, 10, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-family: var(--cq-sans); }
.cq-logo { font-family: var(--cq-serif); font-size: 25px; line-height: 1; color: #fff; text-decoration: none; margin-right: auto; }
.cq-logo em { font-style: italic; color: var(--cq-accent-2); }
.cq-menu { display: flex; align-items: center; gap: 4px; }
.cq-menu > a, .cq-dd > summary { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.72); text-decoration: none; padding: 8px 12px; border-radius: 8px; cursor: pointer; list-style: none; transition: color 0.15s, background 0.15s; }
.cq-dd > summary::-webkit-details-marker { display: none; }
.cq-dd > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.cq-dd[open] > summary::after { transform: rotate(225deg); margin-bottom: -1px; }
.cq-menu > a:hover, .cq-dd > summary:hover, .cq-dd[open] > summary { color: #fff; background: rgba(255, 255, 255, 0.08); }
.cq-dd { position: relative; }
.cq-dd > div { position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px; display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: #161412; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8); }
.cq-dd > div a { font-size: 14px; color: rgba(255, 255, 255, 0.8); text-decoration: none; padding: 9px 12px; border-radius: 8px; }
.cq-dd > div a:hover { color: #fff; background: rgba(200, 75, 31, 0.22); }
.cq-menu > a.cq-signin { margin-left: 8px; }
.cq-menu > a.cq-cta { margin-left: 4px; background: var(--cq-accent); color: #fff; font-weight: 600; padding: 10px 18px; box-shadow: 0 0 28px -8px rgba(224, 105, 47, 0.9); }
.cq-menu > a.cq-cta:hover { background: var(--cq-accent-2); }
.cq-nav a:focus-visible, .cq-nav summary:focus-visible, .cq-nav button:focus-visible, .cq-foot a:focus-visible, .cq-btn:focus-visible { outline: 2px solid #f5a67a; outline-offset: 2px; }
.cq-burger { display: none; }

.cq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 10px; font-family: var(--cq-sans); font-size: 15.5px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; background: var(--cq-accent); color: #fff; box-shadow: 0 0 40px -10px rgba(224, 105, 47, 0.95); transition: background 0.15s, transform 0.15s; }
.cq-btn:hover { background: var(--cq-accent-2); transform: translateY(-1px); }
.cq-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }
.cq-btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }

footer.cq-foot { background: #0c0b0a; color: rgba(255, 255, 255, 0.6); padding: 64px clamp(18px, 4vw, 48px) 28px; font-family: var(--cq-sans); font-size: 14px; line-height: 1.6; text-align: left; border: 0; margin: 0; }
.cq-foot-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.cq-foot .cq-logo { font-size: 26px; display: inline-block; margin: 0 0 12px; }
.cq-foot p { margin: 0 0 10px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.cq-foot h2 { font-family: var(--cq-sans); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 12px; }
.cq-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cq-foot a { color: rgba(255, 255, 255, 0.62); text-decoration: none; }
.cq-foot a:hover { color: #fff; text-decoration: underline; }
.cq-social { display: flex; gap: 10px; margin-top: 14px; }
.cq-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.75); }
.cq-social a:hover { background: rgba(255, 255, 255, 0.08); }
.cq-foot-bottom { max-width: 1160px; margin: 44px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, 0.42); }

@media (max-width: 980px) {
  .cq-burger { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); }
  .cq-burger span, .cq-burger span::before, .cq-burger span::after { content: ""; display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .cq-burger span { position: relative; }
  .cq-burger span::before { position: absolute; top: -6px; } .cq-burger span::after { position: absolute; top: 6px; }
  .cq-open .cq-burger span { background: transparent; }
  .cq-open .cq-burger span::before { transform: translateY(6px) rotate(45deg); } .cq-open .cq-burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .cq-menu { display: none; }
  .cq-open .cq-menu { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: fixed; inset: 64px 0 0 0; padding: 14px 18px 28px; background: #0c0b0a; overflow-y: auto; }
  .cq-open { overflow: hidden; }
  .cq-menu > a, .cq-dd > summary { font-size: 18px; padding: 14px 10px; }
  .cq-dd > div { position: static; background: none; border: 0; box-shadow: none; padding: 0 0 8px 12px; }
  .cq-dd > div a { font-size: 16px; padding: 11px 10px; }
  .cq-menu > a.cq-signin { margin: 10px 0 0; text-align: center; border: 1px solid rgba(255, 255, 255, 0.2); }
  .cq-menu > a.cq-cta { margin: 10px 0 0; text-align: center; padding: 15px; font-size: 17px; }
  .cq-foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .cq-foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .cq-btn, .cq-burger span, .cq-burger span::before, .cq-burger span::after { transition: none; } }
/* Older pages were spaced for a taller menu; give their first block a little air. */
body:not(.cq-sub) > .cq-nav + :not(.cqh) { margin-top: 22px; }
/* A blurred bar would trap the full-screen phone menu inside itself, so the blur comes off while the menu is open. */
.cq-open .cq-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0c0b0a; }
