:root {
  --mp-shell-paper: #fbf8f3;
  --mp-shell-ink: #4a332a;
  --mp-shell-ink-soft: #72513f;
  --mp-shell-sage: #9aaea4;
  --mp-shell-pink: #c97a86;
  --mp-shell-line: rgba(74, 51, 42, 0.14);
  --mp-shell-dark-line: rgba(255, 249, 241, 0.18);
}

/* A quieter display treatment for page titles across the shared site shell. */
body h1 {
  font-family: "Noto Serif Display", Georgia, serif;
  font-weight: 300 !important;
  font-optical-sizing: auto;
  letter-spacing: -0.025em !important;
}

html,
body {
  overflow-x: clip;
}

.mp-site-header,
.mp-site-footer {
  font-family: "Manrope", Arial, sans-serif;
  box-sizing: border-box;
}

.mp-site-header *,
.mp-site-footer * {
  box-sizing: border-box;
}

.mp-site-header {
  position: relative;
  z-index: 10020;
  width: 100%;
  color: var(--mp-shell-ink);
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid var(--mp-shell-line);
}

.mp-site-header__inner {
  width: 100%;
  min-height: 112px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mp-site-header__brand {
  display: inline-flex;
  align-items: center;
  width: min(100%, 585px);
  padding-left: 0;
  text-decoration: none;
}

.mp-site-header__brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  object-position: left center;
  transform: translateX(-40px);
}

.mp-site-header__nav {
  justify-self: center;
}

.mp-site-header__list,
.mp-site-header__submenu,
.mp-site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mp-site-header__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.mp-site-header__item {
  position: relative;
  display: flex;
  align-items: center;
}

.mp-site-header__link,
.mp-site-header__toggle {
  color: var(--mp-shell-ink);
}

.mp-site-header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.mp-site-header__group-trigger {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.mp-site-header__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--mp-shell-pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.mp-site-header__link:hover,
.mp-site-header__link[aria-current="page"],
.mp-site-header__link--section-current {
  color: var(--mp-shell-ink-soft);
}

.mp-site-header__link:hover::after,
.mp-site-header__link[aria-current="page"]::after,
.mp-site-header__link--section-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mp-site-header__toggle {
  width: 34px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mp-site-header__toggle svg {
  width: 13px;
  height: 13px;
  transition: transform 180ms ease;
}

.mp-site-header__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mp-site-header__submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: -24px;
  min-width: 260px;
  padding: 18px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(74, 51, 42, 0.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.mp-site-header__submenu--services {
  left: -112px;
  width: min(860px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 260px repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  padding: 14px 22px 18px 14px;
  overflow: hidden;
}

.mp-site-header__mega-intro {
  grid-column: 1;
  grid-row: 1 / span 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  margin: -14px 0 -18px -14px;
  padding: 30px 28px;
  background: rgba(154, 174, 164, 0.17);
  border-right: 1px solid rgba(74, 51, 42, 0.1);
}

.mp-site-header__mega-eyebrow {
  color: var(--mp-shell-ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mp-site-header__mega-title {
  display: block;
  max-width: 205px;
  margin-top: 18px;
  color: var(--mp-shell-ink);
  font-family: "Noto Serif Display", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.025em;
}

.mp-site-header__mega-copy {
  max-width: 205px;
  margin-top: 15px;
  color: rgba(74, 51, 42, 0.7);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
}

.mp-site-header__service-item {
  min-width: 0;
}

.mp-site-header__submenu--services .mp-site-header__service-item a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 8px;
}

.mp-site-header__service-index {
  color: rgba(74, 51, 42, 0.42);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mp-site-header__service-arrow {
  color: var(--mp-shell-ink-soft);
  font-size: 14px;
  opacity: 0.45;
  transform: translate(0, 0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mp-site-header__submenu--services .mp-site-header__service-item a:hover {
  padding-left: 12px;
  background: rgba(154, 174, 164, 0.1);
}

.mp-site-header__submenu--services .mp-site-header__service-item a:hover .mp-site-header__service-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.mp-site-header__item:hover > .mp-site-header__submenu,
.mp-site-header__item:focus-within > .mp-site-header__submenu,
.mp-site-header__item.is-open > .mp-site-header__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mp-site-header__submenu a {
  display: block;
  padding: 11px 10px;
  color: var(--mp-shell-ink);
  border-bottom: 1px solid rgba(74, 51, 42, 0.08);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.mp-site-header__submenu li:last-child a {
  border-bottom-color: transparent;
}

.mp-site-header__submenu a:hover,
.mp-site-header__submenu a[aria-current="page"] {
  padding-left: 15px;
  color: var(--mp-shell-pink);
}

.mp-site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 24px;
  color: #fffaf3;
  background: var(--mp-shell-ink);
  border: 1px solid var(--mp-shell-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.mp-site-header__cta:hover {
  color: var(--mp-shell-ink);
  background: transparent;
}

.mp-site-header__menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--mp-shell-line);
  background: transparent;
  cursor: pointer;
}

.mp-site-header__mobile-actions,
.mp-site-header__phone {
  display: none;
}

.mp-site-header__menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--mp-shell-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mp-site-header__menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mp-site-header__menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mp-site-header__menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mp-site-header a:focus-visible,
.mp-site-header button:focus-visible,
.mp-site-footer a:focus-visible {
  outline: 2px solid var(--mp-shell-pink);
  outline-offset: 4px;
}

.mp-site-footer {
  color: #fff9f1;
  background: #2f1e19;
  border-top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.mp-site-footer__inner {
  width: min(100% - 48px, 1400px);
  margin: 0 auto;
}

.mp-site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(320px, 1.45fr) minmax(220px, 0.8fr);
  gap: clamp(38px, 6vw, 90px);
  padding: clamp(50px, 4.5vw, 68px) 0 26px;
}

.mp-site-footer__brand {
  align-self: start;
  display: inline-flex;
  max-width: 310px;
}

.mp-site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.mp-site-footer__navs {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
}

.mp-site-footer__title {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 249, 241, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mp-site-footer li + li {
  margin-top: 9px;
}

.mp-site-footer a {
  color: #fff9f1;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 160ms ease;
}

.mp-site-footer a:hover {
  color: #d8b6bb;
}

.mp-site-footer__contact address {
  margin: 0 0 17px;
  color: rgba(255, 249, 241, 0.84);
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.mp-site-footer__contact-list a {
  font-size: 15px;
  font-weight: 600;
}

.mp-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0 18px;
  border-top: 1px solid var(--mp-shell-dark-line);
}

.mp-site-footer__bottom p {
  margin: 0;
  color: rgba(255, 249, 241, 0.76);
  font-size: 13px;
  line-height: 1.6;
}

.mp-site-footer__bottom a {
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1251px) {
  .mp-site-header__nav {
    transform: translateX(clamp(-40px, -2.7vw, -28px));
  }
}

@media (max-width: 1250px) {
  .mp-site-header__inner {
    min-height: 108px;
    grid-template-columns: minmax(280px, 390px) 1fr auto;
    justify-content: normal;
    gap: 18px;
  }

  .mp-site-header__list {
    gap: 15px;
  }

  .mp-site-header__link {
    font-size: 15px;
  }

  .mp-site-header__cta {
    padding-inline: 15px;
  }

  .mp-site-header__brand img {
    transform: translateX(-40px);
  }
}

@media (max-width: 960px) {
  html.mp-mobile-menu-open,
  body.mp-mobile-menu-open {
    overflow: hidden;
  }

  .mp-site-header__inner {
    width: 100%;
    padding-left: 44px;
    padding-right: 20px;
    min-height: 88px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mp-site-header__brand img {
    transform: translateX(-24px);
  }

  .mp-site-footer li a,
  .mp-site-footer__bottom a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .mp-site-header__mobile-actions {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 9px;
  }

  .mp-site-header__phone {
    display: inline-grid;
    width: 44px;
    height: 44px;
    color: #fffaf3;
    background: var(--mp-shell-ink);
    border: 1px solid rgba(74, 51, 42, 0.2);
    border-radius: 50%;
    place-items: center;
    box-shadow: 0 9px 24px rgba(74, 51, 42, 0.16);
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .mp-site-header__phone svg {
    width: 20px;
    height: 20px;
  }

  .mp-site-header__phone:hover,
  .mp-site-header__phone:focus-visible {
    color: var(--mp-shell-ink);
    background: rgba(255, 253, 249, 0.82);
    transform: translateY(-1px);
  }

  .mp-site-header__menu-button {
    display: block;
    flex: 0 0 auto;
    border-color: rgba(74, 51, 42, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    backdrop-filter: blur(16px) saturate(1.12);
  }

  .mp-site-header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--mp-home-header-height, 88px));
    height: calc(100dvh - var(--mp-home-header-height, 88px));
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(250, 247, 242, 0.76);
    border-top: 1px solid rgba(255, 255, 255, 0.74);
    border-bottom: 0;
    box-shadow: 0 28px 80px rgba(74, 51, 42, 0.18);
    -webkit-backdrop-filter: blur(32px) saturate(1.2);
    backdrop-filter: blur(32px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.995);
    transform-origin: top center;
    transition: opacity 190ms ease, transform 220ms ease, visibility 190ms ease;
  }

  .mp-site-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mp-site-header__list {
    width: min(100% - 36px, 720px);
    margin: 0 auto;
    padding: 28px 0 max(38px, env(safe-area-inset-bottom));
    display: block;
  }

  .mp-site-header__item {
    display: grid;
    grid-template-columns: 1fr 48px;
    border-bottom: 1px solid var(--mp-shell-line);
  }

  .mp-site-header__item--plain {
    grid-template-columns: 1fr;
  }

  .mp-site-header__link {
    min-height: 58px;
    padding: 16px 0;
    font-size: 19px;
    letter-spacing: -0.015em;
  }

  .mp-site-header__link::after {
    display: none;
  }

  .mp-site-header__toggle {
    width: 48px;
    height: 58px;
  }

  .mp-site-header__submenu,
  .mp-site-header__submenu--services {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    display: none;
    margin: 0 0 14px;
    padding: 10px 14px 14px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(74, 51, 42, 0.035), 0 18px 44px rgba(74, 51, 42, 0.07);
    -webkit-backdrop-filter: blur(20px) saturate(1.12);
    backdrop-filter: blur(20px) saturate(1.12);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mp-site-header__item.is-open > .mp-site-header__submenu {
    display: block;
  }

  .mp-site-header__submenu a {
    min-height: 44px;
    padding: 11px 0;
    border-bottom: 0;
    font-size: 16px;
  }

  .mp-site-header__mega-intro {
    display: block;
    margin: -10px -14px 5px;
    padding: 22px 18px 19px;
    background: rgba(154, 174, 164, 0.14);
    border-right: 0;
    border-bottom: 1px solid rgba(74, 51, 42, 0.1);
  }

  .mp-site-header__mega-eyebrow,
  .mp-site-header__mega-copy {
    display: block;
    text-align: left;
  }

  .mp-site-header__mega-copy {
    max-width: 290px;
    margin-top: 10px;
  }

  .mp-site-header__mega-title {
    max-width: 270px;
    margin-top: 12px;
    font-size: 23px;
  }

  .mp-site-header__submenu--services .mp-site-header__service-item a {
    min-height: 50px;
    padding: 9px 0;
  }

  .mp-site-header__submenu--services .mp-site-header__service-item a:hover {
    padding-left: 5px;
  }

  .mp-site-header__submenu a:hover {
    padding-left: 5px;
  }

  .mp-site-header__cta-item {
    padding-top: 18px;
    border: 0;
  }

  .mp-site-header__cta {
    min-height: 50px;
    width: 100%;
    border-radius: 12px;
  }

  .mp-site-header__desktop-cta {
    display: none;
  }

  .mp-site-footer__main {
    grid-template-columns: 1fr 1.5fr;
  }

  .mp-site-footer__contact {
    grid-column: 2;
  }
}

@media (min-width: 961px) {
  .mp-site-header__inner {
    min-height: 84px;
  }

  .mp-site-header__brand {
    height: 98px;
    overflow: visible;
  }

  .mp-site-header__cta-item {
    display: none;
  }
}

@media (max-width: 700px) {
  .mp-site-footer__inner {
    width: min(100% - 32px, 1400px);
  }

  .mp-site-header__inner {
    width: 100%;
    padding-left: 44px;
    padding-right: 20px;
  }

  .mp-site-header__brand {
    width: 285px;
  }

  .mp-site-header__brand img {
    transform: translateX(-24px);
  }

  .mp-site-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0 22px;
  }

  .mp-site-footer__bottom {
    padding-bottom: 14px;
  }

  .mp-site-footer__navs {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .mp-site-footer li a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .mp-site-footer__bottom a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .mp-site-footer__contact {
    grid-column: auto;
  }

  .mp-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .mp-site-header__brand {
    width: min(230px, calc(100vw - 160px));
  }

  .mp-site-header__brand img {
    transform: translateX(-20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-site-header *,
  .mp-site-footer * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
