/* =========================================================
   Wainland LLC — Shared Site Chrome (nav + footer)
   Single source of truth for the banner, used by every page
   including standalone listing pages. Injected by site-chrome.js.
   ========================================================= */

:root {
  --wl-green-dark:  #2a3d1f;
  --wl-green-mid:   #3e5c2b;
  --wl-green-light: #5c7c3a;
  --wl-brown:       #7a5c2e;
  --wl-brown-light: #b08a50;
  --wl-cream:       #f5f0e6;
  --wl-white:       #ffffff;
  --wl-heading:     'Playfair Display', Georgia, serif;
  --wl-body:        'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wl-maxw:        1140px;
  --wl-t:           .25s ease;
}

/* --- Navigation ----------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(42,61,31,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--wl-maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.site-nav .nav-logo {
  font-family: var(--wl-heading);
  font-size: 1.4rem;
  color: var(--wl-cream) !important;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-nav .nav-logo-img {
  height: 48px;
  width: auto;
  border-radius: 10px;
  background: rgba(255,255,255,.62);
  padding: 3px 6px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.site-nav .nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.site-nav .nav-logo .tagline {
  font-family: var(--wl-body);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wl-brown-light);
  display: block;
  margin-top: 1px;
}
.site-nav .nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
  margin: 0; padding: 0;
}
.site-nav .nav-links a {
  color: rgba(245,240,230,.8);
  font-family: var(--wl-body);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background var(--wl-t), color var(--wl-t);
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
  color: var(--wl-cream);
  background: rgba(255,255,255,.1);
}
.site-nav .nav-links .nav-cta a {
  background: var(--wl-brown-light);
  color: var(--wl-white);
  padding: 8px 18px;
}
.site-nav .nav-links .nav-cta a:hover { background: var(--wl-brown); }

.site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--wl-cream);
}
.site-nav .nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--wl-t);
}

@media (max-width: 700px) {
  .site-nav .nav-toggle { display: block; }
  .site-nav .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(42,61,31,.98);
    flex-direction: column;
    padding: 16px 0 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-links a { width: 100%; text-align: center; padding: 12px 24px; }
}

/* --- Footer --------------------------------------------- */
.site-footer {
  background: var(--wl-green-dark);
  color: rgba(245,240,230,.7);
  font-family: var(--wl-body);
  padding: 48px 0 28px;
}
.site-footer .footer-inner {
  max-width: var(--wl-maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer .footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.site-footer .footer-logo-img {
  height: 68px;
  width: auto;
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  padding: 5px 8px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.site-footer .footer-brand .logo {
  font-family: var(--wl-heading);
  font-size: 1.5rem;
  color: var(--wl-cream);
  display: block;
  margin-bottom: 2px;
}
.site-footer .footer-brand .motto {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wl-brown-light);
}
.site-footer .footer-brand p {
  color: rgba(245,240,230,.6);
  font-size: .875rem;
  margin: 12px 0 0;
}
.site-footer .footer-col h4 {
  color: var(--wl-cream);
  font-family: var(--wl-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer .footer-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .footer-col ul li { margin-bottom: 10px; }
.site-footer .footer-col a,
.site-footer .footer-col p {
  color: rgba(245,240,230,.65);
  font-size: .875rem;
  text-decoration: none;
  transition: color var(--wl-t);
}
.site-footer .footer-col p { margin: 0 0 6px; }
.site-footer .footer-col a:hover { color: var(--wl-cream); }
.site-footer .footer-bottom {
  max-width: var(--wl-maxw);
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .8rem;
  color: rgba(245,240,230,.4);
}

@media (max-width: 768px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Listing page wrapper -------------------------------
   Used by standalone listing pages so the fixed nav and the
   full-width footer sit correctly around centered content.
   The listing's <body> should NOT set max-width/margin/padding;
   wrap the listing content in <main class="listing-wrap"> instead. */
.listing-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 16px 24px;  /* top clears the fixed 64px nav */
}
