/* The site-wide top bar — ONE stylesheet used by the home page, Book Your Session, and the
   Monsey / Spring Valley pages, so the bar is identical everywhere. Change it here and it
   changes on all of them. Self-contained on purpose (no dependence on any page's own CSS
   variables).
   Look: a clear, floating "glass" bar — a see-through frosted panel that fades out toward its left and
   right edges, floating 10px below the top of the screen — with the complete logo in its original
   colours and sage green wording / button. The bar itself is 72px tall; with its 10px top margin it
   takes 82px of the page, so the home page's full-screen hero photo is sized as 100vh minus 82px —
   keep them in step if you ever change it. */
.topbar {
  position: sticky;
  top: 10px;
  z-index: 100;
  isolation: isolate;
  margin: 10px 14px 0;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* the glass itself lives on a layer behind the content, so only the glass fades at the edges — never the logo or the words */
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(138, 138, 114, .28);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(60, 50, 30, .10);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.topbar-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }
/* 56px tall inside a 72px bar = 8px of space above and below. The file is 112px tall (2x) so it stays sharp on retina screens. */
.topbar-logo img { display: block; height: 56px; width: auto; }
.topbar-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8a8a72;
  white-space: nowrap;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8a8a72;
  text-decoration: none;
  padding: 10px 16px;
  transition: color .15s;
}

.nav-link:hover { color: #6e6e59; }

.nav-cta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #8a8a72;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 999px;
  transition: background .15s, transform .15s;
}

.nav-cta:hover { background: #7a7a64; transform: translateY(-1px); }
.nav-cta.active { background: #7a7a64; }

@media (max-width: 720px) { .topbar-name { display: none; } }

@media (max-width: 520px) {
  .topbar { margin: 8px 8px 0; top: 8px; padding: 0 16px; height: 60px; }
  .topbar-logo img { height: 46px; }
  .nav-link { padding: 10px 10px; }
  .nav-cta { padding: 10px 16px; }
}
