
  :root {
    --bg: #faf9f7;
    --surface-1: #f1efec;
    --surface-2: #ffffff;
    --text-primary: #1c1b1a;
    --text-secondary: #57534e;
    --text-muted: #948d85;
    --text-accent: #4a6670;
    --border: #e4e0da;
    --border-strong: #c9c2b8;
    --radius: 10px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--bg); color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  main { max-width: 1100px; margin: 0 auto; padding: 56px 20px 60px; }
  .header { text-align: center; margin: 0 0 36px; }
  .wordmark {
    font-size: 22px; font-weight: 500; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--text-primary); margin: 0;
  }
  .wordmark a { color: inherit; text-decoration: none; }
  .wordmark-rule { width: 40px; height: 1px; background: var(--border-strong); margin: 14px auto 0; }
  .site-nav { font-size: 12px; color: var(--text-muted); margin: 14px 0 0; }
  .site-nav a { color: var(--text-secondary); text-decoration: none; }
  .site-nav a:hover { text-decoration: underline; }
  .site-nav .current { color: var(--text-primary); font-weight: 600; }
  h1 { font-size: 22px; font-weight: 600; margin: 14px 0 10px; }
  .intro { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 62ch; margin: 0 auto 8px; }
  .pilot-note { font-size: 12px; color: var(--text-muted); margin: 0 0 28px; }
  .search-wrap { max-width: 420px; margin: 0 auto 36px; }
  .search-input {
    width: 100%; font: inherit; font-size: 14px; color: var(--text-primary);
    background: var(--surface-2); border: 0.5px solid var(--border-strong);
    border-radius: 999px; padding: 10px 16px; outline: none;
  }
  .search-input::placeholder { color: var(--text-muted); }
  .search-input:focus { border-color: var(--text-accent); }
  .no-results {
    text-align: center; font-size: 13px; color: var(--text-muted);
    padding: 32px 0;
  }
  .grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
  }
  .card {
    background: var(--surface-2); border: 0.5px solid var(--border);
    border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
    display: block;
  }
  .card.no-link { cursor: default; }
  .card-image {
    aspect-ratio: 4/3; background: var(--surface-1);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card-image .fallback { font-size: 12px; color: var(--text-muted); }
  .card-body { padding: 12px 14px 14px; }
  .card-title { font-size: 14px; font-weight: 500; margin: 0 0 4px; color: var(--text-primary); }
  .card:hover .card-title { text-decoration: underline; }
  .card-meta { font-size: 11px; color: var(--text-muted); margin: 0 0 8px; }
  .card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
  .tag {
    font-size: 10px; color: var(--text-secondary);
    border: 0.5px solid var(--border); border-radius: 999px; padding: 2px 8px;
  }
  .foot-note {
    font-size: 11px; color: var(--text-muted); margin-top: 48px; padding-top: 20px;
    border-top: 0.5px solid var(--border); line-height: 1.6;
  }

  /* --- profile pages (partner + association) --- */
  .back-link { display: inline-block; font-size: 12px; color: var(--text-secondary); text-decoration: none; margin: 0 0 28px; }
  .back-link:hover { text-decoration: underline; }
  .profile-image {
    aspect-ratio: 16/9; background: var(--surface-1); border-radius: 12px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    margin: 0 0 24px;
  }
  .profile-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .profile-image .fallback { font-size: 13px; color: var(--text-muted); }
  .profile-title { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
  .profile-meta { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }
  .profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
  .profile-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 62ch; margin: 0 0 24px; }
  .member-of { font-size: 13px; color: var(--text-secondary); margin: 0 0 28px; }
  .member-of a { color: var(--text-accent); text-decoration: none; }
  .member-of a:hover { text-decoration: underline; }
  .btn {
    display: inline-block; font-size: 14px; font-weight: 500; color: var(--text-primary);
    background: var(--surface-2); border: 0.5px solid var(--border-strong);
    border-radius: 999px; padding: 10px 20px; text-decoration: none; margin: 0 0 36px;
  }
  .btn:hover { border-color: var(--text-accent); }
  .section-heading { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin: 0 0 16px; }
  .filter-note { font-size: 12px; color: var(--text-muted); font-style: italic; margin: -10px 0 24px; }

  /* --- associations index: text-forward, not a photo card --- */
  /* An association's real content is its name/description/member count,
     not a photo the way a partner's workshop is - reusing the photo-card
     component here left a large empty "no image" box with nothing to
     fill it. Instead of just shrinking the row, the freed space shows a
     few real member photos - sidesteps the whole "using their logo
     needs an agreement" question, since these are the same member
     thumbnails already shown (with rights) elsewhere on the site. */
  .assoc-list { display: flex; flex-direction: column; gap: 12px; }
  .assoc-row {
    display: flex; align-items: center; gap: 20px; max-width: 720px;
    background: var(--surface-2); border: 0.5px solid var(--border);
    border-radius: 12px; padding: 18px 20px; text-decoration: none; color: inherit;
  }
  .assoc-row-text { flex: 1; min-width: 0; }
  .assoc-row:hover .assoc-name { text-decoration: underline; }
  .assoc-name { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--text-primary); }
  .assoc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 8px; }
  .assoc-count { font-size: 11px; color: var(--text-muted); margin: 0; }
  .assoc-thumbs {
    display: grid; grid-template-columns: repeat(2, 42px); gap: 4px; flex-shrink: 0;
  }
  .assoc-thumbs img {
    width: 42px; height: 42px; border-radius: 6px; object-fit: cover;
    display: block; background: var(--surface-1);
  }
  @media (max-width: 480px) { .assoc-thumbs { display: none; } }
