/* Rajaram fullscreen menu — Atul Deshpande ms-menu pattern, cream surface (no photo) */
:root {
  --arch-menu-bg: #fffaf2;
  --arch-menu-bg-wave: #f3eadc;
  --arch-menu-grey: #666666;
  --arch-menu-white: #111111;
  --arch-menu-close-bg: #036242;
  --arch-menu-accent: #036242;
}

body.ms-menu-open {
  overflow: hidden;
}

body.ms-menu-open .site-header-v3 {
  z-index: 1 !important;
}

body.ms-menu-open .site-header-v3__menu-bar {
  background: #111111 !important;
}

.ms-site-menu {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  visibility: hidden;
  pointer-events: none;
}

.ms-site-menu .ms-menu-wave {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.ms-site-menu .ms-menu-content {
  opacity: 0;
}

.ms-site-menu.is-active {
  z-index: 2147483000;
}

.ms-menu-wave {
  position: absolute;
  inset: 0;
  will-change: clip-path;
}

.ms-menu-wave--back {
  z-index: 1;
  background: var(--arch-menu-bg-wave);
}

.ms-menu-wave--front {
  z-index: 2;
  background: var(--arch-menu-bg);
}

.ms-menu-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  opacity: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ms-menu-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.arch-menu-overlay {
  position: relative;
  min-height: 100%;
  min-height: 100dvh;
  width: 100%;
  background: transparent;
  color: var(--arch-menu-white);
  overflow: visible;
  isolation: isolate;
}

.ms-site-menu .arch-menu-photo {
  display: none !important;
}

.arch-menu-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 6;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--arch-menu-close-bg);
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.arch-menu-close:hover,
.arch-menu-close:focus-visible {
  color: #ffffff;
  background: #04895c;
  opacity: 0.92;
  transform: scale(1.03);
}

.arch-menu-inner {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 12vh, 7rem) clamp(1.5rem, 6vw, 4rem) clamp(2rem, 6vh, 3rem);
  box-sizing: border-box;
}

.arch-menu-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.arch-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: min(100%, 72rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 2.2vh, 1.125rem);
}

.arch-menu-item {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
}

.arch-menu-link {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  text-align: center;
  text-decoration: none;
  color: #111111;
  transition: opacity 0.25s ease;
}

.arch-menu-link:hover .arch-menu-line,
.arch-menu-link:focus-visible .arch-menu-line {
  color: #111111;
  opacity: 0.72;
}

.arch-menu-line {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--rj-font-body, "Montserrat", sans-serif);
  font-size: clamp(1.85rem, calc(5.25vw + 8px), 2.65rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #111111;
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.arch-menu-meta {
  margin-top: clamp(2rem, 6vh, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  padding-top: 1.5rem;
}

.arch-menu-meta-link {
  font-family: var(--rj-font-body, "Montserrat", sans-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--arch-menu-grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.arch-menu-meta-link:hover,
.arch-menu-meta-link:focus-visible {
  color: var(--arch-menu-accent);
}

.arch-menu-socials {
  position: fixed;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.arch-menu-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(3, 98, 66, 0.35);
  border-radius: 50%;
  color: #036242;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.arch-menu-socials a:hover,
.arch-menu-socials a:focus-visible {
  color: #ffffff;
  background-color: var(--arch-menu-accent);
  border-color: var(--arch-menu-accent);
}

.arch-menu-socials a:hover i,
.arch-menu-socials a:focus-visible i {
  color: #ffffff;
}

@media (max-width: 767px) {
  .arch-menu-close {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  .arch-menu-inner {
    justify-content: flex-start;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .arch-menu-nav {
    justify-content: flex-start;
  }

  .arch-menu-item:first-child {
    margin-top: 120px;
  }

  .arch-menu-line {
    white-space: normal;
    font-size: clamp(1.65rem, calc(6.5vw + 8px), 2.25rem);
    line-height: 1.08;
  }

  .arch-menu-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2rem;
    padding-top: 0;
  }

  .arch-menu-meta-link {
    font-size: 16px;
    text-align: center;
  }

  .arch-menu-socials {
    position: static;
    right: auto;
    bottom: auto;
    justify-content: center;
    margin-top: 0.35rem;
  }

  .arch-menu-socials a {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ms-menu-wave {
    transition: none;
  }
}
