/* =========================================================
   HEADER
========================================================= */

.kgv-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 250, 243, .94);
  border-bottom: 1px solid rgba(30, 24, 18, .1);
  backdrop-filter: blur(14px);
}

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

.kgv-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.kgv-logo img {
  display: block;
  flex: 0 0 auto;
  border-radius: 999px;
}

.kgv-logo span {
  display: grid;
  min-width: 0;
}

.kgv-logo strong {
  color: #151515;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.kgv-logo small {
  margin-top: 4px;
  color: #5e5a54;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
}

.kgv-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 28px;
}

.kgv-nav a {
  color: #1f1f1f;
  text-decoration: none;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 800;
}

.kgv-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* burger */

.kgv-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(30, 24, 18, .14);
  border-radius: 999px;
  background: #fffaf3;
  color: #151515;
  cursor: pointer;
}

.kgv-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* mobile menu */

.kgv-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  overflow: hidden;
  background: rgba(20, 16, 12, .42);
}

body.kgv-menu-open {
  overflow: hidden;
}

body.kgv-menu-open .kgv-mobile-menu {
  display: block;
}

.kgv-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 88vw);
  min-height: 100%;
  padding: 22px;
  background: #fffaf3;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .18);
}

.kgv-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.kgv-mobile-menu__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
}

.kgv-mobile-menu__logo img {
  display: block;
  flex: 0 0 auto;
  border-radius: 999px;
}

.kgv-menu-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #f0e6d8;
  color: #151515;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.kgv-mobile-nav {
  display: grid;
  gap: 4px;
}

.kgv-mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30, 24, 18, .1);
  color: #151515;
  text-decoration: none;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.kgv-mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 28px;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

/* responsive */

@media (max-width: 980px) {
  .kgv-header-inner {
    min-height: 78px;
  }

  .kgv-logo strong {
    font-size: 25px;
  }

  .kgv-logo small {
    display: none;
  }

  .kgv-nav {
    display: none;
  }

  .kgv-menu-toggle {
    display: inline-flex;
  }
}

@media (min-width: 981px) {
  .kgv-mobile-menu,
  body.kgv-menu-open .kgv-mobile-menu {
    display: none !important;
  }

  .kgv-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .kgv-logo strong {
    font-size: 21px;
  }

  .kgv-logo img {
    width: 48px;
    height: 48px;
  }

  .kgv-mobile-menu__panel {
    width: min(340px, 92vw);
  }
}

.kgv-nav a.is-active{color:#b16b2c;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}.kgv-mobile-nav a.is-active{color:#b16b2c;font-weight:900}

.kgv-nav a.nav-cta,
.kgv-mobile-nav a.nav-cta {
  border: 1px solid var(--kgv-accent);
  border-radius: 999px;
  background: var(--kgv-accent);
  color: var(--kgv-invert);
  font-weight: 900;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.kgv-nav a.nav-cta {
  padding: 9px 14px;
}
.kgv-nav a.nav-cta::after { display: none; }
.kgv-nav a.nav-cta:hover,
.kgv-nav a.nav-cta.is-active,
.kgv-mobile-nav a.nav-cta:hover,
.kgv-mobile-nav a.nav-cta.is-active {
  background: #8f5522;
  border-color: #8f5522;
  color: var(--kgv-invert);
  text-decoration: none;
}
.kgv-nav a.nav-cta:hover,
.kgv-mobile-nav a.nav-cta:hover { transform: translateY(-1px); }
.kgv-nav a.nav-cta:active,
.kgv-mobile-nav a.nav-cta:active {
  transform: translateY(0);
  background: #75431a;
  border-color: #75431a;
}
.kgv-nav a.nav-cta:focus-visible,
.kgv-mobile-nav a.nav-cta:focus-visible,
.help-page .help-donate-cta:focus-visible {
  outline: 3px solid rgba(177, 107, 44, .42);
  outline-offset: 3px;
}
.kgv-mobile-nav a.nav-cta {
  width: fit-content;
  margin: 8px 0;
  padding: 12px 18px;


}
/* Fund CTA follows the live cafe header control. */
.kgv-header .kgv-nav a.nav-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 13px;
  border:1px solid #d8a62a;
  border-radius:999px;
  background:#f4d459;
  color:#151515;
  font-weight:700;
  text-decoration:none;
}
.kgv-header .kgv-nav a.nav-cta:hover { background:#ffd75a; color:#151515; transform:translateY(-1px); }
.kgv-header .kgv-nav a.nav-cta:active { background:#edc73f; transform:translateY(0); }
.kgv-header .kgv-nav a.nav-cta:focus-visible,
.kgv-mobile-nav a.nav-cta:focus-visible { outline:3px solid rgba(216,166,42,.42); outline-offset:3px; }
@media (max-width:980px) {
  .kgv-mobile-nav a.nav-cta { display:flex; align-items:center; justify-content:center; min-height:52px; margin:8px 0; padding:0 18px; border:1px solid #d8a62a; border-radius:14px; background:#f4d459; color:#151515; font-weight:800; }
  .kgv-mobile-nav a.nav-cta:hover { background:#ffd75a; color:#151515; }
  .kgv-mobile-nav a.nav-cta:active { background:#edc73f; }
}

html body .kgv-header .kgv-nav a.nav-cta{padding:0 13px;background:#f4d459;color:#151515;border-color:#d8a62a;font-weight:700}html body .kgv-header .kgv-nav a.nav-cta:hover{background:#ffd75a;color:#151515}html body .kgv-header .kgv-nav a.nav-cta:active{background:#edc73f;color:#151515}
/* Wider fund help CTA, retaining the original fund accent. */
html body .kgv-header .kgv-nav a.nav-cta{min-width:108px;min-height:44px;padding:0 22px;background:#b16b2c;color:#fff;border-color:#b16b2c;font-weight:800;white-space:nowrap}html body .kgv-header .kgv-nav a.nav-cta:hover{background:#8f5522;color:#fff;border-color:#8f5522}html body .kgv-header .kgv-nav a.nav-cta:active{background:#75431a;color:#fff;border-color:#75431a}@media(max-width:980px){html body .kgv-mobile-nav a.nav-cta{width:100%;min-height:56px;margin:12px 0;padding:0 22px;background:#b16b2c;color:#fff;border-color:#b16b2c;box-sizing:border-box}html body .kgv-mobile-nav a.nav-cta:hover{background:#8f5522;color:#fff}}
/* The global navigation reset is intentionally overridden only for the Help CTA. */
html body .kgv-header .kgv-nav a.nav-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:108px!important;min-height:44px!important;padding:0 22px!important;color:#fff!important;line-height:1.1!important} @media(max-width:980px){html body .kgv-mobile-nav a.nav-cta{display:flex!important;min-height:56px!important;padding:0 22px!important;color:#fff!important;line-height:1.1!important}}