/* ─── The Azar Team — Header / Navigation (v2) ─── */

#azar-hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  color: var(--ivory);
  background: linear-gradient(to bottom, rgba(4, 4, 6, .7) 0%, rgba(4, 4, 6, .32) 65%, transparent 100%);
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}


#azar-hdr.azar-scrolled {
  background: rgba(8, 8, 10, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ivory);
  border-bottom-color: rgba(244, 241, 234, .12);
  padding: 10px 0;
}

/* Top hairline bar */
.azar-topbar {
  border-bottom: 1px solid var(--hairline-l);
  transition: max-height .45s var(--ease), opacity .3s;
  max-height: 44px;
  overflow: hidden;
}
#azar-hdr.azar-scrolled .azar-topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.azar-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.azar-topbar-note { color: #fff; }
#azar-hdr.azar-scrolled .azar-topbar-note { color: var(--ink-muted); }
.azar-topbar-phone { color: #fff; letter-spacing: .18em; }

/* Main nav row */
.azar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
  transition: height .45s var(--ease);
}
#azar-hdr.azar-scrolled .azar-nav { height: 70px; }

/* Brand — asymmetric wordmark */
.azar-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.azar-brand img {
    width: 110px;
}
.azar-logo.azar-logo-dark {
    display: none;
}
/* Header stays dark at every scroll position now, so the light-on-dark
   logo variant is used throughout — no swap to the dark logo on scroll. */
.azar-wordmark { display: flex; align-items: center; gap: 10px; line-height: 1; white-space: nowrap; }
.azar-wm-azar {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.azar-wm-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid var(--brass);
  padding-left: 10px;
}
.azar-wm-side em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  opacity: .75;
}

/* Menu */
.azar-menu { flex: 1; display: flex; justify-content: center; }
.azar-menu-list {
  display: flex;
  gap: clamp(14px, 1.7vw, 30px);
  list-style: none;
}
.azar-menu-list li { white-space: nowrap; }
.azar-menu-list a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
  transition: opacity .3s;
}
.azar-menu-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.azar-menu-list a:hover { opacity: 1; }
.azar-menu-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.azar-menu-list .current-menu-item > a { opacity: 1; }
.azar-menu-list .current-menu-item > a::after { transform: scaleX(1); }

/* Header right */
.azar-header-cta { display: flex; align-items: center; flex-shrink: 0; }
.azar-header-cta .azar-btn-hairline {
  border-color: var(--brass);
  color: var(--brass-pale);
}
.azar-header-cta .azar-btn-hairline:hover {
  background: var(--brass);
  color: var(--onyx);
}

.azar-nav-right { display: none; align-items: center; gap: 12px; }
.azar-nav-cta {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .8;
}
.azar-nav-cta svg { width: 17px; height: 17px; }

/* Burger */
.azar-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  align-items: center;
  color: #fff;
}
#azar-hdr.azar-scrolled .azar-burger {
  color: var(--ivory);
}
.azar-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s;
}
.azar-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.azar-burger.open span:nth-child(2) { opacity: 0; }
.azar-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile menu ─── */
.azar-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--onyx);
  color: var(--ivory);
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
  overflow: scroll;
}
.azar-mobile-menu.open { opacity: 1; visibility: visible; }

.azar-mm-close {
  /* position: absolute; */
  top: 26px; right: 30px;
  font-size: 34px;
  font-weight: 400;
  color: var(--ivory);
  opacity: .7;
  transition: opacity .3s, transform .3s;
}
.azar-mm-close:hover { opacity: 1; transform: rotate(90deg); }

.azar-mm-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 22px;
  width: 100%;
}
.azar-mm-links a {
  font-family: var(--serif);
  font-size: clamp(26px, 5.6vw, 38px);
  font-weight: 300;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.azar-mobile-menu.open .azar-mm-links a { opacity: 1; transform: none; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(1) { transition-delay: .08s; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(2) { transition-delay: .14s; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(3) { transition-delay: .2s; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(4) { transition-delay: .26s; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(5) { transition-delay: .32s; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(6) { transition-delay: .38s; }
.azar-mobile-menu.open .azar-mm-links a:nth-child(7) { transition-delay: .44s; }
.azar-mm-links a:hover { color: var(--brass); }

.azar-mm-foot {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,241,234,.55);
  width: 100%;
}
.azar-mm-foot a { color: var(--brass); }

.azar-mm-links ul{
  list-style-type: none;
}
.mobile-menu-wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 14px 20px;
}

.mobile-menu-logo-button{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── Responsive header ─── */
@media (max-width: 1200px) {
  .azar-menu, .azar-header-cta { display: none; }
  .azar-mobile-menu .azar-header-cta{
    display: flex !important;
  }
  .azar-nav-right { display: inline-flex; }
}
@media (max-width: 640px) {
  .azar-wm-azar { font-size: 26px; }
}
