/* Shared Lily's site nav — same look on draft home + connected pages */
.site-topbar{
  --nav-forest:#1a3d22;
  --nav-leaf:#206020;
  --nav-moss:#2f5a38;
  --nav-paper:#f7faf7;
  --nav-mute:#5a6b58;
  --nav-line:rgba(26,61,34,.14);
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 28px;min-height:96px;
  background:rgba(247,250,247,.96);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--nav-line);
  font-family:"Outfit",system-ui,sans-serif;
  box-sizing:border-box;
  transition:transform .28s ease;
  will-change:transform;
}
.site-topbar.is-hidden{
  transform:translateY(-110%);
  pointer-events:none;
}
/* Fixed variant for pages that reserve body padding for a fixed header */
.site-topbar.is-fixed{
  position:fixed;left:0;right:0;top:0;width:100%;
}
.site-topbar.is-fixed.is-hidden{transform:translateY(-110%);pointer-events:none}
body:has(.draft-banner) .site-topbar{top:32px}
body:has(.draft-banner) .site-topbar.is-fixed{top:32px}
.site-topbar .brand{
  display:flex;align-items:center;gap:10px;text-decoration:none;line-height:0;margin-right:0;
}
.site-topbar .brand img{height:96px;width:auto;display:block}
.site-topbar .menu{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:1 1 auto;
}
.site-topbar .menu a{
  font-size:13px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;
  color:var(--nav-forest);font-weight:600;padding:10px 14px;opacity:1;white-space:nowrap;
  border:1px solid transparent;background:rgba(32,96,32,.06);border-radius:999px;
}
.site-topbar .menu a:hover{
  color:var(--nav-leaf);background:rgba(32,96,32,.12);border-color:rgba(32,96,32,.18);
}
.site-topbar .menu a[aria-current="page"]{
  color:#f4f8f4;background:var(--nav-leaf);border-color:var(--nav-leaf);
}
.site-topbar .menu .nav-more{
  position:relative;flex:0 0 auto;
}
.site-topbar .menu .nav-more > summary{
  list-style:none;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:36px;padding:0;margin:0 2px;box-sizing:border-box;
  color:var(--nav-mute);
  border:0;background:transparent;border-radius:0;
}
.site-topbar .menu .nav-more > summary::-webkit-details-marker{display:none}
.site-topbar .menu .nav-more > summary:hover,
.site-topbar .menu .nav-more[open] > summary{
  color:var(--nav-forest);background:transparent;
}
.site-topbar .menu .nav-more-dots{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;pointer-events:none;
}
.site-topbar .menu .nav-more-dots i{
  display:block;width:3px;height:3px;border-radius:50%;
  background:currentColor;opacity:.75;
}
.site-topbar .menu .nav-more-panel{
  position:absolute;top:calc(100% + 8px);right:0;z-index:60;
  min-width:220px;padding:8px;
  border-radius:16px;border:1px solid var(--nav-line);
  background:rgba(247,250,247,.98);backdrop-filter:blur(10px);
  box-shadow:0 16px 40px rgba(26,61,34,.12);
  display:flex;flex-direction:column;gap:4px;
}
.site-topbar .menu .nav-more-panel a{
  border-radius:12px;text-align:left;white-space:normal;
}
.site-topbar .menu .nav-more-panel a[aria-current="page"]{
  color:#f4f8f4;background:var(--nav-leaf);border-color:var(--nav-leaf);
}
.site-topbar > .pill,
.site-topbar .pill{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  padding:11px 18px;border-radius:999px;text-decoration:none;border:0;
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  background:var(--nav-leaf);color:#f4f8f4;white-space:nowrap;
}
.site-topbar > .pill:hover,
.site-topbar .pill:hover{background:var(--nav-moss)}
.site-topbar .menu .nav-short{display:none}
.site-topbar .menu .nav-full{display:inline}

@media (max-width:900px){
  .site-topbar{
    flex-wrap:wrap;gap:8px 12px;
    padding:10px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
    min-height:0;
  }
  .site-topbar .brand img{height:72px}
  .site-topbar > .pill{margin-left:auto;padding:9px 14px;font-size:10px}
  .site-topbar .menu{
    order:3;flex:1 1 100%;width:100%;
    justify-content:flex-start;flex-wrap:nowrap;gap:5px;
    overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;padding:2px 0 4px;
  }
  .site-topbar .menu::-webkit-scrollbar{display:none}
  .site-topbar .menu > a{
    display:inline-flex;align-items:center;justify-content:center;
    flex:1 1 0;min-width:0;padding:8px 6px;font-size:10px;letter-spacing:.04em;
    text-align:center;
  }
  .site-topbar .menu .nav-full{display:none}
  .site-topbar .menu .nav-short{display:inline}
  .site-topbar .menu .nav-more{
    flex:0 0 auto;margin-left:auto;
  }
  .site-topbar .menu .nav-more > summary{
    flex:0 0 auto;width:26px;height:34px;padding:0;
  }
  .site-topbar .menu .nav-more-panel{
    position:fixed;left:14px;right:14px;top:auto;min-width:0;
  }
}
@media (max-width:420px){
  .site-topbar .menu > a{
    font-size:9px;padding:8px 4px;letter-spacing:.02em;
  }
}
