/* Site header and footer (same as the home page), for pages that do not load style.css.
   Source of truth for these rules is also css/style.css: keep both in sync. */
.nav, .mobile-menu, .footer {
  --bg: #F8F7F4; --bg-alt: #F0EFE9; --ink: #0D0D0B; --ink-2: #5A5A54; --ink-3: #9A9A92;
  --accent: #4E6040; --accent-lt: #E8EEE3; --border: #E2E1DA; --white: #FFFFFF;
  --ff-sans: 'Inter', system-ui, sans-serif; --ff-serif: 'DM Serif Display', Georgia, serif;
  --nav-h: 68px; --max-w: 1280px; --pad-x: clamp(24px, 5vw, 80px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1); --ease-out: cubic-bezier(0, 0, 0.2, 1);
  font-family: var(--ff-sans); font-size: 15px; line-height: 1.6; text-align: left;
}
:where(.nav, .mobile-menu, .footer), :where(.nav, .mobile-menu, .footer) * { box-sizing: border-box; }
:where(.nav, .mobile-menu, .footer) * { margin: 0; padding: 0; }
:where(.nav, .mobile-menu, .footer) a { color: inherit; text-decoration: none; }
:where(.nav, .mobile-menu, .footer) ul { list-style: none; }
:where(.nav, .mobile-menu, .footer) button { cursor: pointer; border: none; background: none; font-family: inherit; }
body.has-site-chrome { padding-top: 68px; }
.footer .container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* =========================================
   NAVIGATION
   ========================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.nav__logo {
  font-family: var(--ff-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ink);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #2a2a28;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,13,11,0.2);
}

.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: #3d4f32;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(78, 96, 64, 0.3);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer__brand .nav__logo {
  display: block;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s var(--ease);
}

.footer__social-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s var(--ease);
}

.footer__col ul a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s var(--ease);
}

.footer__legal a:hover {
  color: rgba(255,255,255,0.7);
}

/* =========================================
   MOBILE NAV OVERLAY
   ========================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 100px var(--pad-x) 48px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 48px;
}

.mobile-menu__links a {
  font-family: var(--ff-serif);
  font-size: 36px;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease);
}

.mobile-menu__links a:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta .btn--dark { display: none; }
  .nav__hamburger { display: flex; }
  .footer__top { grid-template-columns: 1fr; }
}

/* Very small screens: logo and menu button only (Subscribe stays in the mobile menu) */
@media (max-width: 480px) {
  .nav__cta { display: none; }
  .nav__logo { font-size: 20px; }
}

/* Kit's default pop-up form ("Get our how to guide") is switched off; the inline newsletter forms stay. */
.formkit-overlay, .seva-overlay, .formkit-modal, .seva-modal, form[data-format="modal"] { display: none !important; }
