/* Shared header, image strip, menu sidebar — matches index / services */

.top-ui {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  isolation: isolate;
  pointer-events: none;
}

.top-ui-chrome {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  transition: transform 0.4s ease-in-out;
}

.top-ui.hide-header .top-ui-chrome {
  transform: translateY(-100%);
}

.image-strip {
  height: 12px;
  background: transparent;
  position: relative;
}

.site-header {
  height: 18px;
  background: #fafafa;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.header-links a,
.menu-toggle {
  font-size: 17px;
  color: #000;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  margin-right: 50px;
  letter-spacing: -0.5px;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 700;
  font-style: italic;
}

button.menu-toggle {
  margin-right: 0.5em;
}

.site-wrap {
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  width: 100%;
  overflow-x: clip;
  backface-visibility: hidden;
}

.site-wrap.shifted {
  transform: translate3d(-320px, 0, 0);
}

.menu-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #fff;
  padding: 72px 36px 36px;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 5;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}

.menu-sidebar.active {
  transform: translateX(0);
}

.menu-list {
  list-style: none;
  display: inline-grid;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  text-align: right;
}

.menu-list li[data-seamx-nav] {
  cursor: pointer;
}

.menu-list li {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  cursor: pointer;
  perspective: 600px;
}

.menu-footer {
  margin-top: auto;
  text-align: right;
  font-size: 15px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
}

.menu-footer a {
  display: inline-flex;
  margin-bottom: 6px;
  cursor: pointer;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.menu-footer a::after {
  content: '';
  height: 0.1em;
  width: 100%;
  background: #000;
  display: block;
  transition: 0.3s ease-in-out;
  margin-left: auto;
}

.menu-footer a:hover::after {
  width: 0%;
}

.menu-email {
  margin-top: 10px;
  font-weight: 600;
}

.menu-footer p {
  margin-top: 12px;
  font-size: 11px;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0 20px;
  }

  .header-links a {
    margin-right: 14px;
  }
}

@media (max-width: 640px) {
  .menu-sidebar {
    width: min(300px, 88vw);
    padding: 64px 24px 28px;
  }

  .site-wrap.shifted {
    transform: translate3d(min(-300px, -88vw), 0, 0);
  }

  .menu-list li {
    font-size: 28px;
  }
}
