/* SIDE NAV */
.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-dot {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78716c;
  opacity: 0.25;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot.active span {
  opacity: 1;
  background: #2d6a4f;
  transform: scale(1.5);
}

.nav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: #1c1917;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav-dot:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* HERO */
.hero-bg {
  animation: ken-burns 20s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08) translate(-1%, -0.5%); }
}

.hero-title {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SCROLL CUE */
.scroll-cue {
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* PHOTO LABELS */
.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FLOOR PLAN */
.floor-plan-hint {
  animation: fp-pulse 2.4s ease-in-out infinite;
}
@keyframes fp-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
.floor-plan-interacted .floor-plan-hint {
  animation: none;
  opacity: 0.5;
}

.floor-plan-interactive {
  position: relative;
  max-width: 360px;
  width: 100%;
  margin-top: 8px;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.floor-plan-interactive:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

.floor-plan-inner {
  position: relative;
}

.floor-plan-interactive img {
  width: 100%;
  display: block;
  transition: filter 0.4s ease;
}

.floor-plan-interactive svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Room name tooltip */
.floor-plan-interactive svg .room-label {
  pointer-events: none;
  font-size: 18px;
  font-weight: 600;
  fill: #2d6a4f;
  opacity: 0;
  transition: opacity 0.25s ease;
  font-family: Inter, system-ui, sans-serif;
}

.floor-plan-interactive svg rect,
.floor-plan-interactive svg path[data-room] {
  fill: rgba(45, 106, 79, 0);
  stroke: rgba(45, 106, 79, 0);
  stroke-width: 2.5;
  cursor: pointer;
  transition: fill 0.25s cubic-bezier(0.4,0,0.2,1),
              stroke 0.25s cubic-bezier(0.4,0,0.2,1),
              filter 0.25s cubic-bezier(0.4,0,0.2,1);
}

.floor-plan-interactive svg rect:hover,
.floor-plan-interactive svg path[data-room]:hover {
  fill: rgba(45, 106, 79, 0.12);
  stroke: rgba(45, 106, 79, 0.7);
  filter: drop-shadow(0 0 10px rgba(45, 106, 79, 0.3));
}

.floor-plan-interactive svg rect:hover + .room-label {
  opacity: 1;
}

.floor-plan-interactive svg rect.active,
.floor-plan-interactive svg path[data-room].active {
  fill: rgba(45, 106, 79, 0.18);
  stroke: #2d6a4f;
  stroke-width: 3;
  filter: drop-shadow(0 0 14px rgba(45, 106, 79, 0.4));
}

/* Touch devices: always show room outlines so tap targets are visible */
@media (hover: none) and (pointer: coarse) {
  .floor-plan-interactive svg rect,
  .floor-plan-interactive svg path[data-room] {
    fill: rgba(45, 106, 79, 0.05);
    stroke: rgba(45, 106, 79, 0.45);
  }
  .floor-plan-interactive svg rect:active,
  .floor-plan-interactive svg path[data-room]:active {
    fill: rgba(45, 106, 79, 0.18);
    stroke: #2d6a4f;
    filter: drop-shadow(0 0 10px rgba(45, 106, 79, 0.35));
  }
}

/* Ripple hint on first load */
@keyframes fp-ripple {
  0%   { stroke-opacity: 0.6; stroke-width: 2.5; }
  100% { stroke-opacity: 0;   stroke-width: 10; }
}
.floor-plan-interactive svg rect.hint-pulse,
.floor-plan-interactive svg path[data-room].hint-pulse {
  animation: fp-ripple 1.8s ease-out infinite;
}

/* MAP */
.map { width: 100%; height: 100%; }

.map-filters {
  width: 100%;
  max-width: 72rem;
}

/* RUN ROUTES PANEL */
.run-routes-panel {
  position: absolute;
  bottom: 24px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.run-routes-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
}

.run-route-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  text-align: left;
}

.run-route-btn:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.run-route-btn.active {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.poi-marker.is-muted .poi-marker-inner {
  opacity: 0.38;
  transform: scale(0.84);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.poi-marker.is-active .poi-marker-inner {
  opacity: 1;
}

.run-route-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.run-route-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.run-route-label strong {
  font-size: 13px;
  font-weight: 600;
  color: #1c1917;
}

.run-route-label small {
  font-size: 11px;
  color: #78716c;
  display: flex;
  align-items: center;
  gap: 3px;
}

.run-route-label small svg {
  flex-shrink: 0;
  stroke: #78716c;
}

/* FILTER BUTTONS */
.filter-btn {
  padding: 8px 18px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  background: white;
  color: #44403c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.filter-btn:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
}

.filter-btn.active {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: white;
  box-shadow: 0 2px 8px rgba(45,106,79,0.25);
}

/* ROUTE INFO */
.route-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.route-info.hidden {
  transform: translateY(120%);
  pointer-events: none;
}

.route-info-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #78716c;
  line-height: 1;
}

.route-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.route-info h3 a {
  color: #2d6a4f;
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}

.route-info h3 a:hover {
  border-color: #2d6a4f;
}

.route-info p {
  color: #78716c;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* GARDEN JOURNAL */
.journal-shell {
  width: 100%;
  max-width: 1120px;
}

.journal-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.journal-intro > div {
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,245,244,0.9));
  border: 1px solid rgba(231,229,228,0.95);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.05);
}

.journal-intro strong {
  display: block;
  font-size: 1rem;
  color: #1c1917;
}

.journal-intro-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #40916c;
}

.journal-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.journal-preview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(231,229,228,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.07);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(28, 25, 23, 0.12);
}

.journal-preview-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.journal-preview-image,
.journal-preview-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.journal-preview-image {
  transition: transform 0.7s ease;
}

.journal-preview-card:hover .journal-preview-image {
  transform: scale(1.05);
}

.journal-preview-fallback {
  background: linear-gradient(135deg, rgba(45,106,79,0.22), rgba(28,25,23,0.08));
}

.journal-preview-body {
  padding: 20px;
}

.journal-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #57534e;
}

.journal-preview-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.1);
  color: #2d6a4f;
}

.journal-preview-body h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1c1917;
}

.journal-preview-body p {
  color: #57534e;
  line-height: 1.6;
}

.garden-wall-empty {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(231,229,228,0.95);
  border-radius: 20px;
  color: #57534e;
}

.route-info-stats {
  display: flex;
  gap: 24px;
}

.route-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2d6a4f;
}

/* KM MARKERS */
.km-marker {
  background: none !important;
  border: none !important;
}

.km-marker-label {
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

/* LEAFLET OVERRIDES */
.leaflet-control-attribution {
  font-size: 10px !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .side-nav { right: 12px; gap: 12px; }
  .nav-dot::after { display: none; }

   .map-container {
     border-radius: 24px;
     overflow: hidden;
   }

   #main-map {
     height: 52svh !important;
     min-height: 420px;
   }

   .map-filters {
     justify-content: flex-start;
     flex-wrap: nowrap;
     overflow-x: auto;
     padding-inline: 4px;
     padding-bottom: 4px;
     margin-inline: -4px;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: none;
   }

   .map-filters::-webkit-scrollbar {
     display: none;
   }

   .filter-btn {
     flex: 0 0 auto;
     white-space: nowrap;
     padding: 7px 14px;
     font-size: 12px;
   }

   .run-routes-panel {
     position: static;
     width: 100%;
     flex-direction: row;
     gap: 8px;
     align-items: stretch;
     overflow-x: auto;
     padding: 12px;
     background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.75));
     -webkit-overflow-scrolling: touch;
     scrollbar-width: none;
   }

   .run-routes-panel::-webkit-scrollbar {
     display: none;
   }

   .run-routes-label {
     flex: 0 0 auto;
     margin-bottom: 0;
     align-self: center;
   }

   .run-route-btn {
     flex: 0 0 auto;
     min-width: 220px;
     padding: 8px 12px;
   }

   .run-route-label strong { font-size: 12px; }
   .run-route-label small { font-size: 10px; }

   .route-info {
     position: static;
     left: auto;
     right: auto;
     bottom: auto;
     margin: 0 12px 12px;
     padding: 16px;
     border-radius: 16px;
   }

   .route-info-stats {
     flex-direction: column;
     gap: 12px;
   }

   .route-info-close {
     top: 10px;
     right: 12px;
   }

   .leaflet-bottom.leaflet-right {
     margin-bottom: 12px;
   }

   .journal-intro { grid-template-columns: 1fr; }
   .journal-preview-grid { grid-template-columns: 1fr; }
   .journal-preview-card { border-radius: 20px; }

}

/* FP GALLERY LAYOUT */
.fp-gallery-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.fp-gallery-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.fp-plan-col .floor-plan-interactive {
  max-width: 100%;
  margin: 0;
  position: sticky;
  top: 80px;
}

/* Room filter tabs */
.fp-room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.fp-tab {
  padding: 7px 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  background: white;
  color: #44403c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.fp-tab:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
}

.fp-tab.active {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: white;
  box-shadow: 0 2px 8px rgba(45,106,79,0.25);
}

/* Active room label */
.fp-active-room {
  font-size: 0.85rem;
  font-weight: 600;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  min-height: 20px;
}

/* Photo grid */
.fp-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fp-photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #e7e5e4;
}

.fp-photo-item.portrait {
  aspect-ratio: 3 / 4;
}

.fp-photo-item:not(.portrait) {
  aspect-ratio: 4 / 3;
}

.fp-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-photo-item:hover img {
  transform: scale(1.06);
}

.fp-photo-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.fp-photo-item:hover .fp-photo-item-overlay {
  opacity: 1;
}

.fp-photo-item-overlay span {
  color: white;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.fp-photo-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fp-photo-item:hover .fp-photo-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Photo item enter animation */
@keyframes fp-item-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.fp-photo-item.entering {
  animation: fp-item-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* FULL-SCREEN PHOTO LIGHTBOX */
.photo-lb {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  transition: visibility 0s 0.35s;
}

.photo-lb.open {
  visibility: visible;
  transition: visibility 0s 0s;
}

.photo-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease;
}

.photo-lb.open .photo-lb-backdrop {
  background: rgba(10, 10, 10, 0.92);
}

.photo-lb-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
}

.photo-lb.open .photo-lb-stage {
  opacity: 1;
  transform: scale(1);
}

.photo-lb-img {
  max-width: 100%;
  max-height: calc(90vh - 64px);
  object-fit: contain;
  border-radius: 8px;
  display: block;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.photo-lb-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 400;
  text-align: center;
}

.photo-lb-counter {
  margin-top: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
}

.photo-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.photo-lb-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.photo-lb-prev,
.photo-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.photo-lb-prev { left: 24px; }
.photo-lb-next { right: 24px; }

.photo-lb-prev:hover,
.photo-lb-next:hover {
  background: rgba(255,255,255,0.2);
}

.photo-lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.photo-lb-next:hover { transform: translateY(-50%) translateX(2px); }

.photo-lb-prev:disabled,
.photo-lb-next:disabled {
  opacity: 0.25;
  cursor: default;
}

/* RESPONSIVE - fp gallery */
@media (max-width: 900px) {
  .fp-gallery-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fp-plan-col .floor-plan-interactive {
    max-width: 320px;
    margin: 0 auto;
    position: static;
  }

  .fp-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fp-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .fp-plan-col .floor-plan-interactive {
    max-width: 100%;
  }

  .photo-lb-prev { left: 8px; }
  .photo-lb-next { right: 8px; }

  .photo-lb-prev,
  .photo-lb-next {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .hero-bg { animation: none; }
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  /* Base */
  body {
    background-color: #1c1917;
    color: #e7e5e4;
  }

  /* Top CTA bar */
  #top-cta {
    background-color: rgba(28, 25, 23, 0.95) !important;
    border-color: #44403c !important;
  }
  #top-cta span {
    color: #e7e5e4 !important;
  }

  /* Side nav dots label */
  .nav-dot::after {
    color: #e7e5e4;
  }

  /* Flat section highlights pills */
  .bg-forest-500\/10 {
    background-color: rgba(45, 106, 79, 0.2) !important;
  }

  /* Editorial narrative panels */
  .bg-forest-500\/5 {
    background-color: rgba(45, 106, 79, 0.12) !important;
  }
  .bg-stone-100 {
    background-color: #292524 !important;
  }
  .bg-stone-100\/60,
  .bg-stone-100\/60 {
    background-color: rgba(41, 37, 36, 0.6) !important;
  }

  /* White cards (biking, family, journal) */
  .bg-white {
    background-color: #292524 !important;
    border-color: #44403c;
  }

  /* Text colors */
  .text-stone-900 {
    color: #e7e5e4 !important;
  }
  .text-stone-500 {
    color: #d6d3d1 !important;
  }
  .text-stone-400 {
    color: #c4bfbb !important;
  }

  /* Specs border lines */
  .border-stone-200 {
    border-color: #44403c !important;
  }

  /* Journal cards */
  .journal-intro > div {
    background: linear-gradient(180deg, rgba(41,37,36,0.98), rgba(41,37,36,0.9));
    border-color: rgba(68,64,60,0.8);
  }
  .journal-intro strong {
    color: #e7e5e4;
  }
  .journal-preview-card {
    background: #292524;
    border-color: rgba(68,64,60,0.8);
  }
  .journal-preview-body h3 {
    color: #e7e5e4;
  }
  .journal-preview-body p,
  .journal-preview-meta {
    color: #a8a29e;
  }
  .garden-wall-empty {
    background: #292524;
    border-color: rgba(68,64,60,0.8);
    color: #a8a29e;
  }

  /* Filter buttons */
  .filter-btn {
    background: #292524;
    border-color: rgba(255,255,255,0.12);
    color: #d6d3d1;
  }
  .filter-btn:hover {
    border-color: #2d6a4f;
    color: #40916c;
  }
  .filter-btn.active {
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: white;
  }

  /* Run routes panel */
  .run-routes-label {
    background: rgba(28,25,23,0.9);
    color: #a8a29e;
  }
  .run-route-btn {
    background: rgba(28,25,23,0.92);
    color: #e7e5e4;
  }
  .run-route-btn.active {
    background: #1c1917;
  }
  .run-route-label strong {
    color: #e7e5e4;
  }

  /* Route info panel */
  .route-info {
    background: rgba(28,25,23,0.97);
  }

  /* FP tabs */
  .fp-tab {
    background: #292524;
    border-color: rgba(255,255,255,0.12);
    color: #d6d3d1;
  }
  .fp-tab:hover {
    border-color: #2d6a4f;
    color: #40916c;
  }
  .fp-tab.active {
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: white;
  }

  /* forest-500 text on dark bg — boost to accessible green */
  .text-forest-500 {
    color: #52b788 !important;
  }
  .journal-preview-tag {
    color: #52b788;
    background: rgba(82, 183, 136, 0.12);
  }

  /* FP active room label */
  .fp-active-room {
    color: #d6d3d1;
  }

  /* FP photo grid placeholder */
  .fp-photo-item {
    background: #3c3836;
  }

  /* Floor plan image — invert to dark bg (dark lines on white → white lines on dark) */
  .floor-plan-interactive img {
    filter: invert(1) hue-rotate(180deg) brightness(1.8) contrast(1.6);
  }
  .floor-plan-interactive {
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  }

  /* Sticky mobile CTA */
  .sticky-cta {
    background-color: rgba(28,25,23,0.97) !important;
    border-color: #44403c !important;
  }

  /* Strava card and similar white bg links */
  a.bg-white,
  a[class*="bg-white"] {
    background-color: #292524 !important;
    color: #e7e5e4 !important;
  }

  /* Gallery section subtitle */
  .text-stone-700 {
    color: #d6d3d1 !important;
  }

  /* Floor plan shadow */
  .floor-plan-interactive:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  }

  /* fp zoom icon */
  .fp-photo-zoom-icon {
    background: rgba(255,255,255,0.15);
  }
  .fp-photo-zoom-icon svg {
    stroke: #e7e5e4;
  }

  /* stone-600 text (unhandled in other rules) */
  .text-stone-600 {
    color: #c4bfbb !important;
  }

  /* Flat section quick-contact CTA card — hardcoded light gradient needs dark override */
  .flat-cta-panel {
    background: linear-gradient(135deg, rgba(45,106,79,0.18), rgba(28,25,23,0.85)) !important;
    border-color: rgba(45,106,79,0.35) !important;
  }
}
