/* =============================================================
   KERYGON HAMBURGER NAVIGATION
   Add this CSS to each page's <style> block, after existing
   nav rules. Add the JS block before </body> on each page.
   Replaces the 768px nav-links display:none rule in
   responsive.css — remove that rule to avoid conflicts.
   ============================================================= */
 
 
/* -------------------------------------------------------------
   HAMBURGER BUTTON
   Hidden on desktop, visible below 768px.
   ------------------------------------------------------------- */
 
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
 
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #C8BFA8;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
 
/* Animate to X when open */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
 
 
/* -------------------------------------------------------------
   MOBILE DRAWER
   Full-width panel that drops from the nav bar.
   ------------------------------------------------------------- */
 
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  z-index: 99;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
 
.nav-drawer.is-open {
  display: block;
  max-height: 400px;
}
 
.nav-drawer-inner {
  padding: 16px 6% 24px;
}
 
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
 
.nav-drawer-links li {
  border-bottom: 0.5px solid rgba(201,168,76,0.1);
}
 
.nav-drawer-links li:first-child {
  border-top: 0.5px solid rgba(201,168,76,0.1);
}
 
.nav-drawer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C8BFA8;
  display: block;
  padding: 16px 0;
  text-decoration: none;
  transition: color 0.2s;
}
 
.nav-drawer-links a:hover {
  color: #C9A84C;
}
 
.nav-drawer-cta {
  display: block;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #C9A84C;
  color: #1A1A2E;
  padding: 13px 0;
  text-align: center;
  text-decoration: none;
}
 
 
/* -------------------------------------------------------------
   RESPONSIVE TRIGGER
   Show hamburger, hide desktop links below 768px.
   ------------------------------------------------------------- */
 
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-drawer-cta { display: none; }
  .nav-hamburger { display: flex; }
}
 
/* Adjust drawer top position for 480px nav height */
@media (max-width: 480px) {
  .nav-drawer { top: 56px; }
}
 
 
/* -------------------------------------------------------------
   PREVENT SCROLL WHEN DRAWER IS OPEN
   Applied to <body> via JS.
   ------------------------------------------------------------- */
 
body.nav-open {
  overflow: hidden;
}