/* ==========================================================================
   Koi — global nav + footer styles
   Extracted verbatim (selectors unchanged) from the original static pages
   (about-us.html) so every WordPress page/post that uses header.php /
   footer.php renders the identical nav + footer, site-wide.
   ========================================================================== */

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

:root {
  --red: #BD2233;
  --red-rgb: 189, 34, 51;
  --red-dark: #9a1b28;
  --red-light: #d94455;
  --black: #0a0a0a;
  --off-black: #111111;
  --mid: #3a3a3a;
  --muted: #888;
  --light: #f5f2ee;
  --white: #ffffff;
  --cream: #fdf9f6;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.13);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html.koi-site { scroll-behavior: smooth; }
body.koi-site {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.koi-site ::-webkit-scrollbar { width: 4px; }
body.koi-site ::-webkit-scrollbar-track { background: var(--light); }
body.koi-site ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-links a.active { color: var(--black); font-weight: 500; }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
  border-radius: 6px;
}
.nav-hamburger span { width: 22px; height: 1.5px; background: var(--black); display: block; }

/* Push page content below the fixed nav (Astra usually does this itself,
   but our header.php bypasses Astra's own header entirely). */
.koi-page-wrap { padding-top: 0; }

/* ── FOOTER ── */
footer.koi-footer {
  background: var(--off-black);
  padding: 5rem 5vw 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  display: block;
  margin-bottom: 0.75rem;
}
.footer-logo img {
  display: block;
  width: 120px;
  height: auto;
}
.footer-brand-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.4);
}
.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 2rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 0.85rem; color: rgba(255,255,255,0.2); }

/* Newsletter column (SureForms lives here now instead of ConvertKit) */
.footer-newsletter-title { font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-newsletter-form .sureforms-form-container,
.footer-newsletter-form form { max-width: 320px; }
.footer-newsletter-form input[type="email"],
.footer-newsletter-form input[type="text"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.5) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  #navbar { padding: 0 1.25rem; }
  .nav-logo img { height: 34px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-hamburger { display: flex; }
  footer.koi-footer { padding: 4rem 1.25rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
