/* Shared site menu — same look as the home page menu (index.html).
   Scoped under .maca-header so the old Webflow ".nav" styles can't leak in. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400&family=Hanken+Grotesk:wght@600&display=swap");

.maca-header {
  --mh-gold: #a68768;
  --mh-cream: #edd4b6;
  --mh-line: rgba(166, 135, 104, 0.32);
  --mh-txt-dim: rgba(237, 220, 194, 0.7);
  --mh-sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mh-pad: clamp(1.25rem, 5vw, 4rem);

  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(15, 13, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(166, 135, 104, 0.2);
  font-family: var(--mh-sans);
}

.maca-header *,
.maca-header *::before,
.maca-header *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.maca-header a {
  color: inherit;
  text-decoration: none;
}

.maca-header-spacer {
  height: 72px;
}

.maca-header .nav {
  position: static;
  z-index: auto;
  width: auto;
  background: none;
  color: inherit;
  font-size: 16px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 var(--mh-pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.maca-header .brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.maca-header .brand img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 0;
}

.maca-header .nav-links {
  display: none;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.maca-header .nav-links a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mh-txt-dim);
  transition: color 0.3s;
}

.maca-header .nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--mh-gold);
  transition: right 0.3s ease;
}

.maca-header .nav-links a:hover {
  color: var(--mh-gold);
}

.maca-header .nav-links a:hover::after {
  right: 0;
}

.maca-header .menu-btn {
  background: none;
  border: 1px solid var(--mh-line);
  border-radius: 999px;
  color: var(--mh-cream);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.maca-header .menu-btn svg {
  width: 20px;
  height: 20px;
}

.maca-header .drawer {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 999;
  background: rgba(15, 13, 10, 0.97);
  border-bottom: 1px solid var(--mh-line);
  display: none;
  flex-direction: column;
  padding: 1.5rem var(--mh-pad) 2rem;
  gap: 1.4rem;
}

.maca-header .drawer.open {
  display: flex;
}

.maca-header .drawer a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mh-cream);
}

.maca-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-family: var(--mh-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2.2em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--mh-gold);
  color: #15110c;
  transition: background 0.3s, border-color 0.3s;
}

.maca-header .btn:hover {
  background: var(--mh-cream);
  border-color: var(--mh-cream);
}

.maca-header a:focus-visible,
.maca-header .menu-btn:focus-visible {
  outline: 2px solid var(--mh-cream);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (min-width: 880px) {
  .maca-header .nav-links {
    display: inline-flex;
  }

  .maca-header .menu-btn,
  .maca-header .drawer,
  .maca-header .drawer.open {
    display: none;
  }
}
