
  :root {
    --cream: #F2EBDD;
    --cream-2: #E9DFCA;
    --paper: #FAF6EC;
    --ink: #1C1810;
    --ink-soft: #3A3326;
    --muted: #6F6552;
    --cedar: #8A5A37;
    --cedar-deep: #6B4326;
    --sage: #4A5D4F;
    --sage-deep: #344037;
    --terracotta: #BB5E3C;
    --ochre: #D6A45D;
    --leaf: #738B5F;
    --line: rgba(28, 24, 16, 0.14);
    --line-strong: rgba(28, 24, 16, 0.32);
    --display: "Fraunces", "Times New Roman", serif;
    --sans: "Manrope", -apple-system, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--sans); background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  .wrap { width: min(1280px, 92vw); margin-inline: auto; }

  /* ====== header (matches profile + home) ====== */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(242, 235, 221, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
  .logo svg { width: 26px; height: 26px; }
  .nav-links { display: flex; gap: 22px; font-size: 13.5px; font-weight: 500; }
  .nav-links a { padding: 6px 0; color: var(--ink-soft); }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; gap: 10px; }
  /* ===== mobile / tablet nav dropdown ===== */
  @media (max-width:1024px){header .nav-cta .btn-cedar{display:none !important;}}
  .nav-toggle { display: none; width: 42px; height: 42px; border: none; background: transparent; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
  .nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
  .nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h, 72px);
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -16px rgba(28,24,16,0.28);
    max-height: 0; overflow: hidden; z-index: 80;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s;
    opacity: 0; visibility: hidden;
  }
  .mobile-nav.open { max-height: calc(100vh - var(--header-h, 72px)); opacity: 1; visibility: visible; overflow-y: auto; }
  .mobile-nav-inner { padding: 22px 24px 30px; display: flex; flex-direction: column; gap: 22px; }
  .mnav-group { display: flex; flex-direction: column; gap: 2px; }
  .mnav-label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--cedar); margin-bottom: 8px; }
  .mobile-nav a { color: var(--ink-soft); font-family: var(--display); font-size: 20px; font-weight: 400; padding: 9px 0; border-bottom: 1px solid var(--line); transition: color 0.2s ease; }
  .mnav-group a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--cedar); }
  .mnav-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
  .mnav-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .mnav-cta .btn-ghost { border: 1px solid var(--line-strong); }
  .mnav-cta .btn-ghost:hover { border-color: var(--ink); background: rgba(28,24,16,0.06); }
  @media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    /* Sign in hidden on tablet/mobile — it lives in the dropdown menu */
    .nav-cta .sg-auth-slot { display: none; }
  }
  @media (max-width: 640px) {
    .nav-cta .btn-cedar { padding: 9px 16px; font-size: 13px; }
    .nav-cta { gap: 10px; }
  }

  .sg-auth-slot { display: inline-flex; align-items: center; gap: 10px; }
  .sg-auth-name { font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 6px 0; }
  .sg-auth-name:hover { color: var(--cedar); }
  .sg-auth-signout { background: none; border: none; cursor: pointer; font-size: 13px; color: var(--muted); font-family: var(--sans); padding: 6px 4px; }
  .sg-auth-signout:hover { color: var(--ink); text-decoration: underline; }
  .sg-auth-link { font-size: 13.5px; color: var(--ink-soft); padding: 6px 4px; }
  .sg-auth-cta { font-size: 13.5px; font-weight: 600; color: var(--cedar); padding: 6px 4px; }
  .btn { padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 6px; }
  .btn-ghost { color: var(--ink); }
  .btn-ghost:hover { background: rgba(28, 24, 16, 0.06); }  .btn-cedar {
    background: var(--cedar);
    color: var(--cream);
  }
  .btn-cedar:hover { background: var(--cedar-deep); transform: translateY(-1px); }

  /* ====== page head ====== */
  .page-head {
    padding: 60px 0 30px;
  }
  .page-head h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(40px, 5.4vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144;
  }
  .page-head h1 em { font-style: italic; color: var(--cedar); }
  .page-head .lead { margin-top: 20px; font-size: 17px; color: var(--ink-soft); max-width: 580px; }

  /* ====== filter bar ====== */
  .filter-bar {
    padding: 24px 0;
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
  }

  .filter-bar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
  .view-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 3px; }
  .view-toggle button { padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
  .view-toggle button.active { background: var(--ink); color: var(--paper); }

  /* ====== result banner (from compass / homepage search) ====== */
  .result-banner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
    margin: 4px 6px 2px;
    padding: 9px 16px 7px 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
  }
  .result-banner em {
    font-family: var(--display);
    font-style: italic;
    color: var(--ink);
    font-size: 15.5px;
  }
  .banner-clear {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--line-strong, rgba(28,24,16,.3));
  }
  .banner-clear:hover { background: var(--cream-2, rgba(28,24,16,.06)); text-decoration-color: currentColor; }
  .ex-sticky.is-stuck .result-banner { display: none; }
  @media (max-width: 600px) { .result-banner { padding-left: 14px; font-size: 13.5px; } }

  /* ====== category browse ====== */
  .cat-browse {
    padding: 28px 0;
    margin-bottom: 0;
  }
  .cat-browse-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px;
  }
  .cat-browse-head .eyebrow {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    font-weight: 600; color: var(--cedar-deep);
  }
  .cat-browse-head .clear {
    font-size: 12px; color: var(--muted); font-weight: 600;
    border-bottom: 1px solid transparent; padding-bottom: 2px;
  }
  .cat-browse-head .clear.visible { color: var(--ink); border-color: var(--ink); cursor: pointer; }

  .vertical-rail { overflow: visible; }
  /* category dropdown (explore page) */
  .cat-dd { position: relative; width: 100%; }
  .cat-dd-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px;
    padding: 12px 16px; cursor: pointer; font: inherit; color: var(--ink);
    transition: border-color 0.2s ease;
  }
  .cat-dd-trigger:hover, .cat-dd.open .cat-dd-trigger { border-color: var(--cedar); }
  .cat-dd-cur { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .cat-dd-cur .v-icon, .cat-dd-opt .v-icon { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--accent, var(--cedar)); }
  .cat-dd-cur .v-icon svg, .cat-dd-opt .v-icon svg { width: 22px; height: 22px; }
  .cat-dd-cur-name { font-family: var(--display); font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-dd-chev { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s ease; flex-shrink: 0; }
  .cat-dd.open .cat-dd-chev { transform: rotate(180deg); }
  .cat-dd-menu {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 24px 48px -24px rgba(28,24,16,0.45);
    padding: 6px; z-index: 50; max-height: 360px; overflow-y: auto; display: none;
  }
  .cat-dd.open .cat-dd-menu { display: block; }
  .cat-dd-opt {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border: none; background: none; border-radius: 10px;
    cursor: pointer; font: inherit; color: var(--ink); text-align: left;
  }
  .cat-dd-opt:hover, .cat-dd-opt.active { background: var(--cream-2); }
  .cat-dd-opt-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .cat-dd-opt-text .v-name { font-weight: 600; font-size: 14px; }
  .cat-dd-opt-text .v-count { font-size: 11px; color: var(--muted); }
  .cat-dd-check { width: 16px; height: 16px; color: var(--cedar); flex-shrink: 0; }

  .vertical-pill {
    flex-shrink: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex; gap: 12px; align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 0;
  }
  .vertical-pill:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }
  .vertical-pill.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }
  .vertical-pill .v-icon {
    width: 32px; height: 32px;
    color: var(--accent, var(--cedar));
    flex-shrink: 0;
  }
  .vertical-pill.active .v-icon { color: var(--ochre); }
  .vertical-pill .v-icon svg { width: 100%; height: 100%; }
  .v-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .v-text .v-name {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .v-text .v-count {
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-top: 2px;
  }
  .vertical-pill.active .v-text .v-count { color: rgba(214, 164, 93, 0.85); }

  .vertical-pill.all {
    background: var(--cream-2);
    border-color: var(--line);
  }
  .vertical-pill.all .v-icon { color: var(--ink); }
  .vertical-pill.all.active { background: var(--ink); color: var(--paper); }
  .vertical-pill.all.active .v-icon { color: var(--ochre); }

  /* sub-category chips */
  .niche-rail {
    margin-top: 18px;
    padding: 20px 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: none;
  }
  .niche-rail.open { display: block; }
  .niche-rail-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 14px;
  }
  .niche-rail-head h4 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
  .niche-rail-head h4 em { font-style: italic; color: var(--cedar); }
  .niche-rail-head p {
    font-size: 13px;
    color: var(--muted);
    margin-left: auto;
    max-width: 380px;
    text-align: right;
  }
  .niche-grid {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .niche-chip {
    font-size: 12.5px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--ink-soft);
    font-weight: 500;
    transition: all 0.18s;
    display: inline-flex; align-items: center; gap: 5px;
  }
  .niche-chip:hover { border-color: var(--ink); color: var(--ink); }
  .niche-chip .ncount {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    background: var(--cream-2);
    padding: 1px 6px;
    border-radius: 999px;
  }
  .niche-chip.active {
    background: var(--ink); color: var(--paper); border-color: var(--ink);
  }
  .niche-chip.active .ncount { background: rgba(255,255,255,0.15); color: var(--ochre); }
  .niche-chip.empty { opacity: 0.5; }
  .niche-chip.empty:hover { border-color: var(--line); color: var(--ink-soft); }

  /* category tag on cards */
  .card-cat-tag {
    display: inline-block;
    font-size: 10px;
    padding: 3px 8px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
  }

  /* ====== search input ====== */
  .search-row { margin-top: 22px; margin-bottom: 28px; }
  .search-combined {
    display: flex;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.2s ease;
  }
  .search-combined:focus-within { border-color: var(--ink); }
  .search-input {
    flex: 1;
    padding: 14px 26px;
    border: none;
    background: transparent;
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    min-width: 0;
  }
  .search-input:focus { outline: none; }
  .search-input::placeholder { color: var(--muted); }
  .search-discover {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 26px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    border-radius: 0;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    margin: -1px;
  }
  .search-discover:hover { background: var(--ink-soft); }
  .search-discover svg { width: 16px; height: 16px; }
  .search-loc {
    display: flex; align-items: center; gap: 7px;
    padding: 0 8px 0 18px;
    border-left: 1px solid var(--line);
    flex-shrink: 0; color: var(--muted); cursor: pointer;
  }
  .search-loc > svg { width: 15px; height: 15px; flex-shrink: 0; }
  .search-loc-select {
    border: none; background: transparent;
    font-family: var(--sans); font-size: 14px; color: var(--ink);
    padding: 14px 22px 14px 2px; cursor: pointer; outline: none;
    max-width: 170px;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7d6a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 2px center; background-size: 13px;
  }
  @media (max-width: 640px) {
    .search-combined { flex-direction: column; border-radius: 18px; }
    .search-discover { width: 100%; justify-content: center; padding: 14px 26px; margin: 0; }
    .search-loc { width: 100%; border-left: none; border-top: 1px solid var(--line); padding: 6px 22px; }
    .search-loc-select { flex: 1; max-width: none; }
  }

  /* ====== results count ====== */
  .sub-filter-row {
    display: flex; gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: var(--cream-2);
    border-radius: 14px;
    border: 1px solid var(--line);
  }
  .sub-filter-row[hidden] { display: none; }
  .sub-pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .sub-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
  .sub-pill:hover { border-color: var(--line-strong); color: var(--ink); }
  .sub-pill.active { background: var(--cedar); color: var(--cream); border-color: var(--cedar); }

  .results-count {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .results-count b { color: var(--ink); font-weight: 700; }

  /* ====== listings grid ====== */
  .listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 80px;
  }
  .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
    cursor: pointer;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -20px rgba(28, 24, 16, 0.22);
    border-color: var(--line-strong);
  }
  .card:focus-visible {
    outline: 2px solid var(--cedar);
    outline-offset: 3px;
  }
  .card-img {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: var(--cream-2);
  }
  .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .card:hover .card-img img { transform: scale(1.04); }
  .card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--sage); color: var(--paper);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 4px;
  }
  .card-badge svg { width: 11px; height: 11px; }
  .card-type {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--paper);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .card-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
  .card-meta-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .card-modality { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cedar-deep); font-weight: 700; }
  .card-rating { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
  .card-rating svg { width: 13px; height: 13px; color: var(--ochre); }
  .card h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--ink);
  }
  .card-by {
    font-size: 13px; color: var(--muted); margin-top: 8px;
    display: flex; align-items: center; gap: 8px;
  }
  @keyframes aura-pulse-sm {
    0%, 100% { inset: -2px; opacity: 0.45; }
    50%      { inset: -5px; opacity: 0.7; }
  }
  @keyframes aura-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  .card-by .by-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    flex-shrink: 0; position: relative;
    display: flex; align-items: center; justify-content: center;
    isolation: isolate;
  }
  .card-by .by-avatar::after {
    content: ""; position: absolute; inset: -3px; border-radius: 50%;
    background: conic-gradient(from 0deg, #BB5E3C, #D6A45D, #E1C85A, #738B5F, #4A5D4F, #6E8CB4, #966EAA, #BB5E3C);
    filter: blur(5px); opacity: 0.6; z-index: -1;
    animation: aura-spin 14s linear infinite;
    pointer-events: none;
  }
  .card-by .by-avatar img, .card-by .by-avatar::before {
    width: 100%; height: 100%; border-radius: 50%;
    background: var(--cedar); border: 1.5px solid var(--paper);
  }
  .card-by .by-avatar img { object-fit: cover; display: block; }
  .card-by .by-avatar.fallback::before {
    content: attr(data-initial);
    color: var(--cream); font-family: var(--display); font-weight: 500; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
  }
  .card:nth-child(3n+1) .by-avatar::after { animation-delay: 0s, 0s; }
  .card:nth-child(3n+2) .by-avatar::after { animation-delay: -1.4s, -4s; }
  .card:nth-child(3n+3) .by-avatar::after { animation-delay: -2.8s, -8s; }
  .card-by .by-line { display: block; min-width: 0; }
  .card-by .by-line b { color: var(--ink-soft); font-weight: 600; }
  .card-by .by-line .verify-badge { white-space: nowrap; }
  .verify-badge {
    display: inline-flex; align-items: center; justify-content: center;
    vertical-align: middle; width: 15px; height: 15px; margin-left: 4px;
    color: var(--sage); position: relative; cursor: help; top: -1px;
  }
  .verify-badge svg { width: 15px; height: 15px; }
  .verify-badge .verify-tip {
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--ink); color: var(--cream);
    font-size: 11.5px; font-weight: 500; line-height: 1.35;
    padding: 9px 12px; border-radius: 8px; width: 200px; text-align: center;
    opacity: 0; pointer-events: none; transition: all 0.2s ease; z-index: 20;
    box-shadow: 0 10px 24px -8px rgba(28,24,16,0.45);
  }
  .verify-badge .verify-tip::after {
    content: ""; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink);
  }
  .verify-badge:hover .verify-tip, .verify-badge:focus .verify-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
  .pager {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
    gap: 6px; margin-top: 40px;
  }
  .pager button {
    min-width: 38px; height: 38px; padding: 0 12px;
    border: 1px solid var(--line-strong); background: var(--paper);
    border-radius: 10px; cursor: pointer;
    font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-soft);
    transition: all 0.18s ease;
  }
  .pager button:hover:not(:disabled):not(.active) { border-color: var(--cedar); color: var(--cedar); }
  .pager button.active { background: var(--cedar); border-color: var(--cedar); color: var(--paper); cursor: default; }
  .pager button:disabled { opacity: 0.4; cursor: default; }
  .pager .pager-gap { padding: 0 4px; color: var(--muted); }
  .card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .card-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--cream-2);
    color: var(--ink-soft);
    font-weight: 500;
  }
  .card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
  }
  .card-loc { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 5px; }
  .card-loc svg { width: 17px; height: 17px; color: var(--cedar-deep); flex-shrink: 0; }
  .card-price { font-size: 13px; font-weight: 600; }
  .card-price .from { color: var(--muted); font-weight: 400; }
  .card-price-ask { color: var(--muted); font-weight: 500; }
  .card-rating .rev-count { color: var(--muted); font-weight: 400; margin-left: 2px; }
  .card-new {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sage); background: color-mix(in srgb, var(--sage) 12%, transparent);
    padding: 3px 8px; border-radius: 999px; line-height: 1;
  }
  .card-date {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ochre-deep, var(--cedar-deep)); background: color-mix(in srgb, var(--ochre, #D6A45D) 18%, transparent);
    padding: 3px 9px; border-radius: 999px; line-height: 1; white-space: nowrap;
  }

  /* empty state */
  .empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
  }
  .empty h3 { font-family: var(--display); font-size: 32px; color: var(--ink); margin-bottom: 10px; font-weight: 400; font-style: italic; }

  /* ====== footer ====== */
  
    /* ===== footer breath row — quiet box-breath invitation ===== */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  @media (max-width: 640px) {
    
    
    
    
  }
  @media (prefers-reduced-motion: reduce) {
    
    
  }
  
  /* full-width newsletter band — "breath aura" treatment, ties to the breath-circle motif */
  
  
  /* soft rainbow aura glowing behind the headline (same conic palette as the breath circle) */
  
  
  @keyframes news-aura-breathe {
    0%, 100% { transform: translateX(-50%) scale(0.92); opacity: 0.2; }
    50%      { transform: translateX(-50%) scale(1.06); opacity: 0.32; }
  }
  /* little breath dot above the headline */
  
  
  @keyframes news-dot-pulse { 0%,100% { transform: scale(0.8); opacity: 0.65; } 50% { transform: scale(1); opacity: 1; } }
  
  
  
  
  /* pill field with the Send arrow tucked inside as a circle */
  
  
  
  
  
  
  
  
  
  
  @media (prefers-reduced-motion: reduce) {
    
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  @media (max-width: 1024px) {
    
    
    
    
    
    
    /* center the link columns on tablet to match the brand block */
    
    
    
  }

  @media (max-width: 640px) {
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  }

  @media (max-width: 420px) {
    
    
    
  }


  @media (max-width: 1024px) {
    .listings { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
  }
  @media (max-width: 640px) {
    .listings { grid-template-columns: 1fr; }
  }
  /* logo monogram — SS coin on light circular backdrop so it pops on any bg */
  .logo-mark {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .logo-mark img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    /* logo file is already the banner's espresso brown */
  }
  /* breath circle enhancements: idle pulse, rainbow aura, rainbow play hint */
  
  
  @keyframes breath-pulse {
    0%   { transform: scale(0.62); opacity: 0; }
    22%  { opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 0; }
  }
  
  
  
  
  @keyframes breath-hue {
    from { filter: blur(8px) hue-rotate(0deg); }
    to   { filter: blur(8px) hue-rotate(360deg); }
  }
  
  
  
  @media (prefers-reduced-motion: reduce) {
    
    
  }

  
  
  
  
  @media (max-width: 760px) {   }

  /* ===== accessibility helpers (skip link, main focus, legible fine print, map credits) ===== */
  .sg-skip { position: absolute; left: 12px; top: -80px; z-index: 10000; padding: 12px 18px; border-radius: 10px;
    background: #1C1810; color: #FBF7EE !important; font: 600 14px/1.2 var(--sans, 'Manrope', sans-serif); text-decoration: none; transition: top .15s ease; }
  .sg-skip:focus, .sg-skip:focus-visible { top: 12px; outline: 3px solid #EAC894; outline-offset: 2px; }
  main#main:focus { outline: none; }
  
  .leaflet-control-attribution a { color: #005f85 !important; }

  /* motion safety net: honour "reduce motion" everywhere, pause drifting rows on hover/focus */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  }
  .marquee:hover .marquee-track, .test-marquee:hover .test-row, .test-marquee:focus-within .test-row { animation-play-state: paused; }

  
  
  .near-notice { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--cedar, #8A5A37) 9%, transparent); color: var(--ink, #1C1810); font-size: 14.5px; }
  .empty .dym-box { margin: 18px auto 0; max-width: 560px; display: grid; gap: 10px; justify-items: center; }
  .empty .dym { margin: 0; font-size: 15px; color: var(--ink-soft, #3A3326); }
  .empty .dym a { color: var(--cedar, #8A5A37); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .empty .dym span { color: var(--muted, #6F6552); font-size: 13px; }
  .empty .dym-cities { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .empty .dym-cities a { display: inline-flex; gap: 6px; align-items: baseline; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong, rgba(28,24,16,.18)); color: var(--ink, #1C1810); text-decoration: none; font-size: 14px; font-weight: 600; }
  .empty .dym-cities a:hover { border-color: var(--ink, #1C1810); }
  .empty .dym-cities a span { font-weight: 500; color: var(--muted, #6F6552); font-size: 12.5px; }

  /* trust & program notes on cards */
  .card-flags { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 8px; }
  .card-flags .cf { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 5px 8px; border-radius: 999px; background: rgba(28,24,16,0.05); color: var(--ink-soft, #3a3328); }
  .card-flags .cf svg { width: 13px; height: 13px; }
  .card-flags .cf-lic { background: rgba(74,93,79,0.12); color: #34483B; }
  .card-flags .cf-start { background: rgba(138,90,55,0.12); color: #6B4227; }
  .card-flags .cf-offer { background: rgba(214,164,93,0.2); color: #6B4C1E; }
  @media (max-width: 640px) { #listingsGrid .card-flags { display: none; } }
  /* community & access: one-tap chips above the results */
  .quick-feats { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; }
  .quick-feats[hidden] { display: none; }
  .qf-label { flex: none; font-size: 12.5px; font-weight: 600; color: var(--muted, #7a705f); }
  .qf-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
  .qf-row::-webkit-scrollbar { display: none; }
  .qf-chip { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong, rgba(28,24,16,0.2)); background: transparent; font: 600 12.5px/1 var(--sans); color: var(--ink-soft, #3a3328); cursor: pointer; }
  .qf-chip:hover { border-color: var(--ink, #1c1810); }
  .qf-chip.on { background: var(--sage, #4A5D4F); border-color: var(--sage, #4A5D4F); color: #FBF7EE; }
  .qf-chip:focus-visible { outline: 2px solid var(--cedar, #8A5A37); outline-offset: 2px; }
  @media (max-width: 640px) { .quick-feats { flex-direction: column; align-items: stretch; gap: 6px; } .qf-row { margin-right: -16px; padding-right: 16px; } }

  .rm-area { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 600; padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--ink, #1c1810); color: #FBF7EE; font: 600 13.5px/1 var(--sans); box-shadow: 0 10px 26px -10px rgba(20,16,10,.6); }
  .rm-area[hidden] { display: none; }
  .rm-area:hover { background: #33291c; }
  .rm-area:focus-visible { outline: 2px solid var(--cedar, #8A5A37); outline-offset: 2px; }
  @media (max-width: 1099px) { .results-map.is-open .rm-area { top: calc(max(12px, env(safe-area-inset-top)) + 62px); } }
  .leaflet-container a.sg-pop .sg-pop-x { color: #34483B; font-weight: 600; }

  /* ---------- listing cards: every row lines up across the grid ---------- */
  .listings .card { height: 100%; }
  .listings .card-body { display: flex; flex-direction: column; }
  .listings .card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.2em); }
  .listings .card-vibe { flex-wrap: nowrap; overflow: hidden; height: 22px; margin: 8px 0 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .listings .card-vibe span { flex: none; white-space: nowrap; }
  .listings .card-flags { flex-wrap: nowrap; overflow: hidden; }
  .listings .card-by { min-height: 30px; }
  .listings .card-by .by-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .listings .card-tags { flex-wrap: nowrap; overflow: hidden; height: 25px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .listings .card-tag { flex: none; white-space: nowrap; }
  .listings .card-foot { margin-top: auto; }
  .listings .card-tags + .card-foot, .listings .card-body > :nth-last-child(2) { margin-bottom: 0; }
