/*
 Theme Name:   Bricks Child — Nevada Gun Auctions
 Template:     bricks
 Description:  Child theme for nevadagunauction.com (Bricks Builder). Stage 2 chrome — full nav + footer system.
 Version:      0.2.0
 Text Domain:  bricks-child
*/

/* ============================================================================
   NGA — Design tokens (from design_handoff_nav_system)
   Fairplex Wide / Fairplex Narrow / Corbel are licensed via Adobe Typekit.
   Until a kit ID is provisioned, the stack falls back to Roboto Slab + system sans.
   ============================================================================ */
:root {
  --nga-gold:        #B08437;
  --nga-gold-dark:   #8E6826;
  --nga-gold-light:  #D4A45A;

  --nga-ink:         #1A1814;
  --nga-ink-soft:    #2D2820;

  --nga-parchment:       #F4EEE0;
  --nga-parchment-deep:  #E8DFC9;
  --nga-bone:            #FBF7EE;
  --nga-mist:            #C9C2B0;

  --nga-oxblood:       #8B2A24;
  --nga-oxblood-deep:  #6B1F1A;
  --nga-clay:          #A66A3D;
  --nga-gunmetal:      #3B3A36;
  --nga-moss:          #5A6240;

  --font-display: "fairplex-wide",   "Fairplex Wide OT",   "Roboto Slab", Georgia, serif;
  --font-serif:   "fairplex-wide",   "Fairplex Wide OT",   "Roboto Slab", Georgia, serif;
  --font-narrow:  "fairplex-narrow", "Fairplex Narrow OT", "Roboto Slab", Georgia, serif;
  --font-sans:    "corbel", "Corbel", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Set by JS so the hero can extend behind the full sticky chrome */
  --cmd-header-height: 77px;
  --hero-behind-h: 0px;
}

/* ============================================================================
   Base
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--nga-parchment);
  color: var(--nga-ink);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--nga-ink);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

/* Page container */
.nga-page { max-width: 1520px; margin: 0 auto; padding: 0 clamp(1.75rem, 4vw, 3rem); position: relative; z-index: 1; }

/* ============================================================================
   Buttons
   ============================================================================ */
.nga-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--nga-ink);
  background: transparent; color: var(--nga-ink);
  transition: all .15s ease-out;
  white-space: nowrap;
}
.nga-btn:hover { background: var(--nga-ink); color: var(--nga-parchment); }
.nga-btn.gold { background: var(--nga-gold); color: var(--nga-ink); border-color: var(--nga-gold); }
.nga-btn.gold:hover { background: var(--nga-gold-dark); border-color: var(--nga-gold-dark); color: var(--nga-parchment); }

@keyframes pulse { 50% { opacity: .35; } }

/* ============================================================================
   Fixed chrome

   Bricks's #brx-header default position:relative confined position:sticky
   to its own ~130px height (sticky stays inside its containing block). Pin
   the wrapper itself with position:fixed so the chrome stays on top through
   the entire page scroll. Body gets a JS-set padding-top so content doesn't
   slide under it; the hero still uses its negative-margin trick to extend
   visually behind the dark chrome.
   ============================================================================ */
#brx-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 25;
}
.chrome-sticky { position: relative; }
body { padding-top: var(--cmd-header-total-height, 130px); }

/* ============================================================================
   Tophat (above cmd-header)
   ============================================================================ */
.tophat {
  background: rgba(26, 24, 20, 0.92);
  color: var(--nga-parchment);
  border-bottom: 1px solid var(--nga-gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  z-index: 26;
}
.tophat-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 6px; gap: 24px;
}
.tophat .credit { color: var(--nga-gold-light); }
.tophat .meta { display: flex; gap: 28px; }
.tophat .meta span,
.tophat .meta a { color: var(--nga-mist); }
.tophat .meta a:hover { color: var(--nga-gold-light); }

@media (max-width: 820px) {
  .tophat .meta { display: none; }
  .tophat-inner { justify-content: center; }
}

/* ============================================================================
   Logo block (shared across header + drawer)
   ============================================================================ */
.logo-block { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-block img { width: clamp(42px, 3.6vw, 60px); height: clamp(54px, 4.7vw, 76px); object-fit: contain; flex-shrink: 0; }
.logo-block .wm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 24px);
  letter-spacing: .03em;
  line-height: .95;
  text-transform: uppercase;
  color: var(--nga-parchment);
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(26, 24, 20, 0.55);
}
.logo-block .wm small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: .28em;
  color: var(--nga-gold-light);
  margin-top: 4px;
}

/* ============================================================================
   Command header (main nav)
   ============================================================================ */
.cmd-header {
  background: rgba(26, 24, 20, 0.62);
  border-bottom: 1px solid rgba(244, 238, 224, 0.18);
  position: relative;
  z-index: 25;
  transition: background .25s ease-out;
}
.cmd-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-block: 12px;
  transition: padding .2s ease-out;
}
.cmd-left { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); min-width: 0; }
.cmd-right { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.cmd-divider {
  display: inline-block; width: 1px; height: 20px;
  background: rgba(244, 238, 224, 0.25);
  margin: 0 4px; flex-shrink: 0;
}

/* Primary nav */
.site-nav {
  display: flex; gap: clamp(10px, 1.4vw, 24px);
  font-family: var(--font-sans);
  position: relative;
  font-size: clamp(11px, 0.9vw, 14px); letter-spacing: .18em;
  text-transform: uppercase; font-weight: 700;
}
.site-nav .item { position: static; }
.site-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 18px 0;
  color: var(--nga-parchment);
  text-shadow: 0 1px 8px rgba(26, 24, 20, 0.55);
  transition: color .15s ease-out;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.2;
}
.site-nav .nav-link:hover,
.site-nav .item.open .nav-link,
.site-nav .nav-link.active { color: var(--nga-gold-light); }
.site-nav .caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease-out;
}
.site-nav .item.open .caret { transform: translateY(1px) rotate(-135deg); }

/* Search field */
.cmd-search {
  display: flex; align-items: center; gap: 14px;
  background: rgba(251, 247, 238, 0.18);
  border: 1px solid rgba(244, 238, 224, 0.5);
  padding: 10px 16px;
  max-width: 360px; min-width: 0;
  margin: 0 auto; width: 100%;
  transition: background .15s ease-out;
}
.cmd-search:hover { background: rgba(251, 247, 238, 0.28); }
.cmd-search:focus-within {
  outline: 2px solid var(--nga-gold);
  outline-offset: -1px;
}
.cmd-search svg { width: 17px; height: 17px; color: var(--nga-parchment); flex-shrink: 0; }
.cmd-search input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--font-serif); font-size: clamp(13px, 1vw, 14px);
  color: var(--nga-parchment);
}
.cmd-search input:focus { outline: none; }
.cmd-search input::placeholder { color: rgba(244, 238, 224, 0.6); font-style: italic; }
.cmd-search .kbd {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  padding: 3px 7px;
  border: 1px solid rgba(244, 238, 224, 0.35);
  color: rgba(244, 238, 224, 0.7);
}

/* Auth links (right) */
.auth-out { display: flex; gap: 10px; align-items: center; }
.auth-out a {
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--nga-parchment);
  text-shadow: 0 1px 8px rgba(26, 24, 20, 0.55);
  padding: 4px 0;
}
.auth-out a:hover { color: var(--nga-gold-light); }
.auth-out .sep { width: 1px; height: 14px; background: rgba(244, 238, 224, 0.3); }

/* Mega-dropdown */
.mega {
  --mega-anchor-right: 0;
  --mega-anchor-left: auto;
  position: absolute; top: 100%;
  right: var(--mega-anchor-right); left: var(--mega-anchor-left);
  min-width: 640px;
  background: var(--nga-bone); color: var(--nga-ink);
  border: 1px solid var(--nga-ink);
  border-top: 3px solid var(--nga-gold);
  padding: 28px 32px;
  display: none;
  z-index: 30;
  grid-template-columns: 1fr 1fr; gap: 32px;
  box-shadow: 0 30px 60px -20px rgba(26, 24, 20, 0.45);
  animation: mega-in .18s ease-out;
}
.site-nav .item.open .mega { display: grid; }
@keyframes mega-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega .col h6 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--nga-gold-dark);
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--nga-mist);
}
.mega a.mega-link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 8px 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: 0; text-transform: none;
  color: var(--nga-ink);
  transition: color .15s ease-out, background .15s ease-out;
}
.mega a.mega-link:hover { color: var(--nga-gold-dark); background: rgba(176, 132, 55, 0.08); }
.mega a.mega-link .sub {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--nga-ink-soft); font-weight: 400;
}

/* Mobile/tablet hamburger + search trigger (hidden by default; revealed at breakpoints) */
.hamburger { display: none; }
.mobile-search-trigger { display: none; }

/* ---------- Desktop ≥1200 ---------- */
@media (min-width: 1200px) {
  .cmd-header-inner {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.4vw, 22px);
  }
  .cmd-header-inner > .cmd-left { order: 1; flex: 0 0 auto; }
  .cmd-header-inner > .cmd-right { display: contents; }
  .cmd-header-inner .site-nav { order: 2; flex: 0 0 auto; margin-left: auto; }
  .cmd-header-inner > .cmd-search {
    order: 3;
    flex: 0 1 320px;
    min-width: 200px;
    max-width: 360px;
  }
  .cmd-header-inner .auth-out { order: 4; flex: 0 0 auto; }
  .cmd-header-inner .hamburger,
  .cmd-header-inner .mobile-search-trigger { order: 5; }
  .cmd-header-inner .cmd-divider { display: none; }

  /* Desktop scroll: only background darkens. */
  .chrome-sticky.condensed .cmd-header {
    background: rgba(12, 10, 8, 0.92);
    backdrop-filter: blur(6px);
  }
  /* Reset desktop-only overrides from earlier fix */
  .cmd-header-inner { padding-block: 12px; padding-inline: clamp(0.5rem, 1.2vw, 1rem); }
}

/* ---------- Tablet 900–1199: collapse search, keep nav ---------- */
@media (max-width: 1199px) and (min-width: 900px) {
  .tophat .credit { display: none; }
  .cmd-header-inner {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 18px);
  }
  .cmd-header-inner > .cmd-left { flex: 0 0 auto; }
  .cmd-header-inner > .cmd-search { flex: 0 1 220px; min-width: 160px; max-width: 240px; order: 3; }
  .cmd-header-inner > .cmd-right { display: contents; }
  .cmd-header-inner .site-nav { order: 2; margin-left: auto; flex: 0 0 auto; }
  .cmd-header-inner .auth-out { order: 4; flex: 0 0 auto; }
  .mobile-search-trigger { display: none; }
  .cmd-search input[type=search] { font-size: 12px; }
  .cmd-search .kbd { display: none; }
  .cmd-right { gap: 10px; }
  .site-nav { gap: 14px; font-size: 11px; letter-spacing: .14em; }
  .auth-out a { font-size: 11px; letter-spacing: .14em; }
  .logo-block .wm { font-size: 15px; }
  .logo-block .wm small { display: none; }
  .logo-block img { width: 38px; height: 50px; }
}

/* ---------- Condensed (<1200): background goes solid, tophat hides ---------- */
@media (max-width: 1199px) {
  /* Auctions mega-dropdown left-aligns to its trigger to avoid overflowing the viewport */
  .mega { --mega-anchor-right: auto; --mega-anchor-left: 0; }

  .chrome-sticky.condensed .cmd-header {
    background: var(--nga-ink);
    transition: background .25s ease-out;
  }
  .chrome-sticky.condensed .tophat { display: none; }
  .chrome-sticky.condensed .cmd-header-inner { padding-block: 6px; }
  .chrome-sticky.condensed .cmd-header .logo-block { gap: 12px; padding-left: 14px; }
  .chrome-sticky.condensed .cmd-header .logo-block img {
    width: 22px; height: 28px;
    transition: width .2s ease-out, height .2s ease-out;
  }
  .chrome-sticky.condensed .cmd-header .logo-block .wm {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1;
    transition: font-size .2s ease-out;
  }
  .chrome-sticky.condensed .cmd-header .logo-block .wm small { display: none; }
  .chrome-sticky.condensed .cmd-header .logo-block .wm br { display: none; }
}

/* ---------- Mobile <900 ---------- */
@media (max-width: 899px) {
  .cmd-header-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 14px 12px;
    justify-items: center;
    text-align: center;
  }
  .cmd-left, .cmd-search, .cmd-right { justify-self: stretch; }
  .cmd-left { justify-content: center; }
  .cmd-header .logo-block {
    flex-direction: column; gap: 10px; align-items: center; text-align: center;
  }
  .cmd-header .logo-block img { width: 56px; height: 70px; }
  .cmd-header .logo-block .wm {
    font-size: 22px; line-height: 1; white-space: normal;
  }
  .cmd-header .logo-block .wm small {
    font-size: 10px; letter-spacing: .28em; margin-top: 6px;
  }
  .cmd-search { display: flex; width: 100%; padding: 11px 14px; }
  .cmd-search .kbd { display: none; }

  /* Hide nav/auth from header — they live in the drawer */
  .cmd-right .site-nav,
  .cmd-divider,
  .auth-out,
  .mobile-search-trigger { display: none; }

  .cmd-right { display: flex; justify-content: center; gap: 8px; }
  .hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    min-width: 160px; height: 44px; padding: 0 18px;
    border: 1px solid var(--nga-parchment);
    color: var(--nga-parchment);
    font-family: var(--font-sans); font-size: 11px; letter-spacing: .22em;
    text-transform: uppercase; font-weight: 700;
    transition: all .15s ease-out;
  }
  .hamburger::after { content: "Menu"; }
  .hamburger:hover { background: var(--nga-parchment); color: var(--nga-ink); }
  .hamburger svg { width: 18px; height: 18px; }

  .chrome-sticky.condensed .cmd-header-inner {
    grid-template-columns: 1fr auto;
    padding-block: 8px;
    gap: 12px;
    text-align: left;
    justify-items: stretch;
  }
  .chrome-sticky.condensed .cmd-left { justify-content: flex-start; }
  .chrome-sticky.condensed .cmd-header .logo-block {
    flex-direction: row; align-items: center; text-align: left;
  }
  .chrome-sticky.condensed .cmd-header .logo-block .wm { font-size: 17px; }
  .chrome-sticky.condensed .cmd-right { padding-right: 8px; justify-content: flex-end; }
  .chrome-sticky.condensed .cmd-search { display: none; }
  .chrome-sticky.condensed .hamburger {
    min-width: 0; height: 36px; padding: 0 12px; gap: 8px;
  }
  .chrome-sticky.condensed .hamburger::after { content: "Menu"; }
}

/* ============================================================================
   Live session strip
   ============================================================================ */
.live-strip {
  background: rgba(26, 24, 20, 0.92);
  color: var(--nga-parchment);
  border-bottom: 1px solid var(--nga-gold);
  position: sticky;
  top: var(--cmd-header-height, 77px);
  z-index: 24;
}
.live-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase;
}
.live-strip .left {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.live-strip .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--nga-oxblood); color: var(--nga-parchment);
  padding: 4px 10px;
  font-size: 10px; letter-spacing: .25em;
}
.live-strip .pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: pulse 1.6s ease-in-out infinite;
}
.live-strip .title {
  color: var(--nga-parchment);
  font-family: var(--font-display); text-transform: none;
  font-size: 15px; letter-spacing: 0; font-weight: 700;
}
.live-strip .meta { color: var(--nga-mist); }
.live-strip a.cta {
  color: var(--nga-gold-light);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s ease-out;
}
.live-strip a.cta:hover { color: var(--nga-parchment); }
.live-strip a.cta .arrow { font-family: var(--font-serif); font-size: 14px; letter-spacing: 0; }
@media (max-width: 899px) {
  .live-strip .meta-extra { display: none; }
  .live-strip-inner { padding-block: 8px; font-size: 10px; flex-wrap: wrap; }
  .live-strip .title { font-size: 13px; }
}

/* ============================================================================
   Mobile drawer (full-screen parchment)
   ============================================================================ */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .panel {
  position: absolute; inset: 0;
  background: var(--nga-parchment);
  color: var(--nga-ink);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
}
.mobile-drawer.open .panel { transform: translateY(0); }

.mobile-drawer .drawer-live {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 7px 20px;
  background: var(--nga-oxblood); color: var(--nga-parchment);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase;
}
.mobile-drawer .drawer-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--nga-parchment); animation: pulse 1.6s ease-in-out infinite;
}

.mobile-drawer .drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px;
  background: var(--nga-ink); color: var(--nga-parchment);
  border-bottom: 1px solid var(--nga-gold);
}
.mobile-drawer .drawer-head .logo-block { gap: 10px; }
.mobile-drawer .drawer-head .logo-block img { width: 36px; height: 46px; }
.mobile-drawer .drawer-head .logo-block .wm { font-size: 15px; color: var(--nga-parchment); }
.mobile-drawer .drawer-head .logo-block .wm small { color: var(--nga-gold-light); }
.mobile-drawer .close-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--nga-gold); color: var(--nga-parchment);
  transition: all .15s ease-out;
}
.mobile-drawer .close-btn:hover { background: var(--nga-gold); color: var(--nga-ink); }
.mobile-drawer .close-btn svg { width: 18px; height: 18px; }

.mobile-drawer .drawer-search {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--nga-mist);
  background: var(--nga-bone);
}
.mobile-drawer .drawer-search svg { width: 20px; height: 20px; color: var(--nga-ink-soft); flex-shrink: 0; }
.mobile-drawer .drawer-search input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--font-serif); font-size: 17px; color: var(--nga-ink);
}
.mobile-drawer .drawer-search input:focus { outline: none; }
.mobile-drawer .drawer-search input::placeholder { color: var(--nga-mist); font-style: italic; }

.mobile-drawer .drawer-body {
  flex: 1; overflow-y: auto;
  padding: 0 0 24px;
}
.mobile-drawer .drawer-section {
  border-bottom: 1px solid var(--nga-mist);
  padding: 6px 0 16px;
}
.mobile-drawer .drawer-section:last-child { border-bottom: 0; }

.mobile-drawer .drawer-group-title {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 22px 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--nga-gold-dark);
}

.mobile-drawer .inline-list a,
.mobile-drawer .drawer-link {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 13px 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: .01em; color: var(--nga-ink);
  text-align: left;
  transition: background .12s ease-out, color .12s ease-out;
  border: 0; background: transparent;
  width: 100%;
}
.mobile-drawer .inline-list a:hover,
.mobile-drawer .drawer-link:hover { background: var(--nga-bone); color: var(--nga-gold-dark); }
.mobile-drawer .inline-list a .side,
.mobile-drawer .drawer-link .side {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--nga-ink-soft); font-weight: 400;
  white-space: nowrap;
}

.mobile-drawer .drawer-auth {
  padding: 18px 22px 6px;
  display: flex; gap: 12px; flex-direction: column;
}
.mobile-drawer .drawer-auth .signed-out-actions {
  display: flex; gap: 10px;
}
.mobile-drawer .drawer-auth .signed-out-actions .nga-btn { flex: 1; justify-content: center; }

.mobile-drawer .drawer-social {
  display: flex; gap: 10px; padding: 18px 22px 6px;
}
.mobile-drawer .drawer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--nga-ink); color: var(--nga-ink);
  transition: all .15s ease-out;
}
.mobile-drawer .drawer-social a:hover { background: var(--nga-ink); color: var(--nga-parchment); }
.mobile-drawer .drawer-social a svg { width: 16px; height: 16px; }

.mobile-drawer .drawer-foot {
  padding: 14px 22px 22px;
  border-top: 1px solid var(--nga-mist);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--nga-ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ============================================================================
   Site footer (dark — full chrome)
   ============================================================================ */
.site-footer {
  background: var(--nga-ink);
  color: var(--nga-parchment);
  padding: clamp(56px, 6vw, 80px) 0 0;
  position: relative;
  z-index: 2;
}
.site-footer a { transition: color .15s ease-out; color: var(--nga-parchment); }
.site-footer a:hover { color: var(--nga-gold-light); }

.footer-brand-row {
  display: grid;
  grid-template-columns: 1.1fr 3fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 238, 224, .15);
}
.footer-brand .logo-mark {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
}
.footer-brand .logo-mark img { width: 52px; height: 66px; object-fit: contain; }
.footer-brand .logo-mark .wm {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; line-height: .95; letter-spacing: .03em;
  text-transform: uppercase; color: var(--nga-parchment);
}
.footer-brand .logo-mark .wm small {
  display: block;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 10px; letter-spacing: .3em;
  color: var(--nga-gold-light); margin-top: 4px;
}
.footer-brand .tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; line-height: 1.55;
  color: var(--nga-mist); max-width: 32ch;
  margin: 0 0 22px;
}
.footer-brand .social { display: flex; gap: 10px; }
.footer-brand .social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(244, 238, 224, .3);
  color: var(--nga-parchment);
}
.footer-brand .social a:hover { background: var(--nga-gold); color: var(--nga-ink); border-color: var(--nga-gold); }
.footer-brand .social a svg { width: 15px; height: 15px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.footer-col h6 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--nga-gold-light);
  margin: 0 0 18px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(244, 238, 224, .2);
  font-weight: 700;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.footer-col ul a {
  font-family: var(--font-serif); font-size: 15px;
  color: var(--nga-parchment);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-col .contact-line {
  font-family: var(--font-serif); font-size: 15px; line-height: 1.5;
  color: var(--nga-parchment); margin: 0 0 6px;
}
.footer-col .contact-line .k {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--nga-gold-light);
  display: block; margin-bottom: 2px;
}
.footer-col .contact-line + .contact-line { margin-top: 14px; }
.footer-col .hours {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--nga-mist); line-height: 1.7;
}
.footer-col .hours .day {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(244, 238, 224, .1);
}
.footer-col .hours .day:last-child { border-bottom: 0; }

.footer-legal {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  padding: 22px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(244, 238, 224, .15);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--nga-mist);
  flex-wrap: wrap;
}
.footer-legal .legal-links { display: flex; gap: 24px; flex-wrap: wrap; min-width: 0; }
.footer-legal .credit { min-width: 0; }
.footer-legal .credit::before {
  content: "";
  display: inline-block;
  width: 8px; height: 1px;
  background: var(--nga-gold);
  vertical-align: middle;
  margin-right: 10px;
}

@media (max-width: 1100px) {
  .footer-brand-row { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
}
@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   Opaque-chrome variant
   Pages with post-meta _nga_opaque_chrome get body class .nga-opaque-chrome.
   Forces the cmd-header solid black from the start (no translucent state).
   Used for pages where chrome should not extend behind a hero — e.g. the
   BidSquare-integrated Auctions page.
   ============================================================================ */
body.nga-opaque-chrome .cmd-header,
body.nga-opaque-chrome .chrome-sticky.condensed .cmd-header {
  background: var(--nga-ink);
  backdrop-filter: none;
  border-bottom-color: rgba(244, 238, 224, 0.18);
}

/* ============================================================================
   Auctions page — BidSquare integration target
   ============================================================================ */
.auctions-page-section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  z-index: 2;
}
.auctions-page-section.bone { background: var(--nga-bone); border-block: 1px solid var(--nga-mist); }
.auctions-page-section .page-header { max-width: 720px; }
.auctions-page-section .page-header .eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--nga-gold-dark);
  margin-bottom: 14px;
}
.auctions-page-section .page-header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 72px); line-height: .98;
  letter-spacing: .005em; margin: 0 0 18px;
}
.auctions-page-section .page-header .lead {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  color: var(--nga-ink-soft); margin: 0; max-width: 60ch;
}
.auctions-page-section h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1;
  margin: 0 0 12px;
}
.auctions-page-section p.muted {
  color: var(--nga-ink-soft); font-style: italic; margin: 0 0 28px;
}

/* BidSquare mount frame */
.bidsquare-mount-section {
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 80px);
  background: var(--nga-parchment-deep);
  position: relative; z-index: 2;
}
.bidsquare-mount-section .mount-frame {
  position: relative;
  background: var(--nga-bone);
  border: 1px dashed var(--nga-gold);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 28px;
  min-height: 420px;
}
.bidsquare-mount-section .mount-corner {
  position: absolute; width: 14px; height: 14px;
  border: 2px solid var(--nga-gold);
}
.bidsquare-mount-section .mount-corner.top-left     { top: -1px; left: -1px;   border-right: 0; border-bottom: 0; }
.bidsquare-mount-section .mount-corner.top-right    { top: -1px; right: -1px;  border-left: 0;  border-bottom: 0; }
.bidsquare-mount-section .mount-corner.bottom-left  { bottom: -1px; left: -1px;border-right: 0; border-top: 0;    }
.bidsquare-mount-section .mount-corner.bottom-right { bottom: -1px; right: -1px;border-left: 0; border-top: 0;    }
.bidsquare-mount-section .mount-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--nga-gold-dark);
}
.bidsquare-mount-section .mount-desc {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.4;
  color: var(--nga-ink); margin: 0; max-width: 56ch;
}
.bidsquare-mount-section .mount-meta {
  display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px;
  margin: 0; padding-top: 24px;
  border-top: 1px solid var(--nga-mist);
}
.bidsquare-mount-section .mount-meta .row {
  display: contents;
}
.bidsquare-mount-section .mount-meta dt {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--nga-gold-dark);
  margin: 0; padding-top: 2px;
}
.bidsquare-mount-section .mount-meta dd {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--nga-ink); margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .bidsquare-mount-section .mount-frame { padding: 28px 20px; }
  .bidsquare-mount-section .mount-meta {
    display: block;
    padding-top: 18px;
  }
  .bidsquare-mount-section .mount-meta .row {
    display: block;
    margin-bottom: 14px;
  }
  .bidsquare-mount-section .mount-meta .row:last-child { margin-bottom: 0; }
  .bidsquare-mount-section .mount-meta dt { display: block; margin-bottom: 4px; padding: 0; }
  .bidsquare-mount-section .mount-meta dd { display: block; }
}

/* Auctions placeholder lot grid uses the home .lot-grid + .lot-card classes,
   loaded on this page via dedicated enqueue. */

/* ============================================================================
   Bricks-rendered content polish (pages that still use Stage 1 the_content)
   ============================================================================ */
.brxe-post-content { color: var(--nga-ink); font-family: var(--font-serif); }
.brxe-post-content > h1:first-child,
.brxe-post-content > h2:first-child {
  margin-top: 0;
  border-bottom: 3px solid var(--nga-gold);
  padding-bottom: 0.6rem;
  margin-bottom: 2rem;
}
.brxe-post-content h2 { margin-top: 3rem; margin-bottom: 1rem; }
.brxe-post-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.brxe-post-content p  { margin: 1rem 0; }
.brxe-post-content img { max-width: 100%; height: auto; }
.brxe-post-content figure { margin: 0; }
.brxe-post-content figcaption {
  font-size: 0.875rem; color: var(--nga-ink-soft);
  text-align: center; margin-top: 0.5rem; font-style: italic;
}
.brxe-post-content figcaption strong {
  color: var(--nga-ink); font-style: normal; font-weight: 700;
  display: block; margin-bottom: 0.15rem;
}
.brxe-post-content ul, .brxe-post-content ol { padding-left: 1.5rem; }
.brxe-post-content li { margin: 0.5rem 0; line-height: 1.6; }
.brxe-post-content a { color: var(--nga-gold-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.brxe-post-content a:hover { color: var(--nga-gold); }
