
  :root {
    /* warm editorial palette */
    --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; }
  html { scroll-behavior: smooth; }
  /* while the page is still streaming in, paint the empty area dark to match the hero
     (instead of a cream flash under the banner). Removed once the DOM is ready. */
  html.sg-loading, html.sg-loading body { background: #1C1810; }
  body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  /* ====== util ====== */
  .wrap { width: min(1280px, 92vw); margin-inline: auto; }
  .eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--cedar-deep);
  }
  .display {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.95;
    font-variation-settings: "opsz" 96, "SOFT" 50;
  }
  /* ====== announcement ====== */
  .announcement {
    display: block;
    background: var(--ink);
    color: var(--cream);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 9px 16px;
    font-weight: 300;
    text-decoration: none; cursor: pointer;
    transition: background 0.2s ease;
  }
  .announcement:hover { background: #2b2418; }
  .announcement b { font-weight: 600; color: var(--ochre); }
  .announcement .dot { display: inline-block; width: 4px; height: 4px; background: var(--ochre); border-radius: 50%; margin: 0 10px; vertical-align: middle; }

  /* ====== header ====== */
  header {
    position: sticky; top: 0; z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  }
  header.scrolled {
    background: rgba(242, 235, 221, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }
  /* At the top the header is see-through over the hero photo, so its text goes
     light; once you scroll and the cream background returns, text goes dark. */
  header .nav-links a { color: rgba(251, 247, 238, 0.92); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
  header .nav-links a:hover { color: #fff; }
  header.scrolled .nav-links a { color: var(--ink-soft); text-shadow: none; }
  header.scrolled .nav-links a:hover { color: var(--ink); }
  header .logo-mark img {
    filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
    transition: filter 0.35s ease;
  }
  header.scrolled .logo-mark img {
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0));   /* the logo file is already the banner's espresso brown */
  }
  /* phones: the centre logo starts smaller and grows to full size once the visitor scrolls */
  @media (max-width: 767px) {
    header .logo-mark img {
      transform: scale(.68);
      transition: filter .35s ease, transform .55s cubic-bezier(.34, 1.45, .5, 1);
    }
    header.scrolled .logo-mark img { transform: scale(1); }
  }
  @media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    header .logo-mark img { transition: filter .35s ease; }
  }
  header .nav-cta .btn-ghost { color: #FBF7EE; border-color: rgba(251, 247, 238, 0.55); }
  @media (max-width: 1024px) { header .nav-cta .btn-cedar { display: none !important; } }
  header.scrolled .nav-cta .btn-ghost { color: var(--ink); border-color: var(--ink); }
  /* Sign in / account links (rendered by sg-auth.js): white over the hero at the
     top, dark once the cream header returns on scroll. */
  header .nav-cta .sg-auth-link,
  header .nav-cta .sg-auth-name,
  header .nav-cta .sg-auth-cta,
  header .nav-cta .sg-auth-signout { color: rgba(251, 247, 238, 0.92); }
  header .nav-cta .sg-auth-link:hover,
  header .nav-cta .sg-auth-name:hover,
  header .nav-cta .sg-auth-signout:hover { color: #fff; }
  header.scrolled .nav-cta .sg-auth-link { color: var(--ink-soft); }
  header.scrolled .nav-cta .sg-auth-name { color: var(--ink); }
  header.scrolled .nav-cta .sg-auth-cta { color: var(--cedar); }
  header.scrolled .nav-cta .sg-auth-signout { color: var(--muted); }
  header .nav-toggle-bar { background: #FBF7EE; }
  header.scrolled .nav-toggle-bar { background: var(--ink); }
  .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; }
  /* logo monogram — sage SS 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;
  }  .nav-links {
    display: flex; gap: 22px;
    font-size: 13.5px;
    font-weight: 500;
  }
  .nav-links a { position: relative; padding: 6px 0; color: var(--ink-soft); font-weight: 700; }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 1px; background: var(--cedar);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta { display: flex; gap: 10px; align-items: center; }
  /* ===== mobile / tablet nav dropdown ===== */
  .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-close {
    position: absolute; top: 12px; right: 14px; z-index: 2;
    width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px;
    color: var(--ink); cursor: pointer; padding: 0;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .mnav-close svg { width: 18px; height: 18px; }
  .mnav-close:hover { color: var(--cedar); border-color: var(--cedar); background: rgba(28,24,16,0.04); }
  .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; }
    /* Put "Join Sanctuary" first, hamburger last */
    .nav-cta .btn-cedar { order: 1; }
    .nav-cta .nav-toggle { order: 2; }
  }
  @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;
    letter-spacing: 0.01em;
    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-primary {
    background: var(--ink);
    color: var(--cream);
  }
  .btn-primary:hover { background: var(--cedar-deep); transform: translateY(-1px); }  .btn-cedar {
    background: var(--cedar);
    color: var(--cream);
  }
  .btn-cedar:hover { background: var(--cedar-deep); transform: translateY(-1px); }

  /* ====== hero ====== */
  .hero { padding: 0; position: relative; background: var(--ink); margin-top: var(--hero-neg, -80px); }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
  }
  .hero-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(102deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.34) 32%, rgba(0,0,0,0.12) 58%, rgba(0,0,0,0.02) 100%),
      linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.08) 32%, transparent 54%);
  }
  .hero > .wrap { position: relative; z-index: 2; }
  .hero-grid {
    display: flex; flex-direction: column;
    justify-content: flex-end;   /* group content toward the lower third */
    gap: 22px;
    min-height: calc(560px + var(--hdr-h, 74px));
    padding: calc(52px + var(--hdr-h, 74px)) 0 34px;
  }
  .hero-content { max-width: 700px; }
  .hero h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(44px, 4.8vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    color: var(--ink);
  }
  .hero h1 em {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    color: var(--cedar);
  }
  .hero h1 .underline {
    background: linear-gradient(var(--ochre), var(--ochre)) no-repeat;
    background-size: 100% 0.22em;
    background-position: 0 0.86em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 2px;
  }
  .hero-stats {
    display: flex; gap: 28px; flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 28px;
  }
  .stat { border-left: 1px solid var(--line-strong); padding-left: 11px; }
  .hero-stats .stat:first-child { border-left: none; padding-left: 0; }
  .stat-num {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
  }
  .stat-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 700; }
  /* Mobile: keep all three hero stats on a single line */
  @media (max-width: 600px) {
    .hero-stats { flex-wrap: nowrap; gap: 12px; justify-content: space-between; }
    .stat { padding-left: 9px; min-width: 0; }
    .stat-num { font-size: 16px; }
    .stat-label { font-size: 7.5px; letter-spacing: 0.08em; margin-top: 4px; white-space: nowrap; }
  }
  @media (max-width: 360px) {
    .hero-stats { gap: 8px; }
    .stat-label { font-size: 7px; letter-spacing: 0.04em; }
  }

  /* hero sits over a full-bleed listing photo — light text + featured card */
  .hero h1 { color: #FBF7EE; text-shadow: 0 2px 30px rgba(0,0,0,0.36); }
  .hero h1 em { color: #EAC894; }
  .hero .stat-num { color: #FBF7EE; }
  .hero .stat-label { color: rgba(251,247,238,0.74); }
  .hero .stat { border-left-color: rgba(251,247,238,0.26); }
  .hero .search-bar { margin-top: 0; }
  .hero .hero-feature { margin-top: 22px; }

  .hero-feature {
    align-self: stretch;   /* fill the full width */
    display: block; text-decoration: none;
    width: 100%;
    text-align: center;
    background: rgba(20,16,10,0.52);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    backdrop-filter: blur(12px) saturate(1.15);
    border: 1px solid rgba(251,247,238,0.20);
    border-radius: 16px;
    padding: 15px 17px 16px;
    color: #FBF7EE;
    box-shadow: 0 18px 46px -18px rgba(0,0,0,0.6);
    transition: border-color 0.18s ease, transform 0.18s ease;
  }
  .hero-feature:hover { border-color: rgba(234,200,148,0.6); transform: translateY(-2px); }
  .hf-eyebrow {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ochre); font-weight: 700; margin-bottom: 8px;
  }
  .hf-star { color: var(--ochre); font-size: 11px; line-height: 1; }
  .hf-name { display: block; font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.08; letter-spacing: -0.015em; }
  .hf-meta { display: block; font-size: 12.5px; color: rgba(251,247,238,0.82); margin-top: 5px; }
  .hf-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--ochre); margin-top: 11px; }
  .hf-cta svg { width: 14px; height: 14px; }

  @media (max-width: 820px) {
    .hero-grid { justify-content: flex-start; }
  }
  @media (max-width: 600px) {
    .hero-grid { min-height: calc(480px + var(--hdr-h, 74px)); padding: calc(28px + var(--hdr-h, 74px)) 0 24px; gap: 16px; }
    .hero h1 { font-size: clamp(30px, 8vw, 40px); }
    .hero-stats { margin-bottom: 20px; }
    .hero-feature { width: 100%; padding: 13px 15px 14px; }
    .hf-name { font-size: 20px; }
  }

  /* Desktop only: float the featured card to the center-right, above the search bar */
  @media (min-width: 981px) {
    .hero-grid { position: relative; }
  }

  /* hero collage right */
  .collage {
    position: relative;
    height: 440px;
  }
  .collage::before {
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    top: 8%; right: 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,164,93,0.32) 0%, rgba(214,164,93,0.06) 55%, transparent 72%);
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
  }
  .collage-sun {
    position: absolute;
    top: 2%; right: 26%;
    width: 56px; height: 56px;
    color: var(--ochre);
    z-index: 0;
    opacity: 0.85;
    animation: sun-spin 60s linear infinite;
  }@keyframes sun-spin{ to { transform: rotate(360deg); } }@media (prefers-reduced-motion: reduce){ .collage-sun { animation: none; } }

  /* shared aura keyframes for all profile avatars across the homepage */
  @keyframes aura-pulse-sm {
    0%, 100% { inset: -2px; opacity: 0.45; }
    50%      { inset: -5px; opacity: 0.7; }
  }@keyframes aura-pulse-md{
    0%, 100% { inset: -4px; opacity: 0.5; }
    50%      { inset: -8px; opacity: 0.75; }
  }@keyframes aura-spin{
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }@media (prefers-reduced-motion: reduce){  }
  /* offset delays so multiple visible auras don't all pulse in unison */
  .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; }
  .ev-card:nth-child(odd) .ev-host-av::after { animation-delay: -1s, -3s; }
  .ev-card:nth-child(even) .ev-host-av::after { animation-delay: -2.5s, -7s; }
  .collage-card {
    position: absolute;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
    border: 4px solid var(--paper);
    box-shadow: 0 30px 60px -25px rgba(28, 24, 16, 0.4), 0 12px 24px -12px rgba(28, 24, 16, 0.18);
  }
  .collage-card.c1 {
    width: 62%; height: 65%;
    top: 0; right: 0;
    transform: rotate(2.5deg);
  }
  .collage-card.c2 {
    width: 50%; height: 50%;
    bottom: 0; left: 0;
    transform: rotate(-3deg);
  }
  .collage-card.c3 {
    width: 38%; height: 32%;
    top: 38%; right: 38%;
    transform: rotate(1deg);
  }
  .collage-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.9s ease;
  }
  .collage-card img.fading { opacity: 0; }@media (prefers-reduced-motion: reduce){
    .collage-card img { transition: none; }
  }

  .collage-label {
    position: absolute;
    z-index: 3;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 30px -10px rgba(28, 24, 16, 0.3);
  }
  /* live-now card */
  .collage-label.l1 {
    top: 8%; left: -6%;
    padding: 12px 16px;
    max-width: 220px;
  }
  .label-head {
    display: flex; align-items: center; gap: 7px;
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: 700; color: var(--sage-deep);
  }
  .label-head .dot-live {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 3px rgba(115, 139, 95, 0.25);
    animation: pulse-live 2s ease-in-out infinite;
  }@keyframes pulse-live{
    0%, 100% { box-shadow: 0 0 0 3px rgba(115,139,95,0.25); }
    50% { box-shadow: 0 0 0 6px rgba(115,139,95,0.08); }
  }
  .label-body {
    font-family: var(--display);
    font-size: 17px; font-weight: 500; line-height: 1.2;
    color: var(--ink);
    margin-top: 7px;
  }
  .label-body em { font-style: italic; color: var(--cedar); }
  .label-sub {
    font-size: 11px; color: var(--muted);
    margin-top: 4px; line-height: 1.4;
  }
  /* rating chip */
  .collage-label.l2 {
    bottom: 10%; right: 2%;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
  }
  .l2 .l2-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--cedar); color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--display); font-weight: 500; font-size: 15px;
    flex-shrink: 0;
  }
  .l2 .l2-text .l2-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
  .l2 .l2-stars { display: flex; align-items: center; gap: 4px; margin-top: 3px; }
  .l2 .l2-stars svg { width: 11px; height: 11px; color: var(--ochre); }
  .l2 .l2-stars span { font-size: 11px; color: var(--muted); font-weight: 600; }
  /* small floating modality tag */
  .collage-tag {
    position: absolute;
    z-index: 3;
    top: 44%; left: -2%;
    background: var(--sage);
    color: var(--cream);
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    box-shadow: 0 10px 22px -8px rgba(52, 64, 55, 0.5);
    transform: rotate(-4deg);
    display: flex; align-items: center; gap: 6px;
  }
  .collage-tag svg { width: 12px; height: 12px; }

  /* search bar */
  .search-bar {
    margin-top: 56px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    display: flex;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 24px 50px -30px rgba(28, 24, 16, 0.3);
    grid-column: span 2;
    position: relative;
    z-index: 40;
  }
  /* ====== combobox search fields ====== */
  .search-combo {
    flex: 1;
    position: relative;
    border-right: 1px solid var(--line);
    border-radius: 12px;
    transition: background 0.18s ease;
  }
  .search-combo:hover { background: var(--cream-2); }
  .search-combo:last-of-type { border-right: none; }
  .search-combo.open { background: var(--cream-2); z-index: 70; }
  .search-combo .combo-inner { padding: 14px 22px; cursor: text; }
  .search-combo .lbl {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink); font-weight: 800;
    text-decoration: underline; text-underline-offset: 3px;
    pointer-events: none;
  }
  .search-combo input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--sans);
    font-size: 15px;
    margin-top: 4px;
    color: var(--ink);
    font-weight: 500;
    padding: 0;
  }
  .search-combo input:focus { outline: none; }
  .search-combo input::placeholder { color: var(--ink-soft); opacity: 0.55; font-weight: 500; }

  .combo-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 340px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 50px -18px rgba(28, 24, 16, 0.35);
    padding: 8px;
    z-index: 60;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    scrollbar-width: thin;
  }
  .combo-panel .combo-person { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
  .combo-person .cp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .combo-person .cp-txt b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .combo-person .cp-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .combo-person .opt-sub { color: var(--cedar); font-weight: 600; }
  .combo-panel::-webkit-scrollbar { width: 5px; }
  .combo-panel::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
  .search-combo.open .combo-panel { display: block; }
  .combo-panel .combo-group-label {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
    padding: 10px 12px 6px;
  }
  .combo-option {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--ink-soft);
    cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    transition: background 0.12s;
  }
  .combo-option:hover, .combo-option.active {
    background: var(--cream-2);
    color: var(--ink);
  }
  .combo-option .opt-icon {
    width: 16px; height: 16px; flex-shrink: 0;
    color: var(--cedar);
    opacity: 0.75;
  }
  .combo-option .opt-icon svg { width: 100%; height: 100%; }
  .combo-option .opt-sub { font-size: 11px; color: var(--muted); margin-left: auto; padding-left: 12px; }
  .combo-empty {
    padding: 16px 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
  }
  .combo-empty b { color: var(--ink); font-weight: 600; }

  .search-btn {
    background: var(--ink);
    color: var(--cream);
    padding: 0 32px;
    border-radius: 12px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.02em;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .search-btn:hover { background: var(--cedar-deep); }

  /* ====== marquee ====== */
  .marquee {
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: scroll 50s linear infinite;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  .marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
  .marquee-track em { font-style: italic; color: var(--ochre); font-variation-settings: "opsz" 144, "SOFT" 100; }
  .marquee-track .sep { width: 10px; height: 10px; border-radius: 50%; background: var(--ochre); flex-shrink: 0; }@keyframes scroll{
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }@media (prefers-reduced-motion){ .marquee-track { animation: none; } }

  /* ====== section ====== */
  section { padding: 100px 0; position: relative; }
  .section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 56px;
    gap: 40px;
  }
  .section-head h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    max-width: 720px;
  }
  .section-head h2 em { font-style: italic; color: var(--cedar); font-variation-settings: "opsz" 144, "SOFT" 100; }
  .section-head .right {
    text-align: right;
    max-width: 320px;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
  }
  .section-head .right .link {
    display: flex; align-items: center; justify-content: flex-end; gap: 6px;
    width: fit-content;
    margin-left: auto;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cedar-deep);
    border-bottom: 1px solid var(--cedar-deep);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .section-head .right .link:hover {
    color: #4F301B;
    border-bottom-color: #4F301B;
  }

  /* ====== compass (intent picker) ====== */
  #compass { padding-top: 40px; }   /* first section after the scrolling words */
  #compass .section-head { margin-bottom: 14px; }   /* arrows sit right under the title, cards follow */
  #compass .compass-nav { margin-bottom: 8px !important; }
  .compass-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 14px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .compass-grid::-webkit-scrollbar { height: 0; display: none; }
  .compass-tile {
    flex: 0 0 248px;
    scroll-snap-align: start;
    aspect-ratio: 3/4;
    border-radius: 8px;
    padding: 24px 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative; overflow: hidden;
  }
  .compass-tile.has-photo {
    background-size: cover; background-position: center;
    color: #FBF7EE; border-color: transparent;
  }
  .compass-tile.has-photo::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(24,20,12,0.30) 0%, rgba(24,20,12,0.72) 100%);
  }
  .compass-tile.has-photo > * { position: relative; z-index: 1; }
  .compass-tile.has-photo .glyph { color: #FBF7EE; }
  .compass-tile.has-photo .desc { opacity: 0.92; }
  .compass-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -16px rgba(28, 24, 16, 0.18);
    border-color: var(--cedar);
  }
  .compass-tile .glyph {
    width: 40px; height: 40px;
    color: var(--cedar);
  }
  .compass-tile.t2 { background: var(--sage); color: var(--cream); border-color: var(--sage-deep); }
  .compass-tile.t2 .glyph { color: var(--ochre); }
  .compass-tile.t2.has-photo { background-size: cover; border-color: transparent; }
  .compass-tile.t2.has-photo .glyph { color: #FBF7EE; }
  .compass-tile.t4 { background: var(--terracotta); color: var(--paper); border-color: #9d4d30; }
  .compass-tile.t4 .glyph { color: var(--paper); }
  .compass-tile.t4.has-photo { background-size: cover; border-color: transparent; }
  .compass-tile.t4.has-photo .glyph { color: #FBF7EE; }
  .compass-tile.t6 { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .compass-tile.t6 .glyph { color: var(--ochre); }
  .compass-tile.t6.has-photo { background-size: cover; border-color: transparent; }
  .compass-tile.t6.has-photo .glyph { color: #FBF7EE; }

  .compass-tile h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.015em;
  }
  .compass-tile h3 em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
  .compass-tile .desc { font-size: 12px; line-height: 1.45; opacity: 0.82; margin-top: 8px; }
  .compass-tile .count {
    display: inline-block;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 700;
    padding: 7px 16px;
    border: 1px solid rgba(251,247,238,0.55);
    background: rgba(251,247,238,0.10);
    border-radius: 999px;
    color: #FBF7EE;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .compass-tile:hover .count { background: #FBF7EE; color: var(--ink); border-color: #FBF7EE; }
  .compass-nav {
    display: flex; gap: 10px;
    justify-content: flex-end;
    margin: 0 0 16px;
  }
  .compass-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .compass-arrow svg { width: 18px; height: 18px; }
  .compass-arrow:hover:not(:disabled) {
    background: var(--ink); color: var(--cream); border-color: var(--ink);
    transform: translateY(-2px);
  }
  .compass-arrow:disabled { opacity: 0.3; cursor: default; }

  /* ====== listings ====== */
  .type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }
  .type-btn {
    display: flex; align-items: center; gap: 16px;
    padding: 30px 30px;
    border-radius: 16px;
    border: 1px solid var(--line);
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative; overflow: hidden;
    min-height: 132px;
    isolation: isolate;
  }
  .type-btn .tb-bg {
    position: absolute; inset: 0;
    z-index: -2;
    background-size: cover; background-position: center;
    transition: transform 0.6s ease;
  }
  .type-btn:hover .tb-bg { transform: scale(1.06); }
  .type-btn .tb-hue {
    position: absolute; inset: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
  }
  /* photo behind, darker on the left where the text sits */
  .type-btn.practitioners .tb-hue, .type-btn.spaces .tb-hue {
    background: linear-gradient(100deg, rgba(20,15,10,0.86) 0%, rgba(20,15,10,0.62) 45%, rgba(20,15,10,0.22) 100%);
  }
  .type-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(28,24,16,0.5); border-color: transparent; }
  .type-btn:hover .tb-hue { opacity: 0.92; }
  .type-btn .tb-icon {
    width: 54px; height: 54px; border-radius: 14px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink);
    background: rgba(250,246,236,0.92);
    backdrop-filter: blur(2px);
  }
  .type-btn .tb-icon svg { width: 26px; height: 26px; }
  .type-btn .tb-text {
    display: flex;
    flex-direction: column;
  }
  .type-btn .tb-text .tb-label {
    font-family: var(--display);
    font-size: 26px; font-weight: 500; color: var(--cream);
    letter-spacing: -0.01em; line-height: 1.05;
  }
  .type-btn .tb-text .tb-sub {
    font-size: 13px; color: rgba(242,235,221,0.85); margin-top: 6px;
    max-width: 38ch;
  }
  @media (max-width: 700px){ .type-buttons { grid-template-columns: 1fr; } }

  /* aura on the selected type button: a slowly turning rainbow ring with a warm glow.
     The ring is the button's own border, so it stays crisp and cheap to draw on phones. */
  @property --tba { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
  .type-btn { border: 3px solid transparent; background: transparent; }
  .type-btn.active {
    background: conic-gradient(from var(--tba), #BB5E3C, #D6A45D, #E1C85A, #8FB07A, #4A8C7A, #6E8CB4, #966EAA, #C2607A, #BB5E3C) border-box;
    box-shadow: 0 0 28px 4px rgba(214,164,93,0.42), 0 18px 40px -22px rgba(28,24,16,0.55);
    animation: type-aura-turn 7s linear infinite;
  }
  @keyframes type-aura-turn { to { --tba: 360deg; } }
  .type-btn:not(.active) { opacity: 0.72; }
  .type-btn:not(.active):hover { opacity: 1; }@media (prefers-reduced-motion: reduce){
    .type-btn.active { animation: none; }
  }

  /* filter groups toggle with the buttons */
  .filter-group { display: none; }
  .filter-group.active { display: block; }


  .tab-group-label {
    font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: 700; color: var(--muted);
    margin-bottom: 12px;
  }
  .filter-tabs {
    display: none;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
  }
  .filter-tabs.spaces-tabs { margin-bottom: 28px; }
  .tab {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: all 0.2s;
    background: transparent;
    display: inline-flex; align-items: center; gap: 7px;
  }
  .tab svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.75; transition: opacity 0.2s; }
  .tab:hover svg { opacity: 1; }
  .tab.active svg { opacity: 1; }
  .tab:hover { border-color: var(--line-strong); color: var(--ink); }
  .tab.active {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
  }

  /* mobile: animated dropdown picker (built from the pills via JS) */
  .filter-dropdown { display: block; position: relative; margin-bottom: 24px; }
  .fd-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 15px 18px; border-radius: 16px;
    border: 1px solid var(--line-strong); background: transparent;
    color: var(--ink); font-family: var(--sans); cursor: pointer;
  }
  .fd-cycle {
    display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: 1;
    font-size: 15px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .fd-cycle svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
  .fd-cycle .fd-cyc-text { overflow: hidden; text-overflow: ellipsis; }
  .fd-cyc-icon { display: inline-flex; }
  .fd-chevron { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.55; transition: transform 0.3s ease; }
  .filter-dropdown.open .fd-chevron { transform: rotate(180deg); }
  .fd-menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    background: var(--paper); border: 1px solid var(--line-strong);
    border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(28,24,16,0.4);
    padding: 8px; z-index: 40; max-height: 58vh; overflow-y: auto;
    opacity: 0; transform: translateY(-8px) scale(0.97); transform-origin: top center;
    pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .filter-dropdown.open .fd-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .fd-item {
    width: 100%; text-align: left; display: flex; align-items: center; gap: 11px;
    padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
    color: var(--ink-soft); background: transparent; border: none; cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .fd-item svg { width: 17px; height: 17px; opacity: 0.8; flex-shrink: 0; }
  .fd-item.active, .fd-item:hover { background: var(--ink); color: var(--cream); }
  .fd-item.active svg, .fd-item:hover svg { opacity: 1; }

  .listings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -20px rgba(28, 24, 16, 0.22);
    border-color: var(--line-strong);
  }

  #homeListings .card-img { aspect-ratio: 4 / 3.3; }   /* shorter cards, same width */
  /* soft aura halo around the featured cards */
  #homeListings .card {
    box-shadow:
      0 0 20px -7px rgba(214,164,93,0.26),
      0 0 22px -7px rgba(187,94,60,0.13),
      0 0 24px -7px rgba(111,127,174,0.13),
      0 0 24px -7px rgba(95,158,140,0.13),
      0 12px 30px -18px rgba(28,24,16,0.13);
  }
  #homeListings .card:hover {
    box-shadow:
      0 0 30px -5px rgba(214,164,93,0.42),
      0 0 32px -6px rgba(187,94,60,0.20),
      0 0 34px -6px rgba(111,127,174,0.20),
      0 0 34px -6px rgba(95,158,140,0.20),
      0 30px 50px -20px rgba(28,24,16,0.22);
  }
  .card-img {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: var(--cream-2);
  }
  .card-img-link { display: block; width: 100%; height: 100%; cursor: pointer; }
  .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .card:hover .card-img img { transform: scale(1.04); }
  /* blinking green "online" light — top-right of the card */
  .card-online {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    pointer-events: none;
  }
  .card-online .co-dot {
    display: block;
    width: 11px; height: 11px; border-radius: 50%; background: #37D67A;
    animation: online-pulse 1.6s ease-in-out infinite;
  }
  @keyframes online-pulse {
    0%, 100% { box-shadow: 0 0 8px 2px rgba(55, 214, 122, 0.9); opacity: 1; }
    50%      { box-shadow: 0 0 3px 0 rgba(55, 214, 122, 0.4); opacity: 0.5; }
  }
  /* practice · location, under the name */
  .card-title-link { color: inherit; text-decoration: none; }
  .card-practiceloc {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    margin-top: 5px; font-size: 13px; line-height: 1.3;
  }
  .card-practiceloc .cp-practice { font-weight: 600; color: var(--cedar); }
  .card-practiceloc .cp-sep { color: var(--muted); opacity: 0.7; }
  .card-practiceloc .cp-loc { color: var(--muted); }
  .card-slides { display: flex; width: 100%; height: 100%; transition: transform 0.35s ease; }
  .card-slides .card-slide { flex: 0 0 100%; display: block; height: 100%; }
  .card-slides .card-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
  .card-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
  .card-dots .cdot { width: 7px; height: 7px; padding: 0; border: none; border-radius: 999px; background: rgba(255,255,255,0.55); box-shadow: 0 1px 3px rgba(0,0,0,0.3); cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
  .card-dots .cdot.is-active { width: 18px; background: #fff; }
  .card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: 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.verified { background: var(--sage); color: var(--paper); }
  .card-badge.live {
    background: var(--paper); color: var(--ink);
  }
  .card-badge .pulse { width: 6px; height: 6px; background: var(--leaf); border-radius: 50%; box-shadow: 0 0 0 3px rgba(115, 139, 95, 0.3); }
  .card-save {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--paper);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  body.logged-in .card-save { display: flex; }
  .card-save:hover { background: var(--ink); color: var(--paper); }
  .card-save svg { width: 16px; height: 16px; }
  .by-line { display: block; min-width: 0; }
  .by-line .by-name { display: inline; }
  .by-line .verify-badge { white-space: nowrap; }

  .card-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
  .card-meta-top {
    display: flex; justify-content: flex-end; align-items: center;
    margin-bottom: 10px;
  }
  .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: 17px;
    letter-spacing: -0.01em;
    line-height: 1.18;
    color: var(--ink);
    margin-top: 6px;
  }
  .card-by {
    font-size: 12px; color: var(--muted); margin-top: 13px;
    display: flex; align-items: center; gap: 8px;
  }
  .card-by .by-avatar {
    width: 26px; height: 26px; 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;
    /* glow ring OUTSIDE the avatar — matches the testimonials */
    -webkit-mask: radial-gradient(circle closest-side, transparent 80%, #000 100%);
    mask: radial-gradient(circle closest-side, transparent 80%, #000 100%);
    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; background: var(--cedar); }
  .card-by .by-avatar.fallback {
    /* fallback keeps aura with initial inside dark circle */
  }
  .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-by .by-line { min-width: 0; }
  .card-by.card-head {
    margin-top: 0;
    align-items: center;
    gap: 10px;
  }
  .card-head-text {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0; flex: 1 1 auto;
  }
  .card-title {
    font-family: var(--display);
    font-size: 23px; font-weight: 400; line-height: 1.14;
    color: var(--ink); margin: 9px 0 0;
  }
  .card-title-link:hover { color: var(--cedar); }
  .card-head-text .card-title { margin: 0; }
  .card-by.card-head .by-avatar { width: 44px; height: 44px; }
  .card-head-text .card-practiceloc { margin-top: 1px; }
  .card-role { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-top: 1px; line-height: 1.3; }
  .card-typeloc {
    display: flex; align-items: center; gap: 7px;
    margin-top: 5px;
    font-size: 12.5px; color: rgba(28,24,16,0.62);
  }
  .card-typeloc .ct-type {
    font-size: 10px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
    color: var(--cedar-deep);
  }
  .card-typeloc .ct-sep { opacity: 0.4; }
  .card-typeloc .ct-loc { font-weight: 500; }
  .card-by.card-head .card-rating {
    margin-left: auto; flex-shrink: 0; align-self: flex-start;
  }
  .card-by .by-avatar .by-dist {
    display: none;
  }
  .card-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-bottom: 2px;
  }
  .card-eyebrow {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--cedar-deep); font-weight: 700;
  }
  .card-rate {
    position: absolute; top: 12px; right: 12px;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(250, 246, 236, 0.95);
    color: var(--ink);
    font-size: 12px; font-weight: 700;
    padding: 4px 9px; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(28, 24, 16, 0.22);
    z-index: 2;
  }
  .card-rate svg { width: 12px; height: 12px; color: var(--ochre); }
  .card-by .card-rate { position: static; top: auto; right: auto; margin-left: auto; background: transparent; box-shadow: none; padding: 0; font-size: 12.5px; color: var(--ink); flex-shrink: 0; }
  .card-meta .card-rate { position: static; top: auto; right: auto; background: transparent; box-shadow: none; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--ink); }
  .card-by .card-dist { margin-left: auto; }
  .card-dist {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700; color: var(--cedar-deep);
    flex-shrink: 0; line-height: 1;
  }
  .card-dist svg {
    width: 12px; height: 12px; flex-shrink: 0; color: var(--cedar-deep);
    animation: dist-move 1.6s ease-in-out infinite, dist-fade 6.5s ease-in-out infinite;
  }
  .card-dist .dist-num {
    background: linear-gradient(90deg, #6B4326, #8A5A37, #D6A45D, #738B5F, #8A5A37, #6B4326);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: dist-rainbow 6.5s linear infinite;
  }
  @keyframes dist-move {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(2px, -2px); }
  }
  @keyframes dist-fade { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }
  @keyframes dist-rainbow { to { background-position: -200% 0; } }
  @media (prefers-reduced-motion: reduce) {
    .card-dist svg { animation: none; color: var(--cedar-deep); }
    .card-dist .dist-num { animation: none; -webkit-text-fill-color: var(--cedar-deep); color: var(--cedar-deep); }
  }
  .card-by b { color: var(--ink-soft); font-weight: 600; }
  .card-by a.by-name {
    color: var(--cedar);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .card-by a.by-name:hover { color: var(--cedar-deep); border-bottom-color: var(--cedar-deep); }
  .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;
    letter-spacing: 0.01em;
    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 { opacity: 1; transform: translateX(-50%) translateY(0); }

  .card-foot {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: block;
  }
  .card-foot .card-availability { margin-top: 0; }
  .card-loc {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--muted);
    display: inline-flex; align-items: center; gap: 5px;
  }
  .card-loc svg { width: 17px; height: 17px; color: var(--cedar-deep); }
  .card-price {
    font-size: 13px;
    font-weight: 600;
  }
  .card-price .from { color: var(--muted); font-weight: 400; }

  .card-availability {
    margin-top: 14px;
    width: 100%;
    background: rgba(115, 139, 95, 0.16);
    color: var(--sage-deep);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .card-availability.is-clickable { cursor: pointer; transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
  .card-availability.is-clickable:hover { background: rgba(115, 139, 95, 0.26); box-shadow: 0 2px 8px rgba(52, 64, 55, 0.10); }
  .card-availability.is-clickable:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
  .card-availability .dot {
    width: 7px; height: 7px; background: var(--leaf); border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(115, 139, 95, 0.6);
    animation: avail-pulse 1.8s ease-in-out infinite;
  }@keyframes avail-pulse{
    0%   { box-shadow: 0 0 0 0 rgba(115, 139, 95, 0.55); opacity: 1; }
    70%  { box-shadow: 0 0 0 7px rgba(115, 139, 95, 0); opacity: 0.55; }
    100% { box-shadow: 0 0 0 0 rgba(115, 139, 95, 0); opacity: 1; }
  }@media (prefers-reduced-motion: reduce){
    .card-availability .dot { animation: none; }
  }

  /* ===== browse by specialty ===== */
  #specialties { background: var(--cream-2); }
  .spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
  }
  .spec-item {
    display: flex; align-items: center; gap: 11px;
    padding: 12px 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.25;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .spec-item:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -16px rgba(28, 24, 16, 0.22);
  }
  .spec-ico {
    width: 22px; height: 22px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--cedar-deep);
  }
  .spec-ico svg { width: 18px; height: 18px; }
  @media (max-width: 1024px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 640px) {
    .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .spec-item { padding: 10px 12px; gap: 9px; font-size: 12.5px; }
    .spec-ico { width: 20px; height: 20px; }
    .spec-ico svg { width: 16px; height: 16px; }
  }
  @media (max-width: 420px) { .spec-grid { grid-template-columns: 1fr; } }
  /* specialty buttons are the desktop treatment; tablet/mobile use the dropdown */
  @media (max-width: 1024px) { #specialties { display: none; } }
  .mnav-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
    margin-top: 6px;
  }
  .mnav-spec-item {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
  }
  .mnav-spec-item .spec-ico { width: 18px; height: 18px; color: var(--cedar); background: none; }
  .mnav-spec-item .spec-ico svg { width: 15px; height: 15px; }
  @media (max-width: 460px) { .mnav-spec-grid { grid-template-columns: 1fr; } }

  /* ====== split: map preview ====== */
  .split {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .split-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
    min-height: 580px;
  }
  .split-grid .left h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 4.6vw, 64px);
    line-height: 0.96;
    letter-spacing: -0.025em;
  }
  .split-grid .left h2 em { font-style: italic; color: var(--cedar); }
  .split-grid .left p {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 460px;
  }
  .map-feature {
    margin-top: 28px;
    display: grid;
    gap: 14px;
  }
  .map-feature li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 14px;
    color: var(--ink-soft);
    list-style: none;
  }
  .map-feature svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--cedar); }
  .map-feature b { color: var(--ink); font-weight: 600; }

  /* faux map */
  .map-card {
    position: relative;
    aspect-ratio: 4/3.2;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #E2D5B7 0%, #C9B888 50%, #A89968 100%);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px -30px rgba(28, 24, 16, 0.4);
  }
  .map-bg {
    position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 25% 30%, rgba(74, 93, 79, 0.25) 0%, transparent 28%),
      radial-gradient(circle at 75% 65%, rgba(74, 93, 79, 0.22) 0%, transparent 32%),
      radial-gradient(circle at 60% 20%, rgba(115, 139, 95, 0.18) 0%, transparent 22%),
      linear-gradient(135deg, transparent 30%, rgba(28, 24, 16, 0.08) 100%);
  }
  .map-grid-lines {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(28, 24, 16, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(28, 24, 16, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
  }
  .map-river {
    position: absolute;
    top: 30%; left: -5%;
    width: 110%;
    height: 50px;
    background: linear-gradient(90deg, transparent, rgba(74, 93, 79, 0.3), transparent);
    border-radius: 50%;
    transform: rotate(-8deg);
    filter: blur(8px);
  }
  .map-pins-layer, .map-popup-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .map-pins-layer > *, .map-popup-layer > * { pointer-events: auto; }
  .map-pin {
    position: absolute;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 16px -4px rgba(28, 24, 16, 0.4);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.5s ease;
    text-decoration: none;
  }
  .map-pin.fading-in { opacity: 0; transform: scale(0.6); }
  .map-pin.appeared { opacity: 1; transform: scale(1); }
  .map-pin:hover { transform: scale(1.15); z-index: 2; }
  .map-pin.featured {
    background: var(--terracotta);
    border-color: var(--paper);
    color: var(--paper);
    width: 52px; height: 52px;
  }
  .map-pin.sage { background: var(--sage); color: var(--paper); border-color: var(--paper); }
  .map-pin.cedar { background: var(--cedar); color: var(--paper); border-color: var(--paper); }
  .map-pin.cream { background: var(--paper); color: var(--ink); }
  .map-pin .num {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--ink);
    color: var(--paper);
    font-size: 10px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }

  .map-popup {
    position: absolute;
    background: var(--paper);
    border-radius: 10px;
    padding: 12px;
    width: 220px;
    box-shadow: 0 16px 32px -8px rgba(28, 24, 16, 0.4);
    border: 1px solid var(--line);
    z-index: 3;
    color: var(--ink);
    display: block;
  }
  .map-popup-anim {
    animation: map-popup-fade-in 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
  }@keyframes map-popup-fade-in{
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
  }@media (prefers-reduced-motion: reduce){
    .map-popup-anim { animation: none; }
  }
  .map-popup:hover {
    transform: translateY(-2px);
    transition: transform 0.25s ease;
  }
  .map-popup::after {
    content: ""; position: absolute;
    bottom: -8px; left: 28px;
    width: 16px; height: 16px;
    background: var(--paper);
    transform: rotate(45deg);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .map-popup img {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover; border-radius: 6px;
  }
  .map-popup .pop-title {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: -0.01em;
  }
  .map-popup .pop-meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
    display: flex; gap: 8px; align-items: center;
  }
  .map-popup .pop-meta b { color: var(--ink); }

  .map-overlay-chip {
    position: absolute;
    top: 18px; left: 18px;
    background: var(--paper);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 16px -4px rgba(28, 24, 16, 0.2);
    display: flex; align-items: center; gap: 6px;
  }
  .map-overlay-chip .pulse { width: 6px; height: 6px; background: var(--leaf); border-radius: 50%; box-shadow: 0 0 0 4px rgba(115, 139, 95, 0.3); animation: pulse 2s ease infinite; }@keyframes pulse{
    0%, 100% { box-shadow: 0 0 0 4px rgba(115, 139, 95, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(115, 139, 95, 0.1); }
  }

  /* ====== events timeline ====== */

  /* new events grid + filter pills */
  .event-filters {
    display: flex; gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .ev-filter {
    padding: 12px 22px 13px;
    border-radius: 14px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    background: var(--paper);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.15;
    min-width: 140px;
  }
  .ev-filter-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cedar-deep);
    opacity: 0.78;
    transition: color 0.25s ease, opacity 0.25s ease;
  }
  .ev-filter-range {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
  }
  .ev-filter:hover {
    border-color: var(--cedar);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -16px rgba(28,24,16,0.3);
  }
  .ev-filter:hover .ev-filter-label { opacity: 1; }
  .ev-filter.active {
    background: var(--cedar);
    border-color: var(--cedar);
    box-shadow: 0 14px 28px -16px rgba(138,90,55,0.5);
    transform: translateY(-1px);
  }
  .ev-filter.active .ev-filter-label {
    color: #FBF7EE;
    opacity: 1;
  }
  .ev-filter.active .ev-filter-range {
    color: var(--paper);
  }
  .ev-filter.active::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ochre);
    box-shadow: 0 0 0 3px rgba(214,164,93,0.25);
    margin-bottom: 6px;
    animation: filter-dot-pulse 2.2s ease-in-out infinite;
  }@keyframes filter-dot-pulse{
    0%, 100% { box-shadow: 0 0 0 3px rgba(214,164,93,0.25); }
    50% { box-shadow: 0 0 0 6px rgba(214,164,93,0.08); }
  }@media (prefers-reduced-motion: reduce){
    .ev-filter, .ev-filter:hover, .ev-filter.active { transition: none; transform: none; }
    .ev-filter.active::before { animation: none; }
  }

  /* ====== events — magazine spread + host-led ====== */
  .event-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* shared base card */
  .ev-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .ev-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(28,24,16,0.4); border-color: var(--line-strong); }
  .ev-card.active { border-color: var(--cedar); box-shadow: 0 0 0 2px var(--cedar), 0 18px 36px -22px rgba(28,24,16,0.35); }

  /* badges shared between featured + secondary */
  .ev-days, .ev-spots {
    position: absolute; top: 14px;
    font-size: 10.5px; letter-spacing: 0.08em; font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(250,246,236,0.94);
    color: var(--ink);
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 10px -4px rgba(28,24,16,0.3);
  }
  .ev-days { left: 14px; }
  .ev-spots { right: 14px; }
  .ev-spots.tight { background: var(--terracotta); color: var(--cream); }

  /* ===== FEATURED card — magazine hero spread ===== */
  .ev-card.ev-featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 480px;
  }
  .ev-featured-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--cream-2);
    min-height: 360px;
  }
  .ev-featured-body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }
  .ev-featured-date {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 22px;
  }
  .ev-featured-date .d {
    font-family: var(--display);
    font-size: 56px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 0.95;
  }
  .ev-featured-date .m {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cedar-deep);
  }
  .ev-featured-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cedar-deep);
    margin-bottom: 10px;
  }
  .ev-featured-title {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin-bottom: 14px;
  }
  .ev-featured-title em {
    font-style: italic;
    color: var(--cedar);
    font-variation-settings: "opsz" 144, "SOFT" 100;
  }
  .ev-featured-lead {
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
    font-style: italic;
    margin-bottom: 26px;
    font-weight: 400;
  }
  /* host block — central feature of the card */
  .ev-featured-host {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
  }
  .ev-featured-host-text {
    flex: 1;
    line-height: 1.3;
  }
  .ev-featured-host-led-by {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
  }
  .ev-featured-host-name-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .ev-featured-host-name-row .ev-host-name {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    color: var(--cedar);
    letter-spacing: -0.005em;
  }
  .ev-featured-host-cred {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
  }
  /* big host avatar in featured card */
  .ev-host-av.ev-host-av-lg {
    width: 56px; height: 56px;
  }
  .ev-host-av.ev-host-av-lg::after { inset: -5px; filter: blur(8px); opacity: 0.65; }
  .ev-host-av.ev-host-av-lg.fallback::before {
    font-size: 22px; border-width: 2px;
  }
  .ev-featured-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .ev-featured-where {
    font-size: 13px;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }
  .ev-featured-where b { color: var(--ink); font-weight: 600; }
  .ev-featured-price {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    font-size: 24px;
    letter-spacing: -0.01em;
    flex-shrink: 0;
  }

  /* ===== SECONDARY events row ===== */
  .ev-secondary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ev-more { text-align: center; margin-top: 26px; }
  .find-more { text-align: center; margin-top: 32px; }
  .find-more-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: 13px; }
  .ev-more-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; font-weight: 700; }
  .ev-card.ev-secondary {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 0;
  }
  .ev-sec-photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--cream-2);
  }
  .ev-sec-photo .ev-days {
    top: 8px; left: 8px;
    font-size: 9.5px;
    padding: 4px 8px;
    letter-spacing: 0.06em;
  }
  .ev-sec-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 14px;
    padding: 16px 16px 14px;
  }
  .ev-sec-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-right: 14px;
    border-right: 1px solid var(--line);
    min-width: 40px;
  }
  .ev-sec-date .d {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .ev-sec-date .m {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cedar-deep);
    margin-top: 4px;
  }
  .ev-sec-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
  }
  .ev-sec-title {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.005em;
  }
  .ev-sec-type {
    font-size: 11.5px;
    color: var(--muted);
  }
  .ev-sec-host {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11.5px;
  }
  .ev-sec-host .ev-host-name { font-size: 11.5px; }
  .ev-sec-foot {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .ev-sec-price {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    font-size: 15px;
    letter-spacing: -0.005em;
  }
  .ev-sec-spots {
    font-size: 10px;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
  }
  .ev-sec-spots.tight { color: var(--terracotta); }
  /* compact secondary cards: uniform height, no empty space */
  .ev-secondary-row { gap: 14px; }
  .ev-card.ev-secondary { grid-template-columns: 112px 1fr; }
  .ev-sec-body { padding: 12px 14px 11px; gap: 0 12px; }
  .ev-sec-date { padding-right: 12px; min-width: 36px; }
  .ev-sec-date .d { font-size: 22px; }
  .ev-sec-info { gap: 2px; }
  .ev-sec-title, .ev-sec-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ev-sec-host { margin-top: 3px; }
  .ev-sec-foot { padding-top: 5px; }
  .ev-sec-price { font-size: 14px; }
  .ev-card.ev-featured { min-height: 400px; }
  .ev-featured-body { padding: 32px 38px; }
  @media (max-width: 640px) {
    .ev-featured-body { padding: 24px 22px; }
    .ev-sec-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.4em; }
  }

  /* shared host avatar (sized via class modifier) */
  .ev-host-av {
    width: 24px; height: 24px; border-radius: 50%;
    overflow: visible; flex-shrink: 0;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    isolation: isolate;
  }
  .ev-host-av::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;
    /* glow ring OUTSIDE the avatar — matches the testimonials */
    -webkit-mask: radial-gradient(circle closest-side, transparent 80%, #000 100%);
    mask: radial-gradient(circle closest-side, transparent 80%, #000 100%);
    animation: aura-spin 14s linear infinite;
    pointer-events: none;
  }
  .ev-host-av img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    border-radius: 50%;
    background: var(--cedar);
    border: 1.5px solid var(--paper);
  }
  .ev-host-av.fallback::before {
    content: attr(data-initial);
    color: var(--cream); font-family: var(--display); font-weight: 500; font-size: 11px;
    width: 100%; height: 100%;
    background: var(--cedar);
    border-radius: 50%;
    border: 1.5px solid var(--paper);
    display: flex; align-items: center; justify-content: center;
  }
  .ev-host-name { color: var(--cedar); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.2s; }
  .ev-host-name:hover { color: var(--cedar-deep); border-bottom-color: var(--cedar-deep); }
  .ev-host-name.plain { color: var(--ink-soft); cursor: default; }
  .ev-host-text { line-height: 1.35; min-width: 0; flex: 1; }
  .ev-host .verify-badge.ev-verify,
  .ev-featured-host-name-row .verify-badge.ev-verify,
  .ev-sec-host .verify-badge.ev-verify { width: 14px; height: 14px; margin-left: 2px; color: var(--sage); }
  .ev-host .verify-badge.ev-verify svg,
  .ev-featured-host-name-row .verify-badge.ev-verify svg,
  .ev-sec-host .verify-badge.ev-verify svg { width: 14px; height: 14px; }
  .ev-host-cred { color: var(--muted); font-size: 12px; }
  .ev-where-ico {
    width: 14px; height: 14px;
    color: var(--cedar-deep);
    flex-shrink: 0;
  }
  .ev-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; }
  #eventTabs { margin-top: 40px; margin-bottom: 0; }
  #eventShowcase { margin-top: 20px; }@media (max-width: 1024px){
    .ev-card.ev-featured { grid-template-columns: 1fr; min-height: 0; }
    .ev-featured-photo { min-height: 280px; }
    .ev-featured-body { padding: 28px 26px; }
    .ev-featured-date .d { font-size: 44px; }
    .ev-featured-title { font-size: 24px; }
    .ev-secondary-row { grid-template-columns: repeat(2, 1fr); }
    .ev-secondary-row .ev-card:nth-child(n+7) { display: none; }   /* tablet + mobile: 3 rows max (6 cards) */
  }@media (max-width: 640px){
    .ev-secondary-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ev-featured-body { padding: 24px 22px; }
    .ev-featured-date .d { font-size: 36px; }
    .ev-featured-title { font-size: 22px; }
    .ev-featured-lead { font-size: 14.5px; }
    .ev-card.ev-secondary { grid-template-columns: 1fr; }
    .ev-sec-photo { min-height: 96px; }
    .ev-sec-body { padding: 12px 12px 13px; gap: 0 10px; }
  }
  /* ====== cities ====== */
  .cities-nav {
    display: flex; gap: 10px;
    justify-content: flex-end;
    margin: 18px 0 16px;
  }
  .cities-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .cities-arrow svg { width: 18px; height: 18px; }
  .cities-arrow:hover:not(:disabled) {
    background: var(--ink); color: var(--cream); border-color: var(--ink);
    transform: translateY(-2px);
  }
  .cities-arrow:disabled { opacity: 0.3; cursor: default; }
  .cities-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 12px 0 52px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cities-grid::-webkit-scrollbar { height: 0; display: none; }
  .city-tile {
    flex: 0 0 240px;
    scroll-snap-align: start;
    aspect-ratio: 4/5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .city-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -20px rgba(28, 24, 16, 0.22); }
  .city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
  .city-tile:hover img { transform: scale(1.08); }
  /* frame: the site's gold line right around each tile */
  .city-tile { box-shadow: 0 0 0 2px #E9C98F, 0 18px 34px -22px rgba(28, 24, 16, 0.5); }
  .city-tile:hover { box-shadow: 0 0 0 2px #C9953E, 0 30px 50px -20px rgba(28, 24, 16, 0.25); }
  html.sg-dark .city-tile { box-shadow: 0 0 0 2px #E9C98F; }
  html.sg-dark .city-tile:hover { box-shadow: 0 0 0 2px #F2D9A8; }
  @media (prefers-reduced-motion: reduce) { .city-tile::before { transition: none; } }
  .city-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28, 24, 16, 0.8) 0%, rgba(28, 24, 16, 0.52) 18%, rgba(28, 24, 16, 0.28) 38%, rgba(28, 24, 16, 0.1) 60%, transparent 85%);
  }
  .city-tile .label {
    position: absolute;
    bottom: 16px; left: 18px; right: 56px;
    color: var(--cream);
    z-index: 2;
  }
  .city-tile .label h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.015em;
    line-height: 1.05;
  }
  .city-tile .label .count {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 6px;
    font-weight: 600;
    opacity: 0.85;
  }
  .city-tile .arrow {
    position: absolute;
    bottom: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    opacity: 0; transform: translateY(6px);
    transition: all 0.3s;
  }
  .city-tile:hover .arrow { opacity: 1; transform: translateY(0); }
  .city-tile .label .cc-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .city-tile .label .cc-pill {
    display: inline-flex; align-items: baseline; gap: 5px;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(251, 247, 238, 0.16); border: 1px solid rgba(251, 247, 238, 0.28);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 11px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; white-space: nowrap;
  }
  .city-tile .label .cc-pill b { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0; }
  /* city counts: face stack + plain counts */
  #cities .city-tile .label .cc-counts { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(233, 201, 143, 0.35); }
  #cities .city-tile .label .cc-avs { display: inline-flex; flex: none; }
  #cities .city-tile .label .cc-av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; margin-left: -9px; box-sizing: border-box;
    border: 1px solid #E9C98F; background: center / cover no-repeat; color: #FBF7EE; font: 500 12px/1 var(--display); box-shadow: 0 4px 10px -4px rgba(0,0,0,.5); transition: transform .3s ease; }
  #cities .city-tile .label .cc-av:first-child { margin-left: 0; }
  #cities .city-tile .label .cc-more { background: #E9C98F; color: #1C1810; font: 700 10.5px/1 var(--sans); letter-spacing: -.01em; }
  #cities .city-tile:hover .cc-av:nth-child(2) { transform: translateX(2px); } #cities .city-tile:hover .cc-av:nth-child(3) { transform: translateX(4px); }
  #cities .city-tile:hover .cc-av:nth-child(4) { transform: translateX(6px); } #cities .city-tile:hover .cc-av:nth-child(5) { transform: translateX(8px); }
  #cities .city-tile .label .cc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font: 500 12px/1.2 var(--sans); color: rgba(251, 247, 238, 0.82); white-space: nowrap; }
  #cities .city-tile .label .cc-txt b { font: 600 14px/1 var(--display); color: #FBF7EE; }
  @media (max-width: 520px) { #cities .city-tile .label .cc-av { width: 24px; height: 24px; font-size: 11px; margin-left: -8px; } #cities .city-tile .label .cc-av:first-child { margin-left: 0; } #cities .city-tile .label .cc-counts { gap: 8px; } }
  @media (prefers-reduced-motion: reduce) { #cities .city-tile .label .cc-av { transition: none; } }
  @media (max-width: 520px) {
    .city-tile .label .cc-pill { padding: 4px 8px; font-size: 10.5px; }
    .city-tile .label .cc-pill b { font-size: 13px; }
  }
  .city-tile .arrow svg { width: 14px; height: 14px; }
  /* cities — drifting marquee (like the testimonials) */
  .cities-marquee {
    position: relative; overflow: hidden;
    margin-top: 18px;
  }
  .cities-marquee .city-tile .label { right: 14px; }
  .cities-marquee .city-tile .arrow { top: 14px; bottom: auto; }
  .city-tile .label .cc-counts { gap: 5px; }
  .city-tile .label .cc-pill { padding: 4px 8px; font-size: 10.5px; }
  .city-tile .label .cc-pill b { font-size: 13px; }
  .cities-marquee .cities-grid {
    overflow: visible; width: max-content; scroll-snap-type: none;
    padding: 12px 14px 40px 0;   /* trailing gap so the -50% loop lands exactly */
    animation: drift-left 46s linear infinite;
  }
  .cities-marquee:hover .cities-grid,
  .cities-marquee.is-paused .cities-grid,
  .cities-marquee:focus-within .cities-grid { animation-play-state: paused; }
  /* the arrows also steer the drifting row (it jumps a card left or right, then keeps drifting) */
  @media (max-width: 820px) {
    .cities-marquee .cities-grid { animation-duration: 38s; }
    .city-tile .label .cc-pill { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(28, 24, 16, 0.38); }
  }
  @media (max-width: 520px) {
    .cities-marquee .city-tile { flex-basis: 172px; }
    .city-tile .label { left: 14px; bottom: 14px; right: 14px; }
    .city-tile .label h3 { font-size: 19px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .cities-marquee { overflow-x: auto; }
    .cities-marquee .cities-grid { animation: none; }
  }

  /* ====== testimonials ====== */
  .testimonials {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  /* ====== testimonials — drifting marquee ====== */
  .test-marquee {
    position: relative;
    margin-top: 8px;
  }
  .test-marquee::before, .test-marquee::after {
    content: "";
    position: absolute; top: 0; bottom: 0;
    width: 90px; z-index: 3; pointer-events: none;
  }
  .test-marquee::before { left: 0; background: linear-gradient(90deg, var(--cream-2), transparent); }
  .test-marquee::after { right: 0; background: linear-gradient(270deg, var(--cream-2), transparent); }

  .test-row {
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 12px 0;
  }
  .test-row.row-a { animation: drift-left 56s linear infinite; }
  .test-row.row-b { animation: drift-right 56s linear infinite; margin-top: 4px; }
  .test-marquee:hover .test-row { animation-play-state: paused; }@keyframes drift-left{
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }@keyframes drift-right{
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
  }@media (prefers-reduced-motion: reduce){
    .test-row { animation: none !important; flex-wrap: wrap; width: 100%; justify-content: center; }
  }

  .test-card {
    flex-shrink: 0;
    width: 340px;
    background: var(--paper);
    border-radius: 14px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -24px rgba(28,24,16,0.35);
    border-color: var(--line-strong);
  }
  .test-card .stars {
    display: flex; gap: 2px;
    margin-bottom: 12px;
    color: var(--ochre);
  }
  .test-card .stars svg { width: 13px; height: 13px; }
  .test-card .quote {
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--ink);
    font-weight: 400;
  }
  .test-card .author {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 12px;
  }
  .test-card .avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--cedar);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--display);
    font-weight: 500;
    font-size: 15px;
    flex-shrink: 0;
    position: relative;
    border: 1px solid #fff;
    isolation: isolate;
  }
  .test-card .avatar::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
      #BB5E3C, #D6A45D, #E1C85A, #738B5F, #4A5D4F, #6E8CB4, #966EAA, #BB5E3C);
    filter: blur(6px);
    opacity: 0.6;
    z-index: -1;
    /* keep the aura as a glow ring OUTSIDE the avatar — don't cover the icon */
    -webkit-mask: radial-gradient(circle closest-side, transparent 80%, #000 100%);
    mask: radial-gradient(circle closest-side, transparent 80%, #000 100%);
    animation: aura-spin 14s linear infinite;
    pointer-events: none;
  }
  .test-card .avatar.a2 { background: var(--sage); }
  .test-card .avatar.a3 { background: var(--terracotta); }
  .test-card .avatar.a4 { background: var(--ochre); color: var(--ink); }
  .test-card .avatar.a5 { background: var(--leaf); }
  .test-card .avatar.a6 { background: var(--cedar-deep); }
  .test-card .avatar.a2::after { animation-delay: -0.7s, -2s; }
  .test-card .avatar.a3::after { animation-delay: -1.4s, -4s; }
  .test-card .avatar.a4::after { animation-delay: -2.1s, -6s; }
  .test-card .avatar.a5::after { animation-delay: -2.8s, -8s; }
  .test-card .avatar.a6::after { animation-delay: -3.5s, -10s; }
  .test-card .author-info b {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
  }
  .test-card .author-info .name-row {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
  }
  .test-card .author-info .name-row b { display: inline; }
  .test-card .author-info small {
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-top: 3px;
  }
  .verified-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px;
    color: var(--sage);
    font-weight: 600;
    white-space: nowrap;
  }
  .verified-tag svg { width: 10px; height: 10px; }

  /* ====== instagram feed — clean photo row ====== */
  .insta {
    background: var(--cream);
    border-top: 1px solid var(--line);
    overflow: hidden;
  }
  .insta-follow {
    display: inline-flex; align-items: center; gap: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 18px 14px 16px;
    box-shadow: 0 18px 36px -20px rgba(28,24,16,0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
    margin-bottom: 28px;
  }
  .insta-follow:hover { transform: translateY(-3px); border-color: var(--line-strong); }

  /* ===== Instagram profile aura — rotating rainbow ring + soft outer halo glow =====
     Three stacked layers around the profile pic:
       .ig-aura-halo  — blurred, low-opacity outer glow that "breathes" (pulses)
       .ig-aura-spin  — visible conic-gradient ring that slowly rotates
       <img>          — the actual profile photo, masked into a circle on top
     Honors prefers-reduced-motion. */
  .insta-follow .ig-ring {
    position: relative;
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: 50%;
  }
  /* The visible rotating rainbow ring sits just behind the avatar */
  .insta-follow .ig-aura-spin {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
      #F58529 0%,
      #FEDA77 14%,
      #DD2A7B 33%,
      #962FBF 55%,
      #4F5BD5 75%,
      #515BD4 90%,
      #F58529 100%);
    animation: ig-aura-spin 8s linear infinite;
    z-index: 1;
  }
  /* The blurred outer halo — sits behind the spin ring, drifts at a different speed */
  .insta-follow .ig-aura-halo {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
      rgba(245, 133, 41, 0.55),
      rgba(221, 42, 123, 0.55),
      rgba(150, 47, 191, 0.55),
      rgba(79, 91, 213, 0.55),
      rgba(245, 133, 41, 0.55));
    filter: blur(14px);
    opacity: 0.7;
    animation: ig-aura-spin 14s linear infinite reverse, ig-aura-breathe 4.6s ease-in-out infinite;
    z-index: 0;
  }
  /* The avatar image — sits flush on top of the rainbow ring. The visible rainbow
     is exactly 2px wide all around: the spin layer extends 2px beyond the 52px ring
     container (inset: -2px → 56px disc), and the image fills the container (52px),
     leaving (56-52)/2 = 2px of rainbow visible. No paper border at this thickness —
     it would fight the slim ring. */
  .insta-follow .ig-ring img {
    position: relative;
    z-index: 2;
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ink);
    display: block;
  }@keyframes ig-aura-spin{
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }@keyframes ig-aura-breathe{
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 0.85; transform: scale(1.08); }
  }
  /* Honor reduced motion — keep the aura visible (color is part of the design) but stop the motion */
  @media (prefers-reduced-motion: reduce) {
    .insta-follow .ig-aura-spin,
    .insta-follow .ig-aura-halo {
      animation: none;
    }
    .insta-follow .ig-aura-halo {
      opacity: 0.6;
    }
  }
  /* On hover, the aura brightens — small acknowledgement of the user's attention */
  .insta-follow:hover .ig-aura-halo {
    opacity: 0.95;
  }
  /* end Instagram profile aura */
  .insta-follow .ig-meta .ig-handle { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .insta-follow .ig-meta .ig-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
  .insta-follow .ig-btn {
    margin-left: 8px;
    background: var(--ink); color: var(--cream);
    font-size: 14px; font-weight: 600;
    padding: 11px 22px; border-radius: 999px;
    transition: background 0.2s ease;
  }
  .insta-follow .ig-btn:hover { background: var(--cedar-deep); }
  .insta-row {
    display: flex; gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 22px 0 44px;
    align-items: center;
    justify-content: center;
  }
  /* on narrow viewports where tiles overflow, fall back to left alignment so scrolling works naturally */
  @media (max-width: 1100px) {
    .insta-row { justify-content: flex-start; }
  }
  .insta-row::-webkit-scrollbar { height: 0; display: none; }
  .insta-tile {
    position: relative;
    flex: 0 0 auto;
    width: 240px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--cream-2);
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.35s ease;
    will-change: transform;
    /* 1px rainbow border — Instagram brand gradient ring around each tile */
    border: 1px solid transparent;
    background-image:
      linear-gradient(var(--cream), var(--cream)),
      linear-gradient(135deg, #F58529 0%, #DD2A7B 35%, #8134AF 70%, #515BD4 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
  }
  .insta-tile img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }
  /* hover: tile lifts forward — softer warm shadow that blends with the cream background */
  .insta-tile:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(58, 51, 38, 0.15);
    z-index: 2;
  }
  .insta-tile:hover img { transform: scale(1.06); }
  /* atmospheric rainbow hue that blends with the photo — soft tint, not a wash */
  .insta-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
      #F58529 0%,
      #DD2A7B 35%,
      #8134AF 70%,
      #515BD4 100%);
    mix-blend-mode: soft-light;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
  /* secondary subtle dim layer so the glyph still reads against busy photos */
  .insta-tile::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(28,24,16,0.28) 0%, rgba(28,24,16,0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
  }
  .insta-tile:hover::after { opacity: 0.78; }
  .insta-tile:hover::before { opacity: 1; }
  .insta-tile .ig-overlay-glyph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
  }
  .insta-tile .ig-overlay-glyph svg {
    width: 68px; height: 68px;
    color: rgba(250, 246, 236, 0.92);
  }
  .insta-tile:hover .ig-overlay-glyph {
    opacity: 0.78;
    transform: scale(1);
  }
  /* slightly varied heights so it reads like an organic post strip */
  .insta-tile.h1 { height: 300px; }
  .insta-tile.h2 { height: 320px; }
  .insta-tile.h3 { height: 285px; }

  /* ====== final cta ====== */
  #events {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .final-cta {
    text-align: center;
    padding: 140px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .fc-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
  }
  .fc-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(28,24,16,0.52) 0%, rgba(28,24,16,0.60) 55%, rgba(28,24,16,0.72) 100%);
  }
  .final-cta .wrap { position: relative; z-index: 2; }
  .final-cta h2 { color: #FBF7EE; }
  .final-cta .sub { color: #fff; }
  @media (prefers-reduced-motion: reduce) {
    .fc-video { display: none; }
    .final-cta { background-image: url('/images/cta/sanctuary-ground-meditation-poster.jpg'); background-size: cover; background-position: center; }
  }
  .final-cta .sun {
    position: absolute;
    width: 720px; height: 720px;
    top: -360px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(214, 164, 93, 0.25) 0%, transparent 60%);
    pointer-events: none;
  }
  .final-cta h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.025em;
    max-width: 900px; margin: 0 auto;
    position: relative; z-index: 2;
  }
  .final-cta h2 em { font-style: italic; color: var(--cedar); font-variation-settings: "opsz" 144, "SOFT" 100; }
  .final-cta .sub {
    margin-top: 24px;
    font-size: 17px;
    color: #fff;
    max-width: 560px; margin-left: auto; margin-right: auto;
    position: relative; z-index: 2;
  }
  .final-cta .btns {
    margin-top: 40px;
    display: flex; justify-content: center; gap: 14px;
    position: relative; z-index: 2;
  }
  .final-cta .btn { padding: 14px 28px; font-size: 14px; }

  /* ====== footer ====== */
  footer {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 0 40px;
  }
  /* ===== footer breath row — quiet box-breath invitation ===== */
  .breath-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 8px 0 32px;
    flex-wrap: wrap;
  }
  .breath-invite {
    font-family: var(--display);
    font-size: 17px;
    color: rgba(242, 235, 221, 0.7);
    margin: 0;
    letter-spacing: 0.005em;
  }
  .breath-invite em {
    font-style: italic;
    color: rgba(242, 235, 221, 0.88);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .breath-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  .breath-circle:hover { transform: scale(1.04); }
  .breath-circle:focus-visible {
    outline: 2px solid rgba(214, 164, 93, 0.6);
    outline-offset: 6px;
    border-radius: 50%;
  }
  .breath-ring {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1.5px solid rgba(242, 235, 221, 0.35);
    background: radial-gradient(circle at center,
      rgba(138, 90, 55, 0.15) 0%,
      rgba(74, 93, 79, 0.08) 50%,
      transparent 75%);
    transform: scale(0.55);
    transition: transform 4s cubic-bezier(0.4, 0, 0.4, 1), border-color 4s ease;
  }
  .breath-dot {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(242, 235, 221, 0.4);
    transition: background 0.6s ease, transform 0.6s ease;
  }
  .breath-circle.breath-in .breath-ring {
    transform: scale(1);
    border-color: rgba(214, 164, 93, 0.55);
  }
  .breath-circle.breath-hold-full .breath-ring {
    transform: scale(1);
    border-color: rgba(214, 164, 93, 0.55);
    transition: transform 0s linear, border-color 0s linear;
  }
  .breath-circle.breath-out .breath-ring {
    transform: scale(0.55);
    border-color: rgba(115, 139, 95, 0.45);
  }
  .breath-circle.breath-hold-empty .breath-ring {
    transform: scale(0.55);
    border-color: rgba(115, 139, 95, 0.35);
    transition: transform 0s linear, border-color 0s linear;
  }
  .breath-circle.breath-in .breath-dot,
  .breath-circle.breath-hold-full .breath-dot {
    background: rgba(214, 164, 93, 0.7);
  }
  .breath-circle.breath-out .breath-dot,
  .breath-circle.breath-hold-empty .breath-dot {
    background: rgba(115, 139, 95, 0.5);
  }

  /* --- enhancements: idle "tap me" pulse + rainbow bloom while breathing --- */
  .breath-invite { cursor: pointer; transition: color 0.3s ease; }
  .breath-row:hover .breath-invite em { color: rgba(242, 235, 221, 1); }
  /* soft pulsing halo, shown only when idle, to signal it's tappable */
  .breath-circle::after {
    content: "";
    position: absolute; inset: 4px;
    border-radius: 50%;
    border: 1.5px solid rgba(214, 164, 93, 0.55);
    opacity: 0;
    pointer-events: none;
    animation: breath-pulse 3s ease-out infinite;
  }
  .breath-circle.breath-running::after { animation: none; opacity: 0; }
  @keyframes breath-pulse {
    0%   { transform: scale(0.62); opacity: 0; }
    22%  { opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 0; }
  }
  /* rainbow aura that blooms and shifts hue while breathing */
  .breath-aura {
    position: absolute; inset: 6px;
    border-radius: 50%;
    background: conic-gradient(from 120deg,
      #d6a45d, #cf7e4e, #bb5e3c, #a86f8f, #6f7fae, #5f9e8c, #b9b06a, #d6a45d);
    filter: blur(8px);
    opacity: 0;
    transform: scale(0.55);
    transition: opacity 1s ease, transform 4s cubic-bezier(0.4, 0, 0.4, 1);
    pointer-events: none;
    z-index: 0;
  }
  .breath-circle.breath-running .breath-aura { animation: breath-hue 6s linear infinite; }
  .breath-circle.breath-in .breath-aura,
  .breath-circle.breath-hold-full .breath-aura { transform: scale(1.02); opacity: 0.6; }
  .breath-circle.breath-out .breath-aura,
  .breath-circle.breath-hold-empty .breath-aura { transform: scale(0.55); opacity: 0.42; }
  @keyframes breath-hue {
    from { filter: blur(8px) hue-rotate(0deg); }
    to   { filter: blur(8px) hue-rotate(360deg); }
  }
  /* play hint in the centre while idle — signals "tap to start", fades out once breathing */
  .breath-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(214, 164, 93, 0.8);
    z-index: 2; pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .breath-play svg { width: 15px; height: 15px; margin-left: 2px; }
  .breath-circle.breath-running .breath-play { opacity: 0; transform: scale(0.6); }
  @media (prefers-reduced-motion: reduce) {
    .breath-circle::after { animation: none; opacity: 0; }
    .breath-circle.breath-running .breath-aura { animation: none; }
  }
  .breath-status {
    font-family: var(--display);
    font-size: 14px;
    color: rgba(242, 235, 221, 0.55);
    margin: 0;
    min-width: 95px;
    font-style: italic;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
  }
  .breath-status.is-active { color: rgba(242, 235, 221, 0.85); }
  .breath-divider {
    height: 1px;
    background: linear-gradient(to right,
      transparent,
      rgba(138, 90, 55, 0.18) 30%,
      rgba(138, 90, 55, 0.18) 70%,
      transparent);
    margin: 0 auto 40px;
    max-width: 480px;
  }@media (prefers-reduced-motion: reduce){
    .breath-ring, .breath-dot { transition: none; }
    .breath-circle.breath-in .breath-ring,
    .breath-circle.breath-hold-full .breath-ring,
    .breath-circle.breath-out .breath-ring,
    .breath-circle.breath-hold-empty .breath-ring { transform: scale(0.78); }
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px 40px;
    margin-bottom: 44px;
    align-items: start;
  }
  /* full-width newsletter band — "breath aura" treatment, ties to the breath-circle motif */
  .foot-news-band { margin: 0 0 40px; }
  .foot-news-band .foot-news {
    position: relative; isolation: isolate; overflow: hidden;
    background: rgba(242,235,221,0.05);
    border: 1px solid rgba(242,235,221,0.12);
    border-radius: 22px;
    padding: 30px 40px 28px;
    max-width: none;
    margin-inline: auto;
    text-align: center;
  }
  /* soft rainbow aura glowing behind the headline (same conic palette as the breath circle) */
  .foot-news-band .news-aura {
    position: absolute; top: -40px; left: 50%; transform: translateX(-50%) scale(1);
    width: 460px; height: 200px; border-radius: 50%;
    background: conic-gradient(from 120deg, #d6a45d, #cf7e4e, #bb5e3c, #a86f8f, #6f7fae, #5f9e8c, #b9b06a, #d6a45d);
    filter: blur(58px); opacity: 0.26; z-index: -1; pointer-events: none;
    animation: news-aura-breathe 9s ease-in-out infinite, breath-hue 14s linear infinite;
  }
  .foot-news-band .foot-news:hover .news-aura { opacity: 0.36; }
  @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 */
  .foot-news-band .news-aura-dot {
    display: block; width: 26px; height: 26px; margin: 0 auto 16px; position: relative;
    border-radius: 50%; border: 1.5px solid rgba(214,164,93,0.5);
  }
  .foot-news-band .news-aura-dot::after {
    content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ochre);
    animation: news-dot-pulse 9s ease-in-out infinite;
  }
  @keyframes news-dot-pulse { 0%,100% { transform: scale(0.8); opacity: 0.65; } 50% { transform: scale(1); opacity: 1; } }
  .foot-news-band .news-eyebrow {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
    color: var(--ochre); margin-bottom: 12px; text-decoration: none;
  }
  .foot-news-band .news-headline {
    font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 34px);
    line-height: 1.12; letter-spacing: -0.01em; color: var(--cream); margin: 0 auto;
  }
  .foot-news-band .news-headline em { font-style: italic; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
  .foot-news-band .news-intro {
    margin: 12px auto 0; max-width: 440px;
    font-size: 14px; color: rgba(242,235,221,0.62);
  }
  /* pill field with the Send arrow tucked inside as a circle */
  .foot-news-band .news-fields {
    display: flex; align-items: center; gap: 8px;
    max-width: 460px; margin: 26px auto 0;
    background: rgba(242,235,221,0.06);
    border: 1px solid rgba(242,235,221,0.2);
    border-radius: 999px; padding: 6px 6px 6px 22px;
    transition: border-color 0.25s ease, background 0.25s ease;
  }
  .foot-news-band .news-fields:focus-within { border-color: rgba(242,235,221,0.45); background: rgba(242,235,221,0.09); }
  .foot-news-band .foot-news input {
    flex: 1; min-width: 0; margin: 0; border: none; background: transparent;
    color: var(--cream); font-size: 15px; text-align: left; padding: 10px 0;
  }
  .foot-news-band .foot-news input:focus { outline: none; border: none; }
  .foot-news-band .foot-news .btn {
    width: 44px; height: 44px; flex-shrink: 0; padding: 0;
    border-radius: 50%; background: var(--cream); color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 0;
    box-shadow: 0 2px 14px rgba(0,0,0,0.22);
  }
  .foot-news-band .foot-news .btn:hover { background: var(--ochre); transform: translateY(-1px); }
  .foot-news-band .foot-news .btn svg { transition: transform 0.25s ease; }
  .foot-news-band .foot-news .btn:hover svg { transform: translateX(2px); }
  .foot-news-band .foot-news .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  .foot-news-band .foot-news small { display: block; margin-top: 18px; font-size: 10px; letter-spacing: 0.2px; }
  /* Desktop only: tighten the newsletter band height and shrink its content */
  @media (min-width: 1025px) {
    .foot-news-band .foot-news { padding: 14px 40px 14px; }
    .foot-news-band .news-aura-dot { width: 16px; height: 16px; margin-bottom: 6px; }
    .foot-news-band .news-eyebrow { margin-bottom: 4px; font-size: 10px; }
    .foot-news-band .news-headline { font-size: 22px; }
    .foot-news-band .news-intro { margin-top: 4px; font-size: 12.5px; }
    .foot-news-band .news-fields { margin-top: 12px; padding: 4px 4px 4px 20px; }
    .foot-news-band .foot-news .btn { width: 38px; height: 38px; }
    .foot-news-band .foot-news small { margin-top: 10px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .foot-news-band .news-aura, .foot-news-band .news-aura-dot::after { animation: none; }
  }
  .foot-brand-col { max-width: 360px; grid-column: auto; }
  .foot-brand {
    margin-bottom: 16px;
    display: flex; align-items: center;
  }
  .foot-brand-img {
    display: block;
    width: 204px;
    max-width: 100%;
    aspect-ratio: 299 / 94;
    /* logo recolored to match the breath-invite text color */
    background-color: rgba(242, 235, 221, 0.88);
    -webkit-mask: url("/images/x/3b5f7e09e6861173.png") no-repeat center / contain;
    mask: url("/images/x/3b5f7e09e6861173.png") no-repeat center / contain;
  }
  .foot-tag {
    font-size: 11px;
    color: rgba(242, 235, 221, 0.7);
    line-height: 1.55;
    max-width: 340px;
  }
  .foot-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
  }
  .foot-social a {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    background: var(--cream);
    border: none;
    opacity: 0.95;
  }
  .foot-social a:hover {
    color: var(--cream);
    transform: translateY(-1px);
    opacity: 1;
  }
  .foot-social svg { width: 13px; height: 13px; }
  .foot-col h5 {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 18px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
  }
  .foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a {
    color: rgba(242, 235, 221, 0.75);
    font-size: 14px;
    transition: color 0.2s;
  }
  .foot-col a:hover { color: var(--cream); }
  /* Desktop only: smaller footer link columns */
  @media (min-width: 1025px) {
    .foot-col h5 { font-size: 10px; margin-bottom: 14px; }
    .foot-col a { font-size: 12.5px; }
    .foot-col ul { gap: 8px; }
  }
  .foot-bottom {
    border-top: 1px solid rgba(242, 235, 221, 0.14);
    padding-top: 28px;
    display: flex; justify-content: center; align-items: center;
    font-size: 11px;
    color: rgba(242, 235, 221, 0.55);
  }
  .foot-bottom a:hover { color: var(--cream); }
  .disclaim {
    font-size: 9px;
    color: rgba(242, 235, 221, 0.4);
    margin-top: 24px;
    margin-bottom: 32px;
    line-height: 1.55;
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
    font-weight: 700;
    font-style: italic;
  }

  /* ====== responsive ====== */
  @media (max-width: 1280px) {
    .listings { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 1024px) {
    footer { padding: 64px 0 36px; }
    /* hero is now a full-bleed listing image; the old right-side collage is gone */
    .listings { grid-template-columns: repeat(4, 1fr); }  /* keep 4 across on laptops / zoomed desktops */
    .compass-tile { flex-basis: 224px; }
    .city-tile { flex-basis: 200px; }
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    /* tablet footer: brand on top spanning full width, then link columns below */
    .foot-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 40px 32px;
      margin-bottom: 44px;
    }
    .foot-brand-col { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid rgba(242,235,221,0.12); text-align: center; }
    .foot-brand-col .foot-tag { max-width: 420px; margin-left: auto; margin-right: auto; }
    .foot-brand-col .foot-brand { justify-content: center; }
    .foot-brand-col .foot-social { justify-content: center; }
    /* center the link columns on tablet to match the brand block */
    .foot-col { text-align: center; }
    .foot-col ul { align-items: center; }
    .foot-news-band .foot-news {
      padding: 26px 28px;
    }
    .nav-links { display: none; }
  }
  @media (max-width: 860px) { .listings { grid-template-columns: repeat(3, 1fr); } }
  /* desktop only: 5 across (3 rows of 5). Below desktop, keep 12 cards so rows stay full */
  @media (min-width: 1200px) { #homeListings { grid-template-columns: repeat(6, 1fr); } }
  @media (max-width: 1199px) { #homeListings > .card:nth-child(n+13) { display: none; } }
  @media (max-width: 640px){
    .breath-row { gap: 16px; padding: 4px 0 24px; }
    .breath-invite { font-size: 15px; }
    .breath-circle { width: 64px; height: 64px; }
    .breath-status { font-size: 13px; min-width: 0; }
    .listings { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-body { padding: 12px 12px 14px; }
    .card-meta-top { margin-bottom: 6px; }
    .card-modality { font-size: 9.5px; letter-spacing: 0.1em; }
    .card-rating { font-size: 12px; }
    .card-rating svg { width: 12px; height: 12px; }
    .card h3 { font-size: 14.5px; line-height: 1.16; }
    .card-by { font-size: 11px; margin-top: 6px; gap: 6px; }
    .card-by .by-avatar { width: 22px; height: 22px; }
    .card-availability { font-size: 10.5px; padding: 4px 9px; margin-top: 8px; gap: 6px; }
    .card-foot { margin-top: 12px; padding-top: 10px; }
    .card-loc { font-size: 11px; }
    .card-loc svg { width: 14px; height: 14px; }
    .card-price { font-size: 12px; }
    .compass-tile { flex-basis: 240px; }
    .section-head .right .link { font-size: 11px; }
    .type-btn { padding: 34px 26px; min-height: 152px; gap: 18px; }
    .type-btn .tb-icon { width: 60px; height: 60px; }
    .type-btn .tb-icon svg { width: 28px; height: 28px; }
    .type-btn .tb-text .tb-label { font-size: 30px; }
    .type-btn .tb-text .tb-sub { font-size: 14px; }
    .filter-tabs { display: none; }
    .filter-dropdown { display: block; max-width: none; }
    .insta-tile { width: 200px; }
    .insta-tile.h1 { height: 240px; }
    .insta-tile.h2 { height: 260px; }
    .insta-tile.h3 { height: 225px; }
    .insta-tile .ig-overlay-glyph svg { width: 54px; height: 54px; }
    .search-bar { flex-direction: column; gap: 4px; }    .search-combo { border-right: none; border-bottom: 1px solid var(--line); }
    .search-combo .combo-panel { max-width: 100%; width: 100%; }
    .search-btn {
      width: 100%;
      justify-content: center;
      padding: 16px 32px;
      margin-top: 6px;
      border-radius: 12px;
    }    .nav-cta .btn-ghost { display: none; }
    /* mobile footer: centered brand, 3-up link columns, tidy newsletter card */
    footer { padding: 52px 0 32px; }
    .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; margin-bottom: 36px; }
    .foot-brand-col {
      grid-column: 1 / -1;
      text-align: center;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(242,235,221,0.12);
    }
    .foot-brand { justify-content: center; }
    .foot-tag { max-width: 320px; margin: 0 auto; }
    .foot-social { justify-content: center; margin-top: 20px; }
    .foot-col h5 { margin-bottom: 12px; font-size: 10px; }
    .foot-col a { font-size: 13px; }
    .foot-col ul { gap: 8px; align-items: center; }
    .foot-col { text-align: center; }
    .foot-news-band { margin-bottom: 32px; }
    .foot-news-band .foot-news {
      padding: 32px 22px 28px;
    }
    .foot-news-band .news-fields { max-width: none; }
    .foot-bottom { flex-direction: column; gap: 16px; text-align: center; padding-top: 24px; }
    .foot-bottom > div { flex-wrap: wrap; justify-content: center; max-width: 100%; flex-direction: column; }
    .foot-bottom > div > span:first-child { order: 1; }  /* "Thinks locally, grows consciously." -> top */
    .foot-bottom > div > svg { order: 2; }               /* sun icon -> middle */
    .foot-bottom > div > span:last-child { order: 3; }   /* "© 2026 Sanctuary Ground" -> bottom */
    .disclaim { text-align: center; font-size: 9px; }
    .test-card { width: 280px; padding: 20px; }
    .test-marquee::before, .test-marquee::after { width: 40px; }
    /* Instagram: stack tiles into full-width, wide, rounded boxes (own row each) */
    .insta-row { flex-direction: column; align-items: center; overflow-x: visible; gap: 16px; padding: 8px 0 12px; }
    .insta-tile { width: 100%; border-radius: 32px; }
    .insta-tile.h1, .insta-tile.h2, .insta-tile.h3 { height: 200px; }
  }@media (max-width: 420px){
    .listings { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-body { padding: 12px 11px 14px; }
    .card h3 { font-size: 17px; }
    .card-by { font-size: 12px; }
    .card-by .by-avatar { width: 26px; height: 26px; }
    .card-availability { font-size: 11.5px; padding: 5px 11px; }
    .card-loc, .card-price { font-size: 12.5px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .foot-col { text-align: center; }
    .foot-col ul { align-items: center; }
  }

  /* ====== Mobile scroll stabilization ======
     On phones/tablets, the continuously-animating blur + hue effects (avatar auras,
     the large newsletter glow, drifting background rows) re-rasterize every frame and
     make scrolling feel jittery. We freeze that motion on small/touch screens while
     keeping the static glow, so the page holds still while you scroll. Cheap transform
     marquees and the gentle distance shimmer are left intact. */
  @media (max-width: 820px) {
    .card-by .by-avatar::after,
    .ev-host-av::after,
    .test-card .avatar::after,
    .insta-follow .ig-aura-spin,
    .insta-follow .ig-aura-halo,
    .breath-circle::after,
    .breath-circle .breath-aura,
    .foot-news-band .news-aura,
    .foot-news-band .news-aura-dot,
    .foot-news-band .news-aura-dot::after {
      animation: none !important;
    }
    /* Trim the most expensive blur radii so the static glows are cheaper to paint */
    .foot-news-band .news-aura { filter: blur(28px) !important; }
    /* The sticky header's live backdrop-blur re-blurs the page every scroll frame;
       once scrolled the background is near-opaque, so make it solid (no blur) on
       mobile. At the very top it stays transparent over the hero photo. */
    header.scrolled {
      background: rgba(242, 235, 221, 0.98);
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
    }
  }

  .foot-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(242,235,221,.12); font-size: 13px; }
  .foot-topics span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #EAC894; margin-right: 6px; }
  .foot-topics a { color: rgba(242,235,221,.72); text-decoration: none; }
  .foot-topics a:hover { color: #F2EBDD; text-decoration: underline; }
  @media (max-width: 760px) { .foot-topics { justify-content: center; text-align: center; } .foot-topics span { flex-basis: 100%; margin: 0 0 4px; } }

  /* ===== 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; }
  footer .disclaim { color: rgba(242, 235, 221, 0.7) !important; font-size: 11px !important; }
  .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; }

  .fc-pause { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(251,247,238,.45); background: rgba(28,24,16,.45); color: #FBF7EE; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .fc-pause:hover, .fc-pause:focus-visible { background: rgba(28,24,16,.7); outline: 2px solid #EAC894; outline-offset: 2px; }
  .fc-pause .i-play { display: none; } .fc-pause[aria-pressed="true"] .i-play { display: block; } .fc-pause[aria-pressed="true"] .i-pause { display: none; }
  @media (prefers-reduced-motion: reduce) { .fc-pause { display: none; } }

  .news-unsub { color: inherit !important; text-decoration: underline; text-underline-offset: 2px; }
  .news-unsub:hover, .news-unsub:focus-visible { color: #EAC894 !important; }

  /* ===== Homepage featured cards — compact row design (option C) ===== */
  #homeListings .hc-empty { grid-column: 1 / -1; text-align: center; padding: 44px 16px; color: var(--ink-soft, #3A3326); }
  #homeListings .hc-empty p { margin: 0 0 14px; font-size: 15px; }
  #homeListings .hc-empty a { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--cedar); text-decoration: underline; text-underline-offset: 4px; }
  #homeListings.hc-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
  #homeListings .card.hc {
    display: flex !important; flex-direction: row !important; align-items: center; gap: 16px; min-width: 0 !important; width: auto !important;
    padding: 12px 14px 12px 12px !important; border-radius: 20px !important; min-height: 0 !important; height: auto !important;
    background: var(--paper); border: 1px solid var(--line); overflow: visible !important; position: relative; cursor: pointer;
    box-shadow: 0 0 18px -9px rgba(214,164,93,.28), 0 10px 24px -20px rgba(28,24,16,.25) !important;
    transform: none; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease !important;
    opacity: 0; translate: -18px 0;
  }
  #homeListings.hc-in .card.hc { animation: hcSlide .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 55ms); }
  @keyframes hcSlide { to { opacity: 1; translate: 0 0; } }
  #homeListings .card.hc:hover, #homeListings .card.hc:focus-within {
    transform: translateY(-2px) !important; border-color: rgba(138,90,55,.35);
    box-shadow: 0 0 26px -8px rgba(214,164,93,.42), 0 18px 34px -24px rgba(28,24,16,.45) !important;
  }
  #homeListings .card.hc .card-img.hc-av {
    position: relative; flex: 0 0 86px !important; width: 86px !important; height: 86px !important; aspect-ratio: auto !important;
    border-radius: 26px !important; padding: 3px; overflow: visible !important; background: none !important; margin: 0 !important; border: 0 !important;
  }
  #homeListings .card.hc .hc-av::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: conic-gradient(from var(--hc-a, 0deg), #EAC894, #C8913F, #8A5A37, #A7B89A, #EAC894);
    opacity: 0; transition: opacity .4s ease;
  }
  @property --hc-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
  @keyframes hcSpin { to { --hc-a: 360deg; } }
  #homeListings .card.hc:hover .hc-av::before, #homeListings .card.hc:focus-within .hc-av::before { opacity: 1; animation: hcSpin 3s linear infinite; }
  #homeListings .card.hc .hc-av .card-img-link { position: relative; display: block; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #E7DCC8; }
  #homeListings .card.hc .hc-av img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 23px; padding: 0 !important; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  #homeListings .card.hc:hover .hc-av img { transform: scale(1.06); }
  #homeListings .card.hc .card-img.card-img-logo .card-img-link { background: #fff; display: block !important; }
  #homeListings .card.hc .card-img.card-img-logo img { object-fit: cover !important; border-radius: 23px !important; box-shadow: none !important; border: 0 !important; }
  #homeListings .card.hc .hc-dot { position: absolute; right: -1px; bottom: -1px; z-index: 2; width: 13px; height: 13px; border-radius: 50%; background: #3FBF6A; border: 2px solid var(--paper); box-shadow: 0 0 0 3px rgba(63,191,106,.18); }
  #homeListings .card.hc .hc-tx { min-width: 0; flex: 1; }
  #homeListings .card.hc .hc-meta { font-size: 11.5px; line-height: 1.3; color: var(--muted, #6F6552); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #homeListings .card.hc .hc-meta .cc-cat { color: var(--cedar-deep, #6B4326); font-weight: 700; }
  #homeListings .card.hc .hc-name { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; margin: 3px 0 3px; letter-spacing: -.01em; display: flex; align-items: center; gap: 5px; min-width: 0; }
  #homeListings .card.hc .hc-name .card-title-link { color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  #homeListings .card.hc .hc-name .verify-badge { flex: 0 0 auto; }
  #homeListings .card.hc .hc-desc { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft, #3A3326); white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.8em; }
  #homeListings .card.hc .hc-place { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink-soft, #3A3326); min-width: 0; }
  #homeListings .card.hc .hc-place svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--cedar, #8A5A37); margin-left: -1px; }
  #homeListings .card.hc .hc-place span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  #homeListings .card.hc .hc-arr {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); color: var(--ink); background: transparent; transition: background .3s, color .3s, transform .3s, border-color .3s;
  }
  #homeListings .card.hc:hover .hc-arr, #homeListings .card.hc .hc-arr:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(3px) rotate(-45deg); }
  #homeListings .card.hc .card-save, #homeListings .card.hc .card-dots, #homeListings .card.hc .card-action::before { display: none !important; }
  /* 4 in a row on computers: slightly smaller photo, names can use two lines, no arrow (the whole card is clickable) */
  @media (min-width: 1200px) {
    #homeListings.hc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    #homeListings .card.hc { gap: 13px; padding: 12px 14px 12px 12px !important; }
    #homeListings .card.hc { align-items: stretch !important; gap: 14px; padding: 10px 14px 10px 10px !important; }
    #homeListings .card.hc .card-img.hc-av { flex: 0 0 116px !important; width: 116px !important; height: auto !important; min-height: 116px; align-self: stretch; border-radius: 18px !important; }
    #homeListings .card.hc .hc-av .card-img-link, #homeListings .card.hc .hc-av img, #homeListings .card.hc .card-img.card-img-logo img { border-radius: 15px !important; }
    #homeListings .card.hc .hc-tx { align-self: center; padding: 4px 0; }
    #homeListings .card.hc .hc-name { font-size: 16.5px; line-height: 1.18; }
    #homeListings .card.hc .hc-name .card-title-link { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    #homeListings .card.hc .hc-arr { display: none; }
  }
  @media (max-width: 1199px) { #homeListings.hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
  @media (min-width: 641px) and (max-width: 1199px) {
    #homeListings .card.hc { align-items: stretch !important; padding: 10px 14px 10px 10px !important; }
    #homeListings .card.hc .card-img.hc-av { flex: 0 0 120px !important; width: 120px !important; height: auto !important; min-height: 120px; align-self: stretch; border-radius: 20px !important; }
    #homeListings .card.hc .hc-av .card-img-link, #homeListings .card.hc .hc-av img { border-radius: 17px !important; }
    #homeListings .card.hc .hc-tx, #homeListings .card.hc .hc-arr { align-self: center; }
  }
  @media (max-width: 1199px) { #homeListings .card.hc:nth-child(n+19) { display: none !important; } }   /* tablets & phones keep 18 cards, as before */
  @media (max-width: 640px) {
    #homeListings.hc-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
    #homeListings .card.hc { gap: 13px; padding: 10px 12px 10px 10px !important; border-radius: 18px !important; }
    #homeListings .card.hc .card-img.hc-av { flex-basis: 72px !important; width: 72px !important; height: 72px !important; border-radius: 22px !important; }
    #homeListings .card.hc .hc-av .card-img-link, #homeListings .card.hc .hc-av img { border-radius: 19px !important; }
    #homeListings .card.hc .hc-name { font-size: 16.5px; }
    #homeListings .card.hc .hc-desc { font-size: 12.5px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #homeListings .card.hc { opacity: 1 !important; translate: 0 0 !important; animation: none !important; }
  }

  /* ====== Featured this week ====== */
  .ft { padding-top: 40px; }
  .ft-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 14px; }
  .ft-card { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--ink); color: #FBF7EE; text-decoration: none; isolation: isolate; min-height: 220px; }
  .ft-card.ft-lead { grid-row: span 2; min-height: 460px; }
  .ft-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
  .ft-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,10,0) 30%, rgba(20,16,10,.55) 62%, rgba(20,16,10,.88) 100%); }
  .ft-tx { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
  .ft-card:hover img { transform: scale(1.035); }
  .ft-card:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; }
  .ft-tx { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
  .ft-tx small { font-size: 12.5px; opacity: .86; }
  .ft-tx b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; }
  .ft-lead .ft-tx { left: 28px; right: 28px; bottom: 26px; }
  .ft-lead .ft-tx b { font-size: clamp(30px, 3vw, 42px); }
  .ft-tag { font-size: 15px; line-height: 1.45; opacity: .9; max-width: 460px; }
  .ft-b { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(251,247,238,.92); color: var(--ink); }
  .ft-b.v { background: #E3E9DF; color: #2F5D3A; }
  @media (max-width: 900px) {
    .ft-grid { grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .ft-card, .ft-card.ft-lead { grid-row: auto; min-height: 340px; scroll-snap-align: start; }
  }
  @media (prefers-reduced-motion: reduce) { .ft-card img { transition: none; } .ft-card:hover img { transform: none; } }
