
/* main/styles/typography.css */
@font-face {
    font-family: Rhode;
    src: url("../assets/fonts/RhodeBlackWide.woff2") format("woff2"),
        url("../assets/fonts/RhodeBlackWide.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Rhode;
    src: url("../assets/fonts/RhodeMediumExtended.woff2") format("woff2"),
        url("../assets/fonts/RhodeMediumExtended.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Rhode;
    src: url("../assets/fonts/RhodeBoldWide.woff2") format("woff2"),
        url("../assets/fonts/RhodeBoldWide.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Omnes;
    src: url("../assets/fonts/Omnes Medium.woff2") format("woff2"),
        url("../assets/fonts/Omnes Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Omnes;
    src: url("../assets/fonts/Omnes Bold.woff2") format("woff2"),
        url("../assets/fonts/Omnes Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Omnes;
    src: url("../assets/fonts/Omnes Black.woff2") format("woff2"),
        url("../assets/fonts/Omnes Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Interstate Cond Mono";
    src: url("../assets/fonts/Interstate Cond Mono.woff2") format("woff2"),
        url("../assets/fonts/Interstate Cond Mono.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Interstate Cond Mono";
    src: url("../assets/fonts/Interstate Cond Mono Bold.woff2") format("woff2"),
        url("../assets/fonts/Interstate Cond Mono Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Interstate Cond Mono";
    src: url("../assets/fonts/Interstate Cond Mono - Lgt.woff2") format("woff2"),
        url("../assets/fonts/Interstate Cond Mono - Lgt.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-h1: "Rhode", sans-serif;
    --font-section: "Omnes", sans-serif;
    --font-subheadline: "Omnes", sans-serif;
    --font-body: "Omnes", sans-serif;
    --font-nav: "Interstate Cond Mono", monospace;
    --font-kicker: "Interstate Cond Mono", monospace;
    --font-caption: "Interstate Cond Mono", monospace;
    --size-h1: 64px;
    --size-section: 40px;
    --size-subheadline: 28px;
    --size-body: 18px;
    --size-body-small: 16px;
    --size-nav: 15px;
    --size-kicker: 14px;
    --size-caption: 13px;
}

body {
    font-family: var(--font-body);
    font-size: var(--size-body);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.text-h1 {
    font-family: var(--font-h1);
    font-size: var(--size-h1);
    font-weight: 900;
    line-height: 1.1;
}

.text-section-headline {
    font-family: var(--font-section);
    font-size: var(--size-section);
    font-weight: 900;
    line-height: 1.2;
}

.text-subheadline {
    font-family: var(--font-subheadline);
    font-size: var(--size-subheadline);
    font-weight: 900;
    line-height: 1.3;
}

.text-body {
    font-family: var(--font-body);
    font-size: var(--size-body);
    font-weight: 500;
    line-height: 1.6;
}

.text-body-small {
    font-family: var(--font-body);
    font-size: var(--size-body-small);
    font-weight: 500;
    line-height: 1.6;
}

.text-kicker {
    font-family: var(--font-kicker);
    font-size: var(--size-kicker);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.text-caption {
    font-family: var(--font-caption);
    font-size: var(--size-caption);
    font-weight: 300;
    line-height: 1.4;
}

@media (width <= 900px) {
    :root {
        --size-h1: 52px;
        --size-section: 34px;
        --size-subheadline: 24px;
        --size-body: 17px;
        --size-body-small: 15px;
        --size-nav: 14px;
        --size-kicker: 13px;
        --size-caption: 12px;
    }
}

@media (width <= 640px) {
    :root {
        --size-h1: 38px;
        --size-section: 28px;
        --size-subheadline: 20px;
        --size-body: 16px;
        --size-body-small: 14px;
        --size-nav: 13px;
        --size-kicker: 12px;
        --size-caption: 11px;
    }
}

/* main/styles/site.css */
/* Shared layout */
:root {
  --globe-red: #f04e23;
  --globe-charcoal: #391c1c;
  --globe-cream: #f5ead8;
  --green: #37b777;
  --purple: #b97bb5;
  --pink: #f16b81;
  --orange: #f68b1f;
  --yellow: #ffd400;
  --nav-icon: none;
  --color-bg: #fff;
  --color-surface: #fff;
  --color-surface-muted: #f9f4ec;
  --color-text: var(--globe-charcoal);
  --color-text-muted: rgb(57 28 28 / 80%);
  --color-border: rgb(57 28 28 / 12%);
  --color-border-strong: rgb(57 28 28 / 18%);
  --color-shadow: rgb(241 107 129 / 12%);
  --section-divider-fill: #fff;
  --hero-overlay: rgb(57 28 28 / 35%);
  --placeholder-bg: linear-gradient(140deg, rgb(245 234 216 / 75%), rgb(241 107 129 / 8%) 48%, rgb(57 28 28 / 4%));
  --placeholder-shadow: 0 2px 6px rgb(241 107 129 / 12%), inset 0 1px 0 rgb(245 234 216 / 50%);
  --btn-bg: rgb(245 234 216 / 20%);
  --btn-hover-bg: transparent;
  --radius-tile: 4px;
  --radius-control: 8px;
  --radius-chip: 12px;
  --radius-pill: 14px;

  /* Divider controls */
  --footer-divider-height: 90px;   /* overall visual height */
  --footer-divider-lift: 1px;      /* hides 1px seams */
}

[data-theme="dark"] {
  --color-bg: #0f0a0b;
  --color-surface: #1b1113;
  --color-surface-muted: #231516;
  --color-text: #f5ead8;
  --color-text-muted: rgb(245 234 216 / 82%);
  --color-border: rgb(245 234 216 / 12%);
  --color-border-strong: rgb(245 234 216 / 22%);
  --color-shadow: rgb(241 107 129 / 35%);
  --section-divider-fill: #0f0a0b;
  --hero-overlay: rgb(0 0 0 / 55%);
  --placeholder-bg: linear-gradient(140deg, rgb(57 28 28 / 55%), rgb(185 123 181 / 24%) 52%, rgb(245 234 216 / 8%));
  --placeholder-shadow: 0 2px 16px rgb(241 107 129 / 35%), inset 0 1px 0 rgb(245 234 216 / 16%);
  --btn-bg: rgb(245 234 216 / 10%);
  --btn-hover-bg: rgb(245 234 216 / 8%);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
}

html {
  scrollbar-gutter: stable;
}


nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 14px 18px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 16px -12px var(--color-shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  position: absolute;
  left: max(24px, calc(50% - 600px + 24px));
  top: 50%;
  transform: translateY(-50%);
  background-image: var(--nav-icon);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  padding: 6px 8px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-nav);
  font-size: var(--size-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentcolor;
  border-radius: var(--radius-pill);
  transition: transform 150ms ease, opacity 150ms ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle__icon::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.nav-open .nav-toggle__icon {
  transform: rotate(45deg);
}

.nav-open .nav-toggle__icon::before {
  transform: rotate(90deg) translateX(0);
  top: 0;
}

.nav-open .nav-toggle__icon::after {
  opacity: 0;
}

nav a {
  font-family: var(--font-nav);
  font-size: var(--size-nav);
  color: var(--color-text);
  text-decoration: none;
  padding: 10px 6px 8px;
  border-radius: 0;
  position: relative;
  transition: color 150ms ease;
}

nav a:hover {
  color: var(--globe-red);
}

nav a.active,
nav a[aria-current="page"] {
  color: var(--globe-red);
}

nav a.active::after,
nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--globe-red);
  border-radius: var(--radius-pill);
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-page main {
  gap: 48px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padded {
  padding-top: 40px;
  padding-bottom: 40px;
}

.home-page .section-padded {
  padding-top: 64px;
  padding-bottom: 64px;
}

.home-page .whats-background {
  margin-top: -48px;
}

.home-page section[id] {
  scroll-margin-top: 88px;
}


.placeholder {
  background: var(--placeholder-bg);
  border-radius: var(--radius-tile);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-shadow: var(--placeholder-shadow);
}

.placeholder.image-only {
  background: transparent;
  padding: 0;
  min-height: 0;
  display: block;
}

.placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Footer base */
footer {
    margin-top: 25px;
}

footer,
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--green);
    color: var(--globe-cream);
    font-family: var(--font-body);
}

.section-divider-top {
    display: block;
    width: 100%;
    height: 80px;
    margin-top: 0;
    transform: translateY(-1px) scaleY(-1);
    transform-origin: center;
}

.section-divider-top path {
    fill: var(--section-divider-fill);
}


footer .footer-inner,
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(300px, 2fr);
    gap: 28px 32px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

footer .footer-inner > *,
.site-footer .footer-inner > * {
  min-width: 0;
}

.footer-brand {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-brand--funding {
  grid-column: 1 / -1;
  justify-items: center;
  text-align: center;
  border-top: 1px solid rgb(245 234 216 / 24%);
  padding-top: 18px;
  margin-top: 4px;
}

.footer-brand p {
  margin: 0;
}

.footer-logo {
  max-width: 96px;
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.footer-links h3,
.footer-contact h3,
.footer-ack h3 {
  margin: 0 0 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.site-footer .footer-links a,
.site-footer .footer-contact a,
.site-footer .footer-contact span {
  color: var(--globe-cream);
  text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
  color: var(--globe-charcoal);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-social--placeholder {
  opacity: 0.7;
  pointer-events: none;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  stroke: currentcolor;
}

.footer-ack,
.footer-funding {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-ack p,
.footer-funding p {
  margin: 0;
}

.footer-funding-logo {
  max-width: 140px;
  width: 100%;
  height: auto;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface) !important;
  text-align: center;
  padding: 14px 24px;
  font-family: var(--font-caption);
  color: var(--color-text) !important;
  position: relative;
  z-index: 3;
}

/* Footer themes */
.site-footer.footer-red {
  background: var(--globe-red);
}

.site-footer.footer-red .footer-bottom {
  background: rgb(57 28 28 / 12%);
}

.site-footer.footer-green {
  background: var(--green);
}

.site-footer.footer-green .footer-bottom {
  background: rgb(57 28 28 / 12%);
}

.site-footer.footer-purple {
  background: var(--purple);
}

.site-footer.footer-purple .footer-bottom {
  background: rgb(57 28 28 / 12%);
}

.site-footer.footer-orange {
  background: var(--orange);
}

.site-footer.footer-orange .footer-bottom {
  background: rgb(57 28 28 / 12%);
}

@media (width <= 900px) {
  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 12px;
  }

  .nav-icon {
    width: 32px;
    height: 32px;
    left: max(24px, calc(50% - 600px + 24px));
    top: 14px;
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    align-self: center;
  }

  .nav-links {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 0 4px;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 200ms ease, opacity 200ms ease, transform 200ms ease;
  }

  nav.nav-open .nav-links {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  :root {
    --footer-divider-height: 72px;
  }

  footer .footer-inner,
  .site-footer .footer-inner {
    padding-top: 76px;
    grid-template-columns: 1fr;
  }
}

@media (width <= 640px) {
  nav {
    padding: 10px 12px;
    gap: 6px 10px;
  }

  nav a {
    padding: 8px 4px 6px;
  }

  .nav-toggle {
    padding: 5px 10px;
  }

  .nav-icon {
    left: 16px;
    top: 10px;
  }

  .section {
    padding: 0 16px;
  }

  .section-padded {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  footer .footer-inner,
  .site-footer .footer-inner {
    padding: 44px 16px 28px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand--funding {
    justify-items: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-links,
  .footer-contact,
  .footer-ack,
  .footer-funding {
    text-align: center;
  }

  .footer-links ul {
    justify-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-funding-logo {
    margin: 0 auto;
  }

  .section-divider-top {
    height: 30px;
  }

  .site-footer,
  footer {
    margin-top: 36px;
  }
}

/* main/styles/components/buttons.css */
/* Reusable components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--globe-charcoal);
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: var(--size-nav);
  text-align: center;
  min-width: 110px;
  height: 40px;
  line-height: 1.2;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--globe-red);
  color: var(--globe-red);
}

.btn--light {
  background: rgb(255 255 255 / 15%);
  color: var(--globe-cream);
  border-color: var(--globe-cream);
}

.btn--light:hover {
  background: transparent;
  color: var(--globe-red);
  border-color: var(--globe-red);
}

.btn--solid {
  background: var(--btn-solid-bg, var(--globe-red));
  color: var(--btn-solid-color, var(--globe-cream));
  border-color: var(--btn-solid-bg, var(--globe-red));
}

.btn--solid:hover {
  background: transparent;
  color: var(--btn-solid-bg, var(--globe-red));
  border-color: var(--btn-solid-bg, var(--globe-red));
}

@media (width <= 640px) {
  .btn {
    min-width: 96px;
    padding: 7px 10px;
    font-size: 13px;
    height: 36px;
  }
}

/* main/styles/components/forms.css */
/* Reusable form elements */
.form-field {
  display: grid;
  gap: 6px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgb(57 28 28 / 20%);
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: var(--size-body-small);
  background: #fff;
  box-sizing: border-box;
}

.field-textarea {
  resize: vertical;
}

.field-select {
  background: #fff;
}

.form-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-field input[type="checkbox"] {
  width: 12px;
  height: 12px;
  border: 1px solid rgb(57 28 28 / 60%);
  border-radius: 2px;
  appearance: none;
  background: #fff;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(241 107 129 / 20%);
}

.checkbox-field input[type="checkbox"]:checked {
  background: var(--globe-charcoal);
  border-color: var(--globe-charcoal);
}

@media (width <= 640px) {
  .form-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .form-inline .btn {
    align-self: flex-start;
  }

  .checkbox-field {
    align-items: flex-start;
  }

  .form-inline .checkbox-field {
    width: 100%;
    align-self: flex-start;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .form-inline .checkbox-field input[type="checkbox"] {
    order: 2;
  }

  .form-inline .checkbox-field span {
    order: 1;
  }
}

/* main/styles/directory.css */
/* ===============================
   Directory page styles
================================ */

.directory-page h1 {
    margin: 0 0 12px;
}

.directory-background {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    min-height: 100svh;
}

.directory-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: max(100svh, 920px);
    background-image:
  url("../assets/logos/2 Green/3x/Green _ Ball@3x.png"),
  url("../assets/logos/2 Green/3x/Green _ Coconut@3x.png"),
  url("../assets/logos/2 Green/3x/Green _ Disco@3x.png"),
  url("../assets/logos/2 Green/3x/Green _ Guitar@3x.png"),
  url("../assets/logos/2 Green/3x/Green _ Vinyl@3x.png");
background-repeat: no-repeat;
background-size: 200px, 220px, 260px, 200px, 220px;
background-position:
  48px 72px,
  calc(100% - 300px) 180px,
  calc(50% - 130px) 560px,
  110px 500px,
  calc(100% - 260px) 700px;
    opacity: 0.38;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
  }

.directory-background > * {
    position: relative;
    z-index: 1;
}

/* ===============================
   Filters row
================================ */

.directory-filters {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 8px 14px;
    margin-top: 1px;

    /* Align by control bottom */
    align-items: end;
}

/* Search column */
.filter-search {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    grid-column: 1 / 2;
    grid-row: 1;
}

/* Search input */
.filter-search .field-input {
    width: 100%;
    height: 46px;
    padding: 12px;
    box-sizing: border-box;
    border-radius: var(--radius-control);
    border: 1px solid rgb(57 28 28 / 18%);
    background: #fff;
    font-family: var(--font-body);
    font-size: var(--size-body);
    color: var(--globe-charcoal);
    box-shadow: 0 6px 14px rgb(241 107 129 / 6%);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.directory-meet {
    margin: 22px 0 0;
    color: var(--globe-red);
    font-size: clamp(42px, 4.2vw, 55px);
    line-height: 1.08;
    opacity: 0.95;
    text-align: center;
}

/* ===============================
   Categories dropdown
================================ */

.filter-categories {
    flex: 0.85;
    position: relative;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid rgb(57 28 28 / 18%);
    border-radius: var(--radius-control);
    background: #fff;
    box-shadow: 0 6px 14px rgb(241 107 129 / 6%);
    grid-column: 2 / 3;
    grid-row: 1;
}

/* Summary behaves like input */
.filter-categories summary {
    list-style: none;
    appearance: none;
    width: 100%;
    height: 46px;
    padding: 12px;
    box-sizing: border-box;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-control);
}

.filter-categories summary::-webkit-details-marker {
    display: none;
}

/* Open state */
.filter-categories[open] summary {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* ===============================
   Category chips
================================ */

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px 12px;
}

.filter-clear {
    flex: 0 0 100%;
    width: fit-content;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--globe-red);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.filter-clear:disabled {
    opacity: 0.45;
    cursor: default;
    text-decoration: none;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-chip);
    border: 1px solid rgb(57 28 28 / 16%);
    background: rgb(240 78 35 / 8%);
    color: var(--globe-charcoal);
    font-size: var(--size-body-small);
    font-weight: 700;
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.filter-chip input {
    accent-color: var(--globe-red);
}

.filter-search .field-input:focus {
    outline: none;
    border-color: var(--globe-red);
    box-shadow: 0 0 0 3px rgb(240 78 35 / 15%);
}

/* Dropdown panel */
.filter-categories[open] .filter-chips {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid rgb(57 28 28 / 18%);
    border-radius: var(--radius-control);
    box-shadow: 0 10px 30px rgb(241 107 129 / 12%);
}

/* ===============================
   Map + directory
================================ */

.directory-map {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
}

.map-embed {
    min-height: 350px;
    height: 100%;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    display: block;
}

.directory-grid {
    margin-top: 32px;
    display: grid;
    gap: 18px;
}

.directory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-content: flex-start;
    min-height: clamp(320px, 42vh, 560px);
}

/* ===============================
   Cards
================================ */

.directory-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border: none;
    border-radius: var(--radius-tile);
    padding: 0;
    flex: 0 1 320px;
    max-width: 320px;
    min-height: 0;
    text-decoration: none;
    color: var(--globe-charcoal);
    box-shadow: 0 16px 30px rgb(57 28 28 / 16%);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.directory-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-tile);
    overflow: hidden;
    position: relative;
    background: var(--placeholder-bg);
}

.directory-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.directory-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    background: rgb(57 28 28 / 60%);
    color: var(--globe-cream);
}

.directory-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgb(57 28 28 / 20%);
}

.directory-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: inherit;
}


/* ===============================
   Responsive
================================ */

@media (width <= 900px) {
    .directory-filters {
        grid-template-columns: 1fr;
        row-gap: 10px;
        align-items: stretch;
    }

    .filter-search,
    .filter-categories {
        width: 100%;
        grid-column: auto;
        grid-row: auto;
    }

    .directory-meet {
        margin-top: 16px;
        font-size: clamp(34px, 8vw, 44px);
    }

    .directory-map {
        grid-template-columns: 1fr;
    }

    .map-embed {
        min-height: 280px;
    }

    .directory-list {
        min-height: 300px;
    }
}

@media (width <= 640px) {
    .directory-background::before {
        background-position:
          24px 72px,
          calc(100% - 180px) 220px,
          calc(50% - 95px) 520px,
          18px 430px,
          calc(100% - 170px) 620px;
    }

    .directory-list {
        min-height: 240px;
    }

    .directory-grid {
        margin-top: 24px;
        gap: 14px;
    }

    .directory-card {
        padding: 12px 14px 14px;
    }

    .directory-card__title {
        font-size: 19px;
    }

    .directory-map {
        gap: 16px;
    }

    .map-embed {
        min-height: 220px;
    }
}
