/* The public site's header (_site_nav.html): the home page, pricing, legal and order
   pages. Event pages are private and keep their own top. Colors are the site's own,
   not an event's palette. */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 240, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid #ecddd0; color: #4a3728; font-family: 'Jost', sans-serif; font-weight: 300;
}
.site-nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.site-brand svg { width: 22px; height: 22px; color: #b5644a; flex: none; }
.site-brand span { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; line-height: 1; }

.site-links { display: flex; align-items: center; gap: 30px; }
.site-links a, .site-menu-panel a {
  text-decoration: none; color: inherit; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.site-links a:not(.site-cta) { border-bottom: 1px solid transparent; padding: 4px 0; transition: border-color .2s; }
.site-links a:not(.site-cta):hover, .site-links a[aria-current] { border-bottom-color: #c9a96e; }
.site-cta {
  display: inline-block; padding: 11px 20px; background: #4a3728; color: #fdf8f0 !important;
  border: 1px solid #4a3728; font-weight: 400; transition: background .2s, border-color .2s;
}
.site-cta:hover { background: #b5644a; border-color: #b5644a; }

/* Phones and tablets: the links fold into a menu. With ordering open, the header needs
   about 960px to keep every link on one line, so the menu takes over below 1000px. */
.site-menu { display: none; position: relative; }
.site-menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; margin-right: -10px;
  display: flex; align-items: center; justify-content: center;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary svg { width: 24px; height: 24px; }
.site-menu .close, .site-menu[open] .open { display: none; }
.site-menu[open] .close { display: block; }
.site-menu-panel {
  position: absolute; right: -8px; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: #fff; border: 1px solid #ecddd0; box-shadow: 0 12px 40px rgba(74, 55, 40, .12);
  display: flex; flex-direction: column; padding: 8px 20px 20px;
}
.site-menu-panel a:not(.site-cta) { padding: 14px 0; border-bottom: 1px solid #ecddd0; }
.site-menu-panel .site-cta { margin-top: 18px; text-align: center; padding: 14px 20px; }

@media (max-width: 1000px) {
  .site-links { display: none; }
  .site-menu { display: block; }
}
@media (max-width: 760px) {
  .site-nav-inner { padding: 0 16px; height: 58px; }
}
