
:root {
  --ink: #17211b;
  --ink-soft: #536057;
  --forest: #203d2c;
  --forest-deep: #142a1d;
  --moss: #6d7d4c;
  --gold: #c9a862;
  --paper: #f4f0e7;
  --paper-deep: #e9e1d3;
  --white: #fff;
  --line: rgba(23, 33, 27, .13);
  --shadow: 0 18px 50px rgba(24, 36, 28, .13);
  --shadow-strong: 0 28px 80px rgba(15, 24, 18, .24);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

body.drawer-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 40;
  color: var(--white);
  background: var(--forest-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.header-inner {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
}

.brand-mark {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: "Libre Franklin", sans-serif;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--forest-deep);
  background: var(--gold);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.04rem;
  letter-spacing: -.02em;
}

.brand-copy small {
  margin-top: 5px;
  font-size: .63rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: .68;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
}

.menu-toggle {
  position: relative;
  z-index: 2002;
  width: 45px;
  height: 45px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 19px;
  height: 1.5px;
  display: block;
  background: currentColor;
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

.directory-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      rgba(15, 40, 26, 0.88),
      rgba(28, 67, 42, 0.72)
    ),
    url("../assets/topo-new.webp") center center / cover no-repeat;
}

.directory-hero::after {
  position: absolute;
  right: -7vw;
  bottom: -45%;
  width: min(620px, 56vw);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, .025),
    0 0 0 110px rgba(255, 255, 255, .018);
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, .18) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .18) 87.5%, rgba(255, 255, 255, .18)),
    linear-gradient(150deg, rgba(255, 255, 255, .18) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .18) 87.5%, rgba(255, 255, 255, .18));
  background-size: 80px 140px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 88px 0 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #7c652f;
}

.directory-hero h1,
.advertise-section h2 {
  max-width: 830px;
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(2.65rem, 5.7vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.hero-intro {
  max-width: 660px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.search-panel {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px auto;
  padding: 7px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.search-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.search-field svg {
  width: 22px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  min-width: 0;
  padding: 15px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-field input::placeholder {
  color: #879087;
}

.state-field {
  display: flex;
  padding: 0 10px;
}

.state-field select,
.results-tools select {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.search-submit,
.light-button,
.empty-state button {
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
}

.search-submit {
  padding: 0 24px;
  color: var(--forest-deep);
  background: var(--gold);
}

.search-submit:hover {
  background: #d9ba75;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 36px;
}

.hero-stats div {
  display: grid;
}

.hero-stats strong {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stats span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.category-dock {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 240, 231, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.category-scroll {
  display: flex;
  gap: 9px;
  padding: 15px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-button {
  flex: 0 0 auto;
  padding: 10px 15px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-button:hover {
  color: var(--ink);
  border-color: rgba(23, 33, 27, .3);
}

.category-button.active {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.directory-section {
  padding: 70px 0 90px;
}

.section-heading,
.featured-heading,
.results-tools,
.card-footer,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.featured-heading h3 {
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  letter-spacing: -.035em;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.results-tools {
  color: var(--ink-soft);
  font-size: .86rem;
}

.results-tools select {
  min-width: 150px;
  padding: 10px 32px 10px 13px;
  background-color: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.featured-section {
  margin-bottom: 58px;
  padding: 27px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent),
    var(--forest-deep);
  border-radius: var(--radius-lg);
}

.featured-heading {
  margin-bottom: 23px;
}

.featured-heading h3 {
  margin-top: 4px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.section-kicker,
.featured-note {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.featured-note {
  color: rgba(255, 255, 255, .5);
}

.featured-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.business-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(26, 38, 29, .04);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.business-card:hover,
.business-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(32, 61, 44, .3);
  box-shadow: var(--shadow);
  outline: none;
}

.card-visual {
  position: relative;
  height: 178px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(201, 168, 98, .42), transparent 32%),
    linear-gradient(145deg, #1c3627, #547054);
}

.card-image,
.card-overlay {
  position: absolute;
  inset: 0;
}

.card-image {
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  transition: transform .5s ease;
}

.business-card:hover .card-image {
  transform: scale(1.055);
}

.card-overlay {
  background: linear-gradient(to top, rgba(8, 15, 10, .54), transparent 70%);
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-badge {
  padding: 6px 9px;
  color: var(--white);
  background: rgba(16, 30, 21, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-badge.gold {
  color: var(--forest-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.card-initials {
  position: absolute;
  right: 17px;
  bottom: 12px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.08em;
  opacity: .82;
}

.card-body {
  padding: 21px 21px 19px;
}

.card-category {
  margin: 0 0 6px;
  color: #7d6530;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.card-name {
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.22rem;
  letter-spacing: -.032em;
  line-height: 1.2;
}

.card-location {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 700;
}

.card-description {
  display: -webkit-box;
  min-height: 4.7em;
  margin: 15px 0 16px;
  overflow: hidden;
  color: #657067;
  font-size: .88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-tags {
  min-height: 29px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tag {
  padding: 5px 8px;
  color: #526154;
  background: #e8ede5;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
}

.card-footer {
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.view-details {
  color: var(--forest);
  font-size: .8rem;
  font-weight: 800;
}

.arrow-icon {
  color: var(--forest);
  font-size: 1.15rem;
  transition: transform .2s ease;
}

.business-card:hover .arrow-icon {
  transform: translateX(4px);
}

.featured-grid .business-card {
  background: #f6f2e8;
  border-color: rgba(255, 255, 255, .1);
}

.empty-state,
.error-state {
  padding: 70px 20px;
  text-align: center;
}

.empty-icon {
  font-size: 3rem;
}

.empty-state h3,
.error-state h3 {
  margin: 10px 0 7px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.7rem;
}

.empty-state p,
.error-state p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.empty-state button {
  padding: 11px 17px;
  color: var(--white);
  background: var(--forest);
}

.advertise-section {
  padding: 72px 0;
  color: var(--white);
  background: var(--forest);
}

.advertise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

.advertise-section h2 {
  max-width: 780px;
  font-size: clamp(2.2rem, 4.3vw, 4.2rem);
}

.advertise-section p:not(.eyebrow) {
  max-width: 710px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .7);
}

.light-button {
  padding: 15px 19px;
  color: var(--forest-deep);
  background: var(--gold);
  text-align: center;
  text-decoration: none;
}

.site-footer {
  color: rgba(255, 255, 255, .62);
  background: #0f1d14;
}

.footer-inner {
  min-height: 92px;
  font-size: .8rem;
}

.footer-inner p {
  margin: 0;
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 13, 9, .68);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity .28s ease;
}

.drawer-backdrop.visible {
  opacity: 1;
}

.business-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10010;
  width: min(620px, 100%);
  height: 100dvh;
  overflow-y: auto;
  color: var(--ink);
  background: #f9f6ef;
  box-shadow: var(--shadow-strong);
  transform: translateX(104%);
  transition: transform .36s cubic-bezier(.22, .78, .22, 1);
  overscroll-behavior: contain;
}

.business-drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(12, 22, 15, .72);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.drawer-close svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.drawer-mobile-handle {
  display: none;
}

.drawer-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(201, 168, 98, .48), transparent 30%),
    linear-gradient(145deg, #1a3425, #526b4e);
}

.drawer-hero-image,
.drawer-hero-shade {
  position: absolute;
  inset: 0;
}

.drawer-hero-image {
  background-position: center;
  background-size: cover;
}

.drawer-hero-shade {
  background: linear-gradient(to top, rgba(9, 16, 11, .9), rgba(9, 16, 11, .04) 72%);
}

.drawer-hero-content {
  position: relative;
  z-index: 1;
}

.drawer-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.drawer-badge {
  padding: 6px 9px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.drawer-badge.gold {
  color: var(--forest-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.drawer-hero h2 {
  max-width: 500px;
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.drawer-location {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.drawer-body {
  padding: 28px 32px 45px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 31px;
}

.quick-action {
  min-height: 70px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 9px 6px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.quick-action:hover {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.quick-action[aria-disabled="true"] {
  opacity: .38;
  pointer-events: none;
}

.quick-action-icon {
  font-size: 1.05rem;
}

.drawer-section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.drawer-section:first-of-type {
  border-top: 0;
}

.drawer-section h3 {
  margin: 0 0 13px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -.025em;
}

.drawer-section p {
  margin: 0;
  color: #5c685e;
}

.drawer-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.drawer-chip {
  padding: 8px 11px;
  color: #435348;
  background: #e6ece3;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}

.drawer-contact-list {
  display: grid;
  gap: 10px;
}

.drawer-contact-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-contact-row:last-child {
  border-bottom: 0;
}

.drawer-contact-label {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.drawer-contact-value {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .86rem;
  font-weight: 700;
}

.drawer-contact-value a {
  color: var(--forest);
}

.related-grid {
  display: grid;
  gap: 9px;
}

.related-business {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
}

.related-business:hover {
  border-color: rgba(32, 61, 44, .33);
}

.related-initial {
  width: 45px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-family: "Libre Franklin", sans-serif;
  font-size: .77rem;
  font-weight: 800;
}

.related-copy {
  min-width: 0;
}

.related-copy strong,
.related-copy span {
  display: block;
}

.related-copy strong {
  overflow: hidden;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-copy span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: .7rem;
}

.related-arrow {
  color: var(--forest);
}

.claim-box {
  padding: 19px;
  background: var(--paper-deep);
  border-radius: 15px;
}

.claim-box strong {
  display: block;
  margin-bottom: 5px;
}

.claim-box p {
  font-size: .83rem;
}

.claim-box a {
  display: inline-block;
  margin-top: 13px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .featured-grid,
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advertise-grid {
    grid-template-columns: 1fr;
  }

  .light-button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body.site-menu-open {
    overflow: hidden;
  }

  .shell {
    width: min(100% - 26px, var(--shell));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 2001;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    position: relative;
    z-index: 2002;
  }

  .brand-logo {
    width: 174px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 2000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 105px 24px calc(92px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 105% 2%, rgba(214, 129, 50, .28), transparent 34%),
      var(--forest-deep);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 17px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    font-family: "Libre Franklin", sans-serif;
    font-size: clamp(1.7rem, 8vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -.055em;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: var(--gold);
    background: transparent;
  }

  .main-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero-inner {
    padding: 64px 0 48px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .state-field {
    min-height: 48px;
    padding: 0 16px;
  }

  .search-submit {
    min-height: 49px;
  }

  .hero-stats {
    gap: 28px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-tools {
    width: 100%;
  }

  .results-tools label {
    margin-left: auto;
  }

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

  .featured-section {
    padding: 19px;
    border-radius: 22px;
  }

  .featured-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-note {
    display: none;
  }

  .directory-section {
    padding: 48px 0 68px;
  }

  .card-visual {
    height: 190px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .drawer-backdrop {
    background: rgba(8, 13, 9, .56);
  }

  .business-drawer {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(92dvh, 860px);
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
  }

  .business-drawer.open {
    transform: translateY(0);
  }

  .drawer-mobile-handle {
    position: sticky;
    top: 0;
    z-index: 5;
    width: 42px;
    height: 5px;
    display: block;
    margin: 9px auto -14px;
    background: rgba(255, 255, 255, .8);
    border-radius: 99px;
  }

  .drawer-close {
    top: 18px;
    right: 15px;
  }

  .drawer-hero {
    min-height: 280px;
    padding: 30px 23px;
  }

  .drawer-body {
    padding: 23px 20px 38px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Phase 1 lodge expansion filters */
.results-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.results-tools label {
  min-width: 145px;
}
@media (max-width: 760px) {
  .results-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .results-tools > span {
    grid-column: 1 / -1;
  }
  .results-tools label {
    min-width: 0;
    margin-left: 0;
  }
  .results-tools label:last-child {
    grid-column: 1 / -1;
  }
}


/* Interactive directory map */
.map-explorer {
  margin: 0 0 48px;
}

.map-explorer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.map-explorer-heading h3 {
  margin: 4px 0 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -.035em;
}

.map-explorer-heading p:not(.section-kicker) {
  max-width: 670px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.map-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.map-actions span {
  margin-right: 5px;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
}

.map-actions button {
  padding: 10px 14px;
  color: var(--forest);
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
}

.map-actions button:hover,
.map-actions button:focus-visible {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.directory-map-shell {
  overflow: hidden;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(24, 36, 28, .08);
  transition: opacity .25s ease, max-height .3s ease, transform .3s ease;
}

.directory-map-shell.is-collapsed {
  max-height: 0;
  opacity: 0;
  border-width: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.directory-map {
  width: 100%;
  height: 520px;
  background:
    radial-gradient(circle at 70% 20%, rgba(201, 168, 98, .16), transparent 32%),
    #dfe6da;
}

.map-loading,
.map-unavailable {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--ink-soft);
  text-align: center;
}

.map-footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 18px;
  color: var(--ink-soft);
  background: rgba(250, 248, 242, .92);
  border-top: 1px solid var(--line);
  font-size: .72rem;
}

.map-footer strong {
  color: var(--forest);
}

.leaflet-container {
  font-family: "DM Sans", sans-serif;
}

.leaflet-control-zoom a {
  color: var(--forest-deep);
}

.leaflet-control-attribution {
  font-size: .62rem;
}

.directory-map-marker {
  background: transparent;
  border: 0;
}

.directory-map-marker span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  color: var(--white);
  background: var(--forest);
  border: 3px solid rgba(255, 255, 255, .94);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 35, 23, .28);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}

.directory-map-marker:hover span,
.directory-map-marker.marker-active span {
  background: #9b7737;
  transform: scale(1.1);
}

.directory-map-popup .leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 17px;
  box-shadow: 0 18px 55px rgba(16, 30, 21, .22);
}

.directory-map-popup .leaflet-popup-content {
  width: 290px !important;
  margin: 0;
}

.directory-map-popup .leaflet-popup-tip {
  background: #f9f6ef;
}

.map-popup {
  color: var(--ink);
  background: #f9f6ef;
}

.map-popup-header {
  padding: 15px 17px 12px;
  color: var(--white);
  background: var(--forest-deep);
}

.map-popup-header span {
  display: block;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.map-popup-header strong {
  display: block;
  margin-top: 3px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 1rem;
}

.map-popup-list {
  max-height: 245px;
  overflow-y: auto;
  padding: 7px;
}

.map-popup-business {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}

.map-popup-business:hover,
.map-popup-business:focus-visible {
  background: #e9eee6;
  outline: none;
}

.map-popup-business strong {
  font-size: .8rem;
}

.map-popup-business span {
  color: var(--ink-soft);
  font-size: .68rem;
}

@media (max-width: 860px) {
  .map-explorer-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-actions {
    justify-content: flex-start;
  }

  .directory-map {
    height: 430px;
  }
}

@media (max-width: 620px) {
  .map-explorer {
    margin-bottom: 36px;
  }

  .map-explorer-heading {
    gap: 17px;
  }

  .map-actions {
    width: 100%;
  }

  .map-actions span {
    width: 100%;
  }

  .directory-map-shell {
    border-radius: 20px;
  }

  .directory-map {
    height: 370px;
  }

  .map-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .directory-map-popup .leaflet-popup-content {
    width: 250px !important;
  }
}

/* Keep the overall map below the business drawer without altering Leaflet's internal pane order. */
.directory-map-shell {
  position: relative;
  z-index: 1;
}


/* Leaflet needs its native internal z-index hierarchy for markers and popups to work. */
.directory-map-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.directory-map-shell .leaflet-container {
  z-index: 0;
}

/* The drawer and backdrop always sit above the complete map component. */
.drawer-backdrop {
  z-index: 10000 !important;
}

.business-drawer {
  z-index: 10010 !important;
}

body.drawer-open .directory-map-shell {
  pointer-events: none;
}

body.drawer-open .directory-map {
  filter: blur(2px) saturate(.72);
  opacity: .5;
  transform: scale(.997);
}

.directory-map {
  transition:
    filter .28s ease,
    opacity .28s ease,
    transform .28s ease;
}

.drawer-backdrop,
.business-drawer {
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  .directory-map {
    transition: none;
  }
}

.business-card.premium-vendor-card {
  border-color: #c9ad72;
  box-shadow: 0 18px 42px rgba(30, 43, 28, .14);
}

.business-card.premium-vendor-card .card-image {
  background-size: cover;
  background-position: center 72%;
}

.business-card.premium-vendor-card .card-initials {
  display: none !important;
}

.card-badge.premium-vendor-badge {
  background: #e8c778;
  border-color: #e8c778;
  color: #1d2d21;
}

.business-card.premium-vendor-card .card-name {
  color: #1d2d21 !important;
}

/* Premium Vendor map pins */
.premium-map-marker span {
  background:
    linear-gradient(
      145deg,
      #f7e6a5 0%,
      #d4af37 42%,
      #9f711c 100%
    );
  color: #17251c;
  border-color: #fff1b8;
  box-shadow:
    0 5px 16px rgba(108, 75, 12, 0.38),
    0 0 0 4px rgba(212, 175, 55, 0.2);
}

.premium-map-marker span::after {
  border-top-color: #9f711c;
}
