/* =========================================================
   cj-nav-v2.css — Sold by Craig site navigation (full base + v2.1 deltas)
   This single file now contains:
     1. CSS root variables (so vars resolve even on pages w/o :root)
     2. Full base cj-* header styles (was previously inline on each page)
     3. v2.1 deltas (Local Living, search modal, pills, etc.)
     4. Hover bridge so mega-menus stop closing when the cursor crosses
        the 8px gap between the nav item and the dropdown.
   Every page that loads this file gets a fully-styled v2.1 header.
   ========================================================= */

:root {
  --gold:        #c6a87a;
  --gold-deep:   #9d7f4f;
  --ink:         #161413;
  --ink-soft:    #4a443f;
  --ink-muted:   #6e655c;
  --paper:       #faf8f3;
  --paper-warm:  #f1ebde;
  --paper-deep:  #e8dfc9;
  --line:        #e6dec9;
  --green:       #5a7a4f;
  --red:         #b54c3d;
}

.cj-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.cj-site-header.is-scrolled { box-shadow: 0 4px 16px rgba(22,20,19,0.08); }

/* Top dark band: trust signals (was the standalone trust-strip) */
.cj-top-band {
  background: var(--ink);
  color: rgba(250,248,243,0.82);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.cj-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cj-top-band-left span + span::before {
  content: "·";
  margin: 0 10px;
  color: rgba(198,168,122,0.6);
}
.cj-top-band-right { display: inline-flex; align-items: center; gap: 18px; }
.cj-top-band-right a {
  color: rgba(250,248,243,0.92);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}
.cj-top-band-right a:hover { color: var(--gold); }
.cj-top-band-right svg { width: 13px; height: 13px; }
@media (max-width: 760px) {
  .cj-top-inner { padding: 8px 16px; font-size: 11px; }
  .cj-top-band-left { display: none; }
  .cj-top-band-right { width: 100%; justify-content: space-between; }
}

/* Main header row: logo + nav + cta */
.cj-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 1080px) { .cj-header-inner { padding: 14px 18px; gap: 16px; } }

.cj-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.cj-logo-mark {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.018em;
  line-height: 1;
  color: var(--ink);
}
.cj-logo-mark em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
  margin: 0 2px;
}
@media (max-width: 480px) { .cj-logo-mark { font-size: 22px; } }

/* Primary nav (desktop) */
.cj-primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.cj-nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.cj-nav-item { position: relative; }
.cj-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: inherit;
}
.cj-nav-link:hover, .cj-nav-link[aria-expanded="true"] {
  color: var(--gold-deep);
  background: var(--paper-warm);
}
.cj-nav-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}
.cj-nav-link[aria-expanded="true"] .cj-nav-caret { transform: rotate(180deg); }

/* CTA cluster on right */
.cj-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cj-header-phone {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cj-header-phone:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.cj-header-phone svg { width: 14px; height: 14px; }
.cj-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(198,168,122,0.25);
  white-space: nowrap;
}
.cj-header-btn:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(157,127,79,0.35);
}
@media (max-width: 1080px) {
  .cj-header-phone { display: none; }
  .cj-header-btn { padding: 11px 18px; font-size: 12.5px; }
}

/* MEGA-MENU panel */
.cj-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 48px -16px rgba(22,20,19,0.18);
  padding: 28px 32px 26px;
  min-width: 720px;
  max-width: 96vw;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 10;
}
.cj-mega--narrow { min-width: 320px; }
.cj-nav-item.is-open > .cj-mega,
.cj-nav-item:hover > .cj-mega {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s;
}
.cj-mega::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cj-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
}
.cj-mega--narrow .cj-mega-grid { grid-template-columns: 1fr; gap: 14px; }
.cj-mega-col h6 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: inherit;
}
.cj-mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.cj-mega-col a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.cj-mega-col a:hover { background: var(--paper-warm); color: var(--gold-deep); }
.cj-mega-link-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.cj-mega-link-desc {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted, #6e655c);
  line-height: 1.4;
  font-weight: 400;
}
.cj-mega-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.cj-mega-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.cj-mega-footer a:hover { color: var(--gold-deep); }

/* Mobile toggle */
.cj-mobile-toggle {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.cj-mobile-toggle svg { width: 18px; height: 18px; stroke: var(--ink); }
.cj-mobile-toggle:hover { background: var(--paper-warm); }

@media (max-width: 1080px) {
  .cj-primary-nav { display: none; }
  .cj-mobile-toggle { display: inline-flex; }
  .cj-header-cta { gap: 8px; }
}

/* Mobile overlay menu */
.cj-mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
}
.cj-mobile-overlay.is-open { display: block; }
.cj-mobile-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.cj-mobile-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cj-mobile-close svg { width: 16px; height: 16px; stroke: var(--ink); }
.cj-mobile-section {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.cj-mobile-section-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 12px 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.cj-mobile-section-trigger svg { width: 14px; height: 14px; stroke: var(--gold-deep); transition: transform 0.2s ease; }
.cj-mobile-section.is-open .cj-mobile-section-trigger svg { transform: rotate(180deg); }
.cj-mobile-section-body { display: none; padding: 8px 0 16px; }
.cj-mobile-section.is-open .cj-mobile-section-body { display: block; }
.cj-mobile-section-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 14px 0 8px;
}
.cj-mobile-section-body a {
  display: block;
  padding: 9px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(230,222,201,0.5);
}
.cj-mobile-section-body a:last-child { border-bottom: 0; }
.cj-mobile-flat-link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cj-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--gold);
}
.cj-mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.cj-mobile-cta-primary { background: var(--gold); color: var(--ink); }
.cj-mobile-cta-secondary { background: var(--ink); color: var(--paper); }
.cj-mobile-cta-tertiary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
/* ===== /HEADER ===== */

/* === Content imagery (added 2026-05-14) === */
.neighbourhood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1120px; margin: 40px auto; padding: 0 24px; }
.neighbourhood-grid figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 36px -18px rgba(22,20,19,0.20); }
.neighbourhood-grid a { display: block; }
.neighbourhood-grid img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.neighbourhood-grid figure:hover img { transform: scale(1.05); }
.neighbourhood-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 18px; color: #fff; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; background: linear-gradient(180deg, rgba(22,20,19,0) 0%, rgba(22,20,19,0.82) 100%); pointer-events: none; }
@media (max-width: 760px) {
  .neighbourhood-grid { grid-template-columns: 1fr; }
  .neighbourhood-grid img { height: 220px; }
}
.content-figure { margin: 40px auto; max-width: 1120px; padding: 0 24px; }
.content-figure img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 24px 48px -24px rgba(22,20,19,0.18); }
.content-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-muted); text-align: center; font-style: italic; }
.figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1120px; margin: 40px auto; padding: 0 24px; }
.figure-row figure { margin: 0; }
.figure-row img { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 40px -20px rgba(22,20,19,0.18); }
.figure-row figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-muted); text-align: center; font-style: italic; }
.figure-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1120px; margin: 40px auto; padding: 0 24px; }
.figure-trio figure { margin: 0; }
.figure-trio img { width: 100%; height: 240px; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 32px -16px rgba(22,20,19,0.16); }
.figure-trio figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-muted); text-align: center; }
.advisor-block { max-width: 1120px; margin: 48px auto; padding: 0 24px; display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
.advisor-block img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; box-shadow: 0 24px 48px -24px rgba(22,20,19,0.22); }
.advisor-block h3 { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.advisor-block p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.advisor-block .advisor-meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 8px; }
@media (max-width: 760px) {
  .figure-row, .figure-trio { grid-template-columns: 1fr; }
  .figure-row img, .figure-trio img { height: auto; }
  .advisor-block { grid-template-columns: 1fr; gap: 20px; }
  .advisor-block img { max-width: 240px; }
}

/* === Fraunces text-variant lock (added 2026-05-14) ===
   Prevents the "f looks weird" bug on H1/H2 caused by Fraunces's
   automatic optical-size axis switching to display-variant glyphs at
   large font-sizes. Also disables ligatures and the WONK axis. */
.wordmark, h1, h2, h3, h4, h5, h6,
.section-title, .section-eyebrow, .hero-eyebrow, .hero-byline,
.proof-stat, .snap-value, .glance-num,
.hero h1, .hero h2 {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24, "SOFT" 0, "WONK" 0;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0;
}

/* === v2.1 HOVER BRIDGE — keep dropdowns open when crossing the gap === */
.cj-mega::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}
/* Widen the hoverable area of the nav item itself slightly downward too */
.cj-nav-item.cj-has-mega { padding-bottom: 4px; }
.cj-nav-item.cj-has-mega > .cj-nav-link { position: relative; z-index: 11; }
/* Keep mega open during JS-driven close delay */
.cj-nav-item.is-closing > .cj-mega {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   cj-nav-v2.css — Sold by Craig site navigation v2
   Loaded site-wide. Adds: Local Living mega, Moving Made Easy
   direct link, Resources mega, ⌘K search, image wordmark.
   Layered AFTER each page's inline <style> so cascade ties
   favour these rules.
   ========================================================= */

/* Logo image (replaces text wordmark) */
.cj-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.cj-logo-img--mobile { height: 42px; }
@media (max-width: 480px) { .cj-logo-img { height: 44px; } }

/* Hide the old text wordmark if it still exists alongside the image */
.cj-logo .cj-logo-mark { display: none; }
.cj-mobile-overlay-head .cj-logo-mark { display: none; }

/* NEW pill for menu items that just landed */
.cj-nav-new-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  margin-left: 4px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 3px;
  vertical-align: 2px;
}

/* Wide mega panel variant (Local Living uses 3 cols at wider min-width) */
.cj-mega--wide { min-width: 920px; }

/* In-mega link pill (e.g. "New", "Soon" badges on Day-to-Day links) */
.cj-mega-link-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 5px;
  margin-left: 6px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 3px;
  vertical-align: 2px;
}

/* Search icon button in header CTA cluster */
.cj-header-search-btn {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.cj-header-search-btn:hover { background: var(--paper-warm); border-color: var(--gold); color: var(--gold-deep); }
.cj-header-search-btn svg { width: 16px; height: 16px; }

.cj-header-search-kbd {
  font-family: 'Inter', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-left: -8px;
  padding: 3px 6px;
  background: var(--paper-warm);
  border-radius: 4px;
  white-space: nowrap;
}
@media (max-width: 1180px) { .cj-header-search-kbd { display: none; } }
@media (max-width: 1080px) { .cj-header-search-btn { display: none; } } /* mobile: search lives in overlay */

/* Mobile search trigger button (inside overlay) */
.cj-mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 16px;
  background: var(--paper-warm);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.cj-mobile-search svg { width: 16px; height: 16px; stroke: var(--ink); flex-shrink: 0; }

/* Flat (no-dropdown) mobile link — used for Moving Made Easy */
.cj-mobile-flat-link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* =========================================================
   SEARCH MODAL — Pagefind-ready overlay
   v2.1: stronger backdrop + bright panel for better contrast.
   ========================================================= */
.cj-search-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,20,19,0.78);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cj-search-modal.is-open { display: flex; }
.cj-search-modal-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(198,168,122,0.35);
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(198,168,122,0.18);
  animation: cjSearchPop 0.18s ease-out;
}
@keyframes cjSearchPop {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cj-search-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cj-search-input-row svg.search-icon { width: 18px; height: 18px; stroke: var(--ink-muted); flex-shrink: 0; }
.cj-search-input {
  flex: 1;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  letter-spacing: -0.01em;
}
.cj-search-input::placeholder { color: var(--ink-muted); }
.cj-search-esc {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 4px 7px;
  background: var(--paper-warm);
  border-radius: 4px;
}
.cj-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.cj-search-section-h {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 18px 24px 8px;
}
.cj-search-result {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.12s ease;
  border-left: 3px solid transparent;
}
.cj-search-result:hover, .cj-search-result.is-active {
  background: var(--paper-warm);
  border-left-color: var(--gold);
}
.cj-search-result-title {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
.cj-search-result-path {
  font-size: 12px;
  color: var(--ink-muted);
  font-family: 'Inter', monospace;
}
.cj-search-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}
.cj-search-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper-warm);
  flex-wrap: wrap;
  gap: 8px;
}
.cj-search-footer kbd {
  display: inline-block;
  padding: 2px 6px;
  margin: 0 2px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
}

/* Pagefind UI restyle to match site palette
   (Pagefind injects its own DOM into #cj-pagefind-target) */
#cj-pagefind-target { padding: 8px 0 0; }
#cj-pagefind-target .pagefind-ui__search-input,
#cj-pagefind-target .pagefind-ui__search-clear { display: none; } /* we use our own input */
#cj-pagefind-target .pagefind-ui__result { border-bottom: 1px solid var(--line); padding: 12px 24px; }
#cj-pagefind-target .pagefind-ui__result:hover { background: var(--paper-warm); }
#cj-pagefind-target .pagefind-ui__result-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
#cj-pagefind-target .pagefind-ui__result-excerpt {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
#cj-pagefind-target .pagefind-ui__result-excerpt mark {
  background: var(--gold);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 2px;
}
#cj-pagefind-target .pagefind-ui__message {
  padding: 18px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
