/* Manakamana Phase 6 — exact brand asset integration and controlled UI consistency */
:root{
  --p5-forest-900:#062D22;
  --p5-gold-500:#C9A24D;
  --p5-ivory-100:#FFF6E4;
}

/* Exact logo lockup in the existing sticky header without altering navigation behavior. */
.p5-brand{
  min-width:0;
  padding:.38rem .62rem;
  border-radius:16px;
  background:#062D22;
  border:1px solid rgba(201,162,77,.42);
  box-shadow:0 8px 24px rgba(3,23,18,.12);
}
.p5-brand picture{
  display:block;
  line-height:0;
}
.p5-brand img.p6-brand-logo{
  display:block;
  width:190px;
  max-width:100%;
  height:auto;
}
.p5-brand:focus-visible{
  outline:3px solid #C9A24D;
  outline-offset:3px;
}

/* Exact logo in the dark footer. */
.p6-footer-brand{
  margin:0 0 1rem;
}
.p6-footer-brand img{
  display:block;
  width:min(250px,100%);
  height:auto;
}

/* 404 keeps the same brand identity even though it intentionally has no full site header. */
.p6-404-brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem .8rem;
  margin:0 auto 1.4rem;
  border-radius:18px;
  background:#062D22;
  border:1px solid rgba(201,162,77,.45);
  box-shadow:0 12px 34px rgba(3,23,18,.14);
}
.p6-404-brand img{
  display:block;
  width:min(230px,66vw);
  height:auto;
}

/* Protect branded product/service imagery from accidental stretching. */
.signature-media img,
.menu-pan-card img,
.p6-hero-visual img,
.p6-image-stack img,
.event-image-slot img{
  object-fit:cover;
}

/* Keep the Fire Paan flame readable in product cards. */
.fire-card .signature-media img,
.menu-pan-card img[alt^="Fire Paan"]{
  object-position:center 42%;
}

@media(max-width:1000px){
  .p5-brand img.p6-brand-logo{width:178px;}
}
@media(max-width:680px){
  .p5-brand{
    padding:.32rem .52rem;
    border-radius:14px;
  }
  .p5-brand img.p6-brand-logo{
    width:164px;
  }
  .p6-footer-brand img{
    width:min(220px,82vw);
  }
}


/* Header crispness refinement — keeps existing header and logo CSS widths unchanged. */
.p5-brand img.p6-brand-logo{
  image-rendering:auto;
  -webkit-font-smoothing:antialiased;
  backface-visibility:hidden;
  transform:translateZ(0);
}
