/* Shared Jaipur palette for both page layouts. */
:root {
  --jaipur-ivory: #fbf8f2;
  --jaipur-sand: #eee4d5;
  --jaipur-teal: #17575a;
  --button-fill: #452c20;
  --button-hover: #593b2b;
  --button-text: #f8f3ea;
  --jaipur-brass: #865c37;
  --jaipur-line: #d8c7b2;
}
body { background-color: var(--jaipur-ivory); }
.site-header, .mmh-lux-header { background: var(--jaipur-ivory); border-bottom-color: var(--jaipur-line); }
main .button:not(.outline), main button.primary,
.mmh-site .atelier-button.dark {
  background: var(--button-fill);
  border-color: var(--button-fill);
  color: var(--button-text);
}
main .button:not(.outline):is(:hover, :focus-visible),
main button.primary:is(:hover, :focus-visible),
.mmh-site .atelier-button.dark:is(:hover, :focus-visible) {
  background: var(--button-hover);
  border-color: var(--button-hover);
  color: var(--button-text);
}
main .button.outline {
  color: var(--button-fill);
  border-color: var(--button-fill);
}
main .button.outline:is(:hover, :focus-visible) {
  background: var(--button-fill);
  color: var(--button-text);
}
.home-hero-editorial { position: relative; isolation: isolate; overflow: hidden; background: var(--jaipur-ivory); }
.home-hero-editorial::before, .home-hero-editorial::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 42%;
  height: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: .15;
}
.home-hero-editorial::before {
  left: 0;
  background-image: url('/assets/footer-courtyard-web.webp');
  background-position: left bottom;
  mask-image: linear-gradient(0deg,#000 0%,#0008 32%,transparent 76%);
}
.home-hero-editorial::after {
  right: 0;
  background-image: url('/assets/footer-palace-web.webp');
  background-position: right bottom;
  mask-image: linear-gradient(0deg,#000 0%,#0008 35%,transparent 82%);
}
.home-hero-editorial h1 em { color: var(--jaipur-teal); }
.home-hero-location, .craft-kicker { color: var(--jaipur-brass); }
.home-hero-figure { position: relative; z-index: 1; }
.aak-featured-collections, .jaipur-craft-note { background-color: var(--jaipur-sand); }
.craft-values article > span { background: var(--jaipur-teal); }
@media (max-width: 767px) {
  .home-hero-editorial::before, .home-hero-editorial::after { width: 57%; opacity: .12; }
}

footer.heritage-footer {
  display:block;
  position:relative;
  isolation:isolate;
  margin:0;
  padding:0;
  --footer-rule:#d8c7b255;
  --footer-gold:#d8ba89;
  background:#393d34;
  color:#f8f3ea;
  font: .94rem/1.55 Arial,sans-serif;
}
.heritage-footer::before,.heritage-footer::after {
  content:"";
  position:absolute;
  bottom:3rem;
  z-index:-1;
  width:min(27%,24rem);
  height:66%;
  pointer-events:none;
  opacity:.12;
  background-repeat:no-repeat;
  mix-blend-mode:multiply;
}
.heritage-footer::before { left:0; background-image:url('/assets/footer-palace-web.webp'); background-position:left bottom; background-size:contain; }
.heritage-footer::after { right:0; background-image:url('/assets/jaipur-gateway-sketch-web.webp'); background-position:right bottom; background-size:contain; mask-image:linear-gradient(to left,#000,transparent); }
.heritage-footer-inner {
  display:grid;
  grid-template-columns:1.45fr .9fr 1fr 1fr 1.2fr;
  width:min(1390px,calc(100% - 48px));
  margin:auto;
  padding:clamp(36px,5vw,70px) 0;
}
.heritage-footer-inner > div { min-width:0; padding-inline:clamp(13px,2.3vw,36px); }
.heritage-footer-inner > div+div { border-left:1px solid var(--footer-rule); }
.heritage-footer a { color:inherit; }
.heritage-footer-inner > div > a { display:block; width:fit-content; margin:.55rem 0; }
.heritage-footer a:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:3px; }
.heritage-footer .footer-identity { text-align:center; }
.heritage-footer .heritage-footer-brand { margin:0 auto; width:min(100%,210px); mix-blend-mode:screen; }
.heritage-footer-brand .exact-brand { display:block; width:auto; }
.heritage-footer-brand img { display:block; width:100%; height:auto; filter:grayscale(1) invert(1); }
.footer-brand-rule { display:flex; align-items:center; gap:.6rem; color:var(--footer-gold); }
.footer-brand-rule::before,.footer-brand-rule::after { content:""; flex:1; height:1px; background:var(--footer-rule); }
.footer-brand-rule .sprig { width:55px; height:20px; margin:0; }
.footer-identity p { margin:.65rem auto 0; max-width:24ch; font:italic 1rem/1.5 Georgia,serif; }
.heritage-footer h2,.footer-follow h3 { margin:0 0 .75rem; color:inherit; font:400 1.16rem/1.25 Georgia,serif; }
.heritage-footer h2 { display:flex; align-items:center; gap:.55rem; }
.footer-icon { display:block; flex:0 0 auto; width:21px; height:21px; color:var(--footer-gold); }
.heritage-footer address { margin:.55rem 0; font-style:normal; }
.footer-follow { margin-top:1rem; padding-top:.8rem; border-top:1px solid var(--footer-rule); }
.footer-follow a { display:flex; width:fit-content; align-items:center; gap:.5rem; }
.footer-follow a + a { margin-top:.5rem; }
.footer-follow .footer-icon { width:32px; height:32px; padding:7px; border-radius:50%; background:#d8ba89; color:#393d34; }
.footer-signoff { display:flex; align-items:center; justify-content:space-between; gap:12px; background:#30342c; padding:13px clamp(16px,3vw,48px); text-align:center; }
.footer-signoff p { margin:0; font-size:.75rem; letter-spacing:.08em; }
@media(max-width:980px) {
  .heritage-footer-inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem 0; }
  .heritage-footer-inner > div+div { border-left:0; }
  .heritage-footer-inner > div:nth-child(odd):not(:first-child) { border-left:1px solid var(--footer-rule); }
  .footer-identity { grid-column:1/-1; }
  .footer-brand-rule { max-width:230px; margin:auto; }
}
@media(max-width:400px) {
  .heritage-footer-inner { width:calc(100% - 22px); }
  .heritage-footer h2 { font-size:1rem; gap:.35rem; }
  .heritage-footer h2 .footer-icon { width:17px; height:17px; }
}
