/* =====================================================================
   Site chrome — header (nav) + footer, replicated 1:1 from
   junglelook.co.uk. Colours are the LIVE site tokens (hardcoded here so
   they don't depend on, or disturb, the blog body's design tokens).
   The .btn rules are scoped to the header/footer so they never touch the
   blog body's own .btn / .btn--primary buttons.

   Live tokens:
     navy #1B1F3A · navy-soft #2A2F55 · cream #F8EFE6
     pink #E4135C · line rgba(27,31,58,.14)
   Font: 'Konnect' (self-hosted, see konnect.css)
   ===================================================================== */

/* Layout wrapper used by the live footer */
.site-chrome .wrap,
footer.jl-footer .wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ---- Buttons (scoped to chrome only) ---- */
nav.top .btn,
.mobile-menu .btn,
.mobile-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Konnect', system-ui, sans-serif;
  font-weight: 700; font-size: 1rem;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid #1B1F3A;
  background: #1B1F3A; color: #F8EFE6;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
nav.top .btn:hover,
.mobile-menu .btn:hover,
.mobile-cta:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 #E4135C; }
nav.top .btn.pink,
.mobile-menu .btn.pink,
.mobile-cta.pink { background: #E4135C; border-color: #E4135C; }
nav.top .btn.pink:hover,
.mobile-menu .btn.pink:hover,
.mobile-cta.pink:hover { box-shadow: 4px 4px 0 #1B1F3A; }
nav.top .btn svg,
.mobile-menu .btn svg,
.mobile-cta svg { width: 18px; height: 18px; }

/* ---- Nav ---- */
nav.top {
  position: sticky; top: 0; z-index: 80;
  background: rgba(248,239,230,.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(27,31,58,.14);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; max-width: 1400px; margin: 0 auto; }
.nav-inner .logo { display: inline-flex; align-items: center; text-decoration: none; height: 34px; }
.nav-inner .logo img { height: 100%; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #1B1F3A; text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; letter-spacing: -.01em; font-family: 'Konnect', system-ui, sans-serif; }
.nav-links a:hover { color: #E4135C; }
.nav-links a.soon::after {
  content: "soon"; position: absolute; top: -10px; right: -32px;
  background: #E4135C; color: #F8EFE6; font-size: .55rem; padding: 2px 6px;
  border-radius: 999px; font-weight: 700; letter-spacing: .06em;
}
.nav-links a[aria-current="page"],
.nav-links li.current-menu-item > a { color: #E4135C; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; background: #1B1F3A; border-radius: 12px; border: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #F8EFE6; transition: transform .3s, top .3s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 66px 0 0 0; z-index: 70;
  background: #F8EFE6;
  display: none; flex-direction: column; padding: 40px 28px; gap: 4px;
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: 'Konnect', system-ui, sans-serif; font-size: 1.9rem; color: #1B1F3A; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(27,31,58,.14); font-weight: 800; letter-spacing: -.025em; }
.mobile-menu a.soon-m { display: flex; align-items: center; gap: 12px; }
.mobile-menu a.soon-m em { font-family: 'Konnect', system-ui, sans-serif; font-size: .7rem; font-style: normal; background: #E4135C; color: #F8EFE6; padding: 3px 10px; border-radius: 999px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.mobile-menu .btn { margin-top: auto; justify-content: center; border-bottom: none; }

/* Sticky mobile CTA */
.mobile-cta {
  display: none; position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 60;
  padding: 16px 24px; justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.3);
  transform: translateY(100px); opacity: 0; transition: transform .3s, opacity .3s;
}
.mobile-cta.show { transform: translateY(0); opacity: 1; }

/* ---- Footer ---- */
footer.jl-footer { background: #1B1F3A; color: #F8EFE6; padding: 56px 0 30px; position: relative; margin-top: 0; border-top: 0; }
footer.jl-footer .foot-top { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(248,239,230,.15); align-items: center; }
footer.jl-footer .foot-cta-block { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
footer.jl-footer .foot-cta-block h3 { color: #F8EFE6; font-family: 'Konnect', system-ui, sans-serif; font-weight: 800; font-size: clamp(1.4rem,2.4vw,2rem); max-width: 480px; line-height: 1.1; letter-spacing: -.03em; margin: 0; }
footer.jl-footer .foot-cta-block h3 span { color: #E4135C; }
footer.jl-footer .foot-mail { color: #E4135C; font-weight: 800; text-decoration: none; font-size: 1rem; letter-spacing: -.01em; }
footer.jl-footer .foot-mail:hover { text-decoration: underline; }
footer.jl-footer .foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 20px; }
footer.jl-footer .foot-logo-link { display: inline-flex; align-items: center; height: 30px; }
footer.jl-footer .foot-logo-img { height: 100%; width: auto; display: block; }
footer.jl-footer .foot-social { display: flex; gap: 14px; }
footer.jl-footer .foot-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(248,239,230,.3);
  display: flex; align-items: center; justify-content: center;
  color: #F8EFE6; text-decoration: none;
  transition: all .2s;
}
footer.jl-footer .foot-social a:hover { background: #E4135C; border-color: #E4135C; transform: translateY(-2px); }
footer.jl-footer .foot-social svg { width: 18px; height: 18px; }
footer.jl-footer .foot-copy { font-size: .85rem; color: rgba(248,239,230,.6); font-weight: 500; }

/* ---- Responsive (matches live breakpoints) ---- */
@media (max-width:1024px) {
  footer.jl-footer .foot-top { grid-template-columns: 1fr; }
}
@media (max-width:720px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .mobile-cta { display: flex; }
  .nav-inner .btn:not(.burger) { display: none; }
  footer.jl-footer .foot-cta-block { flex-direction: column; align-items: flex-start; gap: 14px; }
}
