/* Brand colors */
:root {
  --brand-green: #1d761e;
  --brand-cream: #fefff5;
  --brand-gold: #f8cf0a;
  --problem-accent: #e07020;
  --text-dark: #1a1a1a;
  --text-muted: #555;
}

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

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--brand-cream);
  color: var(--text-dark);
  line-height: 1.5;
  position: relative;
}

/* Full-page rotating map backgrounds (13 separate images) – legacy; replaced by site-map-bg */
.site-bg-rotate {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.6s ease;
  will-change: transform;
  contain: paint;
  transform: translateZ(0);
}

/* Google Map full-viewport background; scroll drives pan/zoom */
.page-home {
  background-color: transparent;
}

/* Landing page – map background with tan middle band, scrolls like index */
.main-wrapper:has(.landing-middle),
.main-wrapper:has(.home-main),
.main-wrapper:has(.contact-page-main) {
  min-height: 180vh;
}

.landing-middle {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem 3rem;
  text-align: center;
}

.landing-tan-block {
  background-color: #e8e0d5;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.landing-hero {
  padding: 2rem 1.5rem;
  width: 100%;
  margin: 0 0 1.5rem;
}

.landing-mission {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.9rem, 2.25vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 0;
}

.landing-mission-label {
  display: block;
  margin-bottom: 0.25em;
}

/* Two product blocks side by side */
.landing-product-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.landing-product-block {
  flex: 1;
  min-width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.landing-product-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
}

.landing-product-block p {
  margin: 0 0 1.25rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 0.95rem;
}

.landing-product-cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

.landing-product-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

/* Street-sign style CTAs (same look as index category filters) */
.landing-cta-street-sign {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 3px solid #fff;
  background: linear-gradient(180deg, #0d5c0d 0%, #0a4a0a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.landing-cta-street-sign .street-sign-text {
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.landing-cta-street-sign:hover {
  background: linear-gradient(180deg, #0f6b0f 0%, #0d5c0d 100%);
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: #fff;
}

.landing-contact {
  width: 100%;
  margin: 0;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.landing-contact h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text-dark);
}

.landing-contact h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.contact-page-main {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

.contact-page-panel {
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.contact-page-back {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.contact-page-back a {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: none;
}

.contact-page-back a:hover {
  text-decoration: underline;
}

.home-contact-cta {
  text-align: center;
}

.home-contact-cta-heading {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--text-dark);
}

.home-contact-cta-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.landing-contact form {
  text-align: left;
  display: inline-block;
  width: 100%;
  max-width: 40rem;
}

.landing-contact-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.landing-contact-field {
  flex: 1;
  min-width: 0;
}

.landing-contact-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.landing-contact-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 2.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.landing-contact label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.landing-contact input,
.landing-contact select,
.landing-contact textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  min-height: 2.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.landing-contact-select {
  min-width: 100%;
  width: 100%;
}

.landing-contact textarea {
  min-height: 180px;
  resize: vertical;
}

.landing-contact-submit-wrap {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Send message button – street sign style (centered) */
.landing-cta-street-sign-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: 3px solid #fff;
  background: linear-gradient(180deg, #0d5c0d 0%, #0a4a0a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.landing-cta-street-sign-btn:hover {
  background: linear-gradient(180deg, #0f6b0f 0%, #0d5c0d 100%);
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: #fff;
}

.landing-cta-street-sign-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.landing-contact-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.landing-contact-message.success {
  background: rgba(29, 118, 30, 0.15);
  color: var(--brand-green);
}

.landing-contact-message.error {
  background: rgba(180, 50, 50, 0.1);
  color: #b43232;
}

/* Backdrop layer: contains the map, sits behind all page content */
.site-map-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}

#site-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  pointer-events: none;
}

#site-map-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(254, 255, 245, 0.55) 0%, rgba(254, 255, 245, 0.35) 50%, rgba(254, 255, 245, 0.65) 100%);
  pointer-events: none;
}

/* Two layers for crossfade; background image and overlay live on children */
.site-bg-rotate-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.25s ease-out;
  will-change: transform;
  contain: paint;
  transform: translateZ(0);
}

.site-bg-rotate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(254, 255, 245, 0.55) 0%, rgba(254, 255, 245, 0.35) 50%, rgba(254, 255, 245, 0.65) 100%);
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header – mobile-style top bar: left-aligned title + address, right actions */
.site-header {
  position: relative;
  z-index: 1000;
  background-color: var(--brand-green);
  padding: 0.85rem 1rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

.logo-link {
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

/* Main Street logo – street sign style */
.header-title {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  background: linear-gradient(180deg, #0d5c0d 0%, #0a4a0a 100%);
  border: 3px solid #fff;
  border-radius: 6px;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.logo-link:hover .header-title {
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.header-address {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(254, 255, 245, 0.9);
  font-weight: 500;
  padding-left: 0.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Hamburger: visible only on mobile; toggles nav dropdown */
.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--brand-cream);
  background: var(--brand-cream);
  color: var(--brand-green);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.header-menu-btn:hover {
  background: rgba(254, 255, 245, 0.95);
  color: var(--brand-green);
}
.header-menu-btn .material-icons {
  font-size: 1.5rem;
}

@media (max-width: 767px) {
  .header-menu-btn {
    display: inline-flex;
  }
  .site-header {
    flex-wrap: wrap;
    z-index: 1000;
  }
  .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    background: var(--brand-green);
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .site-header.nav-open .header-actions {
    display: flex;
  }
  .header-actions .header-btn,
  .header-actions .auth-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: left;
    flex-shrink: 0;
  }
  .header-actions .auth-wrap {
    width: 100%;
    flex-shrink: 0;
  }
  .header-actions .auth-panel {
    position: static;
    margin-top: 0.5rem;
    min-width: 0;
    max-width: none;
  }
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 2px solid var(--brand-cream);
  background: var(--brand-cream);
  color: var(--brand-green);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.header-btn .material-icons {
  font-size: 1.2rem;
}

.header-btn-label {
  white-space: nowrap;
}

.header-btn--shop-local {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-color: var(--brand-gold);
  font-weight: 800;
}

.header-btn--shop-local:hover {
  background: #e6c009;
  color: var(--text-dark);
  border-color: #e6c009;
}

.header-btn--shop-local .material-icons {
  font-size: 1.15rem;
}

.favorites-link:hover {
  background: rgba(254, 255, 245, 0.95);
  color: var(--brand-green);
}

/* Favorites yellow only when toggled on home page – independent from About Us */
.site-header .header-actions a.favorites-link.active {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-color: var(--brand-gold);
}

.site-header .header-actions a.contact-link.active {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-color: var(--brand-gold);
}

.site-header .header-actions a.header-btn--shop-local.active {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-color: var(--brand-gold);
}

/* Auth: Sign In trigger + dropdown panel */
.auth-wrap {
  position: relative;
}
.auth-trigger {
  border: 2px solid var(--brand-cream);
  background: var(--brand-cream);
  color: var(--brand-green);
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  white-space: nowrap;
}
.auth-trigger:hover {
  background: rgba(254, 255, 245, 0.95);
  color: var(--brand-green);
}
.auth-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.35rem;
  min-width: 280px;
  max-width: 320px;
  background: var(--brand-cream);
  border: 2px solid var(--brand-green);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  z-index: 1001;
  display: none;
}
.auth-panel.is-open {
  display: block;
}
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.auth-tab {
  flex: 1;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--text-muted);
  background: #fff;
  color: var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
}
.auth-tab:hover {
  background: #f5f5f5;
}
.auth-tab.active {
  background: var(--brand-green);
  color: var(--brand-cream);
  border-color: var(--brand-green);
}
.auth-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
}
.auth-form label:first-of-type {
  margin-top: 0;
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-sizing: border-box;
}
.auth-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem !important;
  cursor: pointer;
  font-weight: 500 !important;
}
.auth-checkbox-label input {
  width: auto;
  margin: 0;
}
.auth-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--brand-green);
  color: var(--brand-cream);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.auth-submit:hover {
  background: #165a17;
}
.auth-error {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #c00;
}
.auth-signed-in {
  padding: 0.25rem 0;
}
.auth-user-line {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.auth-signout {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  color: var(--brand-green);
  border: 2px solid var(--brand-green);
  border-radius: 8px;
  cursor: pointer;
}
.auth-signout:hover {
  background: var(--brand-green);
  color: var(--brand-cream);
}

/* Main content wrapper (replaces old map-journey wrapper; background is site-bg-rotate only) */
.main-wrapper {
  position: relative;
  z-index: 1;
}

/* Main content – minimal bottom padding so page stops at last card */
.main-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0.75rem 1.5rem;
}

/* Controls: search + filters (centered) */
.controls {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-wrap {
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-wrap .search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 1.35rem;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.search-input {
  flex: 1;
  min-width: 0;
  max-width: 400px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0 10px 10px 0;
  background-color: #fff;
  color: var(--text-dark);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 118, 30, 0.25);
}

.filters {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
  width: 100%;
}

.filters::-webkit-scrollbar {
  height: 4px;
}

.filters::-webkit-scrollbar-thumb {
  background: rgba(29, 118, 30, 0.3);
  border-radius: 4px;
}

@media (min-width: 640px) {
  .filters {
    flex-wrap: wrap;
  }
}

.filter-btn {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid var(--brand-green);
  border-radius: 9999px;
  background-color: var(--brand-cream);
  color: var(--brand-green);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  background-color: rgba(29, 118, 30, 0.1);
}

.filter-btn.active {
  background-color: var(--brand-gold);
  color: var(--text-dark);
  border-color: var(--brand-gold);
}

/* Street-sign style category filters – semi-realistic */
.street-sign-filters {
  gap: 0.75rem;
}

.filter-btn.street-sign {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 3px solid #fff;
  background: linear-gradient(180deg, #0d5c0d 0%, #0a4a0a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.filter-btn.street-sign .street-sign-text {
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.filter-btn.street-sign:hover {
  background: linear-gradient(180deg, #0f6b0f 0%, #0d5c0d 100%);
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.filter-btn.street-sign.active {
  background: linear-gradient(180deg, #c9a227 0%, #b8921f 100%);
  border-color: #fff;
  color: #1a1a1a;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.filter-btn.street-sign.street-empty {
  display: none;
}

.filter-btn.street-sign.active .street-sign-text {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Shop grid – 1 per row */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Stitch-style shop card: header + two-column layout (hero+prose | products+VIEW MORE+stats) */
.shop-card {
  background: var(--brand-cream);
  border: 1px solid rgba(29, 118, 30, 0.2);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

@media (min-width: 768px) {
  .shop-card {
    padding: 2.5rem 3rem;
  }
}

.shop-card-header {
  text-align: left;
  margin-bottom: 2rem;
}

.shop-card-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.shop-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.shop-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.shop-card-location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.shop-card-location .material-icons {
  font-size: 1.25rem;
}

.shop-card-location p {
  margin: 0;
}

.shop-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .shop-card-grid {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
  }
}

/* Left column: hero image + description */
.shop-card-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.shop-hero-wrap {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: #e5e5e5;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.shop-hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shop-card:hover .shop-hero-wrap img {
  transform: scale(1.05);
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.shop-card:hover .shop-hero-overlay {
  opacity: 1;
}

.shop-hero-label {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.shop-card-prose {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.shop-card-prose p {
  margin: 0 0 1rem;
}

.shop-card-prose p:last-child {
  margin-bottom: 0;
}

/* Right column: 2×2 product grid + VIEW MORE + stats */
.shop-card-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.shop-card .product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  max-width: 520px;
}

.product-cell {
  aspect-ratio: 1;
  background: #e5e5e5;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.product-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-cell:hover img {
  transform: scale(1.1);
}

.view-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 1rem;
  border: 2px solid var(--brand-green);
  background: transparent;
  color: var(--brand-green);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.view-more-btn:hover {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-color: var(--brand-gold);
}

.view-more-btn .material-icons {
  margin-left: 0.5rem;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.view-more-btn:hover .material-icons {
  transform: translateX(0.25rem);
}

.shop-card-stat-single {
  padding: 1rem 1.25rem;
  background: rgba(29, 118, 30, 0.08);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.shop-card-category {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-green);
}

.shop-card-item-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Favorite button on card */
.card-top-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.card-icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.card-icon-btn:hover {
  color: var(--brand-green);
  transform: scale(1.05);
}

.card-icon-btn .material-icons {
  font-size: 22px;
}

.favorite-btn.favorited {
  color: var(--brand-gold);
}

.favorite-btn:hover {
  color: var(--brand-gold);
  transform: scale(1.05);
}

.favorite-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Scroll sentinel and messages */
.scroll-sentinel {
  height: 1px;
  visibility: hidden;
  pointer-events: none;
}

.loading-indicator,
.no-results {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
}

.no-results {
  font-size: 1.1rem;
}

/* Share modal */
.share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.share-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.share-modal {
  background: var(--brand-cream);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 320px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.share-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-modal-close:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.06);
}

.share-modal-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.share-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-copy-btn,
.share-via-btn {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--brand-green);
  background: var(--brand-green);
  color: var(--brand-cream);
  cursor: pointer;
  transition: opacity 0.2s;
}

.share-copy-btn:hover,
.share-via-btn:hover {
  opacity: 0.9;
}

.share-copy-btn.copied {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--text-dark);
}

/* Comment sidebar */
.comment-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.comment-sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.comment-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: var(--brand-cream);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.comment-sidebar.is-open {
  transform: translateX(0);
}

.comment-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comment-sidebar-title {
  margin: 0;
  font-size: 1.1rem;
}

.comment-sidebar-close {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-sidebar-close:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.06);
}

.comment-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.comment-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-item-text {
  margin: 0 0 0.25rem;
}

.comment-item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comment-item-by {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.comment-signin-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.comment-form {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.comment-input {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  resize: vertical;
  margin-bottom: 0.5rem;
}

.comment-submit {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: var(--brand-green);
  color: var(--brand-cream);
  cursor: pointer;
}

.comment-submit:hover {
  opacity: 0.9;
}

/* Admin page – Excel/CSV-style spreadsheet */
.admin-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.admin-tab-btn {
  padding: 0.6rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: -1px;
}

.admin-tab-btn:hover {
  color: var(--text-dark);
}

.admin-tab-btn.active {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}

.admin-panel {
  padding-top: 0;
}

.admin-contact-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-contact-table th,
.admin-contact-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-contact-table th {
  font-weight: 600;
  color: var(--text-dark);
}

.admin-contact-table td {
  vertical-align: top;
}

.admin-contact-empty {
  color: var(--text-muted);
  margin: 1rem 0;
}

.admin-main {
  max-width: 100%;
  padding: 1rem;
  overflow: hidden;
}

.admin-forbidden {
  font-size: 1.125rem;
  color: var(--text, #333);
}

.admin-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.admin-export-btn {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

.admin-loading {
  color: var(--text, #333);
}

.admin-table-wrap {
  margin-top: 0.75rem;
  overflow: auto;
  max-height: calc(100vh - 12rem);
  border: 1px solid #d4d4d4;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: inherit;
  table-layout: fixed;
}

.admin-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #217346;
  color: #fff;
}

.admin-table th {
  padding: 0.4rem 0.5rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #1a5c38;
  line-height: 1.2;
}

.admin-table td {
  border: 1px solid #d4d4d4;
  padding: 0;
  vertical-align: top;
}

.admin-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.admin-table tbody tr:hover {
  background: #e8f4ec;
}

.admin-table .admin-input {
  width: 100%;
  min-width: 0;
  padding: 0.35rem 0.5rem;
  border: none;
  border-radius: 0;
  font-size: 13px;
  font: inherit;
  box-sizing: border-box;
  background: transparent;
}

.admin-table .admin-input:focus {
  outline: 2px solid #217346;
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}

.admin-table .admin-input-id {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  background: #eef1ef;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 12px;
}

.admin-table td .admin-input-id {
  background: #eef1ef;
}

.admin-table tbody tr:nth-child(even) .admin-input-id {
  background: #e2e6e4;
}

.admin-table .admin-input-description,
.admin-table .admin-input-json {
  min-width: 180px;
  width: 180px;
  max-width: 240px;
  min-height: 2.2em;
  resize: none;
  line-height: 1.3;
}

.admin-product-photos-cell {
  vertical-align: top;
  min-width: 200px;
  max-width: 280px;
}

.admin-product-photos-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-product-photos-wrap .admin-input-product-photo {
  width: 100%;
  min-width: 0;
  font-size: 11px;
  padding: 0.25rem 0.35rem;
}

.admin-enter-clicks-cell {
  padding: 0.35rem 0.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.admin-table th:nth-child(1) { width: 90px; min-width: 90px; }
.admin-table th:nth-child(2) { width: 100px; min-width: 100px; }
.admin-table th:nth-child(3) { width: 70px; min-width: 70px; }
.admin-table th:nth-child(4) { width: 120px; min-width: 120px; }
.admin-table th:nth-child(5) { width: 140px; min-width: 140px; }
.admin-table th:nth-child(6) { width: 80px; min-width: 80px; }
.admin-table th:nth-child(7) { width: 100px; min-width: 100px; }
.admin-table th:nth-child(8) { width: 200px; min-width: 200px; }
.admin-table th:nth-child(9) { width: 120px; min-width: 120px; }
.admin-table th:nth-child(10) { width: 120px; min-width: 120px; }
.admin-table th:nth-child(11) { width: 100px; min-width: 100px; }
.admin-table th:nth-child(12) { width: 90px; min-width: 90px; }
.admin-table th:nth-child(13) { width: 200px; min-width: 200px; }
.admin-table th:nth-child(14) { width: 120px; min-width: 120px; }

.admin-table td:nth-child(1) { width: 90px; min-width: 90px; }
.admin-table td:nth-child(2) { width: 100px; min-width: 100px; }
.admin-table td:nth-child(3) { width: 70px; min-width: 70px; }
.admin-table td:nth-child(4) { width: 120px; min-width: 120px; }
.admin-table td:nth-child(5) { width: 140px; min-width: 140px; }
.admin-table td:nth-child(6) { width: 80px; min-width: 80px; }
.admin-table td:nth-child(7) { width: 100px; min-width: 100px; }
.admin-table td:nth-child(8) { width: 200px; min-width: 200px; }
.admin-table td:nth-child(9) { width: 120px; min-width: 120px; }
.admin-table td:nth-child(10) { width: 120px; min-width: 120px; }
.admin-table td:nth-child(11) { width: 100px; min-width: 100px; }
.admin-table td:nth-child(12) { width: 90px; min-width: 90px; }
.admin-table td:nth-child(13) { width: 200px; min-width: 200px; }
.admin-table td:nth-child(14) { width: 120px; min-width: 120px; }

.admin-featured-cell {
  text-align: center;
}

.admin-actions-cell {
  white-space: nowrap;
  background: #fff;
}

.admin-table tbody tr:nth-child(even) .admin-actions-cell {
  background: #f8f9fa;
}

.admin-btn {
  padding: 0.3rem 0.5rem;
  margin-right: 0.2rem;
  font-size: 12px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.admin-btn:hover {
  background: #f0f0f0;
}

.admin-save-btn {
  border-color: #217346;
  color: #217346;
  background: #fff;
}

.admin-save-btn:hover {
  background: #e8f4ec;
}

.admin-delete-btn {
  border-color: #c00;
  color: #c00;
  background: #fff;
}

.admin-delete-btn:hover {
  background: #fde8e8;
}

.admin-message {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}

.admin-message-error {
  color: #a00;
}

.admin-retry-btn {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--brand-green, #1d761e);
  border-radius: 4px;
  background: #fff;
  color: var(--brand-green, #1d761e);
  cursor: pointer;
}

.admin-retry-btn:hover {
  background: #f0f8f0;
}

/* Scroll to top (home page): show when header has scrolled out of view */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: var(--brand-green);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.15s ease;
}

.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: scale(1.05);
}

.scroll-to-top .material-icons {
  font-size: 1.5rem;
}

/* Site footer (Privacy, etc.) */
.site-footer {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.55);
}

.site-footer-inner {
  margin: 0;
  max-width: 72rem;
  margin-inline: auto;
}

.site-footer a {
  color: var(--brand-green, #1d761e);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Home: footer sits in main column above fixed map backdrop */
.page-home .site-footer--over-map {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  background-color: #e8e0d5;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

/* ——— Homepage (Main Street marketing) ——— */
.site-header--sticky {
  position: sticky;
  top: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--brand-cream);
  color: var(--brand-green);
  font-weight: 700;
  border: 2px solid var(--brand-green);
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 0.5rem;
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

/* Scroll / load-in: hidden state only when JS sets html.home-animate-on (no-JS stays visible) */
@media (prefers-reduced-motion: no-preference) {
  html.home-animate-on .home-animate:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }

  html.home-animate-on .home-animate {
    transition:
      opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--home-order, 0) * 0.055s);
  }

  html.home-animate-on .home-animate.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  html.home-animate-on .home-animate--pop:not(.is-visible) {
    transform: translate3d(0, 1.35rem, 0) scale(0.94);
  }

  html.home-animate-on .home-animate--pop.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  html.home-animate-on .home-animate--tilt.is-visible {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.home-main {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

.home-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
  text-align: left;
}

.home-hero--retail .home-hero-title em {
  font-style: italic;
  color: var(--brand-green);
}

.home-panel.home-compare {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

/* Problem stats → bridge → How it works (hero) */
.home-problem {
  width: 100%;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-problem-title {
  margin-bottom: 1rem;
}

.home-problem-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

.home-problem-card {
  margin: 0;
  padding: 1.1rem 1rem 1.15rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--problem-accent);
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.home-problem-stat {
  display: block;
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-green);
  margin-bottom: 0.4rem;
}

.home-problem-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-dark);
}

.home-problem-footnote {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.home-problem-bridge {
  margin: clamp(1.35rem, 3.5vw, 2rem) auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
}

/* How it works: icon cards under hero */
.home-how-blocks {
  width: 100%;
  margin-top: clamp(1.35rem, 3vw, 2rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-how-blocks-heading {
  margin-bottom: 1rem;
}

.home-how-blocks-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-how-blocks-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 1rem;
  }
}

.home-how-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 1.05rem 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.home-how-block-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(29, 118, 30, 0.12);
  color: var(--brand-green);
}

.home-how-block-icon {
  font-size: 1.65rem;
  line-height: 1;
}

.home-how-block-title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text-dark);
}

.home-how-block-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-compare-lead {
  margin: 0 auto 0.85rem;
  max-width: 38rem;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-compare-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .home-compare-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.home-compare-card {
  margin: 0;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.home-compare-card--us {
  background: rgba(29, 118, 30, 0.09);
  border-color: rgba(29, 118, 30, 0.32);
}

.home-compare-card-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-green);
}

.home-compare-card-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.home-case-study-pilot {
  margin: 0 auto 0.55rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.home-case-study-pilot a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
}

.home-case-study-pilot a:hover {
  text-decoration: underline;
}

.home-case-study-callout {
  margin: 0 auto 1rem;
  max-width: 34rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Homepage: product story panel — stacked inset regions (layout + padding via .home-panel.home-sell-panel) */

.home-sell-inset {
  background: rgba(254, 255, 245, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}

.home-sell-inset--head {
  text-align: center;
  background: rgba(255, 255, 255, 0.42);
}

.home-sell-intro-title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  color: var(--text-dark);
}

.home-sell-intro-deck {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-region-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0 0 0.85rem;
}

.home-region-label--center {
  text-align: center;
}

.home-region-label--commercial {
  margin-bottom: 0.7rem;
}

.home-benefit-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.home-benefit-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  border-left: 3px solid var(--brand-green);
}

.home-benefit-card.home-value-prop {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-left-width: 4px;
}

.home-value-prop-index {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  background: var(--brand-gold);
  border: 2px solid rgba(0, 0, 0, 0.08);
  line-height: 1;
}

.home-value-prop-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.4rem;
}

.home-benefit-card-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.home-benefit-card-title.home-value-prop-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.08rem, 2.5vw, 1.28rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-dark);
}

.home-benefit-card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.home-sell-inset--commercial {
  background: rgba(232, 224, 213, 0.65);
}

.home-sell-footer-cards {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .home-sell-footer-cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.home-sell-info-card {
  background: rgba(254, 255, 245, 0.92);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-sell-info-card-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-sell-price-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 0.4rem;
}

.home-sell-info-card-body a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
}

.home-sell-info-card-body a:hover {
  text-decoration: underline;
}

/* Case study — narrative vs. metrics clearly split */
.home-case-study {
  border: 1px dashed rgba(29, 118, 30, 0.38);
  background: rgba(254, 255, 245, 0.45);
}

.home-case-study-top {
  text-align: center;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(29, 118, 30, 0.22);
}

.home-case-study-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.home-case-study-title {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  line-height: 1.35;
  color: var(--text-dark);
}

.home-case-study-intro {
  margin: 0 auto 0.85rem;
  max-width: 38rem;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.home-case-study-note {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.home-case-study-stats-box {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid rgba(29, 118, 30, 0.16);
}

.home-stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-stats-cell {
  background: rgba(254, 255, 245, 0.95);
  border-radius: 8px;
  padding: 0.8rem 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.35;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-stats-cell .home-stats-num {
  display: block;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--brand-green);
  margin-bottom: 0.2rem;
}

.home-stats-desc {
  display: block;
  color: var(--text-dark);
}

.home-panel {
  background-color: #e8e0d5;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
}

/* One tan sheet: hero through closing CTA (no map gap between sections) */
.home-tan-continuous {
  background-color: #e8e0d5;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.home-tan-continuous > .home-panel {
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
  border-radius: 0;
}

.home-tan-continuous > .home-panel + .home-panel {
  padding-top: clamp(0.85rem, 2.2vw, 1.35rem);
}

.home-tan-continuous > .home-panel:not(:last-child) {
  padding-bottom: clamp(0.85rem, 2.2vw, 1.35rem);
}

/* Proof + pricing + closing: same tan sheet; proof reads on light (not dark band) */
.home-tan-continuous .home-proof {
  background: transparent;
  color: var(--text-dark);
  border: none;
  box-shadow: none;
}

.home-tan-continuous .home-proof-title {
  color: var(--text-dark);
}

.home-tan-continuous .home-proof-sub {
  color: var(--text-muted);
}

.home-tan-continuous .home-proof-sub strong {
  color: var(--text-dark);
}

.home-tan-continuous .home-proof-stat {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(42, 33, 28, 0.06);
}

.home-tan-continuous .home-proof-num {
  color: var(--brand-green);
}

.home-tan-continuous .home-proof-label {
  color: var(--text-dark);
}

.home-tan-continuous .home-proof-link {
  color: var(--brand-green);
}

.home-tan-continuous .home-proof-link:hover {
  color: #145a15;
}

.home-tan-continuous .home-proof-note {
  color: var(--text-muted);
}

.home-panel.home-sell-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.65rem);
}

.home-panel.home-case-study {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

/* Homepage — relief-led narrative (shopmainstreet.co) */
.home-hero--relief {
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.home-hero-headline {
  text-align: center;
  margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
  max-width: min(52rem, 100%);
  padding: 0 0.25rem;
}

.home-hero--relief .home-hero-headline {
  max-width: none;
  width: 100%;
  margin-top: 0;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.home-hero--relief .home-hero-headline .home-hero-title {
  margin: 0;
  color: var(--brand-green);
  text-align: center;
}

.home-hero--relief .home-hero-copy {
  margin-top: clamp(1rem, 2.5vw, 1.35rem);
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: min(52rem, 100%);
}

.home-hero--relief .home-hero-lead {
  text-align: center;
}

.home-hero--relief .home-hero-lead {
  font-size: clamp(0.8125rem, 1.65vw, 0.9375rem);
  line-height: 1.4;
  max-width: 52rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(26, 26, 26, 0.78);
}

.home-hero--relief .home-hero-cta {
  justify-content: center;
}

.home-problem-feelings {
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.home-feelings--unified {
  padding: clamp(1.5rem, 3.5vw, 2rem);
}

.home-feelings--pillars {
  max-width: 52rem;
  margin-inline: auto;
}

.home-feelings-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: center;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
}

.home-feelings-block--pillars {
  max-width: none;
  width: 100%;
}

@media (min-width: 640px) {
  .home-feelings-block:not(.home-feelings-block--pillars) {
    grid-template-columns: auto 1fr;
    gap: clamp(1.35rem, 3.5vw, 2rem);
    max-width: 48rem;
  }
}

.home-feelings-visual {
  position: relative;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0 auto;
  flex-shrink: 0;
}

.home-feelings-visual-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(224, 112, 32, 0.5);
  background: radial-gradient(circle at 35% 30%, rgba(254, 255, 245, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.home-feelings-visual-ring--outer {
  inset: -0.45rem;
  border-width: 2px;
  border-color: rgba(29, 118, 30, 0.28);
  background: none;
}

.home-feelings-visual-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.65rem !important;
  color: var(--brand-green);
}

.home-feelings-content {
  min-width: 0;
}

.home-feelings-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 1.95rem);
  font-weight: 700;
  text-align: center;
  margin: 0 auto 1.4rem;
  max-width: 34rem;
  line-height: 1.28;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.home-feelings-title::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0.9rem auto 0;
  background: var(--brand-green);
  border-radius: 2px;
}

.home-feelings-title--unified {
  margin: 0 0 0.75rem;
  max-width: none;
  text-align: center;
}

.home-feelings-title--unified::after {
  display: none;
}

@media (min-width: 640px) {
  .home-feelings-content:not(.home-feelings-content--pillars) .home-feelings-title--unified {
    text-align: left;
  }
}

.home-feelings-content--pillars {
  width: 100%;
  max-width: 100%;
}

.home-feelings-content--pillars .home-feelings-title--unified {
  text-align: center;
  margin-bottom: 1.5rem;
}

.home-feelings-pillars {
  --home-feelings-rail-bg: #e8e0d5;
  list-style: none;
  margin: 0;
  padding: 2.35rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 0.75rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 720px) {
  .home-feelings-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
    align-items: stretch;
    justify-items: stretch;
  }

  .home-feelings-pillars::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: calc(1.125rem - 1px);
    height: 4px;
    background: linear-gradient(
      90deg,
      rgba(29, 118, 30, 0.85) 0%,
      rgba(29, 118, 30, 0.35) 50%,
      rgba(29, 118, 30, 0.85) 100%
    );
    border-radius: 3px;
    z-index: 0;
  }
}

.home-feelings-pillar {
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0.85rem 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-self: stretch;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(42, 33, 28, 0.06);
}

@media (min-width: 720px) {
  .home-feelings-pillar {
    min-height: 7.5rem;
  }
}

.home-feelings-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 0 0 5px var(--home-feelings-rail-bg);
}

.home-feelings-pillar-icon .material-icons {
  font-size: 1.15rem !important;
}

@media (max-width: 719px) {
  .home-feelings-pillar {
    min-height: 5.75rem;
  }

  .home-feelings-pillar-icon {
    box-shadow: none;
    border-radius: 10px;
    width: 2.75rem;
    height: 2.75rem;
  }

  .home-feelings-pillar-icon .material-icons {
    font-size: 1.35rem !important;
  }

  .home-feelings-pillars {
    padding-top: 0;
  }
}

.home-feelings-pillar-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-dark);
  font-weight: 600;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
}

.home-feelings-kicker {
  margin: 1.25rem 0 1rem;
  text-align: center;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-feelings-body {
  margin: 0 0 1.05rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-dark);
  text-align: center;
}

@media (min-width: 640px) {
  .home-feelings-body {
    text-align: left;
  }
}

/* Personas: tabs + flows + pain/solution cards */
.home-personas {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 52rem;
  margin-inline: auto;
}

.home-personas-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  margin-bottom: 1.75rem;
  gap: 0;
}

.home-personas-intro-head {
  margin: 0 auto 1.35rem;
  max-width: 40rem;
  padding: clamp(1.1rem, 2.8vw, 1.45rem) clamp(1.15rem, 3vw, 1.65rem) clamp(1.2rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(42, 33, 28, 0.07);
}

.home-personas-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.home-personas-heading::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--brand-green);
  border-radius: 2px;
}

.home-personas-deck {
  margin: 1rem 0 0;
  max-width: none;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 500;
}

.home-personas-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 2rem;
}

.home-personas-tabs--billboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 0.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  justify-content: stretch;
}

.home-persona-tab {
  appearance: none;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-persona-tab--billboard {
  font-size: clamp(1.15rem, 3.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: clamp(0.75rem, 2vw, 1.05rem) 0.5rem;
  border-radius: 14px;
  width: 100%;
  min-height: 3.25rem;
  line-height: 1.15;
}

.home-persona-tab:hover {
  border-color: rgba(29, 118, 30, 0.35);
  color: var(--text-dark);
}

.home-persona-tab:focus-visible {
  outline: 2px solid var(--brand-gold, #c9a227);
  outline-offset: 2px;
}

.home-persona-tab.is-active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  box-shadow: 0 2px 10px rgba(29, 118, 30, 0.22);
}

/* Persona tabs — same street-sign look as directory filters */
.home-persona-tab.home-persona-tab--street-sign {
  border-radius: 6px;
  border: 3px solid #fff;
  background: linear-gradient(180deg, #0d5c0d 0%, #0a4a0a 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.15s, border-color 0.15s;
}

.home-persona-tab.home-persona-tab--street-sign .street-sign-text {
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home-persona-tab.home-persona-tab--street-sign:hover {
  background: linear-gradient(180deg, #0f6b0f 0%, #0d5c0d 100%);
  border-color: #fff;
  color: #fff;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.home-persona-tab.home-persona-tab--street-sign.is-active {
  background: linear-gradient(180deg, #c9a227 0%, #b8921f 100%);
  border-color: #fff;
  color: #1a1a1a;
  box-shadow:
    0 2px 0 0 rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-persona-tab.home-persona-tab--street-sign.is-active .street-sign-text {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.home-persona-tab.home-persona-tab--street-sign:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 3px;
}

.home-persona-panel[hidden] {
  display: none !important;
}

.home-persona-headline {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  text-align: center;
}

.home-persona-lead {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.home-persona-flows {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.home-persona-flow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
  align-items: start;
}

.home-persona-flow-label {
  margin: 0.35rem 0 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(29, 118, 30, 0.85);
  white-space: nowrap;
}

.home-persona-flow-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.35rem 0.25rem;
}

@media (min-width: 768px) {
  .home-persona-flow-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    flex-wrap: unset;
  }
}

.home-persona-flow-card {
  flex: 1 1 8.5rem;
  min-width: 0;
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(42, 33, 28, 0.06);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-persona-flow-card {
    flex: unset;
    height: 100%;
    min-height: 100%;
  }
}

.home-persona-flow-body {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

.home-persona-flow-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--brand-green);
  margin: -0.65rem -0.75rem 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9px 9px 0 0;
}

/* Row is card, arrow, card, arrow, card — vary header greens like reference */
.home-persona-flow-row > .home-persona-flow-card:nth-child(1) .home-persona-flow-tag {
  background: #1d761e;
}

.home-persona-flow-row > .home-persona-flow-card:nth-child(3) .home-persona-flow-tag {
  background: #2d8f2e;
}

.home-persona-flow-row > .home-persona-flow-card:nth-child(5) .home-persona-flow-tag {
  background: #52a653;
}

.home-persona-flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0;
  padding: 0 0.15rem;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(42, 33, 28, 0.35);
  user-select: none;
}

.home-persona-cta-wrap {
  margin: 1.75rem 0 0;
  text-align: center;
}

.home-persona-cta.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-personas-impact {
  margin-top: 2.25rem;
  padding: 1.1rem 1.25rem 1.1rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(42, 33, 28, 0.06);
  border-left: 4px solid var(--brand-gold, #d4af37);
}

.home-personas-impact-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.home-personas-impact-text strong {
  color: var(--text-dark);
  font-weight: 800;
}

.home-proof {
  background: linear-gradient(165deg, #3d2f26 0%, #2a211c 45%, #352a24 100%);
  color: #f5f0e8;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-proof-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.home-proof-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.3;
  color: #fdf8f0;
}

.home-proof-sub {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.88);
}

.home-proof-stats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .home-proof-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.home-proof-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.15rem 1rem;
  text-align: center;
}

.home-proof-num {
  display: block;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-gold);
  margin-bottom: 0.35rem;
}

.home-proof-label {
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(245, 240, 232, 0.92);
}

.home-proof-cta-wrap {
  margin: 0 0 1.25rem;
}

.home-proof-link {
  color: var(--brand-gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.home-proof-link:hover {
  text-decoration: underline;
}

.home-proof-note {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(245, 240, 232, 0.65);
}

.home-compare--empathy .home-section-title {
  margin-bottom: 1.25rem;
}

.home-compare-table {
  width: 100%;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.home-compare-thead {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .home-compare-thead {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-compare-th {
  padding: 0.75rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .home-compare-th {
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }

  .home-compare-th:last-child {
    border-right: none;
  }
}

.home-compare-th--us {
  color: var(--brand-green);
}

.home-compare-tbody .home-compare-row {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-compare-tbody .home-compare-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-compare-cell {
  padding: 1rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .home-compare-cell {
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }

  .home-compare-cell:last-child {
    border-right: none;
  }
}

.home-compare-cell--us {
  background: rgba(29, 118, 30, 0.09);
  font-weight: 500;
}

.home-compare-honest {
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.home-relief-items {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.home-relief-line {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-dark);
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  border-left: 4px solid var(--brand-green);
}

.home-pricing-simple {
  text-align: center;
  padding: clamp(1.85rem, 4vw, 2.75rem);
}

.home-pricing-line {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-dark);
}

.home-pricing-line--emph {
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 1.25rem;
}

.home-pricing-ask {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.home-pricing-ask:hover {
  text-decoration: underline;
}

.home-contact-cta--closing .home-contact-cta-heading {
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}

.home-contact-cta--closing .home-contact-cta-text {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.home-closing-whisper {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.home-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 4vw + 0.35rem, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 0.65rem;
  text-align: left;
}

.home-hero-lead {
  font-size: clamp(0.875rem, 1.9vw, 1rem);
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0 0 1.25rem;
  text-align: left;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.home-hero-copy {
  max-width: 44rem;
}

.home-hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  text-align: left;
}

.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.home-btn--primary {
  background: var(--brand-gold);
  color: var(--text-dark);
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.home-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--text-dark);
}

.home-btn--secondary {
  background: transparent;
  color: var(--brand-green);
  border: 2px solid var(--brand-green);
}

.home-btn--secondary:hover {
  background: rgba(29, 118, 30, 0.08);
  color: var(--brand-green);
}

.home-btn--large {
  min-height: 52px;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  font-size: 1.05rem;
}

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: center;
}

.home-trust-stat {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-green);
}

@media (min-width: 640px) {
  .home-trust-list li {
    flex: 1 1 40%;
    max-width: 12rem;
  }
  .home-trust-stat {
    display: inline;
    margin-right: 0.25rem;
  }
}

.home-section-title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 40rem;
  line-height: 1.28;
  color: var(--text-dark);
}

.home-section-intro {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.home-benefit-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .home-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-benefit-card {
  background: rgba(254, 255, 245, 0.65);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--brand-green);
}

.home-benefit-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.home-audience-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .home-audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-audience-card {
  background: rgba(254, 255, 245, 0.65);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.home-audience-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.home-audience-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-usp .home-section-title {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.home-usp-text {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.home-proof-lead {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.home-pilot-cta {
  text-align: center;
  margin: 1rem 0 0;
}

.home-pricing {
  text-align: center;
}

.home-pricing-highlight {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0 0 0.75rem;
  color: var(--text-dark);
}

.home-pricing-note {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-inline: auto;
}

.home-mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
  margin-inline: auto;
}

.home-mission-list li {
  margin-bottom: 1rem;
  padding-left: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.home-mission-list li:last-child {
  margin-bottom: 0;
}

.home-cta-band {
  text-align: center;
}

.home-cta-band-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text-dark);
}

.home-contact {
  margin-bottom: 0;
}

.home-contact-lead {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.home-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer--home {
  text-align: left;
}

.site-footer-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 62rem;
  margin: 0 auto 1.5rem;
  padding: 0 0.25rem;
}

@media (min-width: 640px) {
  .site-footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    align-items: start;
  }
}

.site-footer-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--text-dark);
}

.site-footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.site-footer-heading {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-links li {
  margin-bottom: 0.35rem;
}

.site-footer-contact {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.site-footer-meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.site-footer-copy {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .home-hero-copy {
    margin-inline: auto;
  }

  .home-eyebrow {
    text-align: center;
  }
  .home-hero-title,
  .home-hero-lead,
  .home-hero-note {
    text-align: center;
  }
  .home-hero-cta {
    justify-content: center;
  }
  .home-persona-flow {
    grid-template-columns: 1fr;
  }

  .home-persona-flow-label {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0 0 0.35rem;
    letter-spacing: 0.1em;
  }

  .home-persona-flow-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-persona-flow-arrow {
    transform: rotate(90deg);
    padding: 0.15rem 0;
  }

  .home-how-block {
    align-items: center;
    text-align: center;
  }
  .home-how-block-icon-wrap {
    margin-inline: auto;
  }
  .home-problem-card {
    text-align: center;
  }
  .home-contact-cta--closing .home-btn {
    margin-left: auto;
    margin-right: auto;
  }
  .home-btn {
    width: 100%;
    max-width: 20rem;
  }
}
